Memory Partitioning Overview
Depending on the feature set used by the bootloader, the amount of flash memory it occupies can change. This allows a bootloader with a lower feature set to be used in cases where, for instance, the Root of Trust or secure storage is not required. When a reduced feature set bootloader is used, the memory partitioning can be changed, allowing for larger user applications to be loaded.
For illustrative purposes, the "Build Configuration Memory Sizes" table shows the expected sizes of each optional build configuration, with expected allocations of memory for application and download areas depending on build options. The precise values are subject to change depending on the actual optimization levels and feature sets you select, but this provides some guideline figures to help you decide which configuration to use.
Derivation of these start addresses and sizes is available in bl_memory.h; this information is output to the RTT Viewer when debugging the secure bootloader in the onsemi IDE with the RTT Viewer connected. This is also shown in the "Memory Map Diagram" figure.
NOTE: There are variations for an RSL15 device with 284 KB of flash rather than 512 KB.