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.

ISDK Profibus Slave build error

Other Parts Discussed in Thread: PROFIBUS, SYSBIOS, AM3356

While attempting to Build "am335x_sysbios_ind_sdk_1.1.0.10\sdk\examples\profibus_slave" for the  www.ti.com/.../tmdsice3359 Eval Board I get the following error:

Description Resource Path Location Type
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_42_02_29/packages/ti/targets/arm/rtsarm/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4]. .xdchelp /profibus_slave line 167 C/C++ Problem

Any help is appreciated as we are evaluating the usage of the TI AM3356 for our profibus application.

Thanks,

Ted

  • Hello Ted,

    Can you please share the whole log? It seems there is something wrong with the RTSC tools used - processors.wiki.ti.com/.../AM335x_SYSBIOS_Industrial_SDK_01.01.00.10_User_Guide

    Regards,
    Vinesh
  • **** Clean-only build of configuration Debug__GNU for project profibus_slave ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
    DEL /F "profibus_slave.out" "configPkg\linker.cmd" "configPkg\compiler.opt" "profibus_slave.hex"
    Could Not Find C:\ti\am335x_sysbios_ind_sdk_1.1.0.10\sdk\examples\profibus_slave\Debug__GNU\profibus_slave.out
    Could Not Find C:\ti\am335x_sysbios_ind_sdk_1.1.0.10\sdk\examples\profibus_slave\Debug__GNU\profibus_slave.hex
    RMDIR /S/Q "configPkg\"
    DEL /F "APP\am33xx_bsp.d" "APP\main.d" "APP\profi_edma.d" "APP\profi_hw_utils.d" "APP\profi_misc.d" "APP\profi_timer.d"
    Could Not Find C:\ti\am335x_sysbios_ind_sdk_1.1.0.10\sdk\examples\profibus_slave\Debug__GNU\APP\am33xx_bsp.d
    DEL /F "APP\am33xx_bsp.o" "APP\main.o" "APP\profi_edma.o" "APP\profi_hw_utils.o" "APP\profi_misc.o" "APP\profi_timer.o"
    Could Not Find C:\ti\am335x_sysbios_ind_sdk_1.1.0.10\sdk\examples\profibus_slave\Debug__GNU\APP\am33xx_bsp.o
    'Finished clean'
    ' '

    **** Build Finished ****

    **** Build of configuration Debug__GNU for project profibus_slave ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../profibus_debug.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_31_02_38_core/xs" --xdcpath="C:/ti/bios_6_42_02_29/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_8-2014q3" "../profibus_debug.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_8-2014q3/bin/cl470 --compiler_revision' failed:java.io.IOException: Cannot run program "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/cl470" (in directory "."): CreateProcess error=2, The system cannot find the file specified; check tools installation
    ti.targets.arm.elf.A8Fnv: warning: exec of 'C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/cl470 --compiler_revision' failed:java.io.IOException: Cannot run program "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/cl470" (in directory "."): CreateProcess error=2, The system cannot find the file specified; check tools installation
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring profibus_debug.xea8fnv from package/cfg/profibus_debug_pea8fnv.cfg ...
    warning: ti.sysbios.rta.Agent: "C:/ti/bios_6_42_02_29/packages/ti/sysbios/rta/Agent.xs", line 66: ti.sysbios.rta.Agent : This module is deprecated and will not be supported in a future release. Please use the UIA product for the equivalent functionality.
    js: "C:/ti/xdctools_3_31_02_38_core/packages/xdc/cfg/Main.xs", line 167: 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_42_02_29/packages/ti/targets/arm/rtsarm/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.family.arm [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/family/arm/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.knl [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/knl/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.family.arm.exc [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/family/arm/exc/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.family.arm.a8.intcps [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/family/arm/a8/intcps/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.rta [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/rta/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.family.arm.a8 [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/family/arm/a8/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.heaps [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/heaps/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.gates [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/gates/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.hal [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/hal/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.xdcruntime [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/xdcruntime/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.family.arm.a8.ti81xx [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/family/arm/a8/ti81xx/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.timers.dmtimer [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/timers/dmtimer/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].
    ; package ti.sysbios.utils [in C:/ti/bios_6_42_02_29/packages/ti/sysbios/utils/] was built using the target 'ti.targets.arm.elf.A8Fnv' with compiler version [5.2.4].

    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/profibus_debug_pea8fnv.xdl] Error 1
    js: "C:/ti/xdctools_3_31_02_38_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • Hello Ted,

    Industrial SDK 1.1.0.10 uses TI compiler, but from the logs above it says GCC compiler. Was some modifications done on the Project?

    For GCC the target type should be "ti.targets.arm.A8F" . But not sure if just changing this will work.

    Regards,
    Vinesh
  • Ok I re-installed CCS w/TI compiler only. Then I imported the profibus slave project and get the following message:

    Description Resource Path Location Type
    This project was created using a version of XDCtools that is not currently installed: 3.23.3.53. Please install the XDCtools of this version, or migrate the project to one of the supported versions. profibus_slave profibus_slave Problems

    So how should i proceed. Downgrade the XDC tools to 3.23.3.53 or migrate to the installed version 3.31.2.38?
  • As mentioned in the guide - processors.wiki.ti.com/.../AM335x_SYSBIOS_Industrial_SDK_01.01.00.10_User_Guide Please refractor the project before compiling.

    Regards,
    Vinesh
  • Yes, thanks Vinesh I realized this yesterday after I had posted the log. I was able to successfully run the profibus slave demo.

    Thanks,

    Ted

  • Now that I'm able to download via JTAG to RAM and run, I would like to flash the image to NOR flash so on reset the ROM boot see's the bootloader i've also built and runs the bootloader which in turn discovers the profibus_slave image also on NOR flash and loads it to RAM and runs it. I've built the NOR flash bootloader as illustrated in the documentation, but I've been unable to flash it along w/the profibus_slave image to NOR flash. Can somebody point me to the correct docs?

    Thanks,

    Ted