Hi,
The CC2640 backdoor bootloader can write to CCFG using the CMD_SET_CCFG command.
In sblApp there is a function SblDeviceCC2650::setCCFG(uint32_t ui32Field, uint32_t ui32FieldValue):
/** \brief Writes the CC26xx defined CCFG fields to the flash CCFG area with
* the values received in the data bytes of this command.
*
* \param[in] ui32Field
* CCFG Field ID which identifies the CCFG parameter to be written.
* \param[in] ui32FieldValue
* Field value to be programmed.
* \return
* Returns SBL_SUCCESS, ...
*/
What is CCFG Field ID ?
Do I need to erase the CCFG sector explicitly , Or it's done internal by BL ?