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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

leetch02

3 Posts

Posted - 08/10/2005 :  11:08:09  Show Profile  Reply with Quote
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.
Reply #1

usb

138 Posts

Posted - 08/11/2005 :  14:34:54  Show Profile  Reply with Quote
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.

Edited by - usb on 08/11/2005 14:36:53
Go to Top of Page
Reply #2

leetch02

3 Posts

Posted - 08/12/2005 :  09:47:42  Show Profile  Reply with Quote
Yup, I finally figured out what those config boxes ment. The problem was they weren't enabled.
Go to Top of Page
Reply #3

AOsborn

United Kingdom
4 Posts

Posted - 09/27/2006 :  12:15:04  Show Profile  Reply with Quote
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.


Go to Top of Page
Reply #4

AOsborn

United Kingdom
4 Posts

Posted - 09/28/2006 :  10:27:13  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
MCUmall EPROM BIOS Chip Burner Forum © Copyright 2003 - 2009 Mcumall Electronics Inc. Go To Top Of Page
Generated in 0.08 sec. Snitz Forums 2000