iMX RT 1020 - FlexSPI NOR boot to RAM

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

iMX RT 1020 - FlexSPI NOR boot to RAM

696 Views
mjbcswitzerland
Specialist V

Hi All

The following diagram shows the boot flow chart when booting from FlexSPI NOR:

pastedImage_1.png

but there are two things that are not clear:

1. How is the Image == XIP performed and controlled? Is it an entry like the boot start location in the "boot data"?
2. The flow diagram shows that the boot loader will copy the image (from FlexSPI NOR) to OCRAM when the test is false. Why does it copy to OCRAM? Is it because it is the largest SRAM block (128k)? Why not to ITCRAM (instruction tightly coupled)?

Regards

Mark

Labels (1)
Tags (1)
0 Kudos
1 Reply

519 Views
Yuri
NXP Employee
NXP Employee

Hello,

  The decision XIP or not is based on the used addresses (which may be found in the IVT).

For XIP boot, the image has to be built for FlexSPI address space and for non XIP the image

can be built to execute from Internal RAM. Basically any memory may be used for non-XIP

approach, but external memory should be init before using via the DCD.


Have a great day,
Yuri

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos