+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Newbie level 3
    Points: 791, Level: 6

    Join Date
    Jul 2008
    Posts
    3
    Helped
    0 / 0
    Points
    791
    Level
    6

    icdwarn0020: invalid target device id

    Hi,

    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 ?

    Thanking you

    Praveen Nayak
    pravec065@rediffmail.com

    •   Alt30th July 2008, 06:00

      advertising

        
       

  2. #2
    Member level 2
    Points: 1,783, Level: 9

    Join Date
    Nov 2005
    Posts
    50
    Helped
    6 / 6
    Points
    1,783
    Level
    9

    invalid target device id pic

    You connection (wiring) is wrong or your MCU is broken.
    Try with other MCU.



    •   Alt31st July 2008, 06:12

      advertising

        
       

  3. #3
    Newbie level 3
    Points: 791, Level: 6

    Join Date
    Jul 2008
    Posts
    3
    Helped
    0 / 0
    Points
    791
    Level
    6

    invalid device id mplab

    Hi,

    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.

    Thanks,
    Praveen



    •   Alt4th August 2008, 12:30

      advertising

        
       

  4. #4
    Advanced Member level 5
    Points: 35,128, Level: 45
    Awards:
    Helpful bronze
    ckshivaram's Avatar
    Join Date
    Apr 2008
    Location
    villingen (Germany) / Bangalore
    Posts
    5,070
    Helped
    2117 / 2117
    Points
    35,128
    Level
    45
    Blog Entries
    1

    icdwarn0020

    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



  5. #5
    Newbie level 3
    Points: 791, Level: 6

    Join Date
    Jul 2008
    Posts
    3
    Helped
    0 / 0
    Points
    791
    Level
    6

    pic24 target error

    Hi,

    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.

    Regards
    Praveen.



+ Post New Thread
Please login