evkbimxrt1050 emmc init fails.

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

evkbimxrt1050 emmc init fails.

765 Views
meitifire
Contributor I

evkbimxrt1050_mmccard_freertos demo application runs ok in the DTC ram after Jlink loaded it to the RAM. But the demo app boots from the EMMC and loads it to the DTC RAM,  the mmc init can fail.

the fail is here:

MMC_CardInit(card); 

error = MMC_GoIdle(card); 

// the emmc does not entry idle mode. but the app runs in the RAM, it is ok.

The RAM load address is 0x20001000.  

use the bd file to convert the app to sd file. 

.\blhost\elftosb.exe -f imx -V -c .\blhost\imx-dtcm-unsigned-bh.bd -o ivt.bin evkbimxrt1050_mmccard_freertos_test.s19

.\blhost\elftosb.exe -f kinetis -V -c .\blhost\program_mmccard_image_fastboot.bd -o boot_image.sb ivt_nopadding.bin

 .\blhost\blhost.exe -u -- receive-sb-file boot_image.sb

The emmc boot is no problem. after booting, the application make emmc config fail.

 

 

Labels (2)
0 Kudos
2 Replies

764 Views
meitifire
Contributor I

Maybe the NXP ROM boot does the EMMC config in boot phase, after the emmc boot, the application do reconfig the EMMC, some status has problem and cause the MMC_CardInit fail. 

does anybody meet the question? 

0 Kudos

741 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Meitifire,

It sounds plausible that the problem is, as you mentioned, that booting from the eMMC initializes the eMMC module, thus the reconfiguration that the application intends to do would fail.

Regards,
Gustavo

0 Kudos