TI E2E Community
Sitara Processors Forum
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:
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.
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_18.104.22.168\sdk/os_drivers/lib/sys_bios_driver.lib" -l"C:\ti\am335x_sysbios_ind_sdk_22.214.171.124\sdk/platform/am335x/lib/am335x_platform.lib" -l"C:\ti\am335x_sysbios_ind_sdk_126.96.36.199\sdk/starterware/binary/armv7a/cgt_ccs/am335x/drivers/drivers.lib" -l"C:\ti\am335x_sysbios_ind_sdk_188.8.131.52\sdk/starterware/binary/armv7a/cgt_ccs/am335x/evmAM335x/platform/platform.lib" -l"rtsv7A8_A_le_n_v3_eabi.lib" "../AM3359.cmd"
"../AM3359.cmd", line 20: error: SRAM memory range overlaps existing memory
"../AM3359.cmd", line 21: error: L3OCMC0 memory range overlaps existing memory
"../AM3359.cmd", line 24: error: DDR0 memory range overlaps existing memory
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 ****
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'
"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_184.108.40.206/sdk/os_drivers/include" --include_path="C:/ti/am335x_sysbios_ind_sdk_220.127.116.11/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'
'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_18.104.22.168\sdk/os_drivers/lib/sys_bios_driver.lib" -l"C:\ti\am335x_sysbios_ind_sdk_22.214.171.124\sdk/platform/am335x/lib/am335x_platform.lib" -l"C:\ti\am335x_sysbios_ind_sdk_126.96.36.199\sdk/starterware/binary/armv7a/cgt_ccs/am335x/drivers/drivers.lib" -l"C:\ti\am335x_sysbios_ind_sdk_188.8.131.52\sdk/starterware/binary/armv7a/cgt_ccs/am335x/evmAM335x/platform/platform.lib" -l"rtsv7A8_A_le_n_v3_eabi.lib" "../am335x.cmd"
'Finished building target: i2c_led.out'
C:/ti/ccsv5/utils/bin/gmake --no-print-directory post-build
"C:\ti\am335x_sysbios_ind_sdk_184.108.40.206\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_220.127.116.11\sdk\examples\i2c_led\Debug" "i2c_led" "C:\ti\am335x_sysbios_ind_sdk_18.104.22.168\sdk/starterware/tools/ti_image" "1" "1" "0x80000000" "0x80000000"
1 file(s) copied.
Input File - i2c_led.bin
Output File - i2c_led_SD.bin
Generating TI_Image of [Application] to be stored in [SD Card]
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_22.214.171.124\sdk\examples\i2c_led.) Perhaps you might want to reinstall the SDK to ensure the i2c_led default build configuation hasn't been modified?
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.
Everything is working; thak you for your help.
Hi AllI 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 ??
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.