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, compilation error for F29x

Part Number: F29H850TU

Tool/software:

Hi,

 When I try to compile an example from F29x_SDK the error below occurs. The IDE compiles F28x examples without errors.

[60]C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-c29_1.0.0LTS/bin/c29objcopy.exe --remove-section=cert -O binary 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: recipe for target 'post-build' failed
[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 --img_integ no, ...) failed.
[64]make (e=2): The system cannot find the file specified


[65]gmake[2]: [post-build] Error 2 (ignored)
[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: recipe for target 'post-build' failed
[68]C:\ti\ccs2011\ccs\tools\compiler\ti-cgt-c29_1.0.0LTS\bin\c29objcopy.exe: error: 'C29-cert-pad.bin': no such file or directory
[69]gmake[2]: [post-build] Error 1 (ignored)
[70]del adc_ex2_soc_epwm.out C29-cert-pad.bin
[71]ren adc_ex2_soc_epwm_cert.out adc_ex2_soc_epwm.out
[72]makefile:164: recipe for target 'post-build' failed
[73]The system cannot find the file specified
[74]gmake[2]: [post-build] Error 1 (ignored)

  • Hi Ari,

    The error message suggests that the system cannot find the file specified, which is likely due to the missing file "C29-cert-pad.bin". This file is required for the signing process, which is performed by the "mcu_rom_image_gen.py" script.

    The script is called by the "post-build" target in the Makefile, which is responsible for generating the signed image. However, the script fails to execute due to the missing file, resulting in the error message.

    To resolve the issue, the missing file "C29-cert-pad.bin" needs to be present in the correct location.

    [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 --img_integ no, ...) failed.

    [64]make (e=2): The system cannot find the file specified

    Can you ensure that the paths mentioned here are valid path's where you are building the project?

    Best,

    Ryan Ma

  • Hi, Ryan Ma

    I didn't find the C29-cert-pad.bin file anywhere in the project folder. Is this file generated by a python command? Is it necessary to install python for it to work?

  • Hi Ari,

    yes it is generated by the python command. It's necessary to install python which is outlined in our docs/ folder within the SDK. Apologize for any inconvience.

    Best,

    Ryan Ma

  • Hi Ryan Ma

    In addition to installing Python, is it really necessary to install OpenSSL and change the environment variables?
    Why is this procedure only necessary for the f29x?
    Will it always be like this? Or does the F29x team have plans to simplify this in the future?

    Thanks,

    Ari

  • Hi Ari, 

    Unfortunately it will be like this for now. There are necessary post build steps required to run and generate the .out. However we are providing feedback to get this post build steps to be more simplified.

    Best,

    Ryan Ma