Dear Fabio,
Thanks for your help, it is working perfectly now.
The issues was both radio and swi handler missing.
Thank you very much for your help.
Regards,
Then Yoong Ze
On 10/1/2017 8:53 PM, Fabio Utzig wrote:
On Tue, Jan 10, 2017, at 07:10 AM, then yon wrote:
Beside that the SWI0_EGU0_IRQHandler is a default peripheral interrupt
handler defined in gcc_startup_nrf52.s (just like TIMER2_IRQHandler); it
doesn't seem to be correct by defining it our-self.
gcc_startup_nrf52.s defines weak symbols. You still have to overwrite
them to handle something yourself. TIMER2 for example is handled on
"hal_timer.c".
I missed it before, but as Wayne mentioned, 17 is the RADIO handler. For
BLE it is handled by ble_phy.c which you're probably not using, so you
would need to define your own handler.
Best,
Fabio Utzig
.