Hello everybody,
I successfully built a BLE demo application using Nordic SDK and arm-gcc makefiles and now I am trying to flash it. My board is a custom made one with NRF52832, and debug adapter is St-link, not a Jlink.
So I am unable to use provided nrfjprog utility from 'make flash'...
I usually use gdb and flash firmware from it via 'load' command in gdb shell. But with this demos (to my understanding) I need to flash SoftDevice separately. So I've tried to flash it using openocd (telnet localhost :4444; program ...), then I tried to flash my app, again, with openocd, and I have no success. Board seems to be completely dead.
I've tried different combinations with openocd and gdb and I am completely stuck now :) If I am loading app from gdb chip seems to stop at some early address (0x2b, if memory serves), so I guess gdb rewrites all memory. With openocd - loaded app it seems again stuck somewhere, and I am unable to catch main or reset handler or anything.
My OS is arch linux, softdevice S132. So can anybody point me what I am doing wrong?
Cheers!