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

dtm_init throws NRF_FAULT_ID_SDK_ERROR

I am using SDK V15.2 and opened the SES example for dtm. I modified RXD and TXD pins since i use a custom board based on the nRF52832.

When debugging the example on the board, i am getting stuck with the mentioned error, where i hand in a breakpoint condition.

I narrowed down the cause of the hardfault using the debug configuration in SES and located the call for the hardfault: it seems that this happens as soon as I enable the NRF_LOG in sdk_config header.

Is there some way of letting the example code log into the RTT console?

Any help on how I could proceed during debugging, is appreciated.

Thanks

Parents Reply
  • HI,

    Well yes, I tried that but also ran into trouble (sorry i cannot remeber exactly because I was in a hurry). It´s a pity that the sdk_config.h files are selsom "complete" in the various examples, i.e. the mostly onl include the defines for the modules that are used in the SDK. That is a bit of a pain, because "just switching to RTT" soon becomes more work than one would think of. ;-)

Children
No Data
Related