i've been on a PIC hiatus for about close to 3 years now and recently started getting in the game again.
i used to use MPLAB v8.3 and am recently downloaded v8.92. Have always been programming my chip with a Pickit3
using a midrange 16f877a, i am now (on the same hardware as i used to play with millions of times albeit years ago) seeing my Pickit3 able to program the chip but this happens intermittently (i am just flashing in a simple program to turn on an LED)
everything is setup and i just do a
bsf PORTC,1
there are times i get this
Programming...
Programming/Verify complete
and the LED lights up as it should and sometimes i get this
Programming...
The following memory regions failed to program correctly:
Program Memory
Address: 00000009 Expected Value: 00002808 Received Value: 00001808
Programming failed
I know that the 2nd occurrence could be due to the fact that there is no proper communication between the programmer and the target device due to several reasons (higher power supply required, no crystal etc.)
i am powering the device from the PickKit with internal 5.5V. I am suspecting that i have my crystal faulty. I have swapped a few crystals (old ones) but i still see the same thing. I will be on my way out to purchase a new one but in the mean time, id like to know if anyone here has faced this before? anything im missing out?
would surely appreciate some advice. Cheers
i used to use MPLAB v8.3 and am recently downloaded v8.92. Have always been programming my chip with a Pickit3
using a midrange 16f877a, i am now (on the same hardware as i used to play with millions of times albeit years ago) seeing my Pickit3 able to program the chip but this happens intermittently (i am just flashing in a simple program to turn on an LED)
everything is setup and i just do a
bsf PORTC,1
there are times i get this
Programming...
Programming/Verify complete
and the LED lights up as it should and sometimes i get this
Programming...
The following memory regions failed to program correctly:
Program Memory
Address: 00000009 Expected Value: 00002808 Received Value: 00001808
Programming failed
I know that the 2nd occurrence could be due to the fact that there is no proper communication between the programmer and the target device due to several reasons (higher power supply required, no crystal etc.)
i am powering the device from the PickKit with internal 5.5V. I am suspecting that i have my crystal faulty. I have swapped a few crystals (old ones) but i still see the same thing. I will be on my way out to purchase a new one but in the mean time, id like to know if anyone here has faced this before? anything im missing out?
would surely appreciate some advice. Cheers