16.1 Boot ROM
The Boot ROM is the entry point of the device following any type of reset. It is responsible for initializing the system and ensuring the integrity of the configuration of the device before transferring control to the first mutable application code.
The Boot ROM performs a series of vital checks, including image validation and configuration verification. If these checks pass, the CPU loads the initial Program Counter (PC) and Stack Pointer (SP) values from Flash memory and begins executing user code.
Note: Before transferring control to the user application, the Boot
ROM may reset the SRAM region from 0x2000_0000 to 0x2000_AFFF. Users should avoid
relying on any pre-initialized data in this region while developing the first mutable
application code. SRAM region 0x2001_0000 to 0x2001_FFFF remains untouched by the Boot
ROM and can be used for persistent data storage across resets, if required.
Important: Throughout this document, wherever debugger is
mentioned, it shall be interpreted as SWD-Host and vice-versa.
