Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

region on chip memory is full error .. plz help

Altera_Forum
Honored Contributor II
1,603 Views

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
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
620 Views

Try compiling the Hello World Small example.

0 Kudos
Altera_Forum
Honored Contributor II
620 Views

Hi  

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

 

regards 

M Kalyansrinivas
0 Kudos
Altera_Forum
Honored Contributor II
620 Views

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

 

Jake
0 Kudos
Reply