MCUmall EPROM BIOS Chip Burner Forum
MCUmall EPROM BIOS Chip Burner Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 MCUmall Forums
 TOP USB Programmer
 Trouble Programming PIC16F84

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an Image File
Check here to include your profile signature.
    

T O P I C    R E V I E W
leetch02 Posted - 08/10/2005 : 11:08:09
Hello, I am new to PIC programming and I just bought the TOP2005 seeing what a great deal it was. Im working on a project that involves create a circuit board with a PIC, so I decided to test the chip, a PIC16F84. I used tutorials, and help files to create very simple programs. For example: Using mikroBasic I found and their tutorial.

program LED_Blink

main:

TRISB = 0 ' Configure pins of PORTB as output
eloop:
PORTB = $FF ' Turn on diodes on PORTB
Delay_ms(1000) ' Wait 1 second
PORTB = 0 ' Turn off diodes on PORTB
Delay_ms(1000) ' Wait 1 second
goto eloop ' Stay in loop

end.

When I compile this and use Topwinen to load the hex file and burn it into the chip, the circuit doesnt produce what it suppose to do, Blink on and off the LED. This is the schematic I used to wire up the PIC:



Im using a 4MHz crystal and a XT oscillator, with two 22pf capacitors. Somehow the chip isnt producing the right voltage output on pin13, RB7. Can it be the clock pulse its getting to the chip, or maybe the setting when I program it, how do I select what options I want, the type of oscillator, watchdog timer, etc? Is it in the compiler or in Topwinen because other programmers seem to have options before the burn onto the chip. Thank you for your help.
4   L A T E S T    R E P L I E S    (Newest First)
AOsborn Posted - 09/28/2006 : 10:27:13
Sorry about my last post above - managed to competely copy the orginal query, then post it as a reply!! Bizarre.
Will try to concentrate from now on.
AOsborn Posted - 09/27/2006 : 12:15:04
quote:
Originally posted by leetch02

Hello, I am new to PIC programming and I just bought the TOP2005 seeing what a great deal it was. Im working on a project that involves create a circuit board with a PIC, so I decided to test the chip, a PIC16F84. I used tutorials, and help files to create very simple programs. For example: Using mikroBasic I found and their tutorial.

program LED_Blink

main:

TRISB = 0 ' Configure pins of PORTB as output
eloop:
PORTB = $FF ' Turn on diodes on PORTB
Delay_ms(1000) ' Wait 1 second
PORTB = 0 ' Turn off diodes on PORTB
Delay_ms(1000) ' Wait 1 second
goto eloop ' Stay in loop

end.

When I compile this and use Topwinen to load the hex file and burn it into the chip, the circuit doesnt produce what it suppose to do, Blink on and off the LED. This is the schematic I used to wire up the PIC:



Im using a 4MHz crystal and a XT oscillator, with two 22pf capacitors. Somehow the chip isnt producing the right voltage output on pin13, RB7. Can it be the clock pulse its getting to the chip, or maybe the setting when I program it, how do I select what options I want, the type of oscillator, watchdog timer, etc? Is it in the compiler or in Topwinen because other programmers seem to have options before the burn onto the chip. Thank you for your help.


leetch02 Posted - 08/12/2005 : 09:47:42
Yup, I finally figured out what those config boxes ment. The problem was they weren't enabled.
usb Posted - 08/11/2005 : 14:34:54
I do not know much about the PIC chip. But I know there are some of the configuration bits need to be set. I think you need check all the configuration bits if they are been set correctly.

MCUmall EPROM BIOS Chip Burner Forum © Copyright 2003 - 2009 Mcumall Electronics Inc. Go To Top Of Page
Generated in 0.06 sec. Snitz Forums 2000