Firmware Update via External USB Drive - MIMXRT1170-EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Firmware Update via External USB Drive - MIMXRT1170-EVK

985 Views
myee_
Contributor II

Hi there, 

I am trying to demonstrate a firmware update via USB drive wherein the board recognizes the drive, locates the file, and writes it to flash memory for a bootloader to handle. 

I have been able to use evkmimxrt1170_mcuboot_opensource, using the GUI flash tool to manually flash a firmware file into a bootloader slot. 

I have also been able to use evkmimxrt1170_host_msd_fatfs_bm to recognize, open, and read a specific file on the USB drive. 

Based on my goal and the examples above, am I on the right track? I am unsure on how I can read the file into a buffer and then write it to flash memory at one of the bootloader's slots. Are there any additional examples that you would recommend to achieve my goal? 

Additionally, are there any resources on the evkmimxrt1170_flashloader example? I could not seem to find any associated documentation and am wondering if this could be a suitable starting point to accomplish my goal. 

Thank you in advance for your help. I look forward to hearing from you. 

-Matthew

0 Kudos
Reply
2 Replies

912 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @myee_ ,

 

Please kindly refer to https://github.com/nxp-mcuxpresso/sbl for details . It supports both RT 4 Digit and 3 Digit.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

0 Kudos
Reply

824 Views
Ragnar
Contributor III

Hi @Kan_Li,

      When I try to compile this  https://github.com/nxp-mcuxpresso/sbl for the "serial over USB"

I'm getting the following error " #error The serial manager blocking mode cannot be supported for USB CDC." . Could you please help me to overcome this error.

 

Thanks & Regards.

   Ragnar

0 Kudos
Reply