AnsweredAssumed Answered

iMXRT1052 Link Application to RAM

Question asked by Johann Hagler on Jun 23, 2020
Latest reply on Jul 9, 2020 by Victor Jimenez

I have a question regarding the linker option: "Link application to RAM" when using Managed Linker Scripts in MCUXpresso IDE (v10.3.1 [Build 2233] [2019-02-20] Manifest for SDK SDK_2.x_EVKB-IMXRT1050 V 2.5.1).

When i look at the resulting map file i can see that the resulting image starts at 0x20000000 which is the beginning of the DTCM-RAM. 


In the Reference Manual it says under " FlexSPI NOR boot flow chart" (the image is loaded from a FlexSPI NOR-Flash)



that the image is copied to the OCRAM. 

So my questions are:

1. Why is the application liked to the DTCM and not to OCRAM?

2. How exactly does the ROM-code figure out that the image is XIP?


Thank you very much,