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

MCUBoot modem firmware freezes stuck at step 1/2

There was an error adding your device: No device found for this id. The device has not yet been provisioned.Troubleshoot nRF Code 40412

When I tried flashing modem firmware, when the device is in MCU Boot mode (serial recovery mode pressing SW4 before power on (Nordic Thingy91)). It gets stuck/hung after step1/2

thingy91_fw_2021-06-28_7a076c22/mfw_nrf9160_1.3.0.zip

1. Update app FW on nRF5240 (Pressed SW4 before power on and flashed connectivity bridge .hex successfully)

2. Update app&modem FW(.zip) on nRF9160 (Pressed SW3 before power on and no LEDs work and doesn't seem to go to serial recovery mode as well but if I press SW4 and power on; I can now flash modem firmware but again gets stuck at step1 )

Parents
  • Hello!

    Thanks for reaching out. Pressing SW4 before powering up activates MCUBoot mode on the nRF52840, not the nRF9160, so it's natural that the modem firmware upload won't finish then. When entering MCUBoot on the nRF9160 (pressing SW3 before powering on) the LEDs should not light up. Did the device still show up in the programmer application? If so, please try to program the modem firmware to it.

    The procedure is described in detail in our documentation.

    Best regards,
    Carl Richard

Reply
  • Hello!

    Thanks for reaching out. Pressing SW4 before powering up activates MCUBoot mode on the nRF52840, not the nRF9160, so it's natural that the modem firmware upload won't finish then. When entering MCUBoot on the nRF9160 (pressing SW3 before powering on) the LEDs should not light up. Did the device still show up in the programmer application? If so, please try to program the modem firmware to it.

    The procedure is described in detail in our documentation.

    Best regards,
    Carl Richard

Children
  • Does the SWD switch have to do something with MCUBoot ? Because, I think I flashed it wrongly or the sequence was incorrect. Please let me know the correct sequence to flash both the modem and app firmware.

    The LINK you attached is broken for me. 

    1. Pressing SW3 before powering on and flashing connectivty bridge hex

    2. Only after that I see two COM ports, then turn off and then turn back on pressing SW4 and updating modem firmware which is successfully completed.

    3. Then power off and then on again pressing SW4 and writing flash (nbiot and nbiot legacy and serial modem)

  • Hello again!

    The SWD switch should not affect MCUBoot. Apologies for the broken link, I have updated it now! The procedure you are describing is a bit wrong, as you are using the wrong switches for the wrong chip. Do the following:

    1. Press SW4 while powering on and flashing the connectivity bridge hex file to the nRF52840.

    2. Turn off and press SW3 while turning on again. You can then flash the modem firmware to the nRF9160.

    3. Turn off and press SW3 while turning on again. You can now flash your desired nRF9160 application.

    Best regards,
    Carl Richard

Related