cancel
Showing results for 
Search instead for 
Did you mean: 

Fail to create memory block using Malloc function

yak8027au
Associate II
Posted on February 28, 2007 at 06:27

Fail to create memory block using Malloc function

4 REPLIES 4
yak8027au
Associate II
Posted on February 24, 2007 at 03:45

Hello,

I tried to create a dynamic array using malloc function. However, there is no memory space being allocated. I've been looking for the solutions and tried some methods like changing the scatter file, retarget.c and 71x_init.s. Yet, it didn't work. Did I miss out something else. Kindly advise.

jorge2399
Associate II
Posted on February 26, 2007 at 04:46

hi yak,

did you resized your heap size memory ?

you need to fit the size of possible heap memory with your need.

yak8027au
Associate II
Posted on February 26, 2007 at 23:12

Hi Ibtissem,

I've tried alter the scatter file but it doesn't work. Can you provide me the source code for scatter file. Thanks in advanced.

yak8027au
Associate II
Posted on February 28, 2007 at 06:27

[ This message was edited by: yak on 28-02-2007 10:59 ]