Ole Bonin

main() mapped over several flash pages

Discussion created by Ole Bonin on Sep 8, 2010
Latest reply on Sep 8, 2010 by Daniel Lundin

Hi all !

 

I am using Codewarrior 4.5 with a MC9S12XDP512CAL.

 

I ran into a problem after my Main() went too big. I get the following error:

 

Link Error: L1102 Out of allocation space in segment PAGE_F7 at adress 0xF78229

 

I looked at the map file and the main() is indeed to big for a single segment. but there are more than enough free segments.

I allready tryed the "allocation over segment boundries" options of the linker, but the problem stays the same.

 

Is there anything else i have to adjust to allow the allocation over segment boundries?

Outcomes