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.

RTOS/CC2640R2F: Updating CCFG from the application in simple_peripheral_oad_onchip

Part Number: CC2640R2F

Tool/software: TI-RTOS

Hi everyone,

I am using simple_peripheral_oad_onchip project as baseline.
I would like to change ccfg ble configuration which is in bootloader image from the application.

To be more specific, I would like to disable internal DC-DC.

I tried to write new configuration to the flash by using flash library which is provided by SDK.
The flash library that I used in SDK_BASE\source\ti\devices\cc26x0r2\driverlib\flash.h

When I tried to write a new ccfg to flash sector, I got error message 'FAPI_STATUS_FSM_ERROR'. 
I checked that the flash region is protected or not. The FlashProtectionGet function returned FLASH_NO_PROTECT value.

Why did i get error message ? and How can i change ccfg values from the application side ?



My SDK version: 1.35.00.33

Thanks for your attention.
Have a nice day