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
Posted: Mon Oct 19, 2009 11:33 am
Add an external EEPROM chip. Use an eeprom driver from the CCS
drivers directory.
Guest
Posted: Mon Oct 19, 2009 12:10 pm
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: 1615 Location: Central Illinois, USA
Posted: Mon Oct 19, 2009 12:16 pm
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
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