1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 17:09:44 +00:00
trezor-firmware/docs/memory.md

27 lines
1.3 KiB
Markdown
Raw Normal View History

2017-03-20 14:49:11 +00:00
# Memory Layout
2016-10-10 09:51:24 +00:00
2017-03-20 14:49:11 +00:00
## Flash
2016-10-10 09:51:24 +00:00
| sector | range | size | function
2016-10-10 10:32:38 +00:00
|-----------|-------------------------|--------:|----------------------
2017-04-10 17:11:44 +00:00
| Sector 0 | 0x08000000 - 0x08003FFF | 16 KiB | boardloader (1st stage) (write-protected)
| Sector 1 | 0x08004000 - 0x08007FFF | 16 KiB | boardloader (1st stage) (write-protected)
2016-10-10 09:51:24 +00:00
| Sector 2 | 0x08008000 - 0x0800BFFF | 16 KiB | storage area
| Sector 3 | 0x0800C000 - 0x0800FFFF | 16 KiB | storage area
2017-04-10 17:24:21 +00:00
| Sector 4 | 0x08010000 - 0x0801FFFF | 64 KiB | bootloader (2nd stage)
| Sector 5 | 0x08020000 - 0x0803FFFF | 128 KiB | firmware
| Sector 6 | 0x08040000 - 0x0805FFFF | 128 KiB | firmware
| Sector 7 | 0x08060000 - 0x0807FFFF | 128 KiB | firmware
| Sector 8 | 0x08080000 - 0x0809FFFF | 128 KiB | firmware
| Sector 9 | 0x080A0000 - 0x080BFFFF | 128 KiB | firmware
| Sector 10 | 0x080C0000 - 0x080DFFFF | 128 KiB | firmware
| Sector 11 | 0x080E0000 - 0x080FFFFF | 128 KiB | firmware
2016-10-10 10:48:30 +00:00
2017-03-20 14:49:11 +00:00
## RAM
2016-10-10 10:48:30 +00:00
| region | range | size | function
|---------|-------------------------|--------:|----------------------
| CCM RAM | 0x10000000 - 0x1000FFFF | 64 KiB | Core Coupled Memory
| SRAM1 | 0x20000000 - 0x2001BFFF | 112 KiB | General Purpose SRAM
| SRAM2 | 0x2001C000 - 0x2001FFFF | 16 KiB | General Purpose SRAM