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.

TMDX5535EZDSP: TMS320C5535 : fatal error: file "C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/lib/rts55x.lib<divul.obj>" has a Tag_Memory_Model attribute value of "2" that is different than one previously seen ("3&

Part Number: TMDX5535EZDSP

Tool/software:

Hi,

Download chipsupoport library C55_CSL_3.08.01 imported CSL_I2S_Audiocodeic_DMA example.

Change the properties and include all neccessary path and libraries stil it raises an error

**** Build of configuration Debug for project CSL_I2S_AudioCodec_DMA ****

"C:\\ti\\ccs1260\\ccs\\utils\\bin\\gmake" -k all

Building target: "CSL_I2S_AudioCodec_DMA.out"
Invoking: C5500 Linker
"C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/bin/cl55" -v5505 --memory_model=huge -g --define="_DEBUG" --define=c5505 --diag_warning=225 --gen_func_subsections=on --ptrdiff_size=32 --algebraic --asm_source=algebraic -z -m"CSL_I2S_AudioCodec_DMA.map" --stack_size=0x200 --heap_size=0x400 -i"C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/c55_lp/c55_csl_3.08.01/build" -i"C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/include" -i"C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/rtdx/lib/c5500" -i"C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/bios/lib" -i"C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/C55XXCSL_LP" -i"C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/i2s/CSL_I2S_AudioCodec_DMA" --reread_libs --warn_sections --xml_link_info="CSL_I2S_IdleLoop_Out_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "CSL_I2S_AudioCodec_DMA.out" "./AudioCodec_DMA.obj" "./codec_aic3254.obj" "./csl_i2c_ioExpander.obj" "./pll_control.obj" "../C55XXCSL_LP.lib" "../VC5505_I2S.cmd" -l"C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/lib/rts55x.lib"
<Linking>
fatal error: file
"C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/lib/rts55x.lib<divul.obj>" has
a Tag_Memory_Model attribute value of "2" that is different than one
previously seen ("3"); combining incompatible files

>> Compilation failure
makefile:138: recipe for target 'CSL_I2S_AudioCodec_DMA.out' failed
gmake: *** [CSL_I2S_AudioCodec_DMA.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hi Kishor,

    Since you changed the application program memory model from Large to Huge, you will need to change the standard C library from rts55x.lib to rts55h.lib.

    Best regards,

    Ming

  • Hi, Ming

    Changed library from rts55x.lib to rts55h.lib. Again same error log appear

    Now, i'm changeing linker command file 

    Run these application

    log will appear like this


    **** Build of configuration Debug for project CSL_I2S_AudioCodec_DMA ****

    "C:\\ti\\ccs1260\\ccs\\utils\\bin\\gmake" -k all

    Building target: "CSL_I2S_AudioCodec_DMA.out"
    Invoking: C5500 Linker
    "C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/bin/cl55" -v5505 --memory_model=huge -g --define=_DEBUG --define=c5505 --diag_warning=225 --gen_func_subsections=on --ptrdiff_size=32 --asm_source=mnemonic -z -m"CSL_I2S_AudioCodec_DMA.map" --stack_size=0x200 --heap_size=0x400 -i"C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/c55_lp/c55_csl_3.08.01/build" -i"C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/include" -i"C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/rtdx/lib/c5500" -i"C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/bios/lib" -i"C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/C55XXCSL_LP" -i"C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/i2s/CSL_I2S_AudioCodec_DMA" --warn_sections --xml_link_info="CSL_I2S_IdleLoop_Out_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "CSL_I2S_AudioCodec_DMA.out" "../C55XXCSL_LP.lib" "./AudioCodec_DMA.obj" "../VC5505_I2S.cmd" "./codec_aic3254.obj" "./csl_i2c_ioExpander.obj" "./pll_control.obj" "../rts55h.lib" -l"C:/ti/ccs1260/ccs/tools/compiler/c5500_4.4.1/lib/rts55.lib" -lrts55h.lib -l"Debug/C55XXCSL_LP.lib" -l"Debug/C55XXCSL_LP.lib"
    <Linking>
    warning: creating output section "vectors" without a SECTIONS specification

    undefined first referenced
    symbol in file
    --------- ----------------
    __fixdul C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/C55XXCSL_LP/Debug/C55XXCSL_LP.lib<csl_pll.obj>
    __fltuld C:/ti/c55_lp/c55_csl_3.08.01/ccs_v6.x_examples/C55XXCSL_LP/Debug/C55XXCSL_LP.lib<csl_pll.obj>

    error: unresolved symbols remain
    error: errors encountered during linking; "CSL_I2S_AudioCodec_DMA.out" not
    built

    >> Compilation failure
    makefile:145: recipe for target 'CSL_I2S_AudioCodec_DMA.out' failed
    gmake: *** [CSL_I2S_AudioCodec_DMA.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • Hi Kishor,

    Why do you need the HUGE memory mode? The original example works fine with LARGE memory mode.

    Since all CCS projects are depending on C55XXCSL_LP project, you will need to rebuild the C55XXCSL_LP project in HUGE mode too.

    Best regards,

    Ming