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.

TMS320F28P659DH-Q1: LAUNCHXL-F28P65X: ERROR: Cannot open command file (ending in .opt) :

Part Number: TMS320F28P659DH-Q1
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Dear CCS Team,
See customers reports of the issue below.
This seems related to the below too:
https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1560603/launchxl-f28p55x-ccscompiler-opt-compiler-argument-file-fails


Can you please confirm you can reproduce it?

Thanks in advance,
Anber

---------------------------------------------------------------------------------------

Using:

  • Code Composure Studio 12.5
  • C2000 Compiler 22.6.1 LTS
  • Windows 11 PC
  • Project built using Code Composure Studio IDE

You can reproduce the problem in freertos_ex1_c28x_led_blinky_syscfg.

To re-create this issue:-

  • Add x60 lines of predefined symbols, each with 128 characters, i.e. x128 A’s

Bear in mind that you may need more or less depending on your path length to the project, if you cannot break it with x60 I would add 20 more lines in case.

I have just re-created the issue on my side from a new freertos_ex1_c28x_led_blinky_syscfg project, which built fine before I added these predefined symbols.

I am using x60 lines of predefined symbols to re-create the issue, however in our actual project we have found that our number of include paths has caused the issue, alongside path length to project.

I believe the issue can only be created in a project where freeRTOS is configured through sysconfig, I was not able to re-create the issue in a non-sysconfig project.

You can identify successful recreation of the issue by the console outputting a list of undefined symbols all related to rtos functions, alongside multiple,

ERROR: Cannot open command file (ending in .opt) : No such file or directory

 

  • Thank you for the test case. I can reproduce the issue with CCS 12.8.1. However when importing the same project into CCS 20.5.0 and using the same version of the compiler, sysconfig, and C2000Ware, the issue goes away. It could be that some of the project optimizations we made with current versions of CCS resolved this issue.

    Can the customer try the latest CCS version? Please note that CCS Eclipse (CCS 12.x and earlier) have been deprecated in support so we will not be addressing any bugs with these versions.

    Thanks

    ki