- Image valid parameter (normally set by the programming tool)
- Failure analysis access configuration
- Custom MAC address
- Bootloader configuration
- TAP and DAP access configuration
- CC13x2x7 device: Configure the output power to +14 dBm
In TI distributed software, the CCFG parameters are set at compile time in the ccfg.c file. The CCFG settings are set by default to allow full debugging of the device. The CCFG settings are not recommended for production.
For the CC13x2x7 device only:
To enable output power of +14 dBm, the CCFG_FORCE_VDDR_HH define must be set to 1 in ccfg.c distributed in the TI Simplelink SDK. If CCFG_FORCE_VDDR_HH is set to 0 the maximum possible output power is +12.5 dBm.
TI recommends configuring a device for final production with the steps that follow:
- The following defines in ccfg.c must be set to 0x00 to disallow access to Flash contents through the bootloader interface.
- SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE
- SET_CCFG_BL_CONFIG_BL_ENABLE
- The SET_CCFG_CCFG_TI_OPTIONS_TI_FA_ENABLE define in ccfg.c must be set to 0x00 to disallow failure analysis access by TI.
- The following defines in ccfg.c must be set to 0x00 to individually disallow access to the JTAG access ports:
- SET_CCFG_CCFG_TAP_DAP_0_PWRPROF_TAP_ENABLE
- SET_CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE
- SET_CCFG_CCFG_TAP_DAP_0_CPU_DAP_ENABLE
- SET_CCFG_CCFG_TAP_DAP_1_AON_TAP_ENABLE
- SET_CCFG_CCFG_TAP_DAP_1_PBIST1_TAP_ENABLE
- SET_CCFG_CCFG_TAP_DAP_1_PBIST2_TAP_ENABLE
- To enable power profiling with EnergyTrace™ software, the SET_CCFG_CCFG_TAP_DAP_0_PWRPROF_TAP_ENABLE define in ccfg.c must be set to 0xC5.
- The SET_CCFG_IMAGE_VALID_CONF_IMAGE_VALID define in ccfg.c must be set to the address of the vector table of the Flash image to pass control to the programmed image in Flash at boot. Most standard Flash images will have the vector table located at address 0x0000 0000.
- Optionally, the SET_CCFG_ERASE_CONF_CHIP_ERASE_DIS_N define in ccfg.c can be set to 0x0 to disallow erasing of the Flash when Chip Erase is requested by JTAG.
- Use the SET_CCFG_CCFG_PROT_n defines in ccfg.c to program and erase protect the sectors of Flash that are not designed to be updated in-system by the final product. Any bit in the define set to 0 will force that the corresponding Flash sector number is program and erase protected.
Note: Enabling some of the functionalities in the ENABLE fields in CCFG are contingent on the corresponding ENABLE field in FCFG that has been set to enabled by the TI production test. This is the case for the access configuration of the TEST_TAP access port, for example. In the products where the TEST_TAP access is not enabled in FCFG, the value in the corresponding CCFG field set by the SET_CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE define in ccfg.c, is ignored and the functionality is disabled.