SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
Whether a bootloader is run or not and where bootloader parameters are picked from depends on CCFG.
CCFG valid | CCFG.bootCfg.pBldrVtor | Bootloader Invoked | Bootloader parameters selected |
---|---|---|---|
No | - | ROM Serial bootloader | FCFG.bootCfg.bldrParam |
Yes | USE_FCFG (0xFFFFFFF0) | ROM Serial bootloader | FCFG.bootCfg.bldrParam |
Yes | FORBID (0xFFFFFFFC) | None | - |
Yes | UNDEF (0xFFFFFFFF) | ROM Serial bootloader | CCFG.bootCfg.bldrParam |
Yes | Valid MAIN flash address | CCFG.bootCfg.pBldrVtor[1] (SP: CCFG.bootCfg.pBldrVtor[0]) | CCFG.bootCfg.bldrParam |
If a bootloader is selected, then that bootloader is always invoked as part of the boot process. The bootloader must thus quickly determine whether to activate or not, and if not pass control back to the boot process by calling the API function HapiEnterApplication(). For more information, see hapi.h in the SimpleLink™ CC23xx Software Development Kit (SDK). The ROM serial bootloader determines whether the serial bootloader is triggered (or not) within a few microseconds.