This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832 DK not able to run applications anymore

Hello,

I have been using the nRF52832 DK with the GCC + Eclipse setup and running both example programs and my own. Everything was functioning properly and I was ready to move onto applications outside of the DK.

I was migrating to a custom board holding a nRF52832 (QFAAB0) with debug-in connector onboard to program it with the DK I have been using up until now, only connecting SWDIO, SWDCLK, VCC and GND (the reference design with the DC/DC converter was used).

Once assembled (and powered by an external power supply), I attempted programming it using the DK (my own application) and noticed that DK properly sensed my board and sent the programming commands through its debug-out, giving the usual console output for successful programming. However, I attempted to use the GDB debugger but was unable to do so. I could not receive any disassembly and Eclipse reported 'No source available for 0xfffffffe', and after a few seconds it got caught in a trace/breakpoint SIGTRAP. I was able to jump back to the DK at this point and try my own application again (removing the debugger cable between the boards) and it worked, only seeing this issue when going to the custom board.

Where things got worse was when I tried programming the blinky using nrfjprog command-line utility:

$ nrfjprog --family nRF52 --eraseall
$ nrfjprog --family nRF52 --program ~/beacon/nRF5_SDK_12.1.0_0d23e2a/examples/peripheral/blinky/pca10040/s132/armgcc/_build/nrf52832_xxaa.hex
$ nrfjprog --family nRF52 --run

The programming seemed to have worked but the custom board still did not respond. Wanting to check if it was the right way to do it, I repeated this on the DK, but then the DK stopped working as well, and now the same problem (as above) is happening with the DK. I tried with both erase and chip-erase but it did not work. Bottom line is I cannot get any program running on the DK now either.

Is there any sequence of programming commands I can use to make the DK run programs again, or be able to tell if I have done any permanent damage?

Also, (putting a second question here since the background/setup has already been described above and is related to the first) do you know of any possible reasons for not being able to run programs on the custom board and/or any paths to go down for debugging this?

Parents Reply Children
No Data
Related