evkbimxrt1050 emmc init fails.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

evkbimxrt1050 emmc init fails.

1,729件の閲覧回数
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.

 

 

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,728件の閲覧回数
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 件の賞賛
返信

1,705件の閲覧回数
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 件の賞賛
返信