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

nRF51824 uploads and verifies, but doesn't run except for the experimental examples

Hi all,

I have updated a custom automotive PCB and am now using the nRF51824 instead of the nRF52832 I had been using previously.

Unfortunately, I have been unable to get self-compiled code to run on the new nRF51824. Compiling, uploading, verifying and reading works fine; no errors returned. However, the code doesn't run and main() isn't executed (the same code works without any problems on the nRF5-DK). The same applies to the (precompiled) examples in the SDK (v12).

Coincidentally I found out the experimental examples from the SDK do run. However, only the precompiled .hex files. Compiling, merging and programming of the source code of the experimental examples doesn't work (no errors returned, but the code isn't executed).

So unfortunately I can't reproduce those working .hex files to find the differences in the source code.

My questions is: what am I missing to reproduce the experimental .hex files in the examples folder? Or why could it be that my nRF51824 doesn't execute code, but uploading doesn't return any errors?

Related