Non-volatile memory

A catchall for PSoC3 discussions not captured by the other forums.

Moderator: ericb

Non-volatile memory

Postby tylerjaywilson » Thu Apr 17, 2014 9:25 am

I have the need to save an array into non-volatile memory so that I can maintain my data through power cycles. I have seen the EEPROM module and have considered using this but I am unsure of the operation of this module. I am attempting to accomplish the following:

I would like to save an array into non-volatile memory.
I would like that memory to be reloaded when the power returns.

I have done the following:

EEPROM_Start();
EEPROM_WriteByte(dat,0);

How do I read from the EEPROM module on startup?

Thanks for the help!
tylerjaywilson
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 14
Joined: Tue Jul 16, 2013 1:52 pm

Re: Non-volatile memory

Postby bobmarlowe » Thu Apr 17, 2014 10:53 am

Why don't you stick to the example for EEProm, it is the easiest way to get it running.

No need to post questions in different forums, same people all over :mrgreen:


Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany

Re: Non-volatile memory

Postby tylerjaywilson » Thu Jun 26, 2014 12:13 pm

Also, to help out others in the future. I found the EEPROM table very helpful. It is found here:
Attachments
eeprom.jpg
tylerjaywilson
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 14
Joined: Tue Jul 16, 2013 1:52 pm


Return to “%s” PSoC3 General

Who is online

Users browsing this forum: No registered users and 1 guest

cron