pekez wrote:
> [..]
> However, when I set MEMP_MEM_MALLOC to 1 [..]
> it crashes when XEmacPs_IntrHandler (I am using Xilinx layer 2 drivers) tries
> to allocate memory for pbuf.
I'm afraid using MEMP_MEM_MALLOC from interrupt does currently not work: it
will allocate any memory
from the heap, w
Hi,
As a continuation to my earlier mail. I just remembered something so I added it
here.
Several years ago when I started working with LwIP I had a similar problems to
the one you raised.
System was working ok but out of the blue it crashed.
I got a project that someone else started and conti
Noam Weissman wrote:
> Several years ago when I started working with LwIP I had a similar problems
> to the one you raised.
> System was working ok but out of the blue it crashed.
> [..]
> I found the hard way that I am getting MEM_ERR because of the above. I did
> not had sufficient MEMP_NUM_TCP
Hi Simon,
Maybe I am wrong, it was 4-5 years ago :-).
As far as I remember communication stopped and maybe it crashed or not this is
not the issue.
The issue is that once I set my defines as suggested this problem was never
happened again.
>From what I understand every connection has a new PCB
Noam Weissman wrote:
> As far as I remember communication stopped and maybe it crashed or not this
> is not the issue.
> The issue is that once I set my defines as suggested this problem was never
> happened again.
This is totally off topic here. The OP has set MEMP_MEM_MALLOC to 1. In this
cas
All right people, but since my main goal is to know the exact amount of
memory the lwIP uses, could I just find that out without setting
MEMP_MEM_MALLOC to 1, since it seems that it requires some changes in
the kernel itself, as Richard and Simon explained. I am still not daring
to make such ch
Hi,
Regarding my lwipopts ... we use a telnet server and as a result send small
chunks of data.
Originally MSS was 1500 bytes and that cause the system to be very slow when
combined with HTTP etc.
The compromise that I made is to set MSS to its default 536 bytes. This slowed
down HTTP communi
Hello All,
I am using the ARM Compiler from Code Composer Studio and while updating
lwIP from 1.4.1 to 2.0.0, I ran into a compilation issue. I get an error
for size_t being undefined. Tracing the issue I was able to go past the
issue by adding stdlib to arch.h
#if !LWIP_NO_STDINT_H
#include
#in
I added it, thanks for reporting!
http://git.savannah.gnu.org/cgit/lwip.git/commit/?id=182d7c138a5b845c74b7d364ee07af6105d8e786
Dirk
On Tue, Nov 29, 2016 at 10:19 PM, Amit Ashara wrote:
> Hello All,
>
> I am using the ARM Compiler from Code Composer Studio and while updating
> lwIP from 1.4.