Segment overflow Error
‎02-21-2006
09:12 PM
6,602 Views

JimMcP
Contributor I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
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,
3 Replies
‎02-23-2006
01:03 PM
2,135 Views

CrasyCat
Specialist III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
‎02-23-2006
01:48 PM
2,135 Views

JimMcP
Contributor I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks CrasyCat
‎02-21-2006
09:19 PM
2,135 Views

desroc01
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The segments size are define in the .prm file.
Something like "project_linker.prm under" in the project explorator in CodeWarrior.
Something like "project_linker.prm under" in the project explorator in CodeWarrior.
