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 Project Error - Target not found (AM3359 EVM v1)

Other Parts Discussed in Thread: SYSBIOS

Hey there,

i created a new CCS (v6) Project with the simple "minimal" SYS/BIOS example.

On building the project there occurs an error:


Can't find the target named 'gnu.targets.arm.A8F'

Any ideas solving this problem?

Kind regards

  • What versions of SYS/BIOS and XDCtools are you using?

  • Hey Tom,

    i'm using SYS/BIOS: 6.35.4.50

    and XDCtool: 3.25.3.72

  • Hey Tom,

    i will correct myself.

    after updating my SDK i'm using other versions.

    SYS/BIOS: 6.40.3.39

    XDCtools: 3.30.04.52

    but i'm getting anyway an error.

    the compiler version [] used by the current target 'ti.targets.arm.elf.A8Fnv' is not compatible with compiler version of targets used to build the following packages; package ti.targets.arm.rtsarm [in C:/ti/bios_6_40_03_39/packages/ti/targets/arm/rtsarm/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5]. .xdchelp /InCon line 166 C/C++ Problem

    i hope you can help me.

    kind regards

  • Hendrik,
    that error usually means that the compiler path you are using in the project cannot be found. Can you post the complete content of the console output?

  • you're welcome...

    **** Build of configuration Debug__TI__GNU for project InCon ****

    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    making ../src/sysbios/sysbios.aea8fnv ...
    gmake[1]: Entering directory `C:/Users/Hendrik/workspace_v6_0/InCon/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/Users/Hendrik/workspace_v6_0/InCon/src/sysbios'
    'Building file: ../app.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_30_04_52_core/xs" --xdcpath="C:/ti/bios_6_40_03_39/packages;c:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.evmAM3359 -r debug -c "c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3" "../app.cfg"
    making package.mak (because of package.bld) ...
    ti.targets.arm.elf.A8Fnv: warning: exec of 'c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/cl470 --compiler_revision' failed:java.io.IOException: Cannot run program "c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/cl470" (in directory "."): CreateProcess error=2, Das System kann die angegebene Datei nicht finden; check tools installation
    ti.targets.arm.elf.A8Fnv: warning: exec of 'c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/cl470 --compiler_revision' failed:java.io.IOException: Cannot run program "c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3/bin/cl470" (in directory "."): CreateProcess error=2, Das System kann die angegebene Datei nicht finden; check tools installation
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring app.xea8fnv from package/cfg/app_pea8fnv.cfg ...
    js: "C:/ti/xdctools_3_30_04_52_core/packages/xdc/cfg/Main.xs", line 166: Error: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: the compiler version [] used by the current target 'ti.targets.arm.elf.A8Fnv' is not compatible with compiler version of targets used to build the following packages; package ti.targets.arm.rtsarm [in C:/ti/bios_6_40_03_39/packages/ti/targets/arm/rtsarm/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.family.arm [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/family/arm/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.knl [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/knl/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.hal [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/hal/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.family.arm.exc [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/family/arm/exc/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.family.arm.a8.intcps [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/family/arm/a8/intcps/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.family.arm.a8 [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/family/arm/a8/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.gates [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/gates/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.xdcruntime [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/xdcruntime/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.family.arm.a8.ti81xx [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/family/arm/a8/ti81xx/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.timers.dmtimer [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/timers/dmtimer/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].
    ; package ti.sysbios.utils [in C:/ti/bios_6_40_03_39/packages/ti/sysbios/utils/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.1.5].

    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_pea8fnv.xdl] Error 1
    js: "C:/ti/xdctools_3_30_04_52_core/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 ****

  • Your compiler path points to a gnu compiler, and your target is a TI target. These can't work together. If you are trying to build for a GNU compiler, you most likely need the target 'gnu.targets.arm.A8F'.
    Are you building an example from a RTSC product? If yes, where did you get the example from?

  • i choosed the TI compiler for the TI device.

    Now it works.