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.

support for LM3S2D93 in code composer studio

Other Parts Discussed in Thread: SYSBIOS

where can I get code composer version that is compatible with LM3SD93. I have tried with code composer 5.5 I get this error.

xdc.cfg.INCOMPATIBLE_TARGET_VERSION: current target 'ti.targets.arm.elf.M3' [] is not compatible with targets used to build the following packages; package ti.catalog.arm.cortexm3.lm3init [in C:/ti/xdctools_3_23_04_60/packages/ti/catalog/arm/cortexm3/lm3init/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0].

 

How can I solve this problem?

Regards

  • Rao Munzir said:
    I have tried with code composer 5.5 I get this error.

    Do you also get a previous error of the form "cl430 : is not a executable program or batch file"?

    The reason is that the thread Error: xdc.cfg.INCOMPATIBLE_TARGET_VERSION mentions a bug in XDCtools 3.23 which failed to handle a change in compiler name. In the referenced thread, the solution was to upgrade to XDCtools 3.24 (or later).

  • here is the complete log.
    "E:\\ccs4\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../app.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_23_04_60/xs" --xdcpath="C:/ti/bios_6_33_06_50/packages;E:/ccs4/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.stellaris:LM3S2D93 -r release -c "E:/ccs4/ccsv5/tools/compiler/arm_5.1.1" "../app.cfg"
    making package.mak (because of package.bld) ...
    ti.targets.arm.elf.M3: warning: exec of 'E:/ccs4/ccsv5/tools/compiler/arm_5.1.1/bin/cl470 --compiler_revision' failed:java.io.IOException: CreateProcess: E:\ccs4\ccsv5\tools\compiler\arm_5.1.1\bin\cl470 --compiler_revision error=2; check tools installation
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring app.xem3 from package/cfg/app_pem3.cfg ...
    js: "C:/ti/xdctools_3_23_04_60/packages/xdc/cfg/Main.xs", line 156: Error: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: current target 'ti.targets.arm.elf.M3' [] is not compatible with targets used to build the following packages; package ti.catalog.arm.cortexm3.lm3init [in C:/ti/xdctools_3_23_04_60/packages/ti/catalog/arm/cortexm3/lm3init/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.targets.arm.rtsarm [in C:/ti/xdctools_3_23_04_60/packages/ti/targets/arm/rtsarm/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios.hal [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/hal/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios.family.arm.m3 [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/family/arm/m3/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios.family.arm.lm3 [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/family/arm/lm3/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios.knl [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/knl/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios.heaps [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/heaps/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios.gates [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/gates/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios.xdcruntime [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/xdcruntime/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]
    ; package ti.sysbios.utils [in C:/ti/bios_6_33_06_50/packages/ti/sysbios/utils/] was built using 'ti.targets.arm.elf.M3' [1,0,4.9,0]

    Adding the following line to your program configuration script:
    environment['xdc.cfg.check.fatal'] = 'false';
    converts this incompatibility error into a warning. Please, check the documentation for the package xdc.cfg for more information.
    gmake.exe: *** [package/cfg/app_pem3.xdl] Error 1
    js: "C:/ti/xdctools_3_23_04_60/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: *** [configPkg/linker.cmd] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****
  • I replied at your other post about this.

    e2e.ti.com/.../450422

    - kel
  • Rao Munzir said:
    ti.targets.arm.elf.M3: warning: exec of 'E:/ccs4/ccsv5/tools/compiler/arm_5.1.1/bin/cl470 --compiler_revision' failed:java.io.IOException: CreateProcess: E:\ccs4\ccsv5\tools\compiler\arm_5.1.1\bin\cl470 --compiler_revision error=2; check tools installation

    That is the first error reported by the build, and occurs because xdctools_3_23_04_60 has tried to run the compiler executable named cl470 in TI ARM compiler 5.1.1. In TI ARM compiler 5.1.1 the name of the compiler executable is actually armcl.

    As noted in Error: xdc.cfg.INCOMPATIBLE_TARGET_VERSION there is a bug in XDCtools 3.23 which fails to handle the change in the compiler name. Upgrading the project to use XDCtools version 3.24 or later should fix this error.