How can I boot from EMMC using MCUBootUtility?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How can I boot from EMMC using MCUBootUtility?

738 次查看
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 项奖励
回复
2 回复数

296 次查看
application_ninja
Contributor III

Did you ever figure this out?

0 项奖励
回复

695 次查看
jake111
Contributor I

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

 

0 项奖励
回复