ERROR L1102: Out of allocation space in segment ROM at address 0xFFFDA5

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

ERROR L1102: Out of allocation space in segment ROM at address 0xFFFDA5

1,095 Views
maxxu
Contributor IV

Hi

  I use s912zvml64 chip to design the driver,An error occurred during compilation,

  My code is about 16K bytes.

  ERROR L1102: Out of allocation space in segment ROM at address 0xFFFDA5

 

  . PRM reads as follows

/* Register space */
/* IO_SEG = PAGED 0x000000 TO 0x000FFF; intentionally not defined */

/* RAM */
APP_DATA_RAM = READ_WRITE 0x001000 TO 0x0011FF;
RAM = READ_WRITE 0x001200 TO 0x001FFF;

/* EEPROM */
EEPROM = READ_ONLY 0x100000 TO 0x10007F;

/* non-paged FLASHs */
ROM = READ_ONLY 0xFF8000 TO 0xFFFDFF; //32k xu
/* VECTORS = READ_ONLY 0xFFFE00 TO 0xFFFFFF; intentionally not defined: used for VECTOR commands below */
OSVECTORS = READ_ONLY 0xFFFE10 TO 0xFFFFFF; /* OSEK interrupt vectors (use your vector.o) */
END

 

Excuse me, what may be the problem? At present, it seems that the chip capacity and. PRM configuration are correct

0 Kudos
3 Replies

1,085 Views
StanoA
NXP TechSupport
NXP TechSupport

Hi Maxxu,

It is hard to find the issue from your description. Please send me the whole project in zip file.

Best Regards,

Stano.

0 Kudos

1,079 Views
maxxu
Contributor IV

Hi

 thank you,

I seem to remember,When creating a project, I may choose the memory model to be small (16K). Now an error is reported when the code exceeds 16K. Is this possible? Can I modify the memory model setting for existing projects

0 Kudos

1,072 Views
StanoA
NXP TechSupport
NXP TechSupport

Hi Maxxu,

Yes, it is possible. The memory model must fit to existing project, otherwise the linker will report issue.

Best Regards,

Stano.

0 Kudos