lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] mem_malloc return NULL


From: Jonathan Larmour
Subject: Re: [lwip-users] mem_malloc return NULL
Date: Wed, 27 Aug 2008 13:22:07 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

Akshat Bisht wrote:
> I don't have any means to read the debug values. When if i enable 
> display functions, i won't have any means to "read" it. Am i sounding
> confused? All i wish to say is that i don't have means like JTAG, etc.
> to read back any thing from my kit.

How were you able to tell mem_malloc was returning NULL?

> Ok here is my problem: i increased MEM_SIZE to 2000 (if i put anything
> more the code is no longer executed. Even with the increased size,
> mem_malloc returns NULL..

Are you short of memory on this target? Do you know how much you should
have free? In other words, has the program become too big for available
RAM? You should check how much RAM it uses against how much your target has
got. How to do that will depend on your development environment, tools, etc.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine




reply via email to

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