Hi David,
Maybe we are getting somewhere afterall. You stated that you put in a 10 pin header to allow ICSP. Did you also add the diode to block the voltage from going to the rest of your circuitry? I use ICSP to program a product I make and I do not have any +5vdc connection between the programmer and the pcb. I only use the mclr, ground, RB6, and RB7 pins. When I did another project several years ago with an 877A I also had problems doing ICSP so I gave up on the idea. I have since worked out the problems by just using the connections I gave above. I have read in several places that the PGM pin should be grounded during the programming process.
Do you have a simple breadboard that you can setup a very basic 877A with the mclr to +v thru a 1k resistor, put a led/resistor on RB0, add the 4mhz resonator and then test out the blinky program? This could help isolate whether its the PIC or your boards. You should be able to create the blinky program without adding any config settings. Just use the one that's in the MCS program.
HTH,
BobK
Bookmarks