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
Hi Maxxu,
It is hard to find the issue from your description. Please send me the whole project in zip file.
Best Regards,
Stano.
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
Hi Maxxu,
Yes, it is possible. The memory model must fit to existing project, otherwise the linker will report issue.
Best Regards,
Stano.