This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sys_error(Out of memory.)

Hi

I am using the LPC2368 together with the Keil RTX and TCPNet(4 tasks). My application uses 3 TCP sockets and I have set the MEM_SIZE for TCPNet to 8192 bytes - this is the maximum value I can set MEM_SIZE to due to other application requirements. All TCPnet calls are from the same task.

When my application runs I consistently get sys_error - ERR_MEM_ALLOC errors.

In an attempt to isolate the problem I have altered the recieve filtering in the EMAC registers so that broadcast frames are rejected. This seemed to improve the situation i.e., the frequency the problem occurs at has decreased dramatically, but the problem is still present.

I have also built my application using the diagnostic version of the TCPNet library RTLCD.lib and whenever the problem arises I get the following error message: MEM ERR: Out of memory, used 7932 bytes in 6 blocks.

Can anyone shed any light on this issue ?

Regards

Des

0