Pet 2001-8 guy wrote:
Thanks ttl, a friend has a "PIC Microchip programmer" which I'm not sure will work, but I will borrow it and see what I can see.
Rather than a parallel programming interface like EPROMs use, PICs use synchronous-serial programming interfaces that work a little bit like I²C, or like the PS/2 keyboard interface.
When I design PIC microcontrollers into our products, I always put a row of six holes on the board that a programming fixture with Pogo pins lines up with, so that if necessary, the software can be updated long after the board is assembled, without requiring unsoldering the surface-mount microcontroller. It's kind of neat how they made it so there are only two primary pins involved in programming (a data line and a clock line), and the end product can usually use these for something like pushbutton switches which leave the pin disconnected (except for a weak pull-up resistor) when the button is not being pressed. So why
six holes for the programming? Data, clock, Vcc, master clear / Vpp, ground, and a sixth one to short the PIC's OSC1 pin to ground during programming so the onboard oscillator doesn't try to oscillate. I initially used only five, but ran into some kind of problem 20+ years ago which was solved by grounding the OSC1 pin. I don't remember details anymore.