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

CPD fuse problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ömer Faruk



Joined: 15 Nov 2018
Posts: 42
Location: Çanakkale

View user's profile Send private message Send e-mail

CPD fuse problem
PostPosted: Thu Dec 27, 2018 5:04 am     Reply with quote

Hello everyone

When i program pic16f877a sometimes i forget unchecking the eeprom data write section on pickit2. Because i do some eeprom writings and i don't want them to be lost. In recent days i have learned that CPD fuse of pic16f877a inhibits external data writings and readings. Although i write 0 on CPD fuse (İ also checked CPD is 0 in the pickit2). Pickit2 sets all the eeprom data to FF. What am i doing wrong? (By the way when i try to read the eeprom data pickit2 reads all 0).
Ttelmah



Joined: 11 Mar 2010
Posts: 19552

View user's profile Send private message

PostPosted: Thu Dec 27, 2018 8:44 am     Reply with quote

You need to change the erase mode, to 'erase when needed'. Otherwise the
programmer may be fully erasing the chip, which will overwrite the CPD
fuse.

<https://www.ccsinfo.com/forum/viewtopic.php?t=30621>

The PicKit2, is not terribly 'friendly' about this.
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