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.

LAUNCHCC3220MODASF: Setting of persistent parameters

Part Number: LAUNCHCC3220MODASF

Hello all,

in the CC3x20, CC3x35 SimpleLinkTM Wi-Fi® and Internet of Things Network Processor Programmer's Guide I found the following information:
If system-persistent configuration is enabled, any change in the system settings may result in a serial-flash write operation, and its write endurance must be considered.

In my case the system-persistent configuration is enabled.
I assume that the serial flash write only takes place if the new value is different from the saved one. Right?
Does anybody know if I can be sure about it?
Or is it necessary to read back the desired value first, compare it with the new value and call the Set function if the two values are different?

Best regards and many thanks,
Roman

  • Hi Roman,

    No, not all API calls that configure persistent settings are protected such that the write only occurs if there is a change to the setting. If you expect that you need to change persistent settings frequently enough that it could be a problem based on the write endurance of the flash, you should use the ability to disable the persistent configuration for writes when possible. Or you can implement a mechanism to read back the value first as you have suggested.

    See section 3.12 of the CC3220 network processor programmer's guide: http://www.ti.com/lit/swru455

    Best Regards,

    Ben M

  • Hello Benjamin,

    many thanks for your reply.

    I implemented the functionality as described in my first mail (read and if neccessary modify).

    Best wishes,
    Roman