Other Parts Discussed in Thread: SYSBIOS, CCSTUDIO
Tool/software: Code Composer Studio
I am working with both CCS 6 and 7 (mostly 6 as that is what is at customer site). We are using the Myirtech EVM, and are trying to build the ethernetip_adapter from PDK 1.0.4.
The build fails, with the following error:
Description Resource Path Location Type
can't find program 'ethernetip_adapter_am437x.xa9fg's linker command template file: 'C:\ti\sysbios_ind_sdk_02.01.02.02\sdk;C:\ti\pdk_am437x_1_0_4\packages\ti/examples/ethernetip_adapter/ethernetip.xdt' along the path C:/ti/ndk_2_24_03_35/packages;C:/ti/bios_6_46_05_55/packages;C:/ti/pdk_am437x_1_0_4/packages;C:/ti/ccsv7/ccs_base;C:/ti/xdctools_3_31_00_24_core/packages;..; .xdchelp /ethernetip_adapter line 48 C/C++ Problem
At some point in the past, I believe it compiled and ran (although it might have been another of the ethernet samples).
Here is my setup:
am437x PDK 1.0.4 com.ti.pdk.am437x.product_1.0.4.feature.group Texas Instruments Inc.
Analysis Suite 4.1.0.201609091143 com.ti.dvt2.analysis.suite.feature.group Texas Instruments
BeagleBone FTDI Drivers 2.8.30.20140130 com.ti.ftdi.drivers.win.feature.group Texas Instruments
C/C++ Development Tools 8.8.0.201509131935 org.eclipse.cdt.feature.group Eclipse CDT
C/C++ GCC Cross Compiler Support 8.8.0.201509131935 org.eclipse.cdt.build.crossgcc.feature.group Eclipse CDT
C/C++ Memory View Enhancements 8.8.0.201509131935 org.eclipse.cdt.debug.ui.memory.feature.group Eclipse CDT
C/C++ Remote Launch (Requires RSE Remote System Explorer) 8.8.0.201509131935 org.eclipse.cdt.launch.remote.feature.group Eclipse CDT
C6000 7.4.0 Help Feature 7.4.0.201303051055 com.ti.cgt.c6000.7.4.help.feature.group Texas Instruments
C6000 v8 Compiler Tools 8.1.1 com.ti.cgt.c6000.8.1.win32.feature.group Texas Instruments
CCS and SAT Common Components Feature 6.2.0.201609121600 com.ti.tools.common.feature.group Texas Instruments
CCS Documentation 6.2.0.20160831 com.ti.ccstudio.doc.win32.feature.group Texas Instruments
CCS Launcher 6.2.0.20160106 com.ti.ccstudio.launcher.win32.feature.group Texas Instruments
CCS Utilities 1.0.0.20160210 com.ti.ccstudio.utils.cli.win32.feature.group Texas Instruments
CCStudio p2 Tool Feature 6.0.0.201508191607 com.ti.ccstudio.p2tool.feature.group Texas Instruments
Chromium Browser Feature 6.2.0.201609121600 com.ti.chromium.browser.feature.group Texas Instruments
Code Composer Studio Base Components 6.2.1.01781 com.ti.ccstudio.base.feature.group Texas Instruments
Code Composer Studio IDE ARM Components 6.2.0.201609121600 com.ti.ccstudio.tms470.feature.group Texas Instruments
Code Composer Studio IDE Main Feature 6.2.0.201609121600 com.ti.ccstudio.idemain.feature.group Texas Instruments
Code Composer Studio IDE Workflow 6.2.0.201609121600 com.ti.ccstudio.workflow.feature.group Texas Instruments
Compiler Tools On-line Documentation 1.1.4 com.ti.cgt.dmed.win32.feature.group Texas Instruments
Debug Server 6.2.1.1781 com.ti.ccstudio.debugserver.win32.feature.group Texas Instruments
Debug Server Flash 6.2.1.1781 com.ti.dsflash.win32.feature.group Texas Instruments
DVT - Graph Visualization 4.1.0.201609091143 com.ti.dvt2.graph.visualization.feature.group Texas Instruments
DVT - Profiler Analysis Manager 4.1.0.201609091143 com.ti.dvt2.profileanalysismanager.feature.group Texas Instruments
DVT - Resource Explorer 4.1.0.201609091143 com.ti.dvt2.resource.explorer.feature.group Texas Instruments
DVT - System Analyzer 4.1.0.201609091143 com.ti.dvt2.uia.feature.group Texas Instruments
DVT - Trace Control 4.1.0.201609091143 com.ti.dvt2.trace.control.feature.group Texas Instruments
Eclipse Git Team Provider 4.0.3.201509231615-r org.eclipse.egit.feature.group Eclipse EGit
Eclipse Help System 2.1.1.v20150904-0015 org.eclipse.help.feature.group Eclipse.org
Eclipse Platform 4.5.1.M20150904-0015 org.eclipse.platform.ide Eclipse.org
EDMA3 2.12.5 com.ti.sdo.edma3.product_02.12.05.feature.group Texas Instruments Inc.
EDMA3 2.12.4 com.ti.sdo.edma3.product_02.12.04.feature.group Texas Instruments Inc.
EDMA3 2.12.1 com.ti.sdo.edma3.product_02.12.01.feature.group Texas Instruments Inc.
Equinox p2, Discovery UI support 1.0.300.v20150430-1836 org.eclipse.equinox.p2.discovery.feature.feature.group Eclipse.org - Equinox
Equinox p2, Provisioning for IDEs. 2.2.101.v20150826-1318 org.eclipse.equinox.p2.user.ui.feature.group Eclipse.org - Equinox
EVE Compiler Tools 1.0.9 com.ti.cgt.arp32.1.0.win32.feature.group Texas Instruments
GCC ARM Compiler Tools 4.9.3.2015q3_20150921 com.ti.gcc.arm.win32.feature.group Texas Instruments
Graphical Editing Framework GEF 3.10.1.201508170204 org.eclipse.gef.feature.group Eclipse GEF
Graphical Modeling Framework (GMF) Runtime 1.7.0.201306111432 org.eclipse.gmf.feature.group Eclipse Modeling Project
GUI Composer Backplane Feature 6.1.0.201609121600 com.ti.gc.backplane.feature.group Texas Instruments
GUI Composer Program Model Feature 6.1.0.201609121600 com.ti.gc.pm.feature.group Texas Instruments
IDE - Debug Server Integration Feature 6.0.1.201609121600 com.ti.debug.server.feature.group Texas Instruments
Image Analyzer 4.1.0.201609091143 com.ti.dvt2.via.ccs.feature.group Texas Instruments
LWInstaller 6.2.0.00050 com.ti.ccstudio.installer.win32.feature.group Texas Instruments
Marketplace Client 1.4.1.v20150916-1928 org.eclipse.epp.mpc.feature.group Eclipse Marketplace Client
NDK (IDE Client) 2.25.1.11 com.ti.rtsc.NDK.product.ui.feature.group Texas Instruments
NDK (Target Content) 2.25.1.11 com.ti.rtsc.NDK.product_2.25.1.11.feature.group Texas Instruments
NDK (Target Content) 2.24.3.35 com.ti.rtsc.NDK.product_2.24.3.35.feature.group Texas Instruments
p2appf 6.0.0.201609121600 com.ti.ccstudio.p2appf.feature.group Texas Instruments
PRU Compiler Tools 2.2.1 com.ti.cgt.pru.2.2.win32.feature.group Texas Instruments
Remote System Explorer End-User Runtime 3.7.0.201505221634 org.eclipse.rse.feature.group Eclipse TM Project
ROV 4.1.0.201609091143 com.ti.dvt2.rov.feature.group Texas Instruments
RTSC/XDCtools (IDE Client) 3.32.1.22 org.eclipse.rtsc.xdctools.product.ui.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.32.1.22 org.eclipse.rtsc.xdctools.product_3.32.1.22.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.32.0.06 org.eclipse.rtsc.xdctools.product_3.32.0.06.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.31.0.24 org.eclipse.rtsc.xdctools.product_3.31.0.24.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.30.6.67 org.eclipse.rtsc.xdctools.product_3.30.6.67.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.30.5.60 org.eclipse.rtsc.xdctools.product_3.30.5.60.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.30.3.47 org.eclipse.rtsc.xdctools.product_3.30.3.47.feature.group Texas Instruments
RXTX End-User Runtime 2.1.8.0_201606281300 gnu.io.rxtx.feature.group RXTX.org
Shared Device Support 1.0.9 com.ti.ccstudio.shared.devicesupport.win32.feature.group Texas Instruments
Sitara Device Support 1.3.2 com.ti.ccstudio.sitara.devicesupport.win32.feature.group Texas Instruments
SYS/BIOS (IDE Client) 6.46.5.55 com.ti.rtsc.SYSBIOS.product.ui.feature.group Texas Instruments
SYS/BIOS (Target Content) 6.46.5.55 com.ti.rtsc.SYSBIOS.product_6.46.5.55.feature.group Texas Instruments
SYS/BIOS (Target Content) 6.45.1.29 com.ti.rtsc.SYSBIOS.product_6.45.1.29.feature.group Texas Instruments
TargetDB Default Props 6.0.0.20131206 com.ti.ccstudio.targetdb.props.default.win32.feature.group Texas Instruments
TI Emulators 6.0.407.3 com.ti.emulation.pack.win32.feature.group Texas Instruments
TI Target Content 1.0.0.201608011655 com.ti.targetcontent.feature.group Texas Instruments
TIREX Desktop 2.0.2.131 com.ti.tirex.feature.group Texas Instruments
TM Terminal 4.0.0.201506040610 org.eclipse.tm.terminal.feature.feature.group Eclipse.org - Target Management
Trace Analyzer 4.1.0.201609091143 com.ti.dvt2.trace.ccs.feature.group Texas Instruments
Xulrunner 24.0.0 com.ti.ccstudio.xulrunner.win32.feature.group Texas Instruments
This is the complete rebuild of the project:
**** Clean-only build of configuration am437x_debug for project ethernetip_adapter ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean
DEL /F "ethernetip_adapter.out" "configPkg\linker.cmd" "configPkg\compiler.opt" "ethernetip_adapter.hex"
makefile:181: recipe for target 'clean' failed
The system cannot find the file specified.
gmake: [clean] Error 1 (ignored)
RMDIR /S/Q "configPkg\"
makefile:181: recipe for target 'clean' failed
The system cannot find the file specified.
gmake: [clean] Error 2 (ignored)
DEL /F "acd_arp_filter.d" "app_restart.d" "device.d" "eip_main.d" "eip_ndk.d" "eip_utils.d" "hal.d" "icss_dlr.d" "icss_eip_driver.d" "main.d" "user_acd_ndk.d"
DEL /F "acd_arp_filter.o" "app_restart.o" "device.o" "eip_main.o" "eip_ndk.o" "eip_utils.o" "hal.o" "icss_dlr.o" "icss_eip_driver.o" "main.o" "user_acd_ndk.o"
Could Not Find C:\Users\Steve\Documents\Work\Kimdu\Al Cielo\MYIR Board\05-RTOS_Source\MYIRTECH\pdk_am437x_1_0_4\packages\ti\examples\ethernetip_adapter\am437x_debug\acd_arp_filter.d
Could Not Find C:\Users\Steve\Documents\Work\Kimdu\Al Cielo\MYIR Board\05-RTOS_Source\MYIRTECH\pdk_am437x_1_0_4\packages\ti\examples\ethernetip_adapter\am437x_debug\acd_arp_filter.o
'Finished clean'
' '
**** Build Finished ****
**** Build of configuration am437x_debug for project ethernetip_adapter ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../ethernetip_adapter_am437x.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_31_00_24_core/xs" --xdcpath="C:/ti/ndk_2_24_03_35/packages;C:/ti/bios_6_46_05_55/packages;C:/ti/pdk_am437x_1_0_4/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A9F -p ti.platforms.evmAM437X -r debug -c "C:/ti/gcc-arm-none-eabi-4_9-2015q3" "../ethernetip_adapter_am437x.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring ethernetip_adapter_am437x.xa9fg from package/cfg/ethernetip_adapter_am437x_pa9fg.cfg ...
generating custom ti.sysbios library makefile ...
subdir_rules.mk:14: recipe for target 'build-42605535' failed
js: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/cfg/Main.xs", line 48: XDC runtime error: can't find program 'ethernetip_adapter_am437x.xa9fg's linker command template file: 'C:\ti\sysbios_ind_sdk_02.01.02.02\sdk;C:\ti\pdk_am437x_1_0_4\packages\ti/examples/ethernetip_adapter/ethernetip.xdt' along the path C:/ti/ndk_2_24_03_35/packages;C:/ti/bios_6_46_05_55/packages;C:/ti/pdk_am437x_1_0_4/packages;C:/ti/xdctools_3_31_00_24_core/packages;..;
gmake.exe: *** [package/cfg/ethernetip_adapter_am437x_pa9fg.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/ethernetip_adapter_am437x_pa9fg.xdl'
gmake.exe: *** [package/cfg/ethernetip_adapter_am437x_pa9fg.xdl] Deleting file `package/cfg/ethernetip_adapter_am437x_pa9fg.h'
gmake.exe: *** [package/cfg/ethernetip_adapter_am437x_pa9fg.xdl] Deleting file `package/cfg/ethernetip_adapter_am437x_pa9fg.c'
js: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [build-42605535] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Please advise. I have only used CCS in the past for much simpler devices (MSP) and never had to deal with the integration of PDK, NDK, and RTOS before.