The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Issue: Ticker class causes SoftDevice Assert and hard fault (nRF51822)

See details here: https://devzone.nordicsemi.com/question/31378/hard-fault-after-a-while-when-connected/

Has someone else encountered this problem? According to the Nordic support it "should" be okay to disable interrupt for 10-20us and they say if you disable them for more than 200us you are going to have soft device asserts. The Ticker class globally disables interrupts in us_ticker_api.c for about 62us every "tick". In my case this lead to hard faults after staying in a connection for several hours to days.

I think someone should fix this :)

2 comments:

07 Apr 2015

Hi, can you report this to github : https://github.com/mbedmicro/mbed/issues ? Thanks !

16 Apr 2015