|
From: | Patrick Klos |
Subject: | Re: [lwip-users] PPPOS udp error |
Date: | Tue, 1 Aug 2017 09:10:58 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 8/1/2017 2:06 AM,
address@hidden wrote:
Hi, I would recommend increasing the number of pbufs (PBUF_POOL_SIZE) and the size of the heap (MEM_SIZE) and see if your system runs longer? If so, that would imply you have a resource issue that you can look for? If not, then the problem is probably someplace else? I am sending data in loop here bellow i have added part of code t If this is your actual code, then you have a HUGE BUG right here! You are trying to set 'pbuffer->next' BEFORE pbuffer has a valid pointer. That can't be good! :o) (I'm surprised your compiler didn't warn you that you're using a variable before it has been initialized?!?) Patrick Klos Klos Technologies, Inc. pbuffer = pbuf_alloc(PBUF_TRANSPORT, len, PBUF_POOL); |
[Prev in Thread] | Current Thread | [Next in Thread] |