I've written a tiny program which toggles an LED for the DA14683 Pro Development Kit. The program is running from the RAM. When I upload this program manually (without the IDE) this also works fine.
When I upload the exact same program (with the exact same debugger) to our board (an LED is also at P1/5) the CPU always get stuck in the ROM at address 0x07f01dfc (which is a loop onto itself). Maybe this is the "Wait Forever" part of the boot sequence.
When I set the SP manually to 0x07fd0000 and the PC to 0x07fc0201 (according to the bin/elf) the CPU always stops in 0x07f000e6 (which may be a handler also in the ROM).
Is there maybe something I need to change in the OTP first to the change the behaviour on the CPU on our board? I maybe the debugger needs to set something first before starting the application?