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.

[参考译文] AM275-FREERTOS-SDK:genimage.py 未生成.mcelf 文件

Guru**** 2909950 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/simulation-hardware-system-design-tools-group/sim-hw-system-design/f/simulation-hardware-system-design-tools-forum/1647149/am275-freertos-sdk-genimage-py-not-generating-mcelf-file

器件型号: AM275-FREERTOS-SDK

尊敬的 TI:  

基于以下文件://C:/ti/freertos_sdk_am275x_11_01_00_16/docs/api_guide_am275x/TOOLS_FLASH.html #autotoc_md1523、  

我想使用 Generate xaf_ut.mcelf 文件。 根据我的理解、我需要使用 C:\ti\freertos_sdk_am275x_11_01_00_16\tools\boot\multicoreELFImageGen\genimage.py 中的 genimage.py。  

编译后、我能够生成 xaf_ut.out 文件、但不会生成.mcelf 文件。  

这是我执行传递的命令:

运行命令:['py“、'–3'、'C:\\SSP_am275x\\bamboar\ut\\..\tools\\ti\am275x\\SDK\\tools\\tools\\boot\multicoreEImageGen\genimage.py“、'--core-img'、'5:x275x\\\tboar\c\release\\\caf\.out\\\cam75\\\\boarboarboar\\con\\con\.apps。 '--output'、'C:\\SSP_am275x\\Bamboar\ut\\..\..\Output\\c75\\release\\XAF_ut.mcelf'、'--XIP'、'1000000:0x62000000'、'--SW_VERSION'、0x6XAF_ut.mcelf' '0x0B010010']

如 git Bash 提示符所示。

但输出日志消息会给出一些错误。 基本上、当 genimage.py 应该为 0 时、它会返回 1。  

回溯(最近一次呼叫):
 文件“C:\SSP_am275x\bamboar\ut\execute.py“、第 844 行、在中
  main()
 文件“C:\SSP_am275x\bamboar\ut\execute.py“、第 810 行、位于 main 中
  Generate_appimage (repo_dir_path、elf_dir_path、“XAF_ut.out“、core_id)
 generate_appimage 中的文件“C:\SSP_am275x\bamboar\ut\execute.py“、第 679 行
  引发脚本错误 (f“生成应用映像失败、返回代码:{process.returncode}“)
utils.tools.ScriptError:生成应用程序映像失败、返回代码为:1

传递的 XIP 和 SW_VERSION 参数是否不正确或其他一些问题?

请提供建议。