We are currently building a custom board with i.MX RT1172 Microcontroller, and a QSPI NAND flash connected via FlexSPI, we what to know :
- How the BootROM copy the code from the External NAND Flash to the Internal RAM.
- How to flash our code to the External Flash.
- How to guide the BootROM to copy the code to internal RAM (External Flash Configuration) ?
Solved! Go to Solution.
You can try MCUBootUtility tool to flash image in SPI NAND and boot. MCUBootUtility can prepare anything boot headers BootROM needed for your bare image.
BootROM takes use of boot headers to know image info and then copy them to RAM and jump into it.
@jay_heng thanks for your answer.
Is there any doc about using MCUBootUtilite with Custom board ?!
MCUBootUtility can be used for any board, not only NXP EVK.
You just need to set correct param in Boot Device Configuration of tool.
You can try MCUBootUtility tool to flash image in SPI NAND and boot. MCUBootUtility can prepare anything boot headers BootROM needed for your bare image.
BootROM takes use of boot headers to know image info and then copy them to RAM and jump into it.