I'm seeing the resetreas show the CPU lock-up detected after I reboot. This error is occurring while using the ADC. What type of fault condition can cause a CPU lock-up detection?
I'm seeing the resetreas show the CPU lock-up detected after I reboot. This error is occurring while using the ADC. What type of fault condition can cause a CPU lock-up detection?
Hi Lucas
Is there any fault causing the reset? If so, check function "app_error_handler" and comment in "ble_debug_assert_handler" to get more information about the error.
As indicated on this thread, the CPU lock-up bit can not be trusted in all cases. Further investigation show that this bit can not be trusted at all and should be neglected. That means that if this bit is set after a reset, it does not indicate anything. For now, disregard this bit.
Are there any other bits set in the resetreas register after reset?
Hi,
I have seen this problem with NRF51822, in my case only POWER_RESETREAS_LOCKUP_Pos bit is set and all other bits are not set.
The thread you mentioned and the document in below links explains we should not believe if any other bits are set along with LOCKUP. So is that true if single (LOCKUP) bit set also?
Thanks Manju
Hi,
I have seen this problem with NRF51822, in my case only POWER_RESETREAS_LOCKUP_Pos bit is set and all other bits are not set.
The thread you mentioned and the document in below links explains we should not believe if any other bits are set along with LOCKUP. So is that true if single (LOCKUP) bit set also?
Thanks Manju