I'm moving a project from pca10056 to pca10059. When programming the pca10059 via the JLink Edu Programmer, the application uploads fine, however it hangs entering debug and doesn't execute the program when using Segger Embedded Studio.
If I take the same application hex and S140 soft device and program it via nRF Connect programmer via the usb booitloader, then if I connect it upto Segger via JLink in Segger Embedded Studio, it can then debug fine.
I.E. Exact same application hex and soft device with both approaches.
Doing a read of the device programmed both ways with: ./nrfjprog -f nrf52 --memrd 0x00000000 --n 0x100000 and comparing them, the only difference is in the boatloader settings: