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.

AM3359 ICE

Other Parts Discussed in Thread: AM3359, SYSBIOS, AM3352, AM3357, AM3358

I have developed EtherCat slave application with Beckhoff ET1100.

Now I want to try it with AM3359 processor, so I have bought AM3359 ICE board,

but it came without any software. How can I get some example application,

or sdk\examples\ethercat\esi\TiEtherCATLib.xml file, which is mentioned

in the quick start guide?

  • The SDK with the examples is here:

    http://www.ti.com/tool/sysbiossdk-ind-sitara

    Maybee you need even SYSBIOS and xdctools. Search for this on the TI website.

  • Correct. Once you download the SYSBIOS industrial SDK from link above, please see the documents included in the SDK installation. There are links to SYSBIOS download page where you can get SYSBIOS and XDC tools.

    Thanks.

    Maneesh

  • I am trying to build the example applications as included with the SDK;I am able to import the project into CSS 5, but I get this error when trying to build...

    'Building target: i2c_led.out'

    'Invoking: ARM Linker'

    "C:/ti/ccsv5/tools/compiler/tms470_4.9.5/bin/cl470" -mv7A8 --code_state=32 --abi=eabi -me -g --define=am3352 --define=am3359 --diag_warning=225 -z --stack_size=0x800 -m"i2c_led.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/tms470_4.9.5/lib" -i"C:/ti/ccsv5/tools/compiler/tms470_4.9.5/include" --reread_libs --warn_sections --rom_model -o "i2c_led.out" -l"./configPkg/linker.cmd"  "./main.obj" -l"C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/os_drivers/lib/sys_bios_driver.lib" -l"C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/platform/am335x/lib/am335x_platform.lib" -l"C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/starterware/binary/armv7a/cgt_ccs/am335x/drivers/drivers.lib" -l"C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/starterware/binary/armv7a/cgt_ccs/am335x/evmAM335x/platform/platform.lib" -l"rtsv7A8_A_le_n_v3_eabi.lib" "../AM3359.cmd"

    <Linking>

    "../AM3359.cmd", line 20: error: SRAM memory range overlaps existing memory

       range SRAM_HI

    "../AM3359.cmd", line 21: error: L3OCMC0 memory range overlaps existing memory

       range OCMC_SRAM

    "../AM3359.cmd", line 24: error: DDR0 memory range overlaps existing memory

       range DDR3

    error: errors encountered during linking; "i2c_led.out" not built

    gmake: *** [i2c_led.out] Error 1

    gmake: Target `all' not remade because of errors.

    >> Compilation failure

    **** Build Finished ****

     Any thoughts??????

  • For comparison, I just imported the i2c_led project and hit build (didn't do anything else).  Here's what I get:

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

    C:\ti\ccsv5\utils\bin\gmake -k all

    'Building file: ../app.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_23_03_53/xs" --xdcpath="C:/ti/ipc_1_24_03_32/packages;C:/ti/bios_6_33_05_46/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.evmAM3359 -r release -c "C:/ti/ccsv5/tools/compiler/tms470_4.9.6" --compileOptions "-g --optimize_with_debug" "../app.cfg"

    making package.mak (because of package.bld) ...

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    configuring app.xea8fnv from package/cfg/app_pea8fnv.cfg ...

    clea8fnv package/cfg/app_pea8fnv.c ...

    'Finished building: ../app.cfg'

    ' '

    'Building file: ../main.c'

    'Invoking: TMS470 Compiler'

    "C:/ti/ccsv5/tools/compiler/tms470_4.9.6/bin/cl470" -mv7A8 --code_state=32 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/tms470_4.9.6/include" --include_path="C:/ti/am335x_sysbios_ind_sdk_1.0.0.4/sdk/os_drivers/include" --include_path="C:/ti/am335x_sysbios_ind_sdk_1.0.0.4/sdk/platform/am335x/include" --diag_warning=225 --preproc_with_compile --preproc_dependency="main.pp" --cmd_file="./configPkg/compiler.opt"  "../main.c"

    'Finished building: ../main.c'

    ' '

    'Building target: i2c_led.out'

    'Invoking: TMS470 Linker'

    "C:/ti/ccsv5/tools/compiler/tms470_4.9.6/bin/cl470" -mv7A8 --code_state=32 --abi=eabi -me -g --diag_warning=225 -z -m"i2c_led.map" -i"C:/ti/ccsv5/tools/compiler/tms470_4.9.6/lib" -i"C:/ti/ccsv5/tools/compiler/tms470_4.9.6/include" --reread_libs --warn_sections --rom_model -o "i2c_led.out" -l"./configPkg/linker.cmd"  "./main.obj" -l"C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/os_drivers/lib/sys_bios_driver.lib" -l"C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/platform/am335x/lib/am335x_platform.lib" -l"C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/starterware/binary/armv7a/cgt_ccs/am335x/drivers/drivers.lib" -l"C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/starterware/binary/armv7a/cgt_ccs/am335x/evmAM335x/platform/platform.lib" -l"rtsv7A8_A_le_n_v3_eabi.lib" "../am335x.cmd"

    <Linking>

    'Finished building target: i2c_led.out'

    ' '

    C:/ti/ccsv5/utils/bin/gmake --no-print-directory post-build

    "C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/tools/post_build/post_build.bat" "C:/ti/ccsv5" "C:/ti/ccsv5/tools/compiler/tms470_4.9.6" "C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk\examples\i2c_led\Debug" "i2c_led" "C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk/starterware/tools/ti_image" "1" "1" "0x80000000" "0x80000000"

            1 file(s) copied.

    C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk\examples\i2c_led\Debug

    Input File - i2c_led.bin

    Output File - i2c_led_SD.bin

    Generating TI_Image of [Application] to be stored in [SD Card]

    finished

    ' '

    **** Build Finished ****

     

    Are you sure that you have XDC tools installed?  Beyond that, I also notice that the ARM Linker is getting invoked in your case (not the TI linker), and that the cmd file is also different (yours references AM3359.cmd as opposed to AM335X.cmd in the standard I2c_led example project at location C:\ti\am335x_sysbios_ind_sdk_1.0.0.4\sdk\examples\i2c_led.)  Perhaps you might want to reinstall the SDK to ensure the i2c_led default build configuation hasn't been modified?

  • Scott,

    as Darrin mentioned you should not see AM3359.cmd getting used if you import the IA-SDK examples within the recommended environment. It is not clear to me if the changes are caused by different CCS version or some missing Bios or XDC version. Can you please double check that. If you let us know your exact version of CCS 5 we can try to reproduce the issue.

    There are also defines called 'am3359' and 'am3352' in your log that I don't understand. Usually we do not have this. Obviously EtherCAT slave only works on AM3359 and AM3357 but we have no dependency for the software projects right now. Actually I am using the AM335x target configuration for debugging.

    Regards.

  • Everything is working; thak you for your help.

     

    --Scott

  • Hi All

    I am trying to run i2c_led demo as given in am335x_sysbios_ind_sdk on BeagleBone-AM3358 and i am using CCSv5.3.

    As part of my building am getting the same error as scott mentioned in his 1st post.
    But when i am deselecting AM3358.cmd in project-build-settings,i am able to build without issue.

    But after flashing the code through XDS100v2 Emulator, my beaglebone is in idle state.

    Can Anyone help me !!?
    Hey scott can you help me ??

    Thanks

  • Please open new threads for new issues. You are apparently on a different platform that is not supported by IA-SDK. See other similar requests in this forum.

    regards.