OK, WHY DO I ALWAYS GET PROBLEMS !!!!!
well as you know, Nigels tutorials are written for the 628, im using a 628a which ive checked will program and debug on my icd2,
im on tutorial 1.6 at the moment, the bouncing LED, when i program it, it works fine, but for some reason im not able to debug it,
i quickbuild first,
then when going to debug mode i get
ICDWarn0020: Invalid target device id (expected=0x83, read=0x83)
so anyway i click ok and then program, where i get this in the output box
Programming Target...
...Validating configuration fields
Connecting to debug executive
Entering Debug Mode
...Programming GOTO 0x00 command
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
MPLAB ICD 2 Ready
so then i try to run it and i get
ICDWarn0015: Program memory has changed since last program operation? Continue with Debug operation?
so i click ok, then i get this in the output box
Running Target
Entering Debug Mode
...Programming GOTO 0x00 command
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
ICD0069: Debug: Unable to run target
Entering Debug Mode
...Programming GOTO 0x00 command
MPLAB ICD 2 Ready
i dont get it, ive made sure that the device is set to 628A in both the code and the select device.... tab
but even though it does program and work, i do get this
ICDWarn0033: MPLAB ICD 2 does not support programming this device if both the internal oscillator and internal MCLR are selected. You may continue programming, but you are encouraged to cancel, reconfigure your device, and try again.
but even though i click ok it still works,
any ideas why this would be happening?