I am trying to port already existing boot firmware from STM platform to IMXRT platform.
I have 2 QSPI Flashes. First one is executing the code only and the second is for storing some data.
I am also trying to add boot firmware to the second one. Every boot time, I will start to run from the second QSPI flash. If no new firmware is upgraded/loaded within a pre-defined time interval, I will start to execute main app program in first QSPI. At that time I am also trying to force second QSPI flash to "read/write" mode thereafter. However I could not find a way how to do that. Can you give me any example or show me a way of doing it?
As they say, "Good luck with that." Hopefully this will help some: https://www.nxp.com/docs/en/application-note/AN12564.pdf