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.

CC1352R: Dynamically protect/unprotect Flash sectors

Part Number: CC1352R

Dear support,

I am using Simplelink 4.20 and CC1352R Launchpad for development. My goal is to protect all flash sectors while still being able to (eventually) save some persistent data. In other words, I want to keep the whole flash protected, then in specific situations unprotect->save data->protect.

While CCFG Registers SET_CCFG_CCFG_PROT_* can protect/unprotect the flash sectors indeed, this configuration is static. Is there a way to dynamically manage the flash protection/unprotection or any sort of mechanism to achieve what I am looking for? NVS driver seems not to help much on this.

Thanks in advance.

Regards,

Angel

  • Hi Angel

    I am afraid that there is not way of doing this dynamically as this kind of defeats the point of protecting them in the first place

    BR

    Siri

  • Thanks Siri,

    I recall some vendors providing a password-like mechanism to do this dynamically too, that triggered my question. I guess it means all data dynamically saved in flash will always be exposed to R/W no matter what. I should then figure out a way to protect this data from being misused e.g. encryption.

    Anyway, thanks again for your time and clarification.

    Regards,

    Angel