Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[moved] pickit 2 and 16f877a not working after burn

Status
Not open for further replies.

elmediel

Junior Member level 3
Joined
Oct 20, 2010
Messages
31
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Mandaluyong, Philippines
Activity points
1,475
i burned blinking hex file to my pic16f877a successfully using pickit2. using different breadboard with 20mhz xtal, 10k pull up resistor and two 33uf capacitor (typical setup).. it does not blink.. im lost i dont know why its not working.. i downloaded different hex file compatible but still not working.. did i missed something?
 

bigdogguru

Administrator
Joined
Mar 12, 2010
Messages
9,831
Helped
2,348
Reputation
4,690
Reaction score
2,274
Trophy points
1,413
Location
Southwest, USA
Activity points
62,512
did i missed something?

Most likely, however it is difficult to render any meaningful advice, without first examining your source code and a schematic of the design.

If all you have is a HEX file, with no accompanying source code, the reasons for the issues you face are numerous, as you've relied on the judgement and skills of the person whom originally compiled the code.

Some possible sources of the issue are improperly set configuration bits for your particular implementation or perhaps the HEX file does not include any configuration bit settings.

The original source code may have been written for a particular system clock frequency or a particular source of the system clock.

Also, you should be aware the actual process of programming a PIC microcontroller does not require a oscillator/system clock to be implemented, as the clock source originates from the programmer device. Even though you may have verified that the contents of the HEX have been successfully downloaded into the microcontroller, it does not guarantee it will function as expected.

Therefore to assist you further, you will need to elaborate on the specifics of your design, its purpose, which PIC microcontroller you are utilizing, posting or uploading a detailed schematic of the design and the source code. Barring that and the source code is not available, then uploading the HEX may provide some insight in the source of the issues.


BigDog
 

xenos

Full Member level 4
Joined
May 9, 2015
Messages
212
Helped
82
Reputation
164
Reaction score
81
Trophy points
28
Location
127.0.0.1
Activity points
1,182
After seeing that:
i...breadboard with 20mhz xtal...and two 33uf capacitor (typical setup).....
Just a quick question:
What is the value of the capacitors you are using?
The 33pF may be out of spec for your crystal, or requiring a series Resistor.
Try 22pF in stead.
 

pic.programmer

Advanced Member level 3
Joined
Aug 19, 2015
Messages
773
Helped
141
Reputation
284
Reaction score
140
Trophy points
43
Activity points
7,542
WDT resetting PIC ? MCLR if enabled pulled high to 5V using a 10k resistor ?
 

elmediel

Junior Member level 3
Joined
Oct 20, 2010
Messages
31
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Mandaluyong, Philippines
Activity points
1,475
attached is my circuit




i burned the typical blink hex from different ide ...mplab, proton basic with the appropriate settings for crystal 20mhz and pic model... so my hex is good..

i think there is something to do with configuration word/bit... i dont know whats the setup for it.. right now my setup is "2F02"


both PIC16F84A and PIC16F877A successfully burnt but not blinking
 
Last edited:

pic.programmer

Advanced Member level 3
Joined
Aug 19, 2015
Messages
773
Helped
141
Reputation
284
Reaction score
140
Trophy points
43
Activity points
7,542
Your oscillator circuit is far from the PIC and maybe this is causing the problem. Also there is no 100 nF and 10UF capacitors across VDD and VSS pins of PIC and close to PIC.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top