Flash Problems Error L1121

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flash Problems Error L1121

3,616 次查看
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 回复数

743 次查看
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 项奖励
回复

743 次查看
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 项奖励
回复

743 次查看
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 项奖励
回复

743 次查看
fire
Contributor I
Which project you are doing???
you can avoid this error by Changing the link order ofthe files.
regards,
fire.
0 项奖励
回复