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

16F18324 EEPROM verification error with programming
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
drolleman



Joined: 03 Feb 2011
Posts: 116

View user's profile Send private message

PostPosted: Mon Feb 06, 2017 10:57 pm     Reply with quote

I've had this before.

Sometimes there is dc grounding issues. Open up the u64 and place a meter between the ground of the u64 chip and the one being programed. This may seem strange because there is a wire between them but it only takes a small current through the ground line to cause this error.

Sometimes there is an ac signal on the ground this can also cause this problem. If you set the scope ch2 to invert, then vert mode to add, and place the ch1 on the ground of the programed chip and the ch2 on the u64 ground you may find the problem. Also check individual grounds, as it may only show during programming.

And if you have a programmer that can power the chip like an icd2 or icd3 and remove all other connections to the target, and try again.

Some things to try.
David
mvanvliet



Joined: 02 Jun 2009
Posts: 123
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Feb 07, 2017 1:41 am     Reply with quote

Thanks for your reaction.

This is the e-mail I received from CCS support:

Quote:

I took a look at the programming documents for this family and I found that they are different from previous PIC16s as they do not have separate "load data memory" and "load program memory" commands, but instead has a single "load data" command which needs a PC change to get it into EEPROM memory space. This is why programming EEPROM is failing. The ICD firmware will need to be changed to add a new programming algorithm which supports the newer method and uses these commands. Programming program memory seems to work in the same way.


So we need to wait for a new ICD firmware version.
mvanvliet



Joined: 02 Jun 2009
Posts: 123
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Feb 09, 2017 2:13 am     Reply with quote

Yesterday I received the new ICD-U64 firmware, CCSload.exe and new devices5.dat file which solved the bug, so probably these updated files will be released with the next revision level.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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