Hello,
We are currently using softdevice version 7.0.1 and SDK version 16.0.0.
We are having difficulty nailing down a rare hard faulting bug.
Very rarely, the device will run for an undetermined length of time then hardfault.
However, most of the time the device will run without issue for an unlimited amount of time.
This has made catching the bug with a debugger connected extremely difficult.
Today was the first and only day we were able to catch the bug with the programmer connected.
Running though the stack, I was able to find that the program counter was set to 0xCAFEBABE with a return address of 0x00001398.
Since this is located with-in the softdevice source, I was wondering if someone from Nordicsemi could look up what condition would cause a jump to 0xCAFEBABE?
I know that it can be used internally by the softdevice to signal particular error conditions (See Link Below).
https://devzone.nordicsemi.com/f/nordic-q-a/30431/biref-description-about-deadbeef-how-it-is-used-where/120541#120541
We have not been able to easily reproduce this error.
FYI, it only calls the Hardfault handler, it does not call the app error handler.
Thanks