SAMD Flash Overview
Revision as of 17:26, 18 March 2018 by E.burkowski (talk | contribs)
Applicable for SAMD21x18 with 256k FLASH
EFU - External Flash Update
address | size | Description |
---|---|---|
0x00000-0x01FFF | 0x2000 (8k) | Arduino Bootloader |
0x02000-0x05FFF | 0x3FFF (16k) | 2nd stage update bootloader, last 256 bytes (0x05F00-0x05FFF) Bootloader EEPROM |
0x06000-0x3DFFF | 0x38000 (224k) | Sketch |
0x3E000-0x3FFFF | 0x2000 (8k) | 8k virtual "flash EEPROM" |
IFU - Internal Flash Update
address | size | Description |
---|---|---|
0x00000-0x01FFF | 0x2000 (8k) | Arduino Bootloader |
0x02000-0x05FFF | 0x3FFF (16k) | 2nd stage update bootloader, last 256 bytes (0x05F00-0x05FFF) Bootloader EEPROM |
0x06000-0x21FFF | 0x1C000 (112k) | Sketch |
0x22000-0x3DFFF | 0x1C000 (112k) | Update |
0x3E000-0x3FFFF | 0x2000 (8k) | 8k virtual "flash EEPROM" |
Some additional information:
SAMD21G18A has 256 KByte FLASH
Page size is 64 Byte
Row has 4 pages.
Before a page can be written, the row that contains the page must be erased.
=> the minimum writeble amount of data is 256 bytes (1 Row/4 Pages)