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

nRF52 Application does not run without a debugger

I have an application which runs successfully when downloaded and executed by my Crossworks IDE and J-Link debugger.

However if I just download the code and detach the debugger the code does not seem to run.

My code includes a section to initialise the clock and I get a NRF_CLOCK_HF_SRC_HIGH_ACCURACY when this is done.

I assume there is something that has been forced on by the debugger that I've not initialised but having read the documentation I have no idea what it is.

Related