On-board EEPROM Write
R2026bLibraries:
Simulink Support Package for Arduino Hardware /
Common
Description
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
Use the On-board EEPROM Write block to write nonvolatile data to the on–board Arduino® electrically erasable programmable read–only memory (EEPROM). Each memory position on the EEPROM can store one byte of data. The block compares the existing data on the Arduino on–board EEPROM and writes only if the data has changed.
This table lists the memory size and the accessibility address range of on–board EEPROM of these Arduino boards.
| Arduino Board | Size of On–Board EEPROM | Accessible Address Range |
|---|---|---|
| Arduino Mega 2560 and Mega ADK | 4096 bytes | 0 to 4095 |
| Arduino Uno | 1024 bytes | 0 to 1023 |
| Arduino Leonardo | 1024 bytes | 0 to 1023 |
| Arduino Micro | 1024 bytes | 0 to 1023 |
| Arduino Nano 3.0 | 1024 bytes | 0 to 1023 |
| Arduino Nano R4, Uno R4 Wi-Fi®, Uno R4 Minima | 8192 bytes | 0 to 8191 |