Oh forgot to add- this is happening right when i start the ppp thread. at
**********************************
static void
pppMain(void *arg)
{
int pd = (int)arg;
struct pbuf *p;
PPPControl* pc;
int c;
//OS_Suspend(&ppp);
pc = &pppControl[pd];
p = pbuf_alloc(PBUF_RAW, PPP_MRU+PPP_HDRLEN, PBUF_RAM);
if (!p) {
LWIP_ASSERT("p != NULL", p);
pc->errCode = PPPERR_ALLOC;
goto out;
}
*********************************
It enters the above IF..
Thanks
AB
On Tue, Aug 26, 2008 at 5:03 PM, Akshat Bisht <[EMAIL PROTECTED]>wrote:
> For some reason mem_malloc is returning NULL. Where do i need to look
> "under-the-hood" to check if i'm giving enough memory or where to look for
> problems? I don't have a means to debug, i'm just glowing LED's on kit to
> find where program reaches. :)
>
> Thanks and regards,
>
>
> AB
>
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users