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.

CC3220: Protected Memory area for Unique ID - parameters

Part Number: CC3220

Hi Support,

is it possible to identify in CC3220SF an area of memory (32 byte) to be used for Unique ID or parameters which is never re-written during OTA / UniFlash re-prog?

Thanks and regards,

Alberto

  • HI Alberto,

    The OTA process does not have to overwrite the whole filesystem, so you should be able to retain permanent files through OTA. The Uniflash reprogramming is a different story, since the whole FS is erased in the process. Perhaps I can suggest using the unique device identifier of the device:
    ConfigOpt = SL_DEVICE_IOT_UDID;
    ConfigSize = sizeof(App_CB.lockUDID);

    ret = sl_DeviceGet(SL_DEVICE_IOT, &ConfigOpt, &ConfigSize, App_CB.lockUDID);

    where App_CB.lockUDID is just an array of 16 bytes.


    -Aaron