Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

region on chip memory is full error .. plz help

hello

im compiling the "hello world" example

using a hardware design with 32k Byte memory on chip

and Im getting these errors that can't be solved.. !!

any ideas?

Description Resource Path Location Type

make: *** [serial1.elf] Error 1 serial1 0 C/C++ Problem

region onchip_memory2_0 is full (serial1.elf section .text). Region needs to be 16292 bytes larger. serial1 0 C/C++ Problem

section .bss [0000a004 -> 0000a217] overlaps section .text [000081c4 -> 00013fa3] serial1 0 C/C++ Problem

section .rodata [00008020 -> 00008513] overlaps section .exceptions [00008020 -> 000081c3] serial1 0 C/C++ Problem

section .rwdata [00008514 -> 0000a003] overlaps section .text [000081c4 -> 00013fa3] serial1 0 C/C++ Problem

waiting your replies

thanks

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi

    Error is because you overlapped the boot address and exception address Try Changing the exception address to some other memory

    regards

    M Kalyansrinivas
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The regular Hello World example will not fit in 32k. You'll have to use the unhosted version (Hello World Small).

    Jake