Hi, I do not call lwip functions from interrupts. I ise netconn API I mean 1.4.1 yes, The NO_SYS is 0 using lwip function for handling timers. So I do not use the sys_check_timeouts() function. It do send the DHCP request and the stack works great if I do not use DHCP
Thomas -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sergio R. Caprile Sent: 17. februar 2016 14:07 To: [email protected] Subject: Re: [lwip-users] CRC error when dhcp_start() used 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 ? _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
