SWCU195A December 2024 ā May 2025 CC2744R7-Q1 , CC2745P10-Q1 , CC2745R10-Q1 , CC2745R7-Q1 , CC2755P10 , CC2755R10
The CCFG flash sector contains metainformation about or for the application:
Debug permissions and optional authorization options
For regular software application development, the TI-supported SysConfig tool is used to create the contents of the CCFG.
This section covers only the main parts of the CCFG. For a detailed view of the CCFG structure please refer to the hw_ccfg.h file provided by the driverlib part of the SimpleLink⢠Low Power F3 Software Development Kit (SDK) or the SysConfig tool.
The C header file, hw_ccfg.h, provides a struct defining the complete CCFG layout.
Please note that minor updates of the CCFG field description (hw_ccfg.h) can occur as part of a Product SDK release.
The CCFG structure is split into sections, each having multiple fields. The table below presents a high-level view of CCFG sections.
Most sections contain multiple fields. Only a subset of the fields is listed.
| CCFG hierarchy/field | Description | |||
|---|---|---|---|---|
| .bootCfg | Contains function pointer that defines how to enter bootloader/application and also bootloader parameters. | |||
| .pBldrVtor | Pointer to user bootloader vector table | |||
| .bldrParam | Parameter passed to bootloader | |||
| .pAppVtor | Pointer to application VTOR table | |||
| .crc32 | CRC32 integrity checksum for CCFG | |||
| .hwOpts[2] | Bitmask defining which peripherals/features and how much memory is accessible | |||
| .permissions | Device permission fields. This is maximally-restrictive combined with similar fields in FCFG and SCFG. | |||
| ... | Misc unused/reserved permissions | |||
| .allowReturnToFactory | Allow Return-To-Factory procedure by SACI. Refer to Section 9.1.6 for details. Defined options are:
| |||
| .allowToolsClientMode | Allow tools client mode to be enabled by SACI. Defined options are:
| |||
| .allowChipErase | Allow chip erase by SACI. Defined options are:
| |||
| .allowFlashProgram | Allow flash program by SACI. Defined options are:
| |||
| .allowFlashVerify | Allow flash verify by SACI. Defined options are:
| |||
| ... | Misc unused/reserved permissions | |||
| .allowDebugPort | Allow enabling of SWD port. Defined options are:
| |||
| .misc | Misc. boot-related fields | |||
| .saciTimeoutExp | Configures the SACI timeout when there is a bootloader or application to boot into: SACI timeout is infinite when 0, else (2^saciTimeoutExp)*64 ms. (default: 0x4 = 1s) | |||
| .allowMainAppErase | Allow main app erase by SACI. Defined options are:
| |||
| .saciTimeoutOverride | Determines if SACI timeout defined in FCFG is overridden by SACI timeout defined in CCFG | |||
| .flashProt | Flash write/erase protection fields. Protection is applied before entering bootloader/application during boot | |||
| .writeEraseProt | Write/erase protection fields | |||
| .mainSectors0_31 | Bitmask for write/erase protection of individual sectors in sector range [0, 31]. 0 = protected (default: 1) | |||
| .mainSectors32_255 | Bitmask for write/erase protection of groups of 8 sectors. Bit i protects sectors [32+8i, 39+8i]. 0 = protected (default: 1) | |||
| .mainSectors256_511 | Bitmask for write/erase protection of groups of 8 sectors. Bit i protects sectors [256+8i, 263+8i]. 0 = protected (default: 1) | |||
| Bitmasks for write/erase protection of auxilliary sectors | ||||
| .auxSectors | .ccfgSector | Protect CCFG sector 0 = protected (default: 1) | ||
| .fcfgSector | Protect FCFG sector 0 = protected (default: 1) | |||
| .scfgSector | Protect SCFG sector 0 = protected (default: 0) | |||
.vlogSector | ||||
| ... | Misc internal flash sector protections | |||
| .readProt | .mainSectors | |||
| .ccfgSector | ||||
.chipErase | .mainSectors | |||
| .hwInitCopyList[] | Remaining hardware trims applied during boot. Stored in a flexible copy list format. | |||
| .userRecord | User record (programmable also through separate SACI command). | |||
| .debugCfg | Bootloader configuration | |||
| .authorization | Debug authorization requirements. Defined options are:
| |||
| .res0[43] | Reserved | |||
| .crc32 | Integrity check of debugCfg section. Any integrity check error of debugCfg section is interpreted as debugCfg.authorization=CCFG_DBGAUTH_DBGFORBID | |||