Explain about boot from SD card for EVK-RT1050

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

Explain about boot from SD card for EVK-RT1050

2,054 Views
Fan_xy
Contributor III

Hello experts,

I'm new to SD card boot for RT1050, I find an application note AN12107, it shows the steps about boot from SD

card using SDK demo.

I thought the application image should download into SD card, after boot, copy it to ITCM to run.

While in the guide  and code , I haven't find address related to SD card, only ITCM and DTCM space:

pastedImage_1.png

Could you please explain the theory of it .

Any suggestion will be appreciate.

BR

fan

Labels (1)
0 Kudos
5 Replies

1,663 Views
igorpadykov
NXP Employee
NXP Employee

Hi fan

one can look at boot flow described in Figure 8-6. Expansion device boot flow

i.MX RT1050 Processor Reference Manual
https://www.nxp.com/docs/en/reference-manual/IMXRT1050RM.pdf

Memories addresses in Table 1 AN12107, Figure 1 and Table 5

explaining boot process.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,663 Views
Fan_xy
Contributor III

Hello igor,

Thanks for your comment.

While I have read boot process you mentioned,  I just want to know the "address related to SD card, boot".

I don't know why when use SD card boot, place code into ITCM, not in SD address (Also I don't the address ).

Take hyperfalsh boot as an example , we put the code into 0x60000000(the address for Hyperflash) ,what about

SD Card boot.

Thanks a lot!

BR

fan

0 Kudos

1,663 Views
igorpadykov
NXP Employee
NXP Employee

Hi fan

there is no "SD address" in booting process. ROM reads SD card

at fixed address Image Vector Table (IVT): IVT contains addresses for further boot.

Best regards
igor

1,663 Views
Fan_xy
Contributor III

Hi igor,

I check the BD file imx-itcm-unsigned.bd (AN12107 mentioned) "imx-itcm-unsigned.bd" ,

pastedImage_1.png

the IVT address is 0x1400, the entry is 0x2000, they are all ITCM address.

So I was wondering  what relationship with SD card.

BR

fan

0 Kudos

1,663 Views
igorpadykov
NXP Employee
NXP Employee

Hi fan

actually this BD file does not have relation to read boot process,

this relates to *.bd files description, as these files are used elftosb utility.

These bd files are not intuitively understandable, so one can check elftosb documentation.

Suggest to check flashloader documentation.

Programmers (Flash, etc.) (1)
Flashloader i.MX-RT1050

i.MX RT1050 MCU/Applications Crossover Processor | Arm® Cortex®-M7 @600 MHz, 512KB SRAM |NXP 

Elftosb Guide

https://www.nxp.com/docs/en/user-guide/KBLELFTOSBUG.pdf 

Best regards
igor

0 Kudos