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

ICD2:I would to know what kind of error and how to solve it

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







ICD2:I would to know what kind of error and how to solve it
PostPosted: Mon Dec 14, 2009 7:48 pm     Reply with quote

Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
ICDWarn0020: Invalid target device id (expected=0x84, read=0x21)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 ready for next operation
Resetting Target
MPLAB ICD 2 ready for next operation
Programming Target...
...Validating configuration fields
ICDWarn0013: Low Voltage Programming cannot be enabled when ICD 2 is used as a debugger. Disable Low Voltage Programming?
ICDWarn0014: Watchdog Timer cannot be enabled when ICD 2 is enabled as a debugger. Disable Watchdog Timer?
...Erasing Part
...Programming Program Memory (0x0 - 0x7DBF)
...Loading DebugExecutive
...Programming DebugExecutive
...Programming Debug Vector
...Programming RSBUG
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0xEF15, Val Read = 0x0)
ICD0275: Programming failed.
MPLAB ICD 2 ready for next operation
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 14, 2009 10:24 pm     Reply with quote

Quote:

ICDWarn0013: Low Voltage Programming cannot be enabled when ICD 2
is used as a debugger. Disable Low Voltage Programming?

ICDWarn0014: Watchdog Timer cannot be enabled when ICD 2 is
enabled as a debugger. Disable Watchdog Timer?

Look at this post to see which fuse settings are needed to disable LVP
mode and the Watchdog timer:
http://www.ccsinfo.com/forum/viewtopic.php?t=24336&start=5

Quote:

ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected
Val = 0xEF15, Val Read = 0x0)

See my comments in this thread about selecting the correct PIC in
the MPLAB menu, and also in your program with an #include statement:
http://www.ccsinfo.com/forum/viewtopic.php?t=38187

If you still have problems then:
1. Post your PIC.
2. Post your CCS compiler version.
3. Post a small test program (10 lines max) that is compilable.
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