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.

CSLVC5505 lib has only 8 bytes afer build

Other Parts Discussed in Thread: TMS320C5535, TMS320C5505

Hi,

After I install CCS v4.2 bundled with eZdap 5535 USB board, I installed CSL 3.01 and modified csl_general.h (commented out 5517 etc.). I import all example projects once, but the all the projects show error signs. I try to build one project CSL_DMA_IntcExample, it depends on CSLVC 5505 (This is right for my 5535 USB?). I build csl vc5505 project, the library under debug folder has only 8 bytes.

I also find that when I click the two .asm files, it cannot open, see the above picture.

The build info echo is as below:

.................

**** Build of configuration Debug for project CSL_DMA_IntcExample ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all
'Building file: ../csl_dma_IntcExample.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/bin/cl55" -v5515 -g --define="_DEBUG" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/include" --include_path="C:/c55xx_csl_3.01/ccs_v4.0_examples/dma/CSL_DMA_IntcExample/Debug" --include_path="C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/rtdx/include/c5500" --include_path="/packages/ti/xdais" --include_path="/inc" --include_path="C:/c55xx_csl_3.01/ccs_v4.0_examples/dma/CSL_DMA_IntcExample/Debug" --diag_warning=225 --large_memory_model --ptrdiff_size=16 --algebraic --memory_model=large --asm_source=algebraic --preproc_with_compile --preproc_dependency="csl_dma_IntcExample.pp" "../csl_dma_IntcExample.c"
"../csl_dma_IntcExample.c", line 71: fatal error: could not open source file "csl_dma.h"
1 fatal error detected in the compilation of "../csl_dma_IntcExample.c".
Compilation terminated.

>> Compilation failure
gmake: *** [csl_dma_IntcExample.obj] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project CSL_DMA_IntcExample

..................

What is the problem? The cslvc lib is necessary for 5535? The ocmputer is a Windows XP professional, 32 bit.

Thanks,

  • Sorry, the build info in last post is for another project. The build message for CSLVC library is as below:


    **** Build of configuration Debug for project cslVC5505 ****

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all
    'Building target: cslVC5505.lib'
    'Invoking: Archiver'
    "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/bin/ar55" r "cslVC5505.lib"
    ==> building archive 'cslVC5505.lib'
    'Finished building target: cslVC5505.lib'
    ' '
    Build complete for project cslVC5505

  • After I add include path, it shows error unresolvable symbols. I have added cslvc5505 lib to the link path. It is possible the vclib project not correct. I do not see the run time lib in vc5505 lib project. Do you see something wrong here?

    Could you help me? Thanks,

  • In the end, CCS v5.4 can work with CSL3.03. But, CCS v5.4 is still prone to generate error. First, one project CSL_LCDC_262k can compile. After I change its chip from TMS320C5505 to TMS320C5535, it cannot compiler anymore, even I change it back. I find that the build property menu changed (there is no effective compiler box, even I import it again) 

    What can make the compiler effective box appear again?

    Thanks,

  • OK. I forgot to add the error. It does not find the header file path, such as:

  • Hi,

    I am not sure how to set chip in compiler property for eZDSP5535. Leave it TMS320C5505 even for my new project? Or I can set it to 5535? Thanks,