Re: NRF51822 hanging

Scott Nelson <scott@...>

Just upgraded to the latest master version and overrode the _SysFatalErrorHandler. Thanks! Very helpful info.


On Aug 14, 2017, at 2:30 PM, Cufi, Carles <> wrote:

Hi Scott,

-----Original Message-----
From: Scott Nelson []
Sent: 14 August 2017 20:06
To: Cufi, Carles <>
Subject: Re: [Zephyr-users] NRF51822 hanging

The board is one of these:
kit.htm I have been flashing it with STLink + OpenOCD and I’m trying to
figure out how I can debug the chip with that setup + GDB. I am not
using the Nordic dev kit. Let me know if there’s any additional info I
can provide and thanks for you help!

Is there a way I can override the Zephyr fault hander so that I could,
for example, flash an LED or repeatedly log something to the serial
Yes, since you are using the BLE controller this could be a controller assert (which leads to panic). Assuming you are using the latest master (and you should if you are not, since there have been many fixes to the BLE controller recently) then you can override it here:

A CPU fault and a BLE controller assert should all end up there.



Join to automatically receive all group messages.