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 5.2.1 - Linker cannot find cmd file made during build process

Other Parts Discussed in Thread: SPRC090

Hello,

    I've attached a project showing a problem I'm seeing. I imported a project from CCS3.3 to CCS 5.2.1 using the legacy import option. When I'm building my program, it gives me an error saying the linker can't find a *cfg.cmd file. The file exists but it isn't being looked for in the right place.

    To match my project location, extract the zip file to C:\Docs. The project is called MatMult. The current configuration is 'SPM6420_Debug'. The include and lib paths are only correct for this configuration. Also, the C6000 CSL (SPRC090) is needed and is assumed to be installed at the default location: 'C:\Program Files\C6xCSL'.

    Please let me know if you need any more information.

Sincerely,

Josh

7506.CCS5_Test.zip

  • Josh,

    The project you sent has two files called <MatMult.cmd> and <MatMultac97.cmd> and line 12 of both files try to include the BIOS auto-generated linker command file, but the path is incorrect (check the attached screencapture).

    In both files you can comment out this line, as CCS automatically includes the BIOS auto-generated linker CMD file.

    I found several other overlapping memory regions and warnings, but I assume this is due to a partial project.

    Hope this helps,

    Rafael

     

  • Hi Rafael,

    Thank you for your help. The error message didn't indicate that the missing file was included from another file, and not a build setting.

    Thanks again,

    Josh