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.

CCS/TMDSICE3359: Ethernet/IP build errors

Part Number: TMDSICE3359


Tool/software: Code Composer Studio

Hardware: AMDSICE3359 ICE Board (HW Rev 2.1)

Host Environment: Windows 7 Professional

CCS Version: 7.2.0.00013 

SDK: processor_sdk_rtos_am335x_4_00_00_04

Intended Software to Build: PRU-ICSS-EthernetIP_Adapter_01.00.02.00

Hi all. I'm encountering build errors when trying to make this project. My end goal is to have the Ethernet/IP adapter stack running on the PRU, and TI-RTOS running on the ARM. This is with the stock project, created via the \protocols\ethernetip_adapter\projects\projectCreate.bat script. Nothing has been modified outside of adding a few include directories that were incorrect.

There doesn't seem to be required targets in the makefile. Output is shown below.

gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_6/packages/ti/drv/gpio/soc/am335x/GPIO_soc.c', needed by 'soc_am335x/GPIO_soc.o'.	ethernetip_adapter_AM335x_arm		 	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_6/packages/ti/drv/i2c/soc/am335x/I2C_soc.c', needed by 'soc_am335x/I2C_soc.o'.	ethernetip_adapter_AM335x_arm		 	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_6/packages/ti/drv/icss_emac/soc/am335x/icss_emacSoc.c', needed by 'soc_am335x/icss_emacSoc.o'.	ethernetip_adapter_AM335x_arm		 	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_6/packages/ti/drv/pruss/soc/am335x/pruicss_soc.c', needed by 'soc_am335x/pruicss_soc.o'.	ethernetip_adapter_AM335x_arm		 	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_6/packages/ti/drv/spi/soc/am335x/SPI_soc.c', needed by 'soc_am335x/SPI_soc.o'.	ethernetip_adapter_AM335x_arm		 	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/pdk_am335x_1_0_6/packages/ti/drv/uart/soc/am335x/UART_soc.c', needed by 'soc_am335x/UART_soc.o'.	ethernetip_adapter_AM335x_arm		 	C/C++ Problem
gmake: Target 'all' not remade because of errors.	ethernetip_adapter_AM335x_arm		 	C/C++ Problem

Thank you for the help, and apologies if this is something simple. I can't seem to find any answers via search and provided documentation.

  • The RTOS team have been notified. They will respond here.
  • Thank you, Biser.

    After further inspection this morning, it appears that the automatically generated project was using a PDK version of 1.0.6, and thus expecting a directory of C:/ti/pdk_am335x_1_0_6.

    The version that installed for me (which I suppose is the latest version), was 1.0.7. Changing the projectCreate.bat file to the correct PDK directory fixed these problems.

    I'm now getting the following. I'm wondering if it's another version/dependency error.

    js: "C:/ti/xdctools_3_50_02_20_core/packages/xdc/cfg/Main.xs", line 48: XDC runtime error: can't find program 'am335x_app.xa8fg's linker command template file: 'ethernetip.xdt' along the path C:/ti/bios_6_51_00_15/packages;C:/ti/pdk_am335x_1_0_7/packages;C:/ti/ndk_2_25_01_11/packages;C:/ti/edma3_lld_2_12_04_28/packages;C:/ti/ccsv7/ccs_base;C:/ti/xdctools_3_50_02_20_core/packages;..;

    I've found the file (ethernetip.xdt) in: C:\ti\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\examples\ethernetip_adapter ,does anyone know where in the project build settings I update this directory?

    I suppose I'll continue to just update this thread with my progress, in case anyone else comes across this.

    Thank you again.

  • So after going through the entire createProject.bat file, and updating all of the directory references I could find to match the latest local tool paths on my machine, then rebuilding the project, I'm down to new errors. This all seems to be version related, as I get either undeclared identifiers or undefined references in the build steps, depending on which combination of versions of the GNU compiler, XDC tools and SYS/BIOS versions I select.

    Is there a list of known dependency and tool versions that a working example of this project has been successfully built against, perhaps? Or am I not on the right track here?

    Thank you again for your time and help.
  • Hi Tegan, yes you are in the right track!.. EthernetIP 1.0.2.0 uses PSDK 3.3. It seems we have a hole in our documentation as this is not clear. We will fix it soon.

    Please after installing PSDK3.3, create again EthernetIP 1.0.2 CCS project, Build/test and let us know your results.

    thank you,

    Paula

  • That did it! Yes, it would be great to include that, I spent a few days battling this. Thank you.