6.2 Overview

The Boot ROM (BootROM) is the entry point of the device following any type of reset. It 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 the user code.

The Boot ROM also provides modes for hot-plugging and cold-plugging of a debugger and programming of the device. For more information, see details in the DSU – Device Service Unit chapter.

The Flash memory consists of two parts: the Program Flash Memory (PFM) that stores the user code, and the Configuration Flash Memory (CFM) that contains data such as device configuration, calibration values and the device ID.

Note: Throughout this document, Debugger is substituted for SWD-Host (and vice-versa) that is supporting this device.
Note: This chapter refers frequently to the DSU - Device Service Unit chapter. It is recommended to be familiar with that chapter before reading this chapter.