Other Parts Discussed in Thread: TIDM-02011, C2000WARE
I am trying to keep redundant( backup) copy of application firmware so that during firmware upgrade failure case device can switch back to last working firmware.
e.g
First time, device boots with firmware stored at flash sector 4 (Primary) and firmware upgrade will write to flash sector 8 (backup).
Second time, device boots with firmware stored at flash sector 8 and firmware upgrade will write to flash sector 4.
This cycle repeats for successive firmware upgrades.
1) Is there any application note or sample application available ?
2) How to write application file to backup flash sector when device is booted with primary sector and vice versa ?
3) How to detect currently booted flash sector ?
Thanks
Prashant Patil