请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号: F29H850TU
如何运行 C29 SDK 示例以及 TIFS-SDK 中的安全启动管理器示例、以演示 proc 引导和引导管理器+应用程序安全启动?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
器件型号: F29H850TU
如何运行 C29 SDK 示例以及 TIFS-SDK 中的安全启动管理器示例、以演示 proc 引导和引导管理器+应用程序安全启动?
Secure Boot Manager 以及组合服务演示是 SBL/Bootloader +应用程序流程的示例实现。 C29 SDK 示例也可以与安全启动管理器搭配使用。 实现相同目标的步骤如下。
在中 imports.mak、将 Flash 配置路径从更 f29h85x_flash_lnk.cmd 改为 f29h85x_cpu1_app_flash_lnk_hsm.cmd:
发件人:
CMD_SRCS_FLASH := $(C29SDK_ROOT)/examples/device_support/cmd/f29h85x_flash_lnk.cmd
收件人:
CMD_SRCS_FLASH := $(C29SDK_ROOT)/examples/device_support/cmd/f29h85x_cpu1_app_flash_lnk_hsm.cmd
将加载地址从更 0x10001000 改为、 0x10040000 然后添加 --fw_type CPU1_APP:
发件人:
$(PYTHON) $(C29SDK_ROOT)/tools/boot/signing/mcu_rom_image_gen.py --image-bin $(BINDIR)/$(Target).bin --core C29 --swrv 1 --loadaddr 0x10001000 --sign-key $(SIGNING_KEY) --out-image $(BINDIR)/$(Target)_cert.bin --device f29h85x --boot FLASH --debug DBG_PUBLIC_ENABLE
收件人:
$(PYTHON) $(C29SDK_ROOT)/tools/boot/signing/mcu_rom_image_gen.py --image-bin $(BINDIR)/$(Target).bin --core C29 --swrv 1 --loadaddr 0x10040000 --sign-key $(SIGNING_KEY) --out-image $(BINDIR)/$(Target)_cert.bin --device f29h85x --boot FLASH --debug DBG_PUBLIC_ENABLE --fw_type CPU1_APP
DUMMY_CERT 变量从更 1 改为 0 DUMMY_CERT=0 CONFIG=FLASH 在 build 命令中添加和:
make DUMMY_CERT=0 CONFIG=FLASH