I'm a bit new to controllers.
I have a GUI application running on IMX RT 1050 based board. The boot media is SD card (will be eMMC in the future). and the application is linked with the RAM
we need to implement a firmware update mechanism. FW updates are delivered in USB mass storage devices (USB thumb drives). The user should be able to update FW by connecting the USB thumb drive to the board.
we would like to implement HAB in the future.
What is the best way to achieve this?
any suggestions appreciated
Solved! Go to Solution.
Update: I was trying with raw binary. Now I created the image with the proper header. now the board is able to do SFW update with USB.
Thanks for the reply,
I was looking into SBL and SFW projects.
i built the SBL project and tried to flash it on the board.
i. Use a micro USB cable to connect the EVKMIMXRT1170 board to the computer.
ii. Set the board to serial download mode.
iii. copied the sbl.bin file to the RT1050EVK drive detected by the windows
iv. Set the board to XIP mode
v. Reset the board.
but when I copy the sbl.bin file to the device, the explorer window closed automatically and when I rechecked the drive, I found the following error in the FILE.TXT file,
"The interface firmware FAILED to reset/halt the target MCU"
I would like to know how to flash the generated sbl.bin file?.
Hi
i.Mx RT 105x secure SD card, Ethernet, USB-MSD (device and memory stick) loaders are available here:
https://www.utasker.com/iMX/RT1050.html
Docs and videos: https://www.utasker.com/iMX/developers.html
Regards
Mark
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you refer to the SFW solution.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
I have been looking into the SFW and SBL project.
I was trying to single image mode in SBL. for that I enabled the following from SBL menuconfig
I flashed the SBL binary to the board using the following method.
blhost -t 50000 -p COM9,115200 -j -- get-property 1 0
blhost -t 2048000 -p COM9,115200 -j -- flash-erase-region 0x60100000 0x100000
blhost -t 5242000 -p COM9,115200 -j -- write-memory 0x60100000 sfw.bin
blhost -t 50000 -p COM9,115200 -j -- reset
hello sbl.
Bootloader Version 1.1.0
Bootloader chainload address offset: 0x100000
Reset_Handler address offset: 0x10ffff
Jumping to the image
the document in the doc folder is a bit confusing and I could not understand why the application is not executing,
any help appreciated
Update: I was trying with raw binary. Now I created the image with the proper header. now the board is able to do SFW update with USB.