Implement second bootloader on i.MXRT10xx series
Although i.MX RT series already supports ROM boot by UART or USB to upgrade the firmware, but still there is customized requirement to upgrade firmware in On-The-Air(OTA) or other use case. It requires to implement second boot loader instead ROM boot loader. This document intends to introduce one example to illustrate how to implement second boot loader on i.MX RT1050, i.MX RT1020, and i.MX RT1060 part based on XIP flash.
●Overview:
■Second boot loader manages the upgrade of the firmware. Generally it includes three parts, flash operation, communication, and security management. Second boot loader may be XIP(eXecute-In-Place) or NON-XIP depending upon customer application case and memory size on the system. As for NON-XIP, it means to run boot loader in internal memory or external memory; it must consume memory space for boot loader that is a limitation for the case with limited memory space.
■This document introduces one common example to implement second boot loader based on XIP. It describes how to implement flash operation, communicate with host device by UART and USB. It also presents an example to show how to implement security management, which program the encrypted image and boot with BEE configuration to implement on-the-fly.
i.MX RT series 、 i.MX RT 、 i.MX RT1050 、 i.MX RT1020 、 i.MX RT1060 、 i.MXRT10xx series 、 i.MXRT10xx |
|
|
|
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
June 2020 |
|
Rev. 0 |
|
AN12604 |
|
540 KB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.