Installed the latest Mbed Studio on the Mac,
Created a new Blinky project for the NRF52,
Project compiles ok.
Installed the right firmware on the NRF52 board so that Mbed Studio can see the board
Tried to debug the application. The device is programmed. It never hits main() and the call stack implies an exception handler has been taken.
Output from the Debug Console includes:
0003715:INFO:loader:Programmed 95012 bytes (24 pages) at 32.28 kB/s (0 pages unchanged)
Note: automatically using hardware breakpoints for read-only addresses.
[New Thread 2]
[New Thread 4227988000]
[New Thread 4197102362]
[New Thread 52490658]
[New Thread 4026792485]
Thread
2 "Handler mode" received signal SIGSEGV, Segmentation fault.
I dont see anyway to debug this kind of crash in Mbed Studio. Investigating static constructors that crash would be a challenge as the UI does not give the necessary visibility of the internal CPU state.
Any suggestions as to how I might investigate/resolve this issue before I move on to a more complex application.
Thanks
Installed the latest Mbed Studio on the Mac, Created a new Blinky project for the NRF52, Project compiles ok.
Installed the right firmware on the NRF52 board so that Mbed Studio can see the board
Tried to debug the application. The device is programmed. It never hits main() and the call stack implies an exception handler has been taken.
Output from the Debug Console includes:
0003715:INFO:loader:Programmed 95012 bytes (24 pages) at 32.28 kB/s (0 pages unchanged) Note: automatically using hardware breakpoints for read-only addresses. [New Thread 2] [New Thread 4227988000] [New Thread 4197102362] [New Thread 52490658] [New Thread 4026792485] Thread 2 "Handler mode" received signal SIGSEGV, Segmentation fault.
I dont see anyway to debug this kind of crash in Mbed Studio. Investigating static constructors that crash would be a challenge as the UI does not give the necessary visibility of the internal CPU state.
Any suggestions as to how I might investigate/resolve this issue before I move on to a more complex application.
Thanks