I am using PIC16F946 uC and MPLAB ICD2 as programmer, using USB connection and the target is powered from ICD2. When I connect everything up and select the MPLAB ICD-2 as the programmer in MPLAB I get this error message.
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
ICDWarn0020: Invalid target device id (expected=0xA3, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Also I have seen lot of discussions about the same problem and am not able to find any solution on this. Will you please suggest solution for the above problem ?
I have checked the connection once again and is OK.
My unit works with program which was loaded earlier. But only thing is I can not download new program into this. I hope my MCU is OK.
ur controller is perfectly alright then, it has power supply problem, it is not identifying the controller.
One more probabitlity is the cable connecting the programmer and the PC. this problem comes very oftern and the programmer software fails to recognise the controller
I got new Programmer - QL2006 and able to download the program into unit. Now my unit is working without any problem. So, I think there is some problem with MPLAB ICD2 Programmer.