Hi!
Currently I'm using the nRF5 SDK and successfully configured the SDK to compile the blinky example for pca10059 (nRF52840-Dongle).
When I plug the dongle and program it via nRF Connect, it works. I can also change the blink rate in the main.c and recompile and flash, the rate changes too.
I then tried to program it externally via a nRF52833-DK board. It programs fine, I see the light flashing while it burns the firmware, and this is the output after I do "make flash":
DONE nrf52840_xxaa
Flashing: _build/nrf52840_xxaa.hex
nrfjprog -f nrf52 --program _build/nrf52840_xxaa.hex --sectorerase
Parsing hex file.
Erasing page at address 0x1000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
nrfjprog -f nrf52 --reset
Applying system reset.
Run.
The issue is, when I change the blink rate from the default 500ms in main.c and reflash, it no longer turns on any LED.
If I compile it again for 500ms, it works again. I have performed a "make clean" between changing delay values and recompiling, but still, the same thing happens.
Obviously the hex is not the issue here, since the same hex is used on nRF Connect and "make flash" (nrfjprog).
I can't seem to figure out what the issue is.. Any help is greatly appreciated. Thank you!