AnsweredAssumed Answered

HC9S08QE8 - Out of allocation space in segment RAM

Question asked by Markus Ambros on Aug 29, 2010
Latest reply on Sep 1, 2010 by Markus Ambros

Hello all!

 

I am very new in microcontrollers...i searched long time through the forum, but I couldn't find something similar to my problem.

 

I trying to programm a HC9S08QE8 with USBDM and CodeWarrior for Eclipse. I got some sample code from freescale with my sensor toolbox. Now I am having the following problem:

 

ERROR L1102: Out of allocation space in segment RAM at address 0x1C8

 

Most of the variables are stored according #pragma DATA_SEG __SHORT_SEG _DATA_ZEROPAGE.

 

The prm file is like that:

 

SEGMENTS
    Z_RAM                    =  READ_WRITE   0x0060 TO 0x00FF;
    RAM                      =  READ_WRITE   0x0100 TO 0x025F;
    ROM                      =  READ_ONLY    0xE000 TO 0xFFAD;
    ROM1                     =  READ_ONLY    0xFFC0 TO 0xFFCD;

 

For the project I am using the memory model SMALL.

Can you help me to fix that problem, please.

 

br

max

Outcomes