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 support@ccsinfo.com

18F26j11 save config data?

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








18F26j11 save config data?
PostPosted: Mon Oct 19, 2009 11:32 am     Reply with quote

The 18F26j11 is without EEPROM, not happy with it:-(

I use RS232 to send some setup to the system, 10 byte!
How to store my config data on the fly when there is no EEPROM?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 19, 2009 11:33 am     Reply with quote

Add an external EEPROM chip. Use an eeprom driver from the CCS
drivers directory.
Guest








PostPosted: Mon Oct 19, 2009 12:10 pm     Reply with quote

Yes it's a solution but I already use all the pin. Is it possible to use the internal ROM to store data?
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Mon Oct 19, 2009 12:16 pm     Reply with quote

theoretically yes.

You would do a WRITE_PROGRAM_MEMORY to someplace.

The problem is: what is the block size and endurance of the FLASH. If you write seldom, then you're ok. If you write a lot, you could wreck the flash cells.

External EEPROMs are a different technology that allows for more write cycles.
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
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