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.

OMAP-L138: StarterWare ethernet Issue

Part Number: OMAP-L138
Other Parts Discussed in Thread: OMAPL138,

Hi,

I try to  run  an example of enet_echo from OMAPL138_StarterWare_1_10_04_01 \ examples \ lcdkOMAPL138 on ARM core. But it doesn't work.

If I use STATIC_IP_ADDRESS, the client on the host machine can't connect to the board. If I set 0 to STATIC_IP_ADDRESS it will never get dynamic IP address.

    if(ipMode != IPADDR_USE_STATIC) 
    {
        /* wait till the dynamic IP address is properly assigned */
        state = &(sitaraNetIF[instNum].dhcp->state);
      
        while((*state != DHCP_BOUND) && (cnt--));

        if(0 == cnt)
        {
            return 0;
        }
    }

Advice me please, what I need for run this example.

Best regards,

Andrey

  • Hi,

    I've notified the RTOS team. They will post their feedback directly here.

    Note that answers may be delayed because of holidays.

    Best Regards,
    Yordan
  • Are you assigning MAC Address and STATIC IP Address as described here:
    processors.wiki.ti.com/.../StarterWare_01.10.01.01_User_Guide

    when you connect the cable do you see the link is setup ? Please try setting up static IP address before trying to assign IP address dynamically. Are none of the ethernet examples working? Are the binaries pre-built or did you rebuild the binaries in your setup ?

    Regards,
    Rahul
  • I tried to use static ip. It doesn't work.

    I have tried to send udp packets but i can't receive any message, so it only works in the broadcast mode.

    Also I have ran server on linux, it works perfect.

    But I need bare metal data transfer implementation over ethernet.

    Could you give me some valid code example please.

    Thanks,

    Andrey

  • It looks like data receiving problem on my lcdk OMAP-L138 board.
    Are you shure that RX pins are configured right in the your StarterWare example?

    I hope that you are testing the code sample before release. I hope but i'm not sure...

    Thanks.

  • Andrey,

    Starterware on this device was last released in 2012 and we are no longer supporting this standalone package. If you are looking for software that is actively being maintained then please consider using NDK from Processor SDK RTOS.

    The package is available only to be used as reference code which was tested in the past with tools available at the time of the release. We have not tested them with newer tools so can`t comment on testing with newer tools that you may be using in your build.

    Regards,
    Rahul