16F877A is not recognized by Pickit 2

Status
Not open for further replies.

Snitch

Junior Member level 3
Joined
Jun 5, 2012
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Sri Lanka
Activity points
1,469
I connected my 16F877A to my new picKit 2. But it says "No device found". I tried selecting device manually. Still no progress.

I previously programmed this same pic using a pickit 2 of a friend. There was no problem. My 16F877A is working, because it acts according to the last program.

And I programmed an 18F452 using my picKit 2 and that was also done successfully.

Can anyone help me on this?

Thanks in advance.
 

Are you supplying power to the PIC via PICkit or external power supply?

Is the PICkit a clone or genuine?



Have you double check your connections?

Please post the PICkit to PIC connections.



Have you tied the PICs RB3/PGM pin to ground using a pulldown resistor and disabled LVP from within the Configuration Register settings?

LVP is enabled by default and if RB3/PGM is left floating, HVP using the PICKit may not be possible.

Please post your Configuration Register settings.


Another possible issue:




BigDog
 
I'm supplying power to the pic via pickit 2.

I think this is a clone. Because there's no trademark or any such thing of Microchip. Sorry for not being exact I have no way of finding that out..

I got the pic and attached it to the pic base on the picKit 2. That is how I connected it.

#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz)
#FUSES NOPUT //No Power Up Timer
#FUSES NOPROTECT //Code not protected from reading
#FUSES NODEBUG //No Debug mode for ICD
#FUSES NOBROWNOUT //No brownout reset
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES NOCPD //No EE protection
#FUSES NOWRT //Program memory not write protected

Any way for sure I could program this same pic with a similar programmer which was bought from where I bought mine.
 

The Pickit2 software on the PC has a troubleshoot mode that lets you manipulate each of the relevant programming lines (including Vpp and Vdd).

Check out that feature, and it will readily indicate if your Pickit has developed a problem.

If you are programming the chip in-circuit, make sure you dont have external components on the data and clock pins that could be loading the signals.

Regards,

Anand Dhuru
 
Reactions: Snitch

    Snitch

    Points: 2
    Helpful Answer Positive Rating
check with another microcontroller if it works some problem with your current chip
 
Reactions: Snitch

    Snitch

    Points: 2
    Helpful Answer Positive Rating
we encountered the same problem that before when we make our project.
kindly check the input supply pins if it works or try to check your connections to the pins.
 
Reactions: Snitch

    Snitch

    Points: 2
    Helpful Answer Positive Rating
Thank you Bigdogguru, ard, rajudp and jobertt. I bought another 16F877A and it was recognized. I could program it. But I still don't know what was wrong with earlier pic. It's still working according to the program inside it.

Anyway thank you very much.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…