CodeWarrior 11.1 ERROR L1102: Out of allocation space in segment SHADOW_ROM_S at address 0x ...

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

CodeWarrior 11.1 ERROR L1102: Out of allocation space in segment SHADOW_ROM_S at address 0x ...

325件の閲覧回数
microivan
Contributor I

Hello,

I am using CodeWarior v11.1
I am trying to compile Bootloader(s) for S12Z family provided by NXP
in Application notes AN4723 and/or AN5389.

Without any change of the provided Project example (AN5389) I am get this error:

"mingw32-make: *** [S12ZVL128_bootloader.elf] Error 1"
"Out of allocation space in segment SHADOW_ROM_S at address 0xFFFD86"

(When I change linker file just error message changes from SHADOW_ROM_S to ROM.)

I have tried all 3 Bootloaders for S12Z provided by NXP AN12086, AN4723 and AN5389 as is.
Any time have the same Error.

I have read and try any suggestions in the forum, but without success.
Any help would be greatly appreciated

Regards
Ivan

0 件の賞賛
返信
1 返信

281件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

 

It looks like some systematic copy/paste error without testing the code. Moreover, there could be optimization setup difference which can cause the code fits into the space.

The solution could be>

// ROM = READ_ONLY 0xFFF800 TO 0xFFFBFF; // 1K for the bootloader FLASH-ONLY functions. Each 0x200 is 512
// SHADOW_ROM_S = READ_ONLY 0xFFFC00 TO 0xFFFDFF; // 512 for funtions that will be copied to RAM
ROM = READ_ONLY 0xFFF600 TO 0xFFF9FF; // 1K for the bootloader FLASH-ONLY functions. Each 0x200 is 512
SHADOW_ROM_S = READ_ONLY 0xFFFA00 TO 0xFFFDFF; // 512 for funtions that will be copied to RAM

 

Best regards,

Ladislav

0 件の賞賛
返信