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 Migration using CSL

Hi All,

We are almost ashamed to say that I am only just now migrating to CCS6 - from CCS3V3. 

We are using the Chip Support Library (CSL) for the 5501, using the large memory model.

Question)  Having defined the CHIP_5501, we are still having problems linking in the libraries from the CSL file locations, and imagine we have not correctly specified the file location or some other parameter. Please can you point us to any additional documentation, as we note the CSL documentation only refers to CCS3V3.

Here is a summary of flags set for the compiler

--cmd_file="C:\Development\Code_Composer_W1\5501_2NOV14\product001.cmd"  -v5501 --memory_model=large -g --include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --include_path="C:/Program Files/C55xxCSL/lib" --include_path="C:/Program Files/C55xxCSL/include" --define=c5501 --define=CHIP_5501 --display_error_number --diag_warning=225 --ptrdiff_size=32 --printf_support=full --std_lib_func_defined

Here is a summary of flags set for the Linker

--cmd_file="C:\Development\Code_Composer_W1\5501_2NOV14\product001.cmd"  -v5501 --memory_model=large -g --define=c5501 --define=CHIP_5501 --display_error_number --diag_warning=225 --ptrdiff_size=32 --printf_support=full --std_lib_func_defined -z -m"5501_2NOV14.map" --stack_size=0x200 --heap_size=0x400 -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --reread_libs --define=-d"CHIP_5501" --display_error_number --warn_sections --xml_link_info="5501_2NOV14_linkInfo.xml" --rom_model --sys_stacksize=0x200

The first error noted is shown below

Description Resource Path Location Type
unresolved symbol _CSL5501_LIB_, first referenced in ./main.obj 5501_2NOV14 C/C++ Problem

  • I am moving you tot he CCS forum to see if they can help you.

    Regards.

  • Hello,

    DEV1 said:

    We are almost ashamed to say that I am only just now migrating to CCS6 - from CCS3V3. 

    We are using the Chip Support Library (CSL) for the 5501, using the large memory model.

    The biggest issue when moving from v3 to v6 regarding CSL is that CCSv6 (or 5 and 4) does not come with CSL like CCSv3 did. It looks like you have a standalone version of the CSL installed and reference the path to it in your compiler options. But I don't see it referenced in the linker options at all. Is it being referenced in the linker cmd file? Or is it not being referenced at all? that would explain the unresolved external symbol linker error.

    Thanks

    ki