cancel
Showing results for 
Search instead for 
Did you mean: 

Scatter file, heap and stack

sylvain239955
Associate
Posted on July 19, 2007 at 08:01

Scatter file, heap and stack

1 REPLY 1
sylvain239955
Associate
Posted on July 19, 2007 at 08:01

Hello,

I have a big problem with my scatter file. I'm working on a MB393B with a STR7.

I want to run my code from flash (i have a lot of code line so it doesn't take place just in RAM).

When i want to run my code, it displays : ''OUT OF HEAP MEMORY'' on my stdio console...

Here is my ****.scf :

FLASH 0x40000000 0x40000

{

FLASH 0x40000000

{

71x_vect.o (Vect, +First)

71x_init.o(Init)

* (+RO)

}

RAM 0x20000000

{

* (+RW)

* (+ZI)

}

HEAP +0 EMPTY 0x1000

{

}

STACK 0x200F0000 EMPTY -0x0

{

}

}

I have nothing special concerning memory in my retarget.c....

Thanks for your answers.

PS: i have attached my 71x_init.s

________________

Attachments :

71x_init.s : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtPW&d=%2Fa%2F0X0000000aPc%2FqgHOtPDFj1K8vEIq2HpjGlTQcNTWrLaDSwuNZLX9IKA&asPdf=false