Segment overflow Error

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

Segment overflow Error

5,888 次查看
JimMcP
Contributor I
My project is a 5213 Console Coldfire project. It has been working fine. I added more code to it (AES encryption). Now when I try to link it I get the following error.

Link Error : Segment overflow: user
Reserved size is 0x00007b00 -- overflow 0x00000170

How can I increase the size of the Segment? I am new to MetroWerks CodeWarrior 6.0.

Thanks,
标签 (1)
标记 (1)
0 项奖励
3 回复数

1,421 次查看
CrasyCat
Specialist III

I assume you are using CodeWarrior for Coldfire V6.0. Am I right?

For CodeWarrior coldfire, the linker command file has extension .lcf.

Memory areas where you want to allocate code are defined in the MEMORY block within this .lcf file.

When modifying the memory areas, make sure you specify only existing memory on the hardware board.

I hope this helps.

CrasyCat

0 项奖励

1,421 次查看
JimMcP
Contributor I
Thanks CrasyCat
0 项奖励

1,421 次查看
desroc01
Contributor II
The segments size are define in the .prm file.

Something like "project_linker.prm under" in the project explorator in CodeWarrior.
0 项奖励