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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,214件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

1,204件の閲覧回数
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 件の賞賛
返信

1,198件の閲覧回数
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 件の賞賛
返信

1,191件の閲覧回数
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 件の賞賛
返信