Not able to update firmware over UART using MCUboot: flag shows pending

I tried to update firmware over UART (using MCUboot).

The flag shows test pending, and was able to test the application and provide expected output.

But was not able to "confirm image", it shows Error:NMP timeout, when the confirm image command is executed.

Thanks in advance

Parents Reply
  • Sigurd Hellesvik said:
    In your application, you can create an UART handler which calls sys_reboot() on your device.

    Main application

    Sigurd Hellesvik said:
    Then send an mcumgr command during the wait period.

    External device.

    The bootlaoder runs before the application, and stops when the application is running
    Therefore, you can not receive input to the bootloader when the main application is running.
    The device must be reset for the bootloader to run again.

Children
Related