lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LWIP Porting: Issue


From: Ajay Bhargav (SiWi)
Subject: Re: [lwip-users] LWIP Porting: Issue
Date: Tue, 1 May 2018 12:50:20 +0530

In that case you need to check if porting is done correctly and timers are firing properly. You can enable LWIP_DEBUG to see if TCP timers are working properly. Most of the time it’s the wrong implementation that causes failure not LwIP itself. Moreover have you tested your Ethernet driver properly? If not then try sending raw frames on wire.

 

  • Ajay

 

From: M S ARUL
Sent: Tuesday, May 1, 2018 12:46 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] LWIP Porting: Issue

 

Hello Ajay,

    Thanks for the response. In my application I`m not trying to do complex thing. I have just created the simple tcp server in my board. I`m trying to connect to it from tcp client (PC Browser), but the board is not accepting the connection. I tried to debug step by step, the function calls like socket creation/ binding and listening are returning okay, board is just not accepting the connection.

 

Best Regards,

ARUL PRAKASH M

 

On Tue, May 1, 2018 at 12:32 PM, Ajay Bhargav (SiWi) <address@hidden> wrote:

First test with basic TCP or UDP socket then move to more complex application protocol.

 

Regards,

Ajay B.

 

From: M S ARUL
Sent: Tuesday, May 1, 2018 10:02 AM
To: Mailing list for lwIP users
Subject: [lwip-users] LWIP Porting: Issue

 

Hello All,

              I`m trying to port the LWIP into embOS. I have implemented all the required functiones in sys_arch.c. I have implemented simple http server program.

 

              When I execute the code, it is able to initialize tcpip task, and the http task which was created by me. Low level ethernet initialization is also happening properly. 

             

              But when I try to invoke request to this http server from PC browser, it is not replying. I tried to analyze using wireshark. My PC asks who holds the mentioned IP address (for example 192.168.1.3), but my board is not replying to that.

             

              I have no idea how to debug this. Can anyone help me on this? Thanks in advance.

             

              P.S: This http implementation is working fine on baremetal software without any OS.

 

Best Regards,

ARUL PRAKASH M

 


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]