How can I boot from EMMC using MCUBootUtility?

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

How can I boot from EMMC using MCUBootUtility?

737 Views
jake111
Contributor I

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
1.png
(4)build and convert ".axf" to ".bin"

3.MCUBootUtility
(1)Config as below and connect through USB successfully
2.png
(2)Generate Unsigned Bootable Image
3.png
(3)Load Unsigned Image
4.png


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.

0 Kudos
Reply
2 Replies

295 Views
application_ninja
Contributor III

Did you ever figure this out?

0 Kudos
Reply

694 Views
jake111
Contributor I

The program doesn't run.Anybody helps me please?

 

0 Kudos
Reply