If you had read this thread you would know the difference between Open and Import and saved yourself much time.
This is ok, if you haven't connected target device, or the connection is bad between the target device and icd2.Geri said:ICDWarn0020: Invalid target device id (expected=0x21, read=0x0)
Maybe one of the voltage divider resistors is too small or high, and icd2 thinks that there is a problem with the voltages.Failed Self Test. See ICD2 Settings (status tab) for details.
My ICD2 is finally working.
Everything in my previous post is correct - the Configuration Bits and the source code. The problem was in the hardware. The MOSFET providing 5 V when the target is in debug mode was broken and when MPLAB is trying to set the target in debug mode it is not powered thereby an error emerge. "
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?