Skip to content

Code Relocation to ITCM on NXP RT1060 #78948

Answered by DerekSnell
ofirshe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ofirshe ,
To summarize the i.MX RT boot flow when any code is located in RAM, the code must be stored in non-volatile memory, like the FlexSPI flash. The bootloader in ROM will read from the boot memory, configure the SOC and memory, read the boot header stored in that memory to get details about the boot image, and jump to the reset entry function. The relocation to RAM can be done by the bootloader before the app executes, or the app can relocate code to RAM before the app executes that code. Regardless of the method that programs the boot image in the memory, including the USB Serial Download mode you are using, this code will need to be relocated after POR. The debugger gets aroun…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ofirshe
Comment options

Answer selected by DerekSnell
Comment options

You must be logged in to vote
1 reply
@ofirshe
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants