lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip 2.0.3 "p->ref > 0" assert


From: Sergio R. Caprile
Subject: Re: [lwip-users] lwip 2.0.3 "p->ref > 0" assert
Date: Fri, 3 Nov 2017 10:09:40 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

OK,
so you don't have interrupts ? How do you get your IP datagrams off Ethernet frames ? Perhaps you set a flag on rx int and get them on the main loop or queue on int and extract on main loop... Just to make sure you are on the safe side, you need to know what happens in your system.

Well written, known to work applications, are under the app directory in the lwIP tree, and on the contrib tree. You can run an echo, or a netio (Netio is half implemented, but there are a couple patches, one of them I can be accountable for), or an http server, or... something that exercises the system with traffic.

You should (must) check those apps for examples on how to do things right. You can also post a (small) snippet of your app, with API calls, and some of us will surely help you checking out. But first, make sure your port and driver are working nicely, I've seen too many vendor "enhancements" behaving nasty.



reply via email to

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