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: Unable to compile Industrial SDK project

Part Number: AM3359
Other Parts Discussed in Thread: SYSBIOS

Hi,

 

I am evaluating AM3359 for industrial application and planning to use SYS/BIOS for RTOS purpose.

Initially I download the IND SDK ( am335x_sysbios_ind_sdk_01.01.03.03) and try to run “ethernetip_adapter” project.

During compilation I am getting below error

This project was created using a version of XDCtools that is not currently installed: 3.23.0.14.eng. Please install the XDCtools of this version, or migrate the project to one of the supported versions.”

 

I tried refactor to upgrade XDCtools, but still we are getting below error regarding XDC tool

 

xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.evmAM3359'.  TI platforms are no longer shipped as part of XDCtools (C:\ti\xdctools_3_50_03_33_core).  Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path ';C:\ti\xdctools_3_50_03_33_core/packages'.  Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.”

 

After that I created my own project and import C file of   “ethernetip_adapter” project and try to compile it, now XDC version error is solve but there is error for no definition of MMUInit and UTILsDetectBoardType

Function. I searched in SDK folder, but there is no difinition for these function.

 

Kindly help me regarding above problem or provide link of example project.

I am using version number 7.3.0.00019 and XDC tool version is 3_50_03_33_core.

 

thanks

  • Hi,

    Industrial SDK has been obsoleted and is no longer maintained or supported by TI. Please read the notice on top of this forum: e2e.ti.com/.../580869
  • Thanks for quick response.

    Kindly suggest me for evaluation of AM335x, means which SW package i should use for evaluation.

    thanks
  • Added to my previous post

    I downloaded latest SW pakage (PRU-ICSS-HSR-PRP-DAN_01.00.03.02) from TI web.

    But in this folder there is no example project (CCS project) to run. i found *c, *.h and some *.sh file. I have no plan to use linux.

    Kindly provide the user guide or example project for this.

    thanks
  • vipin,

    Here is the HSR/PRP user guide including the steps to generate the example project:

    processors.wiki.ti.com/.../PRU_ICSS_HSR_PRP

    Regards,
    Garrett
  • Hi Garrett,

     

    Thanks for links

    I had generated the CCS project for AM335x (ethernetip_adapter) application using batch file, after project is generated I am getting error (Refer attachment) for below function

     

    1. Definition of “Board_getAutoNegStat” is not available
    2. Definition of “calcChecksum, convEndianess etc.. is given in eip_tools.c , but it is commented code due to mismatch of ICSS_EMAC_DRV_VERSION_ID. There is massage written there “USE NIMU DRV version instead of EMAC LLD”. I did not find any NIMU Drv code

     

    PRU-ICSS EtherNet/IP Adapter: 01.00.02.00

    CCS: 7.3.0.00019 

     

    Kindly guide me how can i fix it.

     

    Regards

    Vipin Kumar Mishra

  • Vipin,

    Can you post the complete build log with the error? The Board_getAutoNegStat is defined in board_tlkphy.h and implemented in board_tlkphy.c, and the calcChecksum is defined in eip_tools.h and implemented in eip_tools.c.

    Regards,

    Garrett

  • Hi Garrett,

    As i mention in my ealier post calcChecksum is defined in eip_tools.c but it is commented due to mismatch of ICSS_EMAC_DRV_VERSION_ID macro value. In code it is compare with 0x01000005 and generated code has 0x0100000A.

    There is no history for this monor change, so that i can do changes.

    Board_getAutoNegStat is defined in board_tlkphy.h but under below macro 

    #if !defined(icev2AM335x) && !defined(iceAMIC11x) /*as only AM3 PDK has these functions defined*/

    If i do all these change manually i am able to compile the code, but do not known the further conseqnences.

    kindly suggest the change to compile the code, I am using ICE V1 baord for evaluation. ALso refer attached doc for error log.

    console of AM335x.txt
    **** Build of configuration AM335x_release for project ethernetip_adapter_AM335x_arm ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
    'Building target: ethernetip_adapter_AM335x_arm.out'
    'Invoking: GNU Linker'
    "C:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a8 -marm -Dam3359 -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -mfloat-abi=hard -Wl,-Map,"ethernetip_adapter_AM335x_arm.map" -nostartfiles -nodefaultlibs -static -Wl,--gc-sections -L"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/stack_lib/am335x/a8" -L"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8" -L"C:/ti/bios_6_46_05_55/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,STACKSIZE=0x1C000 -Wl,--defsym,HEAPSIZE=0x400 -Wl,--start-group -o"ethernetip_adapter_AM335x_arm.out" "./acd_arp_filter.o" "./app_restart.o" "./device.o" "./eip_main.o" "./eip_ndk.o" "./eip_soc.o" "./eip_tools.o" "./eip_utils.o" "./hal.o" "./icss_dlr.o" "./icss_eip_driver.o" "./main.o" "./user_acd_ndk.o" "./board_am335x/iceAM335x/board_gpioLed.o" "./board_am335x/iceAM335x/board_i2cLed.o" "./board_am335x/iceAM335x/board_mcspi.o" "./board_am335x/iceAM335x/board_oled.o" "./board_am335x/iceAM335x/board_phy.o" "./board_am335x/iceAM335x/board_platform.o" "./board_am335x/iceAM335x/board_spi.o" "./board_common/board_misc.o" "./board_common/board_tlkphy.o" "./board_common/delay_us.o" "./board_common/icss_emac_osal.o" "./board_common/mdio_drv.o" "./board_common/osdrv_ndkdeviceconfig.o" "./osal/ClockP_tirtos.o" "./osal/EventP_tirtos.o" "./osal/MailboxP_tirtos.o" "./osal/SwiP_tirtos.o" "./osal/TaskP_tirtos.o" "./soc_am335x/GPIO_soc.o" "./soc_am335x/I2C_soc.o" "./soc_am335x/SPI_soc.o" "./soc_am335x/UART_soc.o" "./soc_am335x/icss_emacSoc.o" "./soc_am335x/pruicss_soc.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lm -lrdimon -lgcc -lethernetip_adapter_stack_AM335x_arm -ltimeSync_lib_AM335x_arm -lc -Wl,--end-group 
    makefile:191: recipe for target 'ethernetip_adapter_AM335x_arm.out' failed
    c:/ti/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:168: warning: memory region `OCMC_RAM1' not declared
    ./icss_dlr.o: In function `EIP_DLR_genNCReqFrame':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:2072: undefined reference to `addWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:2074: undefined reference to `addMACID'
    ./icss_dlr.o: In function `EIP_DLR_genNCResFrame':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:2102: undefined reference to `addWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:2105: undefined reference to `addMACID'
    ./icss_dlr.o: In function `EIP_DLR_processDLRFrame':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1455: undefined reference to `addMACID'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1458: undefined reference to `convBigEndianToLittleEndianHalfWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1469: undefined reference to `addMACID'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1470: undefined reference to `addWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1396: undefined reference to `convBigEndianToLittleEndianWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1444: undefined reference to `addMACID'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1446: undefined reference to `addMACID'
    ./icss_dlr.o: In function `EIP_DLR_genNeighborLinkStatFrame':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:2140: undefined reference to `addWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:2143: undefined reference to `addMACID'
    ./icss_dlr.o: In function `EIP_DLR_init':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:174: undefined reference to `addMACID'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:177: undefined reference to `addMACID'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:178: undefined reference to `addMACID'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:181: undefined reference to `addWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:182: undefined reference to `addWord'
    ./icss_dlr.o: In function `EIP_DLR_addModuleIPAddress':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:2438: undefined reference to `addWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:2439: undefined reference to `addWord'
    ./icss_dlr.o: In function `EIP_DLR_port0ISR':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:402: undefined reference to `getMACId'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:408: undefined reference to `convBigEndianToLittleEndianWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:529: undefined reference to `addWord'
    ./icss_dlr.o: In function `EIP_DLR_port1ISR':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:713: undefined reference to `getMACId'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:719: undefined reference to `convBigEndianToLittleEndianWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:839: undefined reference to `addWord'
    ./board_common/board_tlkphy.o: In function `Board_tlkMDIXSwap':
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/common/board_tlkphy.c:106: undefined reference to `Board_getAutoNegStat'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync.o): In function `TimeSync_getTxTS':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:232: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:234: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:186: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:190: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:195: undefined reference to `addHalfWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync.o): In function `TimeSync_processDelayResFrame':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1356: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1365: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1369: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1373: undefined reference to `convEndianess'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync.o): In function `TimeSync_processPdelayReqFrame':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1458: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1460: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1464: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1467: undefined reference to `convEndianess'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync.o): In function `TimeSync_processPdelayRespFrame':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1520: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1532: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1536: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1556: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1559: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1563: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1541: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1545: undefined reference to `convEndianess'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync.o): In function `TimeSync_processSyncFrame':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1181: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1190: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1215: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1223: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1231: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1235: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1270: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1202: undefined reference to `convEnd6to8'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync.c:1206: undefined reference to `convEndianess'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_init.o): In function `TimeSync_formatPTPFrames':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1003: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1008: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1014: undefined reference to `addHalfWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_init.o): In function `TimeSync_addIP':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1147: undefined reference to `addWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1152: undefined reference to `addWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1155: undefined reference to `calcIPChecksum'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1158: undefined reference to `addWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1160: undefined reference to `calcIPChecksum'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1163: undefined reference to `addWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1165: undefined reference to `calcIPChecksum'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1168: undefined reference to `addWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1170: undefined reference to `addWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1173: undefined reference to `calcIPChecksum'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_init.c:1174: undefined reference to `calcIPChecksum'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_osal.o): In function `TimeSync_PdelayReqSendTask':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:269: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:274: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:328: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:333: undefined reference to `addHalfWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_osal.o): In function `TimeSync_delayReqSendTask':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:404: undefined reference to `addHalfWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_osal.o):/home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:409: more undefined references to `addHalfWord' follow
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_osal.o): In function `TimeSync_AnnounceTxTask':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:820: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:823: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:827: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:833: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:872: undefined reference to `addHalfWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_osal.o): In function `TimeSync_SyncTxTask':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:685: undefined reference to `addHalfWord'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:703: undefined reference to `addHalfWord'
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_osal.o):/home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:750: more undefined references to `addHalfWord' follow
    C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/lib/am335x/a8\libtimeSync_lib_AM335x_arm.a(icss_timeSync_osal.o): In function `TimeSync_SyncTxTask':
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:677: undefined reference to `convEndianess'
    /home/gtbldadm/nightlybuilds/industrial_communications_dev/public/sdk/protocols/timeSync/drivers/icss_timeSync_osal.c:680: undefined reference to `convEndianess'
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [ethernetip_adapter_AM335x_arm.out] Error 1
    gmake: *** [all] Error 2
    makefile:187: recipe for target 'all' failed
    
    **** Build Finished ****
    

    VIpin

  • VIpin,

    >>I am using ICE V1 baord for evaluation
    I highly recommend you to evaluate the Ethernet/IP design to AM335 ICE v2 which is tested with PRU-ICSS industrial SW, instead of spending time to resolve these build issues on ICE v1.

    www.ti.com/.../TMDSICE3359

    Regards,
    Garrett
  • Hi Garrett,

    Thnaks for suggestation, i will put order for ICE V2 board.

    I am facing problem during compliation, not during debugging and during project creation there is no option for evaluation board selection.Then how it can impact compliation.

    Kindly suggest me how can i proceed regarding compliation.

    Vipin

  • Hi Vipin,

    I was out of office for Embedded World 2018 last week. Were you able to solve the compilation issue? Certainly if the problem happens during compilation, it has nothing related to board version.

    Which release of EtherNet/IP are you using? You mentioned that downloaded PRU-ICSS-HSR-PRP-DAN_01.00.03.02, but in another update:
    PRU-ICSS EtherNet/IP Adapter: 01.00.02.00

    Also, do you have correct Processor SDK aligned?

    Regards,
    Garrett
  • Hi Garrett,

    Still I am trying to solve the problem.

    Initially i was working on that PRU-ICSS-HSR-PRP-DAN_01.00.03.02, some how it was not working. So i shifted to PRU-ICSS EtherNet/IP Adapter: 01.00.02.00.

    Processor SDK is am335x_sysbios_ind_sdk_01.01.03.03 and NDK is ndk_2_25_01_11.

    Kindly let me know what is wrong in my procedure.

    Thanks

  • vipin,

    For Ethernet/IP 01.00.02.00, the Processor SDK RTOS version should be 03_03_00_04 instead of am335x_sysbios_ind_sdk_01.01.03.03, as described here: processors.wiki.ti.com/.../PRU_ICSS_EthernetIP which can be downloaded from
    software-dl.ti.com/.../index_FDS.html ,

    and the component version including NDK is listed here
    processors.wiki.ti.com/index.php

    There is patch under C:\ti\PRU-ICSS-EthernetIP_Adapter_01.00.02.00\protocols\pdk_patches\03.03.00 that need apply to PDK followed by instruction in readme.txt in the directory. Then the PDK library need to be rebuild with the instruction here processors.wiki.ti.com/.../Rebuilding_The_PDK

    =====================
    For PRU-ICSS-HSR-PRP-DAN_01.00.03.02, the Processor SDK RTOS version is: 04_02_00_09, which is available from software-dl.ti.com/.../index_FDS.html

    and the component version including NDK is listed here
    processors.wiki.ti.com/index.php

    There is patch under C:\ti\PRU-ICSS-HSR-PRP-DAN_01.00.03.02\protocols\pdk_patches\04.02.00 that need apply to PDK followed by instruction in readme.txt in the directory. Then the PDK library need to be rebuild with the instruction here processors.wiki.ti.com/.../Rebuilding_The_PDK

    ======================
    am335x_sysbios_ind_sdk_01.01.03.03 you are using is not Processor SDK, instead, it's old Industrial SDK that is no longer being supported, and can be deleted from your PC.

    Regards,
    Garrett