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.