Hi Team,
We are currently using the IMXRT106S MCU in our production project and have encountered two questions that need clarification to proceed further:
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?
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?
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
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?
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?