lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] CRC error when dhcp_start() used


From: Sergio R. Caprile
Subject: Re: [lwip-users] CRC error when dhcp_start() used
Date: Wed, 17 Feb 2016 10:07:27 -0300
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

lpc_ functions are not part of lwIP. You should go to LPC forums to see
what they do and why they report Ethernet frame CRC errors, thing lwIP
does not know and so does not care about.

You seem to be having a memory trashing scenario.
Make sure interrupts do not call lwIP functions, lwIP is
single-threaded, you can basically use it from multiple threads only by
using the netconn and socket API (do you?), but even so, the main lwIP
code is mostly non-reentrant.

By 1.4.x you mean x=?
In 1.4.1, I'm not sure because I've never used NO_SYS=0, you should be
calling  sys_check_timeouts() while you wait. There are timers for DHCP.
(You must for NO_SYS=1). Are you ?



reply via email to

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