I thought I might first try debugging on one of the smaller PIC's 12F675. In this case GP1 = PGC, GP0 = PGD and GP3 = Vpp(MCLR).
I've selected MPLAB Debugger tool for PicKit2.
My fuses are set for __CONFIG 0x31F4, (InternalRC, No WDT, MCLR Pin Enabled, Code protect off, Data protect off)
When programming the PIC normally, it operates 100% (simple flashing LED),
But when I try to access degug mode, I get the following error message ...
Programming Target (14-Apr-2009 21:32:13)
Erasing Target
Programming Program Memory (0x0 - 0x29)
Verifying Program Memory (0x0 - 0x29)
Programming User ID Memory
Verifying User ID Memory
Programming Debug Executive (0x-300 - 0x3FF)
Verifying Debug Executive (0x300 - 0x3FF)
Programming Debug Vector
Verifying Debug Vector
Programming Configuration Memory
Verifying Configuration Memory
PK2Error0028: Unable to enter debug mode
NOTE: This device requires an ICD Header for debug. See "Header Specification" DS51292.
PICkit 2 Ready
By Googling "12F675 "Header Specification" DS51292", I managed to come to this site, **broken link removed** where I read this little bit of text
* These devices require a header board to be able to debug the device. See the Header Board Specification (DS51292) for more information. This document is available in the “Downloads” section of the PICkit 2 web page.
NOTE: To connect PICkit 2 to a debug header board requires the
AC164110 RJ-11 to ICSP Adapter.
Do I seriously need this
AC164110 adaptor?
Seems like its more troublesome than useful this debugging business
I'd rather stick with normal simulation as I've been doing for the past 5 years