Skip to main content
Visitor II
May 1, 2025
Question

SPC58NH protect RAM when reset

  • May 1, 2025
  • 0 replies
  • 296 views

Hello, I'm using the SPC58NH-DISP board, and my application needs to preserve some variables across a software reset — such as when the reset button is pressed or a WDT reset occurs. My application requires a warm boot feature.

When I assign a value to a variable, I expect it to be retained in RAM after a reset. However, on this architecture (Power Architecture), that doesn't happen.

Is there a way to protect certain variables so they retain their values after a software reset, reset button press, or WDT reset?