Assistance Needed for IMXRT106S MCU Boot and USB Mass Storage Mode

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

Assistance Needed for IMXRT106S MCU Boot and USB Mass Storage Mode

962 Views
Eiffel
Contributor I

Hi Team,

We are currently using the IMXRT106S MCU in our production project and have encountered two questions that need clarification to proceed further:

  1. Bank Switching for Boot-Up:
    The MCU has two boot banks, A and B. Is there a way to switch between these banks for boot-up? Specifically, we need to boot the MCU from a designated bank as required. Could you provide guidance on how to achieve this?

  2. USB Mass Storage Mode for Firmware Upgrade:
    We want to upgrade the MCU firmware using USB mass storage. The MCU is connected to a Linux processor via USB. Is it possible to put the MCU into mass storage mode without relying on any external pins? If so, could you outline the procedure for achieving this?

Labels (1)
0 Kudos
Reply
3 Replies

924 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello, I hope you are well.

1. Rts have the remapping function which allow switching between banks: How to Use Flash Remapping Function

2. This functionality is not supported by the ROM, to enable this it is needed to implement a second bootloader that support this. For reference, you could start from these documents:
Implement Second Bootloader on i.MX RT10xx Series
FOTA Design for SBL and SFW

Best regards,
Omar

0 Kudos
Reply

863 Views
Eiffel
Contributor I

Hi Omar,

I have still confusion on how to switch between firmware bank A and bank B using application code.

Like after flashing IMXRT , application will be running and now I want to create API like it will switch bank as per the requirement with reboot. 

Can you please help to provide code example for that?

0 Kudos
Reply

933 Views
Eiffel
Contributor I
 

I also want to understand that , Is firmware upgrade over USB MSD supported by the bootloader code preloaded in the chip's ROM, or do we need to develop an application to enable this functionality?

0 Kudos
Reply