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.

Can not get Ethernet connectivity to work

Other Parts Discussed in Thread: EK-TM4C1294XL

Hello everyone,

I am currently using an ek-tm4c1294xl board and trying to assign an static IP (according to existing examples and questions here in the forum). I have made the two required modifications in the lwipopts.h file and the code compiles without any errors. 

When I try to run it however, the second led is not stabilizing but it is rather blinking. Through UART I am getting the following message:

Despite that, I can not ping the device from my computer.

This is not the first time I have used this code and it has always worked so far on other applications. This time though I can not get it to work. I would deeply appreciate any suggestions. Thank you for your time and patience.

Best regards,

Spyros

  • Hi,

    It sounds like maybe the gateway address is not correct being set STATIC. You might try to telnet UDP port 2011, if telnet immediately drops off very likely the port is closed or not listening.
  • Just to make sure, did you modify the network adapter setting on the PC (to which the board connects) to a static IP that is on the same subnet mask as the board's IP address?

    Can you also link the forum post that was used, to configure the board to use Static IP, or post the steps followed?

    Thanks,
    Sai
  • Sai,

    thanks for the reply. Subnet mask is 255.255.255.0 for both the PC and the board. But even if they were under different masks how would that influence the board? It should still stabilize, right? Or am I missing something ?

    I actually found several posts. This is the one that actually helped me
    e2e.ti.com/.../312218
    I made the two modifications mentioned in the last post.

    Thanks again so much for your time, it is greatly appreciated.

    Spyros
  • Hello Spyros,

    If they are under different masks, they cannot communicate. That's the reason I asked that question.

    When you say, "It should still stabilize", do you mean the LED? If yes, then which LED?
    On the EK-TM4C1294XL board, LED D4 indicates if a link is present and LED D3 blinks everytime data is transmitted/received. If LED D3 is blinking continuously, I would think that data is exchange over the Ethernet port.

    Thanks,
    Sai
  • Hello,

    my gateway address is 192.168.1.1. It is the one that I used in other projects and it worked. Is there something wrong with that ? Forgive me for asking those -maybe- naive questions but my knowledge on those matters is quite limited.
    Thanks for your reply.

    Spyros
  • Hi Sai,

    I have not yet checked the communication, since I can even ping or recognize the board from my PC. That is why your question seemed odd to me. I apologise for my ignorance.

    LED D4 is on as usual. LED D3 is blinking. That is what I mean by stabilize. I would not consider that an error if it was not for my previous experience, where the led was not blinking, but it was constantly lit. That, and the fact that I can not ping the board are the two error indications, at least to my perspective.

    Thanks again,
    Spyros
  • Hello,

    sorry to bother you again but I can not seem to resolve this issue. Any ideas why I can not even ping the board ?

    Spyros
  • Hello Spyros,

    I have programmed the "enet_lwip" example on a EK-TM4C1294XL board, without any modifications (that is using DHCP). LED D3 blinks continuously even after getting an IP address. And I am able access the webserver on this board. So I don't think the blinking of LED D3 indicates an error.

    Spyridon Garyfallidis said:
    I have not yet checked the communication, since I can even ping or recognize the board from my PC.

    If you can ping the board from the PC, that means you can communicate with the board. So what is the problem you are facing?

    Thanks,

    Sai

  • Hi,

    I am also facing a similar issue.

    I have programmed a serial to Ethernet converter and have tested it successfully on EK-TM4C1294XL Launchpad. Now I have shifted to a custom board designed fir this facility. When I run the code, Ethernet is detected on my PC and the LED on custom board also glows. I am also able to acquire the static IP for the board, But I am not able to open the configuration webpage from the acquired IP. Also I am not able to get any ping of PC with the device.(I checked using MS-DOS)

    But, when I connect it to the Launchpad, everything works fine with the same code.

    What can be the error?

    Regards,

    Apoorv