I have one question about dealing with RT1020 with external memory.
I don't know how to write the programm data in external memory via USB.
I checked the application note AN12108, but I couldn't find the way.
Before, if I would write the data in Flash memory on the board, I had to used UART connection at first.
Then when I wrote program in advance via UART, next I could overwrite program in the memory with some tools.
But this time, I don't want to use UART port.
Then I would like to know the following;
1 Is it possible to write program directly in QSPI Flash memory with MFG tool?
2 Is it better to prepare QSPI Flash memory with boot program preset?
Thanks in advance.
Solved! Go to Solution.
Hi @Edgard ,
You still can use the USB to program the RT1020 external QSPI flash with the blhost, just the UART command change to the USB command.
You can refer to this application note:
https://www.nxp.com/docs/en/nxp/application-notes/AN12238.pdf
1 Is it possible to write program directly in QSPI Flash memory with MFG tool?
=>Answer: MFG tool can program QSPI, but not the must.
You still can use the blhost, elftosb, sdphost directly, you can refer to my post:
or the MCUBootutility, SPT tools:
MCUBootutility:
https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v4.1.1
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility
SPT:
2 Is it better to prepare QSPI Flash memory with boot program preset?
=>Answer: Do you mean the FCB for boot? If you use the tools, you even don't need to generate the FCB with app, just the app is enough, the tool will help you to realize it.
Wish it helps you!
Best Regards,
Kerry
Dear @kerryzhou
thanks for showing me some knowledges about boot system.
Especially, your advice of my question No.2 is very useful for me to desing the system with RT1020!
Kindest Regards
Hi @Edgard ,
You are always welcome!
If you meet any issues in the future, just create the question post, and AT me, I will help you for the details.
Best Regards,
Kerry
Hi @Edgard ,
You still can use the USB to program the RT1020 external QSPI flash with the blhost, just the UART command change to the USB command.
You can refer to this application note:
https://www.nxp.com/docs/en/nxp/application-notes/AN12238.pdf
1 Is it possible to write program directly in QSPI Flash memory with MFG tool?
=>Answer: MFG tool can program QSPI, but not the must.
You still can use the blhost, elftosb, sdphost directly, you can refer to my post:
or the MCUBootutility, SPT tools:
MCUBootutility:
https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v4.1.1
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility
SPT:
2 Is it better to prepare QSPI Flash memory with boot program preset?
=>Answer: Do you mean the FCB for boot? If you use the tools, you even don't need to generate the FCB with app, just the app is enough, the tool will help you to realize it.
Wish it helps you!
Best Regards,
Kerry