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.

CCSTUDIO: Error pop out when generating .bin file with hex2000

Part Number: CCSTUDIO

Tool/software:

Hi Champ,

I am asking for my customer.

They are following below post to generate .bin file.

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1113498/tms320f280025c-post-build-to-generate-bin-file-the-size-is-too-big/4138341

Following the steps, then we are encountering the error shown, could be duplicated by using CCS12.8 on different PCs.

The error is showing hex2000 can't find the path. But it is checked the hex2000 was at the path C:\ti\cs1281\ccs\tools\compiler\ti-cgt-c2000_22.6.1.LTS\bin.

By clicking the .exe from below snippet, it executed immediately.

It is double checked that the roms_directive_file.txt and APP.out are both existing in the path, but post-build is not able to build…

Checking with the team where we are mistaking from ? Would you kindly point out ?

Thanks and regards,

Johnny

  • Hi Champ,

    Adding more finding today. 

    There was no problem with using CCS12.7.1 version.

    The difference from the two versions, with CCS12.7.1 it is fully installed, with CCS12.8 it is ONLY installed C2k series product then having the error from above.

    Not sure if it is the bug in CCS12.8, or when installing CCS it must fully install all the products (should not be this).

    Kindly help confirm what is the root cause. If it is the bug in CCS12.8, is there a patch workaround to address the error shown ?

    Thanks and regards,

    Johnny

  • Do not invoke hex2000 as a post-build step.  Instead, run it as described in the article Hex utility in CCS.  Pay careful attention to the last part titled Passing a Hex Command File.

    Thanks and regards,

    -George