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.

lwIP example and ICE demoboard

Other Parts Discussed in Thread: SYSBIOS, AM3359, TLK110

Is it possibile to run enetLwip_sysbios example provided with am3359 sdk rev 1.0.0.5?

I've compiled it as is but lwIPInit() function fails asserting "LWIP_PRINTF("\n\rUnable to add interface for interface %d", ifNum);"

I've tried to undefine symbol "ind_sdk", because actually demo will run on ICE board, but I got this compilation error:

"C:/ti/am335x_sysbios_ind_sdk_1.0.0.5/sdk/starterware/third_party/lwip-1.4.0/ports/cpsw/include/arch/sys_arch.h", line 35: fatal error #5: could not open source file "SafeRTOS/SafeRTOS_API.h"
1 fatal error detected in the compilation of "../sys_arch.c".

So: is it possibile to get any kind of ethernet connection through ICE demoboard? I don't mean ethernet AND ethercat on the same time in the same board. Just plain ethernet port instead of ethercat when ethercat fieldbus is not needed.

NOTE: in AM335x SYSBIOS Industrial SDK Getting Started Guide.pdf at page 6 is stated  that Lwip Sample application for MicroSD card/SPI Flash can loaded and run onto ICE board, with no further details...

Thank you all!

  • I'm guessing the lwip demo is not applicable for the ICE board, which only exposes the PRUs to the Ethernet network.  It might be for the not-yet-released ICE2 board (?)

    Darrin

  • I was wondering about the possibility to connect the internal ethernet controller to the (ethercat) phy chip, bypassing PRUSS via pinmux utility...

    I'd like to have the possibility to choose between ethercat or ethernet without changing my board or adding a third TLK110 and RJ45 connector, simply loading another application into the board.

  • Ok, the answer was in ICE demoboard pin assignments. Both TLK110 are connected to PRUSS via I/O pins that do not share any connection to integrated ethernet switch. 

    So to get ethernet connectivity in an ethercat board you have to:

    1) build your own PRUSS firmware to emulate a media access controller, interfaced to the same TLK110 otherwise used for ethercat.

    2) connect another ethernet phy chip to GMII1 port.

    Last questions about these points:

    1) is some PRUSS guru at Texas working on this?

    2) does TLK110 fit as a standard ethernet phy controller? You used AR8031_AL1A in AM335X EVM 15x15 Baseboard, but this device is almost unknown to all my standard distributors. TLK110 would simplify BOM and purchase effort.