|
21 | 21 | *
|
22 | 22 | * Not supported
|
23 | 23 | *
|
24 |
| - * Flash layout for stm32wba65i-dk without BL2 : |
| 24 | + * Flash layout for stm32wba65i-dk: |
25 | 25 | *
|
26 |
| - * 0x000_0000 OTP / NV counters area (8 KB) |
27 |
| - * 0x000_4000 Protected Storage Area (16 KB) |
28 |
| - * 0x000_8000 Internal Trusted Storage Area (16 KB) |
29 |
| - * 0x000_c400 Secure image (384 KB) |
30 |
| - * 0x006_c400 Non-secure image primary (512 KB) |
| 26 | + * 0x000_0000 Secure bootloader (data and firwmare) (96 KByte) |
| 27 | + * 0x001_8000 OTP / NV counters area (16 KB) |
| 28 | + * 0x001_c000 Protected Storage Area (16 KB) |
| 29 | + * 0x002_0000 Internal Trusted Storage Area (16 KB) |
| 30 | + * 0x002_4000 Secure primary image (384 KB) |
| 31 | + * 0x008_4000 Non-secure primary image (384 KB) |
| 32 | + * 0x00e_4000 Non-secure private storage (112 KB) |
| 33 | + * 0x010_0000 Secure secondary image (384 KB) |
| 34 | + * 0x016_0000 Non-secure secondary image (384 KB) |
| 35 | + * 0x01c_0000 Non-secure private storage #2 (256 KB) |
| 36 | + * |
| 37 | + * Note: |
| 38 | + * Secure primary image, Non-secure primary image, |
| 39 | + * Secure secondary image and non-secure secondary image |
| 40 | + * each include a 1kByte header and a 1kByte trialer |
| 41 | + * before/after the firmware image content. |
31 | 42 | */
|
32 | 43 |
|
33 |
| - |
34 | 44 | /* This header file is included from linker scatter file as well, where only a
|
35 | 45 | * limited C constructs are allowed. Therefore it is not possible to include
|
36 | 46 | * here the platform_retarget.h to access flash related defines. To resolve this
|
|
147 | 157 | /* The size of S partition */
|
148 | 158 | #define FLASH_S_PARTITION_SIZE (0x60000) /* 384 KB for S partition */
|
149 | 159 | /* The size of NS partition */
|
150 |
| -#define FLASH_NS_PARTITION_SIZE (0x60000) /* 512 KB for NS partition */ |
| 160 | +#define FLASH_NS_PARTITION_SIZE (0x60000) /* 384 KB for NS partition */ |
151 | 161 |
|
152 | 162 | /* Non Volatile Counters definitions */
|
153 | 163 | #define FLASH_NV_COUNTERS_AREA_OFFSET (0x0000)
|
|
0 commit comments