There is a folder named xip with source files such as evkmimxrt1020_flexspi_nor_config.c and evkmimxrt1020_sdram_ini_dcd.c when the example project is imported with the sdk zip file. I can't find where the structure defined in the source file is used. Could you help to explain how these files are used and what need to change for a new project?
Thanks!
Solved! Go to Solution.
Hello Tom Song,
- The XIP is "execute-in-place", it includes flash confiuration block and Image Vector Table(IVT). It allows
programming application to external flash memory directly using debugger , for exaple hyper flash .
In the SDK proejct, IDE use macros to call the configure code in XIP,
In IAR:
MDK:
ARMGCC:
MCUXpresso IDE:
You can searched the Macros in files under XIP folder , for example :
- If you want to change the configuration , you need to take a look at the Chapter 8 System Boot of I.MX RT1020 Reference Manual .
main the parts:
8.6 Boot devices(internal boot) and 8.7 Program image .
Hope it helps,
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Tom Song,
- The XIP is "execute-in-place", it includes flash confiuration block and Image Vector Table(IVT). It allows
programming application to external flash memory directly using debugger , for exaple hyper flash .
In the SDK proejct, IDE use macros to call the configure code in XIP,
In IAR:
MDK:
ARMGCC:
MCUXpresso IDE:
You can searched the Macros in files under XIP folder , for example :
- If you want to change the configuration , you need to take a look at the Chapter 8 System Boot of I.MX RT1020 Reference Manual .
main the parts:
8.6 Boot devices(internal boot) and 8.7 Program image .
Hope it helps,
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Alice,
Thanks a lot! It is very helpful.
Regards,
Tom