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

nrf51422 bricked (N5 Starter Kit from Dynastream)

Hi guys,

we are currently evaluating the nrf51422 chips for our product. We have ordered the N5 Starter Kit from Dynastream and were able to flash different sample projects and custom code via Keil µVision. We have flashed the chips with the S310 softdevice as we need both BLE and ANT support. Sometimes Keil refused to flash our application (No Cortex M0 device found) so we had to fire up nrfgo studio and reflash the S310 softdevice. Unfortunately, we have been unable flash anything at all (neither softdevice nor application) nor erase the chips since yesterday. nrfgo studio recognizes our Segger J-Link but is unable to recognize the nrf51422s so we cannot recover the chips. The same goes for J-Link commander. It recognizes the Segger but no devices. It only detects the VTarget voltage with either 1.7V when using a CR2032 coin cell or 3.5V when powered via USB. We tried to recover via nrfjprog from the command line but it says it cannot detect any NRF51 devices.Running the command sequence to erase the flash via J-Link (r, w4 4001e504 2, ...) doesn't work either.

Have we bricked our chips or is there any other way to revive our devices?

Thanks in advance!

  • It sounds like there might be an issue with the voltage on the chip, especially since you've experienced some difficulties programming it previously as well. The J-Link requires 3.3 V to function properly and if you use a different voltage you might end up with some similar behavior. It all depends on how far away from 3.3 V you are. Usually 3.0 V works fine. So I don't know if you have been running the board and programming it at a much lower voltage? Using a coin cell of 3.0 V should not be a problem, so I would use this until you have recovered it now.j-link commander, nRFgo studio or nrfjprog all should be able to recover this board as long as the voltage and the j-link is working correctly.

    Secondly, it could be a header or a connection that's not in place. Could you check the VDD of the nRF51422 chip? Is it actually the voltage you think it should be?

    Do you have other boards that you could try the programmer on? It would be nice to know that the programming routine/drivers are all working correct.

    If none of the above is working, please try to re-install the various software components needed such as the drivers for j-link and nRFtools.

  • Hi Asbjørn,

    thanks for you reply. After a lot of trial and error we have found the issue: it was indeed the VDD. Unfortunately, it has been obfuscated by some non obvious characteristics of the Dynastream Devkit. In case someone runs into the same issues, here is the solution:

    The voltage of the 3.6V coin cell has dropped below 1.7V due to discharge that made it impossible to flash new code to the nrf51422 chips. When we mounted the chips to the usb dev board the voltage was at around 3.5V as measured via J-Link. What we didn't now: The usb dev board that comes with the N5 starter kit blocks the J-Link interface. The chip is fully operational but you simply cannot flash any code on it while mounted on the usb board.

    Bottom line is that you can only flash the chips while mounted on the battery board. So you either have to solder some headers to the battery board and use an external power source or buy some rechargeable coin cells.

  • I'm glad you figured it out and we really appreciate that you took the time to update this case with the additional information and the solution. Thank you for helping the forum.

Related