Skip to main content
Visitor II
February 28, 2007
Question

Fail to create memory block using Malloc function

  • February 28, 2007
  • 4 replies
  • 1068 views
Posted on February 28, 2007 at 06:27

Fail to create memory block using Malloc function

    This topic has been closed for replies.

    4 replies

    yak8027auAuthor
    Visitor II
    February 24, 2007
    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.

    Visitor II
    February 26, 2007
    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.

    yak8027auAuthor
    Visitor II
    February 26, 2007
    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.

    yak8027auAuthor
    Visitor II
    February 28, 2007
    Posted on February 28, 2007 at 06:27

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