From 9f3cb279b30bd208ce25b9dea73672531896df47 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 10 Oct 2016 11:51:24 +0200 Subject: [PATCH] docs: add memory layout --- docs/README.md | 1 + docs/memory.md | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 docs/memory.md diff --git a/docs/README.md b/docs/README.md index 169c5200e..65ea49f0a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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) diff --git a/docs/memory.md b/docs/memory.md new file mode 100644 index 000000000..a48bc50a4 --- /dev/null +++ b/docs/memory.md @@ -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