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

NRF52832 Bricked, nrfjprog Segmentation fault

Hi everyone,

I am facing the weirdest problem here. 

I am working on a custom board using the NRF52832 which I was able to program without issues. I have been working with the NRF52 for a couple of here now, so I have a decent understanding of the whole environment. I use Segger Embedded Studio and occasionally nrfjprog command line.

The problem I have encountered is that I was modifying the current firmware we use on our board, and at a given point I was not able to communicate with the board anymore. On Segger Embedded Studio I got the error message "Failed to connect to target. No idcode detected" which is normally given when the board is not powered. Weird, but ok I though there was something wrong, so I moved to command line.

If I try to erase the whole chip with nrfjprog -e I got a "Segmentation fault. Core dumped" error. Same message if I try with a nrf52832 --recovery command.

The command line tools and segger embedded studio work fine with the development kits and with other custom boards (not of the same family of the broken one), so I thought there was something wrong with the board I am using, so i just took a second one. I programmed the firmware and I got the same problem.

Now, before I brick all our stock, is there any way I can recover the bricked boards?

Thanks for your help

Parents Reply
  • Hello, I don't think this will do any good, because if I program the NRF52-DK or another board (a completely different layout, design and PCB) the chip does not get bricked, so I can in any case erase the memory and reflash with another firmware.

    At this point, my guess is that as soon as I give power to the bricked board, the firmware inside starts doing something weird during the configuration of some pins....but can this entirely block the programmer from communicating with the NRF52?

Children
Related