Forums

C6713 IRAM Error

Started by aymanmassaoudi April 27, 2009
Hello,
I'm working on the C6713 DSK and when I compile my program I have the following error :
[Linking...] "c:\ti\c6000\cgtools\bin\cl6x" -@"Debug.lkf"
>> error: can't allocate .TSK_idle$stk (sz: 00000400 page: 0) in IRAM (avail:
00000314)
>> error: errors in input - ./Debug/essai1.out not built

Please,What does this message means? And how I can solve it?

_____________________________________
It means that you only have 0x314 bytes available, but trying to locate the
.TSK_idle$stk module requires 0x400 bytes. Your program has grown, and now
requires more space than you seem to have available. If you've got external
ram then you may be able to define that some portions of your program are
located there, freeing up more internal ram.

On Mon, Apr 27, 2009 at 4:06 AM, aymanmassaoudi
wrote:

> Hello,
> I'm working on the C6713 DSK and when I compile my program I have the
> following error :
> [Linking...] "c:\ti\c6000\cgtools\bin\cl6x" -@"Debug.lkf"
> >> error: can't allocate .TSK_idle$stk (sz: 00000400 page: 0) in IRAM
> (avail:
> 00000314)
> >> error: errors in input - ./Debug/essai1.out not built
>
> Please,What does this message means? And how I can solve it?
>
>
>
HI,
you try to increase the size of the IRAM to more than 400 bytes since your
stk_TSk doesnt fit in the available memory. modify your .cmd file so that
you will reserver enough memory to accomodate the task.

Regards
Vijay

On Mon, Apr 27, 2009 at 4:36 PM, aymanmassaoudi
wrote:

> Hello,
> I'm working on the C6713 DSK and when I compile my program I have the
> following error :
> [Linking...] "c:\ti\c6000\cgtools\bin\cl6x" -@"Debug.lkf"
> >> error: can't allocate .TSK_idle$stk (sz: 00000400 page: 0) in IRAM
> (avail:
> 00000314)
> >> error: errors in input - ./Debug/essai1.out not built
>
> Please,What does this message means? And how I can solve it?
>

_____________________________________
ayman,

the message means that there is not enough room in the 'IRAM' to add another
400h size item.
you could simply place the item elsewhere, where there is room,
or move some item out of IRAM to another place, if you want to keep the
.TSK_idle$stk in IRAM.

R. Williams

---------- Original Message -----------
From: "aymanmassaoudi"
To: c...
Sent: Mon, 27 Apr 2009 11:06:04 -0000
Subject: [c6x] C6713 IRAM Error

> Hello,
> I'm working on the C6713 DSK and when I compile my program I have the
> following error : [Linking...] "c:\ti\c6000\cgtools\bin\cl6x" -@"Debug.lkf"
> >> error: can't allocate .TSK_idle$stk (sz: 00000400 page: 0) in IRAM (avail:
> 00000314)
> >> error: errors in input - ./Debug/essai1.out not built
>
> Please,What does this message means? And how I can solve it?
------- End of Original Message -------

_____________________________________
ayman,

On Fri, May 1, 2009 at 4:33 PM, Richard Williams wrote:
> ayman,
>
> the message means that there is not enough room in the 'IRAM' to add another
> 400h size item.

Technically, the error message means 'there is not enough IRAM
available based on the IRAM size that is defined in the .cmd file'.
The size in the .cmd file may or may not be correct.

mikedunn

> you could simply place the item elsewhere, where there is room,
> or move some item out of IRAM to another place, if you want to keep the
> .TSK_idle$stk in IRAM.
>
> R. Williams
>
> ---------- Original Message -----------
> From: "aymanmassaoudi"
> To: c...
> Sent: Mon, 27 Apr 2009 11:06:04 -0000
> Subject: [c6x] C6713 IRAM Error
>
>> Hello,
>> I'm working on the C6713 DSK and when I compile my program I have the
>> following error : [Linking...] "c:\ti\c6000\cgtools\bin\cl6x"
>> -@"Debug.lkf"
>> >> error: can't allocate .TSK_idle$stk (sz: 00000400 page: 0) in IRAM
>> >> (avail:
>> 00000314)
>> >> error: errors in input - ./Debug/essai1.out not built
>>
>> Please,What does this message means? And how I can solve it?
> ------- End of Original Message -------

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php

_____________________________________