SPRUJ79 November 2024 F29H850TU , F29H859TU-Q1
Table 4-3 describes the general boot ROM procedure each time the CPU1 core is reset.
During boot, boot ROM code updates a boot status location in RAM that details the actions taken during this process. Refer to Section 4.7.9 for more details.
| Step | CPU1 Action |
|---|---|
| 1 | Flash Read Interface (FRI) wait state configuration |
| 2 | Enable Watchdog |
| 3 | Zone0 full debug password configured from OTP into SSU registers |
| 4 | UID (Unique ID) is configured from OTP into SSU registers |
| 5 | On PORESETn only, All CPU RAMs (LPAx,LDAx, CPAx and CDAx) are initialized |
| 6 | Critical Trims (APLL, PMM, OSC, Flash) are loaded from OTP and device configuration registers are programmed |
| 7 | ESM configurations are performed for Group0 events |
| 8 | SIC (Safe Interconnect) is enabled |
| 9 | UPP (User Protection Policy) revision from User-OTP is configured into SSU register |
| 10 | Error status pin configuration input from User-OTP is configured |
| 11 | External crystal power-up if enabled in User-OTP |
| 12 | Reading the Device Configurations from OTP into DCx Registers |
| 13 | Load non-critical (ADC, DAC) trims |
| 14 | SSU configurations based on User-OTP inputs which
include :
|
| 15 | Lock DCx (Device Configuration), PARTID, MCUCNF26 and PERxSYSCONFIG (Peripheral System Configuration) registers |
| 16 | Wait for RAM initializaion, done only on PORESETn |
| 17 | Clear PORRESETn and XRSn reset cause on PORESETn and only clear XRSn reset cause on XRSn |
| 18 | Pull-ups are enabled on unbonded IOs |
| 19 | The boot mode GPIO pins are polled to determine the boot mode to run. Boot loader is executed based on boot mode/configurations. Refer to Section 4.5.2 for a flow chart of the boot sequences. |
| 20 | RAMOPEN for LINK1 which includes: LPA0 and LDA0-7 |
| 21 | Lock and Commit LINK1 RAMPOPEN by writing to SSU registers based on User-OTP inputs |
| 22 | APR's (Access Protection Regions) are set from User-OTP configurations |
| 23 | Disable watchdog for Link1 bootloaders execution |
| 24 | Bootloader process under Link1 execution |
| 25 | Clear Link1 RAMOPEN |
| 26 | Jump to C29 Application Link2 |