Hello Charles, On Thu, Apr 10, 2014 at 06:37:02PM +0000, l...@moog.com wrote: > Below is more debug information and hope it's helpful for fixing the problem. > > Regarding the code stalled at early stage, that's hardware related. I > am using ARM7 (AT91SAM7 to be specific), so the data alignment is 4 > and PBUF_LINK_HLEN is 14 by default, so I replaced all PBUF_LINK_HLEN > in the patch with (PBUF_LINK_HLEN + 2). It fixed the run-time problem > which keep the code running fine. Now I can build-up the PPP > connection. However, the patch seems fix the pbuf issue but it > actually breaks the traffic from Ethernet to PPP side which was fine > before the patch. If you need me do any test, please let me know.
Humm, you should set ETH_PAD_SIZE to 2 in your lwipopts.h instead of doing that. Sylvain
signature.asc
Description: Digital signature
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users