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/OMAP-L138: How to clean a .launch file?

Part Number: OMAP-L138

Tool/software: Code Composer Studio

When I try to launch my program, CCS says "Unable to launch ... [because] The specified file ... EVMOMAPL138.ccxml does not exist in the file system."

That file does not exist, because I deleted it (via CCS), as I previously set EXPKITOMAPL138.ccxml as my Active/Default targetConfig file. (EXPKITOMAPL138 is likewise set in the project properties -> CCS General -> Variant, with "Manage the project's target-configuration automatically" checked.)

Nonetheless, CCS is "Unable to launch". And I am baffled why CCS cannot correct this automatically.

I tried a project "clean", but that didn't solve the problem.

So I inspected the various CCS files in my project folder, and found the .launch file contains many (now mistaken) references to the (now deleted) file "EVMOMAPL138.ccxml" I believe this launch file is where the mix-up is occurring. But I cannot get CCS to correct this file. I am tempted (to use a text editor) to just change all its references to the new filename "EXPKITOMAPL138.ccxml".  Or is there a better solution?  Should I just delete the .launch file, and then it will automatically be recreated correctly?

Thanks for your help.

  • Hi,

    You can try two things:

    Remove the debug configuration file from the workspace. To access Debug Configurations, check section 7.2.2 of the CCS User's Guide, available at the online help in CCS (menu Help --> Contents) or at the link below:

    https://software-dl.ti.com/ccs/esd/documents/users_guide/index.html

    Change the workspace. This should clear up all the debug configurations and perhaps a hidden configuration that may be corrupt.

    All that said, the .launch file will be re-created, but any special configurations set will be removed. Make a copy of the project and then delete the file. See if it comes back working successfully.

    Hope this helps,

    Rafael

  • Thanks for the speedy response.  That cured the problem.

    <Now I'm back to my OnTargetConnect() error that I keep getting. But I'll post on that separately.>