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.

RM48L952: lwIP does not respond to ping

Part Number: RM48L952

Hello,

I integrated the lwIP stack 1.4.1 with RM48L952 device and although the hdk is initialized with a static IP it does not respond to ping from another machine (it is connected to a router but it does not show up in router clients list).

Thank you,

Best Regards,

Cosmin Briceag

  • Hi Cosmin,

    Is below things gets successful in your application?

    PHY ID, PHY Alive Status and PHY Link Status?

    And i would also like to know the below things

    Which board you are using, is it a TI specific one or custom one?

    Which application you are testing (can i get your code)?

    --

    Thanks & Regards,
    Jagadish.

  • Hello,

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    void EMAC_LwIP_Main (uint8_t * macAddress)
    {
    unsigned int ipAddr;
    struct in_addr devIPAddress;
    uint32_t ip_address, ip_gateway, ip_mask;
    sciInit();
    sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
    sciDisplayText(sciREGx, txtTitle, sizeof(txtTitle));
    sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
    sciDisplayText(sciREGx, txtTI, sizeof(txtTI));
    sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
    #ifdef __little_endian__
    sciDisplayText(sciREGx, txtLittleEndian, sizeof(txtLittleEndian));
    sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
    #else
    sciDisplayText(sciREGx, txtBigEndian, sizeof(txtBigEndian));
    sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
    #endif
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    I do not have an FTDI converter to log messages on my PC but please find below  answers to your questions. 

    [J] PHY ID, PHY Alive Status and PHY Link Status?

    [J] Which board you are using, is it a TI specific one or custom one?

    I use a custom board with PHY device DP83848MPHPEP

    [J] Which application you are testing (can i get your code)?

    Although I can send to you  my code, the lwIP stack is 1.4.1 from one of TI's links.

    Best Regards,

    Cosmin

  • Hi Cosmin,

    So looks line PHY is working fine on your end as well.

    Can you check if it is going through the case "IP_PROTO_ICMP"(which will be in ip.c file) while sending ping command or not? like the below

    --

    Thanks & Regards,
    Jagadish.

  • Hi,

    Closing the thread because of not hearing back from so long.

    --

    Thanks & regards,
    Jagadish.