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.

LP-EM-CC2745R10-Q1: How do I enable the sector protection function?

Part Number: LP-EM-CC2745R10-Q1


Tool/software:

Hi, Ti

How do I enable the sector protection function? In the first set of code (used only for NVS writing), I used NVS to write my ID data at the starting address 0xE0000.

Then, in the second set of code (for actual use), I enabled sector protection in the Flash Protection Settings in syscfg and used CCS for programming with the following configuration:

I enabled the reserved sector function, but the content at 0xE0000 is still being erased. What else do I need to configure?

Best regards!

Preston

  • SDK version: simplelink_lowpower_f3_sdk_8_40_00_61

    CCS version: 12.8.1.00005

  • Hello Peisheng, 

    I noticed you are not setting a bit to protect your desired sector. Within the device configuration tab that you screen shotted, you will need to set one of the bits to 1 to enable the specific sector to be retained during an erase. 

    I will try to provide a response tomorrow with how I calculate the sector based on the address. Note, for sectors 32-255, and 256-511, each bit represents 8 sectors, and each sector are 2kB in size. 

    Let me know if this helps. 

    Thanks, 
    Isaac