SAMD21 Mini EEPROM Access

Have questions about a SparkFun product or board? This is the place to be.

Moderators: phalanx, TS-Tim

Post Reply
scuba7
Posts: 1
Joined: Wed Apr 19, 2017 8:11 pm

SAMD21 Mini EEPROM Access

Post by scuba7 » Thu Apr 20, 2017 12:26 am

I have not been able to find reference on how to use EEPROM with Sparkfun SAMD 21 Mini Breakout.

#include <EEPROM.h> flags as a compiler error.

Obviously that library is unsuitable, but I have been unable to find how to write and read to the EEPROM area of non volatile memory.

Any assistance would be appreciated.

Mike

brendan_alw
Posts: 1
Joined: Thu Oct 19, 2017 7:41 pm

Re: SAMD21 Mini EEPROM Access

Post by brendan_alw » Thu Oct 19, 2017 7:53 pm

The SAMD21 doesnt have a dedicated EEPROM.
However, there is reserved flash memory with an EEPROM emulator which can be accessed and programmed similar to EEPROM.

Have a look at Atmel's application note about this here:
http://www.atmel.com/Images/Atmel-42258 ... T07627.pdf

Post Reply