Is it possible to save a variable in RAM and then make a watch dog reset and then read back the same value from the RAM?
Or does the RAM get cleared?
I need to save a state machine state before the reset and then restore the state after power up.
I'm coding in C.