MIMXRT1020-EVK xip folder

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIMXRT1020-EVK xip folder

Jump to solution
987 Views
tomsong
Contributor III

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!

0 Kudos
1 Solution
768 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

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:

pastedImage_3.png

MDK:

pastedImage_4.png

ARMGCC:

pastedImage_5.png

MCUXpresso IDE:

pastedImage_6.png

You can searched the Macros in files under XIP folder , for example :

pastedImage_7.png

- 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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
769 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

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:

pastedImage_3.png

MDK:

pastedImage_4.png

ARMGCC:

pastedImage_5.png

MCUXpresso IDE:

pastedImage_6.png

You can searched the Macros in files under XIP folder , for example :

pastedImage_7.png

- 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!
-----------------------------------------------------------------------------------------------------------------------

768 Views
tomsong
Contributor III

Hi Alice,

    Thanks a lot! It is very helpful.

    

    Regards,

    

    Tom

0 Kudos