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.

Ping from windows PC to Launchpad timed out

Hi,

I have modified the Ethernet example included in the Tivaware package to assign the board a static IP address.

I am able to connect to the board from a browser by entering the IP address that I have assigned to it. The LED on/off and data transmit over uart are working fine.

However, when I try to ping the board from command prompt, there is no reply detected and hence the request is timed out.

Why is this happening?

Other Details:

1. I have modified the lwipopts.h file to use static IP (I have disabled DHCP and AutoIP)

2. When I run arp -a from command prompt, I can see the assigned IP addr to the board along with the correct MAC address. However the "type" is listed as dynamic.

Any ideas as to why this is the case?

EDIT: Struck out point 2 above as I had misunderstood the "type" that is displayed along with the ARP cache entries.

  • Hi,

        See, if any details in this post below, might help solve your problem

       

    - kel

  • Hi Kel,
    Thanks for your response.
    I'm not having a problem with static IP per se.
    I have already made all the changes mentioned in the link above and I get the example to work. (I can communicate with the board from ta browser) mean

    By all changes, I mean the ones required to get the example working with static IP only (not the ones which have been suggested to make it work for both dhcp and static)
    The problems I'm facing are:
    1. I cannot ping to this static IP address.
    2. When I use arp -a in cmd, it shows the correct ip addr and the correct mac addr, but the type is listed as dynamic.

    I have also tried modifying lwipopts.h to assign LWIP_ICMP to 1. That did not help either.

    -Saurav


    EDIT: I removed the 2nd point above, as I had misunderstood the "type" listed when using arp -a. I had not realised it only describes the type of ARP cache entry and has nothing to do with the IP assignment.

  • Hi Saurav,

    I think that your problem is because of CHECKSUM of ICMP packet.
    Try to append or modify as following.

    In the lwipopts.h
    #define CHECKSUM_GEN_ICMP 0

    Best regards
    KMSHIM.