Segment overflow Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Segment overflow Error

5,772 Views
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,
Labels (1)
0 Kudos
3 Replies

1,305 Views
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 Kudos

1,305 Views
JimMcP
Contributor I
Thanks CrasyCat
0 Kudos

1,305 Views
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 Kudos