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.

LAUNCHXL-CC26X2R1: How to update part of CCFG without erasing original CCFG using SBL?

Part Number: LAUNCHXL-CC26X2R1

To say that if we want to udpate back door pin number but don't want to erase secondary BLE address, how to achieve this in my FW with SBL update?

  • Hi,

    All the CCFG parameters are on the same flash page. This means you are required to erase all the CCFG parameters before rewriting the page. Actually, if you only need to flip bits from 1s to 0s then you could skip the erase step - I consider this is not the case here.

    Here the algorithm I suggest:

    1. Read the CCFG pieces you would like to keep
    2. Erase the CCFG
    3. Prepare the new CCFG content using the old content and the update you want to do
    4. Write the CCFG

    You will find useful documentation in this app note (see §3.2 SBL API) and the technical reference manual (see §8 Bootloader and  §9.1.1 CCFG Registers)

    I hope this will help,

    Best regards,