Using PICkit 3 and MPLAB 8.30, I am trying to program several new PIC16F688's. I've done this before, but it's been a while.
I've created a new project, added the appropriate edited firmware file (pwm at 57600), selected the device (PIC16F688).
When I select the PICkit3 as the programmer and power the circuit, I get a device mismatch that says "Target Device ID (000000) does not match expected Device ID (00001180)".
If I just continue on, the software acts like everything programmed fine with no errors, but when putting the chip on a Ren16, channel 1 is on all the time and I cannot control from the computer.
If I replace the PIC's on the Ren16 with known good PIC's, it behaves properly.
So, any idea as to where I'm going wrong? I presume the device mismatch error is the main clue. In fact, if I don't even have a PIC connected to the programmer I get the same error. I'm getting to the point where I suspect the ICSP14 Adapter, but I've done a continuity check.
I'd pull my hair out if I had any left 🙂
Cheers,
Eric
[Update]
OK, it's all good now. After posting, I found my old homemade 14 pin header. As I compared the wiring to new zocket adapter, I found that the silk screening showed pin one as being opposite. After turning it 180 on the programmer, MPLAB finally reported an actual device ID and it got happy. Burned the firmware and now have more boards working.
Cheers,
Eric
