Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).
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 <m...@gmail.com> wrote: From: m...@gmail.com <m...@gmail.com> Subject: [c28x] can't allocate .text, size 00003b3f To: c...@yahoogroups.com 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=20
section in RAMHO, which is too small (0x1FFE).
So, your program is too big. Try to use another memory area, or resize the=
=20
internal memory use (CODE vs DATA).
Hope this will help !
___________________________________________________________________________=
__________=20
Alain SALMETOZ | APC by Schneider Electric | IT Business |=20=20=20
Firmware design Engineer senior=20
Phone: +4 76 18 33 59 ext. 3359 |=20=20=20
Email: a...@mgeups.com | Site: www:apc-mge.com | Address:=20
140 avenue Jean Kuntzmann, INOVALLEE - Montbonnot St Martin, 38334 Saint=20
Ismier cedex=20
*** Please consider the environment before printing this e-mail=20
m...@gmail.com=20
Envoy=E9 par : c...@yahoogroups.com
08/02/2010 08:19
Veuillez r=E9pondre =E0
m...@gmail.com
A
c...@yahoogroups.com
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 <m...@gmail.com>* wrote: > From: m...@gmail.com <m...@gmail.com> > Subject: [c28x] can't allocate .text, size 00003b3f > To: c...@yahoogroups.com > 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.______________________________