LVP Mode ? ?
Hi dmairspotter,
Do you think the power-up sequence might be accidentally putting the 16F876A into the "Low Voltage Program" mode. Then programming garbage into the PIC.
Make sure to turn the "Low Voltage Program" option off when you program the 16F876A
PIC16F87XA FLASH Memory Programming Specification
http://ww1.microchip.com/downloads/e...Doc/39589b.pdf
See: 2.4.1 LOW VOLTAGE ICSP PROGRAMMING MODE
When RB3 is driven to VDD from ground, the PIC16F87XA device enters Programming mode.
-Adam-
Ohm it's not just a good idea... it's the LAW !
Bookmarks