EEPROM alternative?

Discussion around product based on ARM Cortex M4 core.
This forum will be discontinued soon.

Moderators: nferre, ncollot

dimivd
Posts: 1
Joined: Tue Dec 29, 2015 3:12 pm

EEPROM alternative?

Tue Jan 05, 2016 11:00 am

I have experience with ATmega microcontrollers, not with ARM uC, but I'm trying out the SAM4E-EK board for the moment. The ASF examples are sufficient to get some working example code, but I do not understand the following:

If I need to save some configuration data (~100 bytes perhaps) on an Atmega, I would use the internal EEPROM memory.

How do I do this on the SAM4E controller? Since it doesn't have internal EEPROM, I cannot use that.
Do I need to interface with external EEPROM or flash? Or can I use a part of the flash programming memory to store some data?
tsvoipio
Posts: 54
Joined: Wed Aug 19, 2015 9:44 pm

Re: EEPROM alternative?

Tue Jan 05, 2016 12:55 pm

There is an Atmel app note: <http://www.atmel.com/images/atmel-42218 ... p-note.pdf>. Have a look.

--

Tauno Voipio
cwunder
Posts: 34
Joined: Fri Jul 01, 2011 9:39 pm

Re: EEPROM alternative?

Mon Jan 11, 2016 9:33 pm

For configuration data you can use the user signature area of flash

8.1.3.8 User Signature
Each part contains a User Signature of 512 bytes. It can be used by the user to store user information, such as trimming, keys, etc., that the customer does not want to be erased by asserting the ERASE pin or by software ERASE command. Read, write and erase of this area is allowed.

Return to “SAM4 Cortex-M4 MCU”

Who is online

Users browsing this forum: No registered users and 1 guest