i.MX RT1052 Boot from SD Card Error

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

i.MX RT1052 Boot from SD Card Error

726 Views
pavan_kote
Contributor II

ravichawda

Hi,

HW:- i.MX RT1052 development board and cutom RT1052 board
Reference File for creating .sb file:- AN12107.pdf

Tool to Program:- MfgTool2.exe

We are using MFG tool to program an image to SD Card and Boot from the SD Card.

If our image is less than 64KB it work's fine with success.

Issues:-
If our image is more than 64KB it give's error with kStatusMemoryCumulativeWrite.

Please take a look at log file attached below.

Is there any size limitations defined in bootloader lessthan 64KB binary file.

Labels (1)
0 Kudos
1 Reply

553 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Pavan,

In this configuration, the processor starts the ROM bootloader, then loads the image from the SD card into RAM and then runs it. The application note that you followed loads the image from the SD into ITCM RAM memory. The ITCM memory size is of 64KB, this is the reason why you cannot load a bigger image. You can load the SD image into OCRAM instead of ITCM, the size of OCRAM memory is of 128KB.

One last thing, besides the application note (AN12107) I recommend you to refer the following tutorial to boot from micro SD card on the i.MXRT.

Hope it helps!

Victor.

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------