EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

can't allocate .text, size 00003b3f

Started by maki...@gmail.com February 8, 2010
Hi,

I use F2812 to build a model from Simulink then download into F2812.
During linking and downloading in CCS. I encounter these problems

> error: can't allocate .text, size 00003b3f (page 0) in RAMH0 (avail:
00001ffe)
>> error: errors in input - testfuzzy1a.out not built

Anyone having this problems before? Any recommend solutions?
Thank you.

-jenny-

_____________________________________
Hi,
 
you need to check the linker command file...The size of .text section is more than what is available in the memory, RAMH0...you might have to probably split the .text section into a number of smmaler section so that it fits inside the RAMH0 memory.
 
Thanks,
Vishal

--- On Mon, 2/8/10, m...@gmail.com wrote:
From: m...@gmail.com
Subject: [c28x] can't allocate .text, size 00003b3f
To: c...
Date: Monday, February 8, 2010, 12:49 PM
 

Hi,

I use F2812 to build a model from Simulink then download into F2812.
During linking and downloading in CCS. I encounter these problems

> error: can't allocate .text, size 00003b3f (page 0) in RAMH0 (avail:
00001ffe)
>> error: errors in input - testfuzzy1a. out not built

Anyone having this problems before? Any recommend solutions?
Thank you.

-jenny-
The .text section is the executable code section. You try to link this
section in RAMHO, which is too small (0x1FFE).
So, your program is too big. Try to use another memory area, or resize the
internal memory use (CODE vs DATA).

Hope this will help !
_____________________________________________________________________________________
Alain SALMETOZ | APC by Schneider Electric | IT Business |
Firmware design Engineer senior
Phone: +4 76 18 33 59 ext. 3359 |
Email: a...@mgeups.com | Site: www:apc-mge.com | Address:
140 avenue Jean Kuntzmann, INOVALLEE - Montbonnot St Martin, 38334 Saint
Ismier cedex
*** Please consider the environment before printing this e-mail

m...@gmail.com
Envoypar : c...
08/02/2010 08:19
Veuillez rondre br /> m...@gmail.com
A
c...
cc

Objet
[c28x] can't allocate .text, size 00003b3f

Hi,

I use F2812 to build a model from Simulink then download into F2812.
During linking and downloading in CCS. I encounter these problems

> error: can't allocate .text, size 00003b3f (page 0) in RAMH0 (avail:
00001ffe)
>> error: errors in input - testfuzzy1a.out not built

Anyone having this problems before? Any recommend solutions?
Thank you.

-jenny-

_____________________________________
One more possibility:
increase the size of RAMH0 in .cmd file. in such case you have to decrease
the size of RAMH1 and allocate those memory area to RAMH0.
you might have the privilege to do so!

On Tue, Feb 9, 2010 at 10:15 AM, gopalakrishnan vishal anand <
a...@yahoo.com> wrote:

> Hi,
>
> you need to check the linker command file...The size of .text section is
> more than what is available in the memory, RAMH0...you might have to
> probably split the .text section into a number of smmaler section so that it
> fits inside the RAMH0 memory.
>
> Thanks,
> Vishal
>
> --- On *Mon, 2/8/10, m...@gmail.com * wrote:
> From: m...@gmail.com
> Subject: [c28x] can't allocate .text, size 00003b3f
> To: c...
> Date: Monday, February 8, 2010, 12:49 PM
>
> Hi,
>
> I use F2812 to build a model from Simulink then download into F2812.
> During linking and downloading in CCS. I encounter these problems
>
> > error: can't allocate .text, size 00003b3f (page 0) in RAMH0 (avail:
> 00001ffe)
> >> error: errors in input - testfuzzy1a. out not built
>
> Anyone having this problems before? Any recommend solutions?
> Thank you.
>
> -jenny-
>
>

--
Regards,
Sanjaykumar T.

The 2024 Embedded Online Conference