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.

CCS/TMS320F28377S: Generating a .bin in ccs-v8

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Hi,

For my bootloader, I need to generate a binary file for my application. I go to properties->Build->Steps->Post-build steps and add the following:

"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd2000.exe" "${CG_TOOL_ROOT}/bin/hex2000.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

all in the same line. 

After build, the console doesn't show any errors or failed actions: 


**** Build of configuration Debug for project bootloader_test ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O

gmake[1]: 'bootloader_test.out' is up to date.

**** Build Finished ****

In the other hand, I cannot find my binary file in the Debug directory belonging to the project. 

Can you please tell me how to properly generate the binary file? I already tried some solutions on other threads but in vain. 

If it helps, my compiler version is the TI v18.1.1.LTS 

Regards, 

Imen

  • Imen,

    If your project was up-to-date before you added the post build step, usually CCS does not "catch" that you added this step. The recommendation in this case is to rebuild the project instead.

    If that does not work, can you take a screenshot of the project options?

    Hope this helps,
    Rafael
  • Hi,

    I certainly rebuild the project after every modification. Here are screenshots, please tell me if you need a specific information,

    Thanks, 

    Imen

  • Imen,

    The reason of my previous suspicion is that the message tells me that:

    gmake[1]: 'bootloader_test.out' is up to date.

    Given the project options look correct to me, I am still suspicious of something not being triggered properly in the build system. Can you delete the output directory of the project (Debug or Release), go to the meu Project and select "Build All"?

    Sorry about the suggestions that seem very basic, but I just need to be sure the project itself is actually being built.

    If that does not work, I would definitely move to the other tips shown in the section "General IDE"of the CCS Troubleshooting page at:
    software-dl.ti.com/.../ccs_troubleshooting.html

    Hope this helps,
    Rafael
  • Hi again,  

    Thank you for your suggestion, it actually worked, however I don't know why the project doesn't get buit when I ask it to.