MCUboot and Zephyr on NXP i.MX RT series #45252
-
I am sharing these lab guide steps written in 2021 to help users working with MCUboot and Zephyr. These are the steps we used on MIMXRT1060-EVK with Zephyr v2.6.0:
Use mcumgr tool to manage new firmware update through UART:
The serial terminal will return details like this about the SMP application in MCUboot Slot0:
The previous steps flashed v0.0.0 of the SMP app in Slot0. The steps below use mcumgr to update with v1.0.0:
Serial Terminal prints results like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @DerekSnell I tried the above steps for RT1160 EVK platform, After that i try to upload image through mcumgr tool,
I have seen Unable to upload firmware over serial with mcumgr #9509 this thread. Based on that i try to increase the timeout till 20 sec & also try to enable the UART option in the application and getting error as below, Suggest is there any steps i am missing out/ need to config the mcuboot/ application to rectify the time out issue? |
Beta Was this translation helpful? Give feedback.
-
Thanks @jamesshawver1 for pointing that out.
|
Beta Was this translation helpful? Give feedback.
-
If you are looking for an alternative to the deprecated mcumgr, we have validated the MIMXRT1060-EVK USB and UDP transports for use with smpclient and maintain HW regression tests here: https://github.com/intercreate/smpclient/tree/main/examples/duts. I expect that the raw UART would work nicely as well! |
Beta Was this translation helpful? Give feedback.
-
Marking this example as answered |
Beta Was this translation helpful? Give feedback.
Marking this example as answered