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

Problem with programming/debugging 16F676

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







Problem with programming/debugging 16F676
PostPosted: Thu Nov 23, 2006 11:34 am     Reply with quote

I get this error when I try to progrmm the PIC with a Microchip ICD2:

Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
Target Device PIC16F676 found, revision = Rev 0x0
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming Program Memory (0x0 - 0x1A9)
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0x3000, Val Read = 0x3FFF)
ICD0275: Programming failed.
MPLAB ICD 2 Ready


And I get this error when I try to debug:

Entering Debug Mode
...Programming GOTO 0x00 command
Programming Target...
...Validating configuration fields
Connecting to debug executive
Entering Debug Mode
...Programming GOTO 0x00 command
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
MPLAB ICD 2 Ready

Whatīs wrong? Can you help me? The ICD2 is brand new, the PICīs also.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Nov 23, 2006 1:04 pm     Reply with quote

This is really a question for the Microchip ICD2 forum. You can search
their forum archives for that error message by putting the following
search string into http://www.google.com
Code:
site:forum.microchip.com   ICD0161 


I did that and got over 200 hits. Here's one of them that may
apply to your problem:
http://forum.microchip.com/tm.aspx?m=103497

If you want to ask a question in that forum, here's the link to it:
http://forum.microchip.com/tt.aspx?forumid=49


Also try searching on this forum for: ICD0161
http://www.ccsinfo.com/forum/search.php
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