Unable to recover nRF5340 flashed with invalid DCDC configuration

I have a nRF5340 module from Fanstel that was flashed with a firmware where the DCDC weren't disabled.
The board does not have the necessary inductors for the DCDC to work (nor does it expose the pins) and the nRF53 is now in a constant power on reset loop.

There are several related issues like
Unable to recover a nrf5340 MCU after first flash on a custom board using nrf5340 DK
and
Unable to recover nrf5340 after flashing nrf9160 code on it. 

Unfortunately the tip with running nrfjprog --recover -f nrf53 in a loop did not work so far after having it do a few hundred tries.
Is there any lower level way that can be used to recover an device from an invalid power configuration or do I generally risk soft bricking a board with those settings?

The brute force solution is of course to transplant the module to a board with the DCDC setup but I would really like to avoid rework on this particular board if not absolutely necessary.

Parents
  • Sorry for the mixup Timon, I continued to give you info for the nRF52.

    Now coming back to the details on nRF5340, 

    The idea is that the DCDC inductor is missing, so it can not power the corresponding DEC pin (supply output pin), similar to your case. 

    On the 53 series you have DCDC inductors for DECD which is on the application core side, and you also have DCDC inductors for DECR which is on the network core side.  Since it is the application it self that enables the DCDC, I assume it is enough to power the application supply externally (DECD) in order to flash a new application firmware that does not enable DCDC, One think we are not entirely sure is that maybe both DECD and DECN has to be powered if DCDC is enabled on both domains, and inductors are missing on both domains

    It's a good idea to have a current limiter on the external supply at 20 mA ish, to protect the regulator

    So in short try powering both DECD (and DECN just to be sure to power modem aswell) to bring the chip out of the non responsive state that occurred by enabling DCDC in firmware without necessary inductors for DCDC to work. 

Reply
  • Sorry for the mixup Timon, I continued to give you info for the nRF52.

    Now coming back to the details on nRF5340, 

    The idea is that the DCDC inductor is missing, so it can not power the corresponding DEC pin (supply output pin), similar to your case. 

    On the 53 series you have DCDC inductors for DECD which is on the application core side, and you also have DCDC inductors for DECR which is on the network core side.  Since it is the application it self that enables the DCDC, I assume it is enough to power the application supply externally (DECD) in order to flash a new application firmware that does not enable DCDC, One think we are not entirely sure is that maybe both DECD and DECN has to be powered if DCDC is enabled on both domains, and inductors are missing on both domains

    It's a good idea to have a current limiter on the external supply at 20 mA ish, to protect the regulator

    So in short try powering both DECD (and DECN just to be sure to power modem aswell) to bring the chip out of the non responsive state that occurred by enabling DCDC in firmware without necessary inductors for DCDC to work. 

Children
Related