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.
Tool/software: Code Composer Studio
Hi,
I have been using the compute through power lost (ctpl) api provided by the TI Fram utilities example. This API saves the system stack and states and enters low power mode and allows the program to resume execution from where it saved even after a power lost. I'm not very interested in entering low power mode after I save, rather I want it to continue operating as normal after a save. So I have now modified the code to do so.
A problem that I ran into was during testing where I have a intermittent power system setup, sometimes the system would shut off in the middle of a save and won't be able to complete the save. This forces the system to start from the very beginning of the program the next time it power ups.
I'm wondering if there is a way for the api to save 2 different versions of the stack/states, the second one being the latest verison and the first one will be the previous version. This way if the system fails to save the latest version, it can then go back to the previous version upon start up and does not have to restart from the very beginning of the program anymore.
If anyone can point me in the right direction to do it would be very helpful,
**Attention** This is a public forum