I'm currently using CrossStudio as IDE. I've no problem in compiling and downloading the application in the nRF52832 microcontroller. However the application wouldn't start automatically after a download. Only if I disconnect the debugger from CrossStudio and power cycle the board, then the application run smoothly. A similar thing happens while debugging. If I make the debugger executing all the BLE initialisation code by running in one go to a code line placed after all the initialisation, the application has no problem and I can debug it step by step. Instead, If I step through the softdevice initialisation code, after a while I get a softdevice assert and the fault handler gets executed.
Any idea why this is happening?
Thanks