lpcware

Reset Cause

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by PhilYoung on Mon Sep 03 05:39:56 MST 2012
I'm debugging a boot loader that verifies and runs one of multiple images in a failsafe mode, for this I need to determine if a reset was caused by the watchdog, an app call, or a HW reset.

According to the UM LPC_RGU->RESET_EXT_STAT0 should return the reset cause, however when I enter the code I find this is always zero.

Is this being cleared by the boot rom code, and if so where is it storing the status?.

Has anybody found this yet?.

Outcomes