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.

Getting started with AM335x and EtherCat

Other Parts Discussed in Thread: SYSBIOS, AM3359

Originally posted to the wrong forum.  Sorry for any confusion.  CC

Looking to develop an EtherCat slave based on the AM335x and I was planning on starting with the TMDXICE3359 <http://www.ti.com/tool/tmdxice3359> as a development board.  Before ordering I'd like to make sure that I am ordering everything I need.

I think I need:

  1. The TMDXIC3359 board <http://www.ti.com/tool/tmdxice3359>
  2. SYS/BIOS Industrial Software Development Kit software <http://www.ti.com/tool/sysbiossdk-ind-sitara>
  3. Code Composer Studio <http://www.ti.com/tool/ccstudio>
  4. an EtherCat master (like the Beckhoff TwinCat)

So a few questions:

  1. Is there anything else that I'll need to get started?  JTAG cables, power supply, other cables, software?
  2. Do I need to purchase a cope of Code Composer or can I use the free download version?
  3. Does the free version of Code Composer and the EtherCat SYS/BIOS work together on a WinXP 64bit machine? On Linux?

Thanks for any help

CC

  • 1. Power supply for ICE board is included in the box you receive. It is 24V power supply with worldwide input voltage .

    2. Since the ICE board has a XDS100 on the board, it is okay to use CCS free version. Let us know if it does not work. 

    3. Win XP/7 are fine. We have tested Win XP 32-bit and Windows 7 32/64 bits. Linux should also work but it is not tested. If there is a problem using Linux, we will support it as Code Composer supports Linux.

  • I'm setting up the toolchain to compile and download the "I2C_LED" demo application.

    I've downloaded and installed these packages:

    00 --> CCS5.1.1.00031_win32
        (http://processors.wiki.ti.com/index.php/Download_CCS)
    01 --> XDC_TOOLS
        (http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_23_03_53)
    02 --> SYS_BIOS
        (http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/index.html)
    03 --> AM3359_SDK
        (http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/AM335x_SYSBIOS_Industrial_SDK/01_00_00_03/index_FDS.html)

    Then I've imported the "i2c_led" project in eclipse as described in wiki page, but linker reports this error:


    **** Build of configuration Debug for project i2c_led ****

    C:\ti\ccsv5\utils\bin\gmake -k all
    'Building file: ../main.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/tms470/bin/cl470" -mv7A8 --code_state=32 --float_support=vfplib --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/tms470/include" --include_path="../../../drivers/include" --include_path="../../../platform/am335x/evmam335x/include" --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="main.pp" --cmd_file="./configPkg/compiler.opt"  "../main.c"
    'Finished building: ../main.c'
    ' '
    'Building target: i2c_led.out'
    'Invoking: ARM Linker'
    "C:/ti/ccsv5/tools/compiler/tms470/bin/cl470" -mv7A8 --code_state=32 --float_support=vfplib --abi=eabi -me -g --diag_warning=225 --display_error_number -z -m"i2c_led.map" -i"C:/ti/ccsv5/tools/compiler/tms470/lib" -i"C:/ti/ccsv5/tools/compiler/tms470/include" --reread_libs --warn_sections --rom_model -o "i2c_led.out" -l"./configPkg/linker.cmd"  "./main.obj" -l"../../../drivers/lib/sys_bios_driver.lib" -l"../../../platform/am335x/evmam335x/lib/evmam335x.lib" -l"../../../starterware/starterware-starterware-src/binary/armv7a/cgttms470_ccs/am335x/drivers/drivers.lib" -l"../../../starterware/starterware-starterware-src/binary/armv7a/cgttms470_ccs/am335x/evmAM335x/platform/platform.lib" -l"rtsv7A8_T_le_n_v3_eabi.lib" "../am335x.cmd"
    <Linking>
    fatal error #16016: file
       "../../../drivers/lib/sys_bios_driver.lib<sys_uart.obj>" was built with VFP
       coprocessor support while a previously seen file was not; combining
       incompatible files

    >> Compilation failure
    gmake: *** [i2c_led.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    Any suggestion?

  • Solved: you have to make sure that the "Automatically import referenced projects" option in the Import CCS Eclipse Projects dialog is not checked.