my icd2 is giving a problem wen i connect it "ICDWarn0020: Invalid target device id (expected=0x71, read=0"...how do i debug this problem.. the MCLR pin signal is LOW even after having a pull up on target MCU....
Sounds like the ICD2 cannot find your chip. Make sure the chip in your socket is the same one selected under Configure -> Select Device... in MP Lab. I've done this before!
If I recall correctly, this warning can also happen where there is a problem with your circuit: power or connections. How is your !MC configured? Is there anything else on the programming pins? (pgD and pgC)
This happens all the time to me. I have an ICD2 at home and we use about 4 at work. They all report this message, even brand new ones. Using dsPic devices its bloody useless as a debugger. I switched back from 7.4 to 7.31 but its still the same.
It still programs ok even when it reports that fault.
It constantly comes up with this message as well.
Microchip are about to release a more advanced affordable debugger, due later this year, Ill just make do with icd2 untill it comes along.
Cant afford an ice4000.
This message comes up every time, if the ICD2 cannot find the target micro. You need to make sure the programming header is connected to the target micro and that the power is present, if you are powering the target from a separate supply, instead of the ICD2 (which you must if the ICD-2 is only powered from the USB port).