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.

Importing CCS3 sources to CCS4 failed

Hello,

 

I tried to import this example to CCS4:

pspdrivers_01_20_00\packages\ti\pspiom\examples\evm6747\spi\edma\

 

After a few adjustments, the project compiled. But I can't get the linker to finish without error. This is the linker output:

'Building target: Debug/spiSample.out'
'Invoking: Linker'
"C:/Programme/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 6.1.17/bin/cl6x" -mv6740 -g --diag_warning=225 --issue_remarks -z -m"C:/Programme/Texas Instruments/pspdrivers_01_20_00/packages/ti/pspiom/examples/evm6747/spi/edma/bin/Debug/spiSample.map" --warn_sections -i"C:/Programme/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 6.1.17/lib" -i"C:/Programme/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 6.1.17/include" -i"C:/Programme/Texas Instruments/bios_5_41_02_14/packages/ti/rtdx/lib/c6000" -i"C:/Programme/Texas Instruments/bios_5_41_02_14/packages/ti/bios/lib" -i"H:/Projects/ccs/d/spiSample" -i"C:/Programme/Texas Instruments/pspdrivers_01_20_00/packages/ti/pspiom/examples/evm6747/spi/edma/build" -i"C:/CCSTUD~1.3/C6000/csl/lib" -i"c:/C674x_dsp_1_00_00_11/edma3_lld_01_07_00_01/packages/packages" -i"C:/Programme/Texas Instruments/pspdrivers_01_20_00/packages/ti/pspiom/examples/evm6747/spi/edma/../../../../../.." --reread_libs --rom_model -o "Debug/spiSample.out" -l"./spiSamplecfg.cmd"  "./spiSample_main.obj" "./spiSample_io.obj" "./spiSamplecfg_c.obj" "./spiSamplecfg.obj"
<Linking>
fatal error: unrecognized file:  "C:/Programme/Texas
   Instruments/pspdrivers_01_20_00/packages/ti/pspiom/examples/evm6747/spi/edma
   /build/./spiSamplecfg.cmd"

I haven't found where ccs4 wants to include "spiSamplecfg.cmd" to the build - Can you help me?

 

TIA

Markus

  • Markus,

     

    spiSamplecfg.cmd would be a linker command file that is automatically generated by BIOS and added to the build.  Does the project have a .tcf file in it?  Usually the cmd file and similar generated .c, .h, .s62, .h62 files will be in the \Debug folder under your project.  If the file is there you could try deleting it and have it get regenerated on the next build.

    It could be that the files are not getting generated.  Windows 7 and Windows Vista will often prevent files from being generated in the Program Files directory.

     

    Regards,

    John