This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832 reset and RESETREAS is 0x00000008(LOCKUP)

Hi,DevZone

I'm not Native English , sometimes can not express exactly, So, I'll provide a concise description about  the question 

1, platform: nRF52832_QFAA _E1, nRF5_SDK_13.0

2, question: nRF52832 RESET(erratic and rare) and RESETREAS is 0x00000008(LOCKUP)

3, I have read some post at devzone 

https://devzone.nordicsemi.com/f/nordic-q-a/32894/what-does-cpu-lock-up-mean-and-how-should-i-debug-this-issue/126706#126706

and 

Cortex-M4 Lockup search result from google

4, my HardFualt _Handler code and WDT_Handler code:

void HardFault_Handler(void)
{
	/* Go to infinite loop when Hard Fault exception occurs */
	if (CoreDebug->DHCSR & 1)    //check C_DEBUGEN == 1 -> Debugger Connected
	{
		__breakpoint(0);  // halt program execution here
	}

	while (1)
	{
	}
}

void wdt_event_handler(void)
{
	/* Go to infinite loop when Hard Fault exception occurs */
	if (CoreDebug->DHCSR & 1)    //check C_DEBUGEN == 1 -> Debugger Connected
	{
		__breakpoint(0);  // halt program execution here
	}
	while (1)
	{
	}
}

@

Hope someone can point out what's happen and how to dig further

Thank You

Parents Reply Children
No Data
Related