lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Debugging doesn´t work with HTTP example


From: Sergio R. Caprile
Subject: Re: [lwip-users] Debugging doesn´t work with HTTP example
Date: Fri, 28 Oct 2016 10:26:34 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Your "HTTP example for the SAM4E xplained pro board" has a layer-2 driver for the Ethernet controller, a port for the environment (be it bare metal or OS: NO_SYS=?), the lwIP stack (version ?), the httpd server (RAW API or netconn, is it lwIP's ?), the example itself (which should be a safe bunch of html files but might have CGIs...), plus, your debugging output is using some form of printf(), which is provided by your environment.

I suggest you check with the ones who put that thing together, the ones here who do things as recommended enjoy the good work of the lwIP developers and debug on many platforms; check if that people payed attention to the rules of single threading for low-level functions, it is one of the most common mistakes. Check how your port tries to output debugging info also, that might cause lots of bottlenecks leading to who knows what if they didn't foresee that when they built the port.



reply via email to

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