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.

Building the CSL 2.0 for the C5515 DSP

Other Parts Discussed in Thread: TMS320C5515, TMS320C5505, CCSTUDIO

Hi,

I have a VC5505 project targeted at the Spectrum Digital TMS320C5505 EVM, which I'm migrating to the TMS320C5515 EVM, and as part of that process I'm updating the CSL from 1.00.00.00 to 2.10.00.00.

Do TI have any recommended build settings for generating the Debug and Release .lib files for this library, particularly the Silicon version and Debugging model options in the C5500 Compiler >> Basic Options window ?

As noted by other forum users, the 2.10 CSL download doesn't ship with any pre-built libraries, so there's no way to do a build and compare (at least in terms of file size) the newly built file with a reference build.

The settings I'm currently using for the debug build are..

For the compiler...

-g -O3 --define=_DEBUG --define=__TMS320C55X__ --define=C55X --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/include" --include_path="E:/Work/Wireless_Mic/New_Live_src/SampleApps/Integration/C5515EVM/code" --include_path="E:/Work/Wireless_Mic/New_Live_src/SampleApps/Integration/C5505EVM/../../../object/TI-C55" --include_path="C:/Program Files/Texas Instruments/C55xxCSLV2_0/c55xx_csl/inc" --include_path="C:/CCStudio_v3.3/boards/evm5505_v1/demo/EVM_Samples/EVM_Samples/inc" --include_path="C:/CCStudio_v3.3/boards/evm5505_v1/demo/EVM_Samples/EVM_Samples/csl_com_inc" --include_path="E:/Work/Wireless_Mic/New_Live_src/SampleApps/Integration/C5515EVM/Debug" --include_path="C:/Program Files/Texas Instruments/bios_5_41_00_06/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_41_00_06/packages/ti/rtdx/include/c5500" --diag_warning=225 --ptrdiff_size=32 --memory_model=large --opt_for_speed=3 --single_inline

.. and for the linker...

-z -m"C5515-EVM.map" --stack_size=1000 --heap_size=6144 --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/include" -i"E:/Work/Wireless_Mic/New_Live_src/SampleApps/Integration/C5505EVM/../../../object/TI-C55" -i"C:/Program Files/Texas Instruments/C55xxCSLV2_0/c55xx_csl/ccs_v4.0_examples/cslVC5505/Release" -i"C:/CCStudio_v3.3/boards/evm5505_v1/demo/EVM_Samples/EVM_Samples/csl_com_lib" -i"C:/Program Files/Texas Instruments/bios_5_41_00_06/packages/ti/rtdx/lib/c5500" -i"C:/Program Files/Texas Instruments/bios_5_41_00_06/packages/ti/bios/lib" --priority --reread_libs --rom_model --sys_stacksize=1000

In previous projects I have tried rebuilding the CSL 1.00.00.00 with a variety of optimization and debug models, but could never get a match with the size of the pre-supplied lib file - which makes me a little nervous about my build of the 2.10.00.00 CSL (although it does seem to be working!).

I'm using the CCSV4 build number 4.1.3.00038.

Cheers

Michael.