CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

a probme: ICDWarn0020: Invalid target device id

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
IIDD
Guest







a probme: ICDWarn0020: Invalid target device id
PostPosted: Fri May 04, 2007 3:05 am     Reply with quote

I use MPLAB7.41, CCS v3.871, PIC16F877A
I always have this problem,
ICDWarn0020: Invalid target device id (expected=3FFFF, read=0)

and in the "help" of MPLAB , It is said that: MPLAB ICD 2 has read the device ID of the target device and found it different than expected for the device type selected within MPLAB IDE. If ReadID is 0 then it is likely that the target device is not powered, not connected, or simply missing. In any case, this is just a warning that MPLAB ICD 2 has not found the expected target device. Click OK to proceed.

But I am sure that the PIC is powered and the device type is just what I use.

Now, I don't konw what I can do , is there someone can help me?
thanks!
pom



Joined: 25 Nov 2004
Posts: 30
Location: Germany

View user's profile Send private message

PostPosted: Fri May 04, 2007 4:24 am     Reply with quote

Hello IIDD,

I know that error. Unfortunately I cannot exactly remember what to do. But try this:

Use the "MPLAB ICD2 Wizard" (in "Programmer") and chose the power setting, that the target has it's own device. After this, control the setting in "Programmer --> Settings". I think that was the problem which causes error 020.

Good luck, Martina
IIDD
Guest







PostPosted: Fri May 04, 2007 5:48 am     Reply with quote

I have trryed, but still the same problem
pom wrote:
Hello IIDD,

I know that error. Unfortunately I cannot exactly remember what to do. But try this:

Use the "MPLAB ICD2 Wizard" (in "Programmer") and chose the power setting, that the target has it's own device. After this, control the setting in "Programmer --> Settings". I think that was the problem which causes error 020.

Good luck, Martina
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri May 04, 2007 2:24 pm     Reply with quote

Search the ICD2 forum on the Microchip website for that error message.
Do this by using the following search string with http://www.google.com
Quote:
site:forum.microchip.com ICDWarn0020

I did that and I got 189 hits.
meereck



Joined: 09 Nov 2006
Posts: 173

View user's profile Send private message

PostPosted: Tue May 08, 2007 5:46 am     Reply with quote

Hi, I got the same problem. Unfortunately mine was caused by HW fault of a ICD2 programmer. I solved it by connecting +5V from USB to Vdd pin of a PIC (can't use external power supply any more!).
Further info can be found on the Microchip forum in ICD 2 section : http://forum.microchip.com/tt.aspx?forumid=49
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group