Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

nrf5 SDK SVC #255 / 0xFF

Hello all,

I ported an old nrf5 application from SDK 12.3 to SDK 17.1. It uses S112 7.3.0 and FreeRTOS. Unfortunately I am getting time variant softdevice hard faults at 0xA60. ETM debugging shows that the fault is triggered by at least two different places in the SD code, but always is SVC #255 the last instruction before the fault.

According to the SDS, it is the SVC is used by the Softdevice, but I was unable to find its purpose in the documentation and header files.

Does anyone how, what SVC #255 does? It is some kind of reset / error handler?

I hope it might point me to the root cause of crashes (memory issues, time constraints etc.)

Many thanks in advance!

Arne

Related