This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DFU image with gcc optimisation bricks device

Hello,

I am experiencing some strange behaviour through DFU process when build with GCC -O2 optimisation.

The upgrade process seems to complete successfully but after this our device is unresponsive. Looking through the RTT logs, it seems to throw an SoftDevice exception and halts through the APP_ERROR_CHECK macro right after initialising the FDS module.

The error is the following:

ERROR 1 [NRF_ERROR_SVC_HANDLER_MISSING] at :0
PC at: 0x00000000

Thanks in advance:

Andoni

Related