Altera_Forum
Honored Contributor
9 years agoERROR while debug eclipse
hi everyone,
i'm trying to print hello world on the lcd, the board is DE2, the compilation in quartos is succeed also the programmer, now i'm trying to build the project in Eclipse but it's failed and show me the next ERROR: c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: hello_world_lcd.elf section `.text' will not fit in region `onchip_memory2_0' c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: address 0x95d8 of hello_world_lcd.elf section `.rwdata' is not within region `onchip_memory2_0' c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: address 0xb428 of hello_world_lcd.elf section `.bss' is not within region `onchip_memory2_0' c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: address 0xb428 of hello_world_lcd.elf section `.onchip_memory2_0' is not within region `onchip_memory2_0' c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: address 0x95d8 of hello_world_lcd.elf section `.rwdata' is not within region `onchip_memory2_0' c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: address 0xb428 of hello_world_lcd.elf section `.bss' is not within region `onchip_memory2_0' c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: address 0xb428 of hello_world_lcd.elf section `.onchip_memory2_0' is not within region `onchip_memory2_0' c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: region `onchip_memory2_0' overflowed by 37928 bytes collect2: ld returned 1 exit status make: *** [hello_world_lcd.elf] Error 1 is anyone know what can i do for solve it? thanks a lot!