ICDWarn0020: Invalid target device id


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2008
    Posts
    2

    Default ICDWarn0020: Invalid target device id

    Hi All,

    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 ?

    Praveen Nayak
    [email protected]

  2. #2


    Did you find this post helpful? Yes | No

    Default possible reasons

    I have had similar messages that I think were caused by:-

    1. USB cable too long - 5 metres is about it. Definitely will not work on 10 metres.
    2. Voltage too low at target PIC.
    3. Had to add 0.1 uF caps to programmer as per MeLabs troubleshooting advice.

    HTH
    BrianT

  3. #3
    Join Date
    Jul 2008
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re:

    Hi Mr.Brian,

    Thank you for the reply.

    The USB cable used is <2 mts. length. Also the Target is powered from MPLAB ICD2.

    Where I have to connect 0.1uF capacitor ? Please specify the pin numbers.

    Thanks
    Praveen

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by pravec065 View Post
    Hi Mr.Brian,
    Thank you for the reply.
    The USB cable used is <2 mts. length. Also the Target is powered from MPLAB ICD2.
    Where I have to connect 0.1uF capacitor ? Please specify the pin numbers.
    Thanks
    Praveen
    Between Vdd and Vss.

Similar Threads

  1. Watchdog Timers
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 18:03
  2. Replies: 8
    Last Post: - 24th April 2008, 22:19
  3. Target device does not match
    By krohtech in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd February 2008, 04:20
  4. PIC18F4620 not Target Device
    By kiwipiper in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th October 2007, 19:42
  5. Target device <> Selected Device????
    By deepgfishing in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th June 2007, 21:18

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts