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.

CC2640: How to use CCFG in the Code of CC2640RF

Part Number: CC2640

Hi ,

    How can i use CCFG   .

I  want to store something in CCFG and read it every time device is rebooted .

am using SimpleBroadcaster example . I want to change  variable in scan adv and scan response data .

but that data should be in CCFG  so that i can use flashprogrammer 2 to change it

Thanks & Regards

Raghu DP

  • Hello Raghu,
    Use the SNV instead. CCFG is for configuration only.
    Please refer to section "3.10.3 Using Simple NV for Flash Storage" in the SDG:
    C:\ti\simplelink\ble_sdk_2_02_02_25\docs\SWRU393_CC2640_BLE_Software_Developer's_Guide.pdf

    Otherwise you need to reserve an area in flash by modifying the linker command file and use flash programmer 2 to write to that address. For CCS there is an old discussion on the topic here (there might be other more updated threads that you can search for as well):
    e2e.ti.com/.../251429