1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

docs: add memory layout

This commit is contained in:
Pavol Rusnak 2016-10-10 11:51:24 +02:00
parent 51de3a3d9c
commit 9f3cb279b3
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 22 additions and 0 deletions

View File

@ -3,3 +3,4 @@
* [TREZOR Core API](api.md)
* [TREZOR Core Bootloader](bootloader.md)
* [TREZOR Core Image Format](toif.md)
* [TREZOR Core Memory Layout](memory.md)

21
docs/memory.md Normal file
View File

@ -0,0 +1,21 @@
#Memory Layout
##Flash
| sector | range | size | function
|----------:|-------------------------|--------:|----------------------
| Sector 0 | 0x08000000 - 0x08003FFF | 16 KiB | bootloader 1st stage
|-----------|-------------------------|---------|----------------------
| Sector 1 | 0x08004000 - 0x08007FFF | 16 KiB | storage area
| Sector 2 | 0x08008000 - 0x0800BFFF | 16 KiB | storage area
| Sector 3 | 0x0800C000 - 0x0800FFFF | 16 KiB | storage area
|-----------|-------------------------|---------|----------------------
| Sector 4 | 0x08010000 - 0x0801FFFF | 64 KiB | bootloader 2nd stage
|-----------|-------------------------|---------|----------------------
| Sector 5 | 0x08020000 - 0x0803FFFF | 128 KiB | application code
| Sector 6 | 0x08040000 - 0x0805FFFF | 128 KiB | application code
| Sector 7 | 0x08060000 - 0x0807FFFF | 128 KiB | application code
| Sector 8 | 0x08080000 - 0x0809FFFF | 128 KiB | application code
| Sector 9 | 0x080A0000 - 0x080BFFFF | 128 KiB | application code
| Sector 10 | 0x080C0000 - 0x080DFFFF | 128 KiB | application code
| Sector 11 | 0x080E0000 - 0x080FFFFF | 128 KiB | application code