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.

AMIC110: TCP echo example

Part Number: AMIC110
Other Parts Discussed in Thread: AM3359, SYSBIOS

HI,

I want to develope modbus application.

Is there any tcp echo example code available for amic110?

Regards,

Vrund

  • Hi,

    Please download the latest Processor SDK RTOS for AM335x from http://software-dl.ti.com/processor-sdk-rtos/esd/AM335X/latest/index_FDS.html. The look at the document:

    AM335x RTOS SDK Documentation
    Processor SDK RTOS Release Notes Link to Release Notes for Processor SDK RTOS
    Processor SDK RTOS Getting Started Guide Link to Getting Started Guide for Processor SDK RTOS
    Processor SDK RTOS Developer Guide Link to Developer Guide for Processor SDK RTOS

    The NDK/NIMU examples user guide are here: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_Foundational_Components.html#ndk

    There are several Ethernet test examples on AM335x and other devices, including TCP echo. E.g, some test application has:

    static void NIMU_testNetworkOpen()
    {
    // Create our local servers
    hEcho = DaemonNew( SOCK_STREAMNC, 0, 7, dtask_tcp_echo,
    OS_TASKPRINORM, OS_TASKSTKNORM, 0, 3 );
    hEchoUdp = DaemonNew( SOCK_DGRAM, 0, 7, dtask_udp_echo,
    OS_TASKPRINORM, OS_TASKSTKNORM, 0, 1 );
    hData = DaemonNew( SOCK_STREAM, 0, 1000, dtask_tcp_datasrv,
    OS_TASKPRINORM, OS_TASKSTKNORM, 0, 3 );
    hNull = DaemonNew( SOCK_STREAMNC, 0, 1001, dtask_tcp_nullsrv,
    OS_TASKPRINORM, OS_TASKSTKNORM, 0, 3 );
    hOob = DaemonNew( SOCK_STREAMNC, 0, 999, dtask_tcp_oobsrv,
    OS_TASKPRINORM, OS_TASKSTKNORM, 0, 3 );

    // Create the IPv6 Local Servers.

    For AMIC110, the AMIC110 Industrial Communications Engine (ICE) board doesn't have any Ethernet port, so we don't have NDK test application to run here. But you can port those existing application to AMIC110 if your own board has Ethernet port.

    Regards, Eric

  • Also, if you want to use the PRU-ICSS for Ethernet, you can refer to 4.10.2.4. NIMU for ICSS and port the tcp_echo.

    Regards, Eric

  • HI,

    I have created ping example for HSR demo application and it is working fine.

    Now i want to port tcp_echo over same application.(HSR)

    where can i find that?

    Regards,

    Vrund

  • HI,

    Sorry, I am not sure about what HSR demo application is. Please open a new thread indicating what help you need (also including what TI RTOS package used, the HSR demo link, etc), so it will be handled by the right expert.

    Regards, Eric

  • HI,

    This is regarding tcp echo example and not HSR.

    Currently i have below package.

    C:\ti\pdk_am335x_1_0_10\packages\ti\transport\ndk\nimu_icss\example\am335x\armv7\bios

    Under the folder i am not able to locate tcp_echo example.

    Do i need to generate the project for it? If yes, how?

    I have rtos package mentioned below

    processor_sdk_rtos_am335x_4_03_00_05

    processor_sdk_rtos_am335x_5_01_00_11

    processor_sdk_rtos_am335x_5_03_00_07

    bios_6_52_00_12

    bios_6_73_00_12

    ndk_2_26_00_08

    ndk_3_40_01_01

    ns_2_40_01_02

    Regards,

  • Hi,

    Sorry for the late response! I was travelling last week. You are referring the ICSS NIMU example, not the NIMU example, but they are essentially the same. You need some TCP echo testing, this can be done by creating a TCP echo server like the code I mentioned:

    hEcho = DaemonNew( SOCK_STREAMNC, 0, 7, dtask_tcp_echo,
    OS_TASKPRINORM, OS_TASKSTKNORM, 0, 3 );

    Under pdk_am335x_1_0_14\packages\ti\transport\ndk\nimu_icss\example\am335x\armv7\bios, there are several CCS projects like:

    • NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject
    • NIMU_ICSS_BasicExample_icev2AM335x_wSoCLib_armExampleproject

    They all used a source code file PDK_INSTALL_PATH/ti/transport/ndk/nimu_icss/example/src/netHooks.c. Inside this file, you can see

    void netOpenHook()
    {
    // Create our local servers
    hEcho = DaemonNew( SOCK_STREAMNC, 0, 7, dtask_tcp_echo,
    OS_TASKPRINORM, OS_TASKSTKNORM, 0, 3 );

    ,....

    }

    So the TCP echo should work.

    Regards, Eric

  • Hello,

    so i have to include the file

    PDK_INSTALL_PATH/ti/transport/ndk/nimu_icss/example/src/netHooks.c. 

    in my project and then use 

    hEcho = DaemonNew( SOCK_STREAMNC, 0, 7, dtask_tcp_echo,
    OS_TASKPRINORM, OS_TASKSTKNORM, 0, 3 );

    for tcp echo to work.

    is it right?

    or do i have to create other project for the same?

    Regards

  • Hi,

    Please read through the document: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_overview.html#rebuild-pdk

    1.4.5.1.4. PDK Example and Test Project Creation

    Please use batch script to create the CCS project.

    Regards, Eric

  • HI,

    thank you.

    i have executed the below command.

    " pdkProjectCreate.bat AM335x iceAMIC110 little nimu_icss all arm C:\ti\pdk_am335x_1_0_10\packages "

    I am able to create project for amic110 nimu_icss.

    i have imported the project 

    "C:\ti\pdk_am335x_1_0_10\packages\MyExampleProjects\NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject"

    in to workspace.

    But created project is not getting build.

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

    Regards,

    Vrund

  • Hi,

    I don't have pdk 1.0.10 installed, I just tried the latest 1.0.15. It should work as it is.

    Regards, Eric

    =========


    c:\ti\pdk_am335x_1_0_15\packages>pdkProjectCreate.bat AM335x iceAMIC110 little nimu_icss all arm
    =========================================================================
    Configuration:
    SOC : AM335x
    BOARD : iceAMIC110
    ENDIAN : little
    MODULE : nimu_icss
    PROJECT_TYPE : all
    PROCESSOR : arm
    PDK_SHORT_NAME : c:\ti\PD422E~1\packages\
    =========================================================================
    Checking Configuration...
    Complete
    =========================================================================
    PDK_PARTNO : AM335
    PDK_ECLIPSE_ID : com.ti.pdk.am335x
    RTSC_PLATFORM_NAME : ti.platforms.evmAM3359
    RTSC_TARGET : gnu.targets.arm.A8F
    CCS_DEVICE : "Cortex A.AM3359.ICE_AM3359"
    *****************************************************************************
    Detecting all projects in PDK and importing them in the workspace c:\ti\PD422E~1\packages\\MyExampleProjects
    Detected Test Project: NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject

    --------------------------------------------------------------------------------
    Creating project 'NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject'...


    Done!
    Copying macro.ini
    1 file(s) copied.
    Detected Test Project: NIMU_ICSS_CCLinkMaster_iceAMIC110_wSoCLib_armExampleproject

    --------------------------------------------------------------------------------
    Creating project 'NIMU_ICSS_CCLinkMaster_iceAMIC110_wSoCLib_armExampleproject'...


    Done!
    Copying macro.ini
    1 file(s) copied.
    Detected Test Project: NIMU_ICSS_CCLinkSlave_iceAMIC110_wSoCLib_armExampleproject

    --------------------------------------------------------------------------------
    Creating project 'NIMU_ICSS_CCLinkSlave_iceAMIC110_wSoCLib_armExampleproject'...


    Done!
    Copying macro.ini
    1 file(s) copied.
    No projects detected
    Project generation complete
    *****************************************************************************

    c:\ti\pdk_am335x_1_0_15\packages>

    Then, build log:


    **** Build of configuration Debug for project NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject ****

    "C:\\ti\\ccs_9_0_1\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"
    Invoking: XDCtools
    "C:/ti/ccs_8_3_0/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/bios_6_75_02_00/packages;C:/ti/pdk_am335x_1_0_15/packages;C:/ti/edma3_lld_2_12_05_30D/packages;C:/ti/ndk_3_60_00_13/packages;C:/ti/uia_2_30_01_02/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r debug -b "C:/ti/pdk_am335x_1_0_15/packages/ti/build/am335x/config_am335x_a8.bld" -c "C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32" -DBOARD=iceAMIC110 "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring am335x_app_iceamic110_wSoCLib.xa8fg from package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.cfg ...
    SoC Type is
    SoC Type is
    generating custom ti.sysbios library makefile ...
    Linking with library ti.board:./lib/iceAMIC110/a8/release/ti.board.aa8fg
    Linking with library ti.drv.uart:./lib/a8/release/ti.drv.uart.aa8fg
    Linking with library ti.drv.icss_emac:./lib/am335x/a8/release/ti.drv.icss_emac.aa8fg
    Linking with library ti.drv.gpio:./lib/a8/release/ti.drv.gpio.aa8fg
    Linking with library ti.drv.pruss:./lib/am335x/a8/release/ti.drv.pruss.aa8fg
    Linking with library ti.drv.i2c:./lib/a8/release/ti.drv.i2c.aa8fg
    Linking with library ti.osal:./lib/tirtos/a8/release/ti.osal.aa8fg
    Linking with library ti.csl:./lib/am335x/a8/release/ti.csl.aa8fg
    Starting build of library sources ...
    making C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios/sysbios.aa8fg ...
    asma8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.asm ...
    asma8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/TaskSupport_asm_gnu.asm ...
    asma8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm_gnu.sv7A ...
    asma8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/exc/Exception_asm_gnu.asm ...
    asma8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/Cache_asm_gnu.sv7A ...
    asma8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/Mmu_asm_gnu.sv7A ...
    asma8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/TimestampProvider_asm_gnu.sv7A ...
    asma8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/timers/dmtimer/Timer_asm_gnu.sv7A ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/BIOS.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/IntrinsicsSupport.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/TaskSupport.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Clock.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Idle.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Intrinsics.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Event.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Mailbox.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Queue.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Semaphore.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Swi.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Task.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/intcps/Hwi.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/exc/Exception.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Cache.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Core.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/CoreNull.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Hwi.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Hwi_stack.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Hwi_startup.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Seconds.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/SecondsClock.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/hal/Timer.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/heaps/HeapMem.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/rts/gnu/ReentSupport.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/rts/gnu/SemiHostSupport.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/Cache.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/Mmu.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/TimestampProvider.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/gates/GateHwi.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/gates/GateMutex.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/timers/dmtimer/Timer.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/sysbios/family/arm/a8/ti81xx/TimerSupport.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/clock.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/mqueue.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/pthread.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/pthread_barrier.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/pthread_cond.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/pthread_key.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/pthread_mutex.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/pthread_rwlock.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/pthread_util.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/sched.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/semaphore.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/sleep.c ...
    cla8fg C:/ti/bios_6_75_02_00/packages/ti/posix/tirtos/timer.c ...
    ara8fg arm_IntrinsicsSupport_asm_gnu.o arm_TaskSupport_asm_gnu.o intcps_Hwi_asm_gnu.o exc_Exception_asm_gnu.o a8_Cache_asm_gnu.o a8_Mmu_asm_gnu.o a8_TimestampProvider_asm_gnu.o dmtimer_Timer_asm_gnu.o _BIOS.o arm_IntrinsicsSupport.o arm_TaskSupport.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Event.o knl_Mailbox.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Task.o intcps_Hwi.o exc_Exception.o hal_Cache.o hal_Core.o hal_CoreNull.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o hal_Seconds.o hal_SecondsClock.o hal_Timer.o heaps_HeapMem.o gnu_ReentSupport.o gnu_SemiHostSupport.o a8_Cache.o a8_Mmu.o a8_TimestampProvider.o gates_GateHwi.o gates_GateMutex.o dmtimer_Timer.o ti81xx_TimerSupport.o tirtos_clock.o tirtos_mqueue.o tirtos_pthread.o tirtos_pthread_barrier.o tirtos_pthread_cond.o tirtos_pthread_key.o tirtos_pthread_mutex.o tirtos_pthread_rwlock.o tirtos_pthread_util.o tirtos_sched.o tirtos_semaphore.o tirtos_sleep.o tirtos_timer.o ...
    Build of libraries done.
    cla8fg package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.c ...
    In file included from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/netmain.h:39,
    from package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.c:2660:
    C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\stdio.h:61,
    from package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.c:2658:
    c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    Finished building: "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"

    Building file: "C:/ti/pdk_am335x_1_0_15/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"
    Invoking: GNU Compiler
    "C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -march=armv7-a -mtune=cortex-a8 -marm -mfloat-abi=hard -Dam3359 -DUSE_BIOS -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_15/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_15/packages" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"I2C_soc.d" -MT"I2C_soc.o" @"configPkg/compiler.opt" -o"I2C_soc.o" "C:/ti/pdk_am335x_1_0_15/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"
    Finished building: "C:/ti/pdk_am335x_1_0_15/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"

    Building file: "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"
    Invoking: GNU Compiler
    "C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -march=armv7-a -mtune=cortex-a8 -marm -mfloat-abi=hard -Dam3359 -DUSE_BIOS -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_15/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_15/packages" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"osdrv_ndkdeviceconfig.d" -MT"osdrv_ndkdeviceconfig.o" @"configPkg/compiler.opt" -o"osdrv_ndkdeviceconfig.o" "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"
    In file included from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/stkmain.h:39,
    from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.h:46,
    from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c:16:
    C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\time.h:43,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socketndk.h:48,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socket.h:43,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/stkmain.h:39,
    from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.h:46,
    from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c:16:
    c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c: In function 'OSDRV_addNetifEntry':
    C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c:56:42: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
    NIMUDeviceTable[nimuDeviceIndex].init = initFct ;
    ^
    Finished building: "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"

    Building file: "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"
    Invoking: GNU Compiler
    "C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -march=armv7-a -mtune=cortex-a8 -marm -mfloat-abi=hard -Dam3359 -DUSE_BIOS -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_15/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_15/packages" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"netHooks.d" -MT"netHooks.o" @"configPkg/compiler.opt" -o"netHooks.o" "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"
    In file included from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/netmain.h:39,
    from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c:7:
    C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\time.h:43,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socketndk.h:48,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socket.h:43,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/netmain.h:39,
    from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c:7:
    c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    Finished building: "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"

    Building file: "C:/ti/pdk_am335x_1_0_15/packages/ti/drv/uart/soc/am335x/UART_soc.c"
    Invoking: GNU Compiler
    "C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -march=armv7-a -mtune=cortex-a8 -marm -mfloat-abi=hard -Dam3359 -DUSE_BIOS -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_15/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_15/packages" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"UART_soc.d" -MT"UART_soc.o" @"configPkg/compiler.opt" -o"UART_soc.o" "C:/ti/pdk_am335x_1_0_15/packages/ti/drv/uart/soc/am335x/UART_soc.c"
    Finished building: "C:/ti/pdk_am335x_1_0_15/packages/ti/drv/uart/soc/am335x/UART_soc.c"

    Building file: "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"
    Invoking: GNU Compiler
    "C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -march=armv7-a -mtune=cortex-a8 -marm -mfloat-abi=hard -Dam3359 -DUSE_BIOS -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_15/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_15/packages" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_15/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"main_a8.d" -MT"main_a8.o" @"configPkg/compiler.opt" -o"main_a8.o" "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"
    In file included from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/netmain.h:39,
    from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:52:
    C:/ti/ndk_3_60_00_13/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\stdio.h:61,
    from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:35:
    c:\ti\bios_6_75_02_00\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c: In function 'main':
    C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:279:73: warning: passing argument 1 of 'ti_sysbios_knl_Task_create' from incompatible pointer type [-Wincompatible-pointer-types]
    ((ICSS_EmacObject*)emachandle->object)->rxTaskHandle = Task_create(ICSS_EMacOsRxTaskFnc, &taskParams, NULL);
    ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:48:0:
    C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Task.h:845:37: note: expected 'ti_sysbios_knl_Task_FuncPtr {aka void (*)(unsigned int, unsigned int)}' but argument is of type 'void (*)(uint32_t, uint32_t) {aka void (*)(long unsigned int, long unsigned int)}'
    __extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *prms, xdc_runtime_Error_Block *eb);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:305:73: warning: passing argument 1 of 'ti_sysbios_knl_Task_create' from incompatible pointer type [-Wincompatible-pointer-types]
    ((ICSS_EmacObject*)emachandle1->object)->rxTaskHandle = Task_create(ICSS_EMacOsRxTaskFnc, &taskParams, NULL);
    ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:48:0:
    C:/ti/bios_6_75_02_00/packages/ti/sysbios/knl/Task.h:845:37: note: expected 'ti_sysbios_knl_Task_FuncPtr {aka void (*)(unsigned int, unsigned int)}' but argument is of type 'void (*)(uint32_t, uint32_t) {aka void (*)(long unsigned int, long unsigned int)}'
    __extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *prms, xdc_runtime_Error_Block *eb);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    Finished building: "C:/ti/pdk_am335x_1_0_15/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"

    Building target: "NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out"
    Invoking: GNU Linker
    "C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a8 -marm -Dam3359 -DUSE_BIOS -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -mfloat-abi=hard -Wl,-Map,"NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.map" -nostartfiles -Wl,--gc-sections -L"C:/ti/bios_6_75_02_00/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -Wl,--defsym,STACKSIZE=0x1C000 -Wl,--defsym,HEAPSIZE=0x400 --specs=nano.specs -static C:/ti/pdk_am335x_1_0_15/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/../../ti/drv/icss_emac/firmware/icss_dualemac/bin/am335x/a8host/REV1/icss_dualemac_PRU0.bin C:/ti/pdk_am335x_1_0_15/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/../../ti/drv/icss_emac/firmware/icss_dualemac/bin/am335x/a8host/REV1/icss_dualemac_PRU1.bin -o"NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out" "./I2C_soc.o" "./UART_soc.o" "./main_a8.o" "./netHooks.o" "./osdrv_ndkdeviceconfig.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -Wl,-T",C:/ti/pdk_am335x_1_0_15/packages/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" -lgcc -lrdimon -lm -lnosys -lc -Wl,--end-group
    Finished building target: "NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject.out"

    C:/ti/pdk_am335x_1_0_15/packages/pdkAppImageCreate.bat C:/ti/pdk_am335x_1_0_15/packages C:/ti/ccs_9_0_1/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32 C:/ti/pdk_am335x_1_0_15/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/Debug NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject AM335x arm

    **** Build Finished ****

  • HI,

    my bulid starts failing at below point.

    subdir_rules.mk:38: recipe for target 'main_a8.o' failed

     i want to use "pdk_am335x_1_0_10" only.

    it comes with "PRU-ICSS-HSR-PRP-DAN_01.00.04.02"

    and it has patch available at below path

    C:\ti\PRU-ICSS-HSR-PRP-DAN_01.00.04.02\protocols\pdk_patches\04.03.00\nimu_icss.zip

    how should i apply this patch? 

    does applying patch will solve the problem?


    Regards,

    Vrund

  • Hi,

    I asked my colleague familiar with PRU-ICSS and HSR to follow.

    Regards, Eric

  • Vrund,

    You can either apply the PRSDK-3086-HSRPRP_2_interrupts_PDK.patch to PRSDK and then rebuild the icss_emac and nimu_icss drivers, or directly replace them (packages\ti\drv\icss_emac, packages\ti\transport\ndk\nimu_icss) using the icss_emac.zip and nimu_icss.zip files in the patch folder.

    Regards,
    Garrett

  • Hi,

    I have tried replaing  folder under the below path

    C:\ti\pdk_am335x_1_0_10\packages\ti\transport\ndk\nimu_icss

    with given patch provided at path

    C:\ti\PRU-ICSS-HSR-PRP-DAN_01.00.04.02\protocols\pdk_patches\04.03.00\nimu_icss.zip

    but it wont work.

    Build is not successful.

    Regards,

    Vrund

  • Vrund,

    Can you please attach your full build log? Also make sure you have icss_emac driver updated as well.

    Regards,

    Garrett

  • HI,

    I have copied nimu_icss from "C:\ti\PRU-ICSS-HSR-PRP-DAN_01.00.04.02\protocols\pdk_patches\04.03.00"

    and pasted at "C:\ti\pdk_am335x_1_0_10\packages\ti\transport\ndk".

    i have copied icss_emac from "C:\ti\PRU-ICSS-HSR-PRP-DAN_01.00.04.02\protocols\pdk_patches\04.03.00"

    and pasted at "C:\ti\pdk_am335x_1_0_10\packages\ti\drv".

     i have created project as per the command.

    I have imported the project from "C:\ti\pdk_am335x_1_0_10\packages\MyExampleProjects\NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" 

    below is the build log.


    **** Build of configuration Debug for project NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    gmake[1]: Entering directory 'C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/Debug'
    'Building file: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/pdk_am335x_1_0_10/packages;C:/ti/edma3_lld_2_12_05_30D/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/uia_2_21_02_07/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r debug -b "C:/ti/pdk_am335x_1_0_10/packages/ti/build/am335x/config_am335x_a8.bld" -c "C:/ti/gcc-arm-none-eabi-6-2017-q1-update" -DBOARD=iceAMIC110 "C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring am335x_app_iceamic110_wSoCLib.xa8fg from package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.cfg ...
    generating custom ti.sysbios library makefile ...
    Linking with library ti.board:./lib/iceAMIC110/a8/release/ti.board.aa8fg
    subdir_rules.mk:26: recipe for target 'build-1276779153-inproc' failed
    js: "C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/package.xs", line 63: Error: Library not found: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/./lib/a8/release/ti.transport.ndk.nimu_icss.aa8fg
    gmake.exe: *** [package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.xdl'
    gmake.exe: *** [package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.xdl] Deleting file `package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.h'
    gmake.exe: *** [package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.xdl] Deleting file `package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.c'
    js: "C:/ti/xdctools_3_50_03_33_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1276779153-inproc] Error 1
    gmake: *** [build-1276779153] Error 2
    gmake[1]: Leaving directory 'C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/Debug'
    subdir_rules.mk:23: recipe for target 'build-1276779153' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Regards,

    Vrund

  • Vrund,

    Can you check if you have 'C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/./lib/a8/release/ti.transport.ndk.nimu_icss.aa8fg'?

    The patches (or updated nimu_icss and icss_emac) are for HSR/PRP project. If you just want to test the nimu_icss basic example only, you don't need to apply the patches.

    Regards,

    Garrett

  • HI,

    Kindly see the attachament of 'C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/./lib/a8/release/ti.transport.ndk.nimu_icss.aa8fg'

    i am not able to attach the file.

    what should i look up to in file.

    there are two files under folder

    "ti.transport.ndk.nimu_icss" and  "ti.transport.ndk.nimu_icss.profiling".

     I have created the project without applying the patch and below is the build log.

    Erro lines are highlighted.

    **** Build of configuration Debug for project NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    gmake[1]: Entering directory 'C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/Debug'
    'Building file: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/pdk_am335x_1_0_10/packages;C:/ti/edma3_lld_2_12_05_30D/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/uia_2_21_02_07/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r debug -b "C:/ti/pdk_am335x_1_0_10/packages/ti/build/am335x/config_am335x_a8.bld" -c "C:/ti/gcc-arm-none-eabi-6-2017-q1-update" -DBOARD=iceAMIC110 "C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring am335x_app_iceamic110_wSoCLib.xa8fg from package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.cfg ...
    generating custom ti.sysbios library makefile ...
    Linking with library ti.board:./lib/iceAMIC110/a8/release/ti.board.aa8fg
    Linking with library ti.drv.uart:./lib/a8/release/ti.drv.uart.aa8fg
    Linking with library ti.drv.icss_emac:./lib/am335x/a8/release/ti.drv.icss_emac.aa8fg
    Linking with library ti.drv.gpio:./lib/a8/release/ti.drv.gpio.aa8fg
    Linking with library ti.drv.pruss:./lib/am335x/a8/release/ti.drv.pruss.aa8fg
    Linking with library ti.drv.i2c:./lib/a8/release/ti.drv.i2c.aa8fg
    Linking with library ti.csl:./lib/am335x/a8/release/ti.csl.aa8fg
    Linking with library ti.osal:./lib/tirtos/a8/release/ti.osal.aa8fg
    Starting build of library sources ...
    making C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios/sysbios.aa8fg ...
    gmake[1]: Entering directory `C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/src/sysbios'
    Build of libraries done.
    cla8fg package/cfg/am335x_app_iceamic110_wSoCLib_pa8fg.c ...
    'Finished building: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/am335x/armv7/bios/am335x_app_iceamic110_wSoCLib.cfg'
    ' '
    gmake[1]: Leaving directory 'C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject/Debug'
    'Building file: C:/ti/pdk_am335x_1_0_10/packages/ti/drv/uart/soc/am335x/UART_soc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_10/packages" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"UART_soc.d" -MT"UART_soc.o" -o"UART_soc.o" @"configPkg/compiler.opt" "C:/ti/pdk_am335x_1_0_10/packages/ti/drv/uart/soc/am335x/UART_soc.c"
    'Finished building: C:/ti/pdk_am335x_1_0_10/packages/ti/drv/uart/soc/am335x/UART_soc.c'
    ' '
    'Building file: C:/ti/pdk_am335x_1_0_10/packages/ti/drv/i2c/soc/am335x/I2C_soc.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_10/packages" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"I2C_soc.d" -MT"I2C_soc.o" -o"I2C_soc.o" @"configPkg/compiler.opt" "C:/ti/pdk_am335x_1_0_10/packages/ti/drv/i2c/soc/am335x/I2C_soc.c"
    'Finished building: C:/ti/pdk_am335x_1_0_10/packages/ti/drv/i2c/soc/am335x/I2C_soc.c'
    ' '
    'Building file: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_10/packages" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"main_a8.d" -MT"main_a8.o" -o"main_a8.o" @"configPkg/compiler.opt" "C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c"


    subdir_rules.mk:38: recipe for target 'main_a8.o' failed


    C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c: In function 'main':
    C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:214:30: error: assignment to expression with array type
    switchEmacCfg->ethPrioQueue = ICSS_EMAC_QUEUE1;
    ^
    C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:249:34: error: assignment to expression with array type
    switchEmacCfg1->ethPrioQueue = ICSS_EMAC_QUEUE3;
    ^
    C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:279:73: warning: passing argument 1 of 'ti_sysbios_knl_Task_create' from incompatible pointer type [-Wincompatible-pointer-types]
    ((ICSS_EmacObject*)emachandle->object)->rxTaskHandle = Task_create(ICSS_EMacOsRxTaskFnc, &taskParams, NULL);
    ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:48:0:
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Task.h:830:37: note: expected 'ti_sysbios_knl_Task_FuncPtr {aka void (*)(unsigned int, unsigned int)}' but argument is of type 'void (*)(uint32_t, uint32_t) {aka void (*)(long unsigned int, long unsigned int)}'
    __extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *__prms, xdc_runtime_Error_Block *__eb );
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:305:73: warning: passing argument 1 of 'ti_sysbios_knl_Task_create' from incompatible pointer type [-Wincompatible-pointer-types]
    ((ICSS_EmacObject*)emachandle1->object)->rxTaskHandle = Task_create(ICSS_EMacOsRxTaskFnc, &taskParams, NULL);
    ^~~~~~~~~~~~~~~~~~~~
    In file included from C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:48:0:
    C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Task.h:830:37: note: expected 'ti_sysbios_knl_Task_FuncPtr {aka void (*)(unsigned int, unsigned int)}' but argument is of type 'void (*)(uint32_t, uint32_t) {aka void (*)(long unsigned int, long unsigned int)}'
    __extern ti_sysbios_knl_Task_Handle ti_sysbios_knl_Task_create( ti_sysbios_knl_Task_FuncPtr fxn, const ti_sysbios_knl_Task_Params *__prms, xdc_runtime_Error_Block *__eb );
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    gmake: *** [main_a8.o] Error 1
    'Building file: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_10/packages" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"netHooks.d" -MT"netHooks.o" -o"netHooks.o" @"configPkg/compiler.opt" "C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c"
    'Finished building: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/netHooks.c'
    ' '
    'Building file: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -DSOC_AM335x -DICEV2_AM335X -DiceAMIC110 -I"C:/ti/pdk_am335x_1_0_10/packages/MyExampleProjects/NIMU_ICSS_BasicExample_iceAMIC110_wSoCLib_armExampleproject" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/drv/icss_emac" -I"C:/ti/pdk_am335x_1_0_10/packages" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/board/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/am335x" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/device" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am335x_1_0_10/packages/ti/starterware/soc" -I"/packages" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"osdrv_ndkdeviceconfig.d" -MT"osdrv_ndkdeviceconfig.o" -o"osdrv_ndkdeviceconfig.o" @"configPkg/compiler.opt" "C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c"
    C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c: In function 'OSDRV_addNetifEntry':
    C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c:56:42: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
    NIMUDeviceTable[nimuDeviceIndex].init = initFct ;
    ^
    'Finished building: C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.c'
    ' '
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Regards,

    Vrund

  • Vrund,

    >>C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:214:30: error: assignment to expression with array type
    switchEmacCfg->ethPrioQueue = ICSS_EMAC_QUEUE1;

    It appears actually you have applied the PRSDK-3086-HSRPRP_2_interrupts_PDK.patch. You can open the file to see the diff:

    --- icss_emacDrv.h
    +++ icss_emacDrv.h
    @@ -244,7 +244,7 @@
    * If packets are in Queue <=ethPrioQueue, they will be forwarded to NRT callback
    * and others to RT callback
    */
    - uint8_t ethPrioQueue;
    + uint8_t ethPrioQueue[4];

    Regards,

    Garrett

  • Hi,

    I have aplied that for HSR application.

    so does that means i can not generate HSR application and Modbus application using same pdk version(without applying patch both hsr and modbus application can be build)

    "pdk_am335x_1_0_10"... right?

    Is it possible by using different pdk version?

    My planning was to generate Modbus TCP example and HSR (already generated) and after that merging of Modbus TCP over HSR.

    Is it possible way to do it or is there any other way?

    Regards,

    Vrund

  • Vrund,

    Yes, you can use the same PDK version 1.0.10 and patch file for HSR application and Modbus application.

    >>C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:214:30: error: assignment to expression with array type
    switchEmacCfg->ethPrioQueue = ICSS_EMAC_QUEUE1;
    ^
    >>C:/ti/pdk_am335x_1_0_10/packages/ti/transport/ndk/nimu_icss/example/src/main_a8.c:249:34: error: assignment to expression with array type
    switchEmacCfg1->ethPrioQueue = ICSS_EMAC_QUEUE3;

    You can update the main_a8.c as followings to resolve the ICSS_EMAC example build issue after applying the patch for HSR/PRP 

    switchEmacCfg->ethPrioQueue[1] = ICSS_EMAC_QUEUE1;

    switchEmacCfg1->ethPrioQueue[3] = ICSS_EMAC_QUEUE3;

    And ensure the packet to use the same queue number for transmit/receive.

    Regards,

    Garrett

  • hi,

    thanks.

    From where "netOpenHook" function is getting called?

    Regards

    VR