Team,
Are there some build-in mechanism to retain data during/after WDT reset?
This would be typically used to retrieve the last state (appr. 16 bytes) of a state machine after a WDT reset.
This should work on multiple C2000 (F28379S, F280049, F280025) derivatives.
-I have seen the below post that suggest to use the Flash:
https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/713476
I looked at the page 258 of the "F2837xD Workshop Workshop Guide and Lab Manual" (located here ).
- Does it means that 1 full sector need to be kept for such retain mechanism?
- Is there a risk that the WDT reset will remove power from Flash and damage it?
- In term of performance (ie speed) I assume the fastest would be to erase 1 block and write a flash area that correspond/is aligned to a complete cache line. Correct?
-What are the other consideration to take into account?
-Could the CAN RAM be used for this purpose?
-Are there some SW mechanism that upon watch dog reset would for example run an ISR or SWI and wait for completion before applying the XRS signal for reset?
-What would be easiest interface to use if this mechanism is implemented using an external memory or external Flash?
Thanks in advance,
A.