My board has a EMMC connecting to SDHC2,and I want to boot from EMMC.The program will output "hellowolrd" to LPURAT2 every second,and this is what I do for booting.
1.Hardware design
BOOT_MODE[1:0] = 10 for internal boot
(reference manual page 314)
BOOT_CFG1[0] = 0
BOOT_CFG1[1] = 1
BOOT_CFG1[2] = 1
BOOT_CFG1[3] = 0
BOOT_CFG1[4] = 0
BOOT_CFG1[5] = 0
BOOT_CFG1[6] = 0
BOOT_CFG1[7] = 1
BOOT_CFG2[0] = 0
BOOT_CFG2[1] = 1
BOOT_CFG2[2] = 1
2.MCUXpresso IDE
(1)Preprocessor
XIP_EXTERNAL_FLASH=0 and XIP_BOOT_HEADER_ENABLE=0
(2)Settings - Managed Linker Script
check "Link application to RAM"
(3)MCU settings is as below
(4)build and convert ".axf" to ".bin"
3.MCUBootUtility
(1)Config as below and connect through USB successfully
(2)Generate Unsigned Bootable Image
(3)Load Unsigned Image
Then I reboot the system,the program doesn't run.How can I boot from EMMC?
I've checked the binary do have been written to EMMC successfully through MCUBootUtility.