This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: sbl API setCCFG method usage

Part Number: CC2640R2F

Hi Team, 

I am working on porting the sblApp Example to Linux OS. I am done with adding the support for the  serial port communication.

I would like to extend the app with reading and writing the CCFG registers,

1. I was able to accomplish the reading of CCFG registers using the readMemory8  method.

2. I have trouble in setting the CCFG registers, my code is using the below setCCFG  method provided by API.

//-----------------------------------------------------------------------------
/** \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, ...
*/
//-----------------------------------------------------------------------------

uint32_t SblDeviceCC2650::setCCFG(uint32_t ui32Field, uint32_t ui32FieldValue){

Whats the value ui32Field in case I would like to change the  BL_CONFIG:BL_ENABLE  register ?

I tried with 
if((retCode = SblDeviceCC2650::setCCFG(0xfd8, value)) != SBL_SUCCESS) and the return code is success, but the value of the register, before flashing and after flashing is not changed (remains 0xc5 only)


Could anyone post examples on what values to use for the ui32Field ( is it the offset as mentioned in TRM ? )