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:CCS 20、F29x 的编译错误

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1517731/f29h850tu-ccs-20-compilation-error-for-f29x

器件型号:F29H850TU

工具/软件:

您好、

 尝试从 F29x_SDK 编译示例时、会发生以下错误。 IDE 可以正常编译 F28x 示例。

[60]C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/bin/c29objcopy.exe --remove-section=cert -O 二进制 adc_ex2_soc_epwm.out adc_ex2_soc_epwm.bin
[61]py C:/ti/f29h85x-sdk_1_01_00_00/tools/boot/signing/mcu_rom_image_gen.py --image-bin adc_ex2_soc_epwm.bin --core c29 --swrv 1 --loadaddr 0x10001000 --sign-key C:/ti/f29h85x-sdk_1_01_00_00/tools/boot/signing/mcu_gpkey.pem --out-image adc_ex2_soc_epwm_cert.bin --device f29h85x --boot flash --img_integ no
[62]makefile :164:目标"编译后"的配方失败
[63]PROCESSOR_BEGIN:CreateProcess (NULL、py C:/ti/f29h85x-sdk_1_01_00_00/tools/boot/signing/mcu_rom_image_gen.py --image-bin adc_ex2_soc_epwm.bin --core c29 --swrv 1 --loadaddr 0x10001000 --sign-key C:/ti/f29h85x-sdk_1_01_00_00/tools/boot/signing/mcu_gpkey.pem --out-image adc_ex2_soc_epwm_cert.bin --device f29h85x --boot flash --img_integ no、...)失败。
[64]make (e=2):系统找不到指定的文件


[65]gmake[2]:[post-build]错误2 (忽略)
[66]C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/bin/c29objcopy.exe --update-section cert=C29-cert-pad.bin adc_ex2_soc_epwm.out adc_ex2_soc_epwm_cert.out
[67]makefile :164:目标"编译后"的配方失败
[68]C:\ti\ccs2011\ccs\tools\compiler\ti-cgt_c29_1.0.0LTS\bin\c29objcopy.exe:错误:"c29-cert-pad.bin":没有此类文件或目录
[69]gmake[2]:[post-build]错误1 (忽略)
[70]del adc_ex2_soc_epw.out C29-cert-pad.bin
(71]ren adc_ex2_soc_epwm_cert.out adc_ex2_soc_epwm.out
[72] makefile :164:目标"编译后"的配方失败
[73]系统无法找到指定的文件
[74]gmake[2]:[post-build]错误1 (忽略)

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

    尊敬的 Ari:

    该错误消息提示系统无法找到指定的文件、这可能是由于缺少文件"c29-cert-pad.bin"所致。 由"mcu_rom_image_gen.py"脚本执行的签名过程需要此文件。

    该脚本由 Makefile 中的"编译后"目标调用、该目标负责生成签名的映像。 但是、由于缺少文件、脚本无法执行、从而导致出现错误消息。

    要解决此问题、需要将缺少的文件"c29-cert-pad.bin"放置在正确的位置。

    [63]PROCESS_BEGIN:CreateProcess (NULL、py C:/ti/f29h85x-sdk_1_01_00_00/tools/boot/signing/mcu_rom_image_gen.py --image-bin adc_ex2_soc_epwm.bin --core c29 --swrv 1 --loadaddr 0x10001000 --sign-key C:/ti/f29h85x-sdk_1_01_00_00/tools/boot/signing/mcu_gpkey.pem --out-image adc_ex2_soc_epwm_cert.bin --device f29h85x --boot flash ----integ[/quotel] no.

    [引述 userid="519810" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1517731/f29h850tu-ccs-20-compilation-error-for-f29x

    [64]make (e=2):系统找不到指定的文件

    [/报价]

    您能否确保此处提到的路径是您构建工程的有效路径?

    此致、

    Ryan Ma

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

    您好、Ryan Ma

    在项目文件夹中的任何位置都找不到 C29-cert-pad.bin 文件。 此文件是通过 python 命令生成的吗? 是否需要安装 python 才能正常工作?

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

    尊敬的 Ari:

    是的、它是通过 python 命令生成的。 需要安装 SDK 内的 docs/文件夹中概述的 python。 对任何不便深表歉意。

    此致、

    Ryan Ma

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

    你好、Ma Ryan

    除了安装 Python 之外、是否真的有必要安装 OpenSSL 并更改环境变量?
    为什么只有 f29x 才需要此程序?
    它会一直这样吗? F29x 团队是否计划在未来简化此设计?

    谢谢、

    Ari

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

    尊敬的 Ari:  

    不幸的是、现在它将是这样的。 运行和生成.out 需要执行必要的编译后处理步骤。 但是、我们提供了反馈、以使此编译后处理步骤更加简化。

    此致、

    Ryan Ma