I'm trying to compile the bootloader for gcc from this post: devzone.nordicsemi.com/.../nrf51822-over-the-air-bootloader-with-gcc
The bootloader start (I can find my device in nrf Loader from iOS or nrf mcp from android), but the upload fails (without error from iOS and with GATT error from android).
I'd like to debug where the upload fails, but gdb never find main: Breakpoint 1 at 0x3c964: file src/main.c, line 235. (gdb) c Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap. 0xfffffffe in ?? () (gdb)
I'm able to debug a "normal" program with the same commands. Should it be possible to debug the bootloader with gdb ?