Flash Problems Error L1121

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash Problems Error L1121

3,620件の閲覧回数
MC9S08GT
Contributor I
Hello,
 
Link Error: L1121: Out Of Allocation Space At Adress 0x665D for .copy Section
What´s This?
L1121: Out of allocation space at address <Address> for .copy section
[ERROR]
Description
There is not enough memory available to store all the information about the initialized variables in the .copy section.
Tips
Specify an higher end address for the segment, where the .copy section is allocated.
 
Error Coding:
      y = 0x10C0;
       for(x = 0; x < 16; x++){
         Flash1_SetByteFlash(y, catos[x]);
         y++;
       }
Thanks for the help.

Message Edited by MC9S08GT on 2006-07-13 02:35 PM

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

747件の閲覧回数
CrasyCat
Specialist III
Hello
 
Basically the message "L1121: Out Of Allocation Space <...>" shows that your application is too big and cannot fit the actual MCU Memory Map.
 
Please take a look at the actual application .map file to get an idea of the actual application code.
You may have to remove some function to get your code within the MCU or to switch to another MCU with more flash.
 
.copy contains the initialization value for global variables defined with initializer. The startup code will copy these values down to RAM.
 
I hope this helps.
 
CrasyCat
0 件の賞賛
返信

747件の閲覧回数
MC9S08GT
Contributor I

Hello Crasycat,

Thanks for your response.

1) How do I check the available space that I have in my RAM ?

2) I´m using Codewarrior 3.1 and the bean FLASH of Processor Expert to record the data. How much RAM this bean use???

Thanks for the help...

 

0 件の賞賛
返信

747件の閲覧回数
CrasyCat
Specialist III

Hello

Did you take a look at the .map file generated by the linker. Even though the link did not succeed, you may find useful info there.

CrasyCat

0 件の賞賛
返信

747件の閲覧回数
fire
Contributor I
Which project you are doing???
you can avoid this error by Changing the link order ofthe files.
regards,
fire.
0 件の賞賛
返信