--- Quote Start ---
this can be due to a lot of reasons.
if you use sdram f.e. check the phase of the sdram clock.
have you tried a simple hello world with a minimal system running from internal memories instead of external memory ?
--- Quote End ---
Hi,
I had exactly the same problem. Now I tried building a simple project with the simple "Hello_world" code, using only on-chip memory, which should be enough but I get an error message:
make -s all includes
Linking simple.elf...
/cygdrive/c/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: region onchip_memory2_0 is full (simple.elf section .text). Region needs to be 25408 bytes larger.
/cygdrive/c/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rodata [00008020 -> 00008507] overlaps section .exceptions [00008020 -> 000081c7]
/cygdrive/c/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rwdata [00008508 -> 00009f33] overlaps section .text [000081c8 -> 0001333f]
/cygdrive/c/altera/91/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .bss [00009f34 -> 0000a147] overlaps section .text [000081c8 -> 0001333f]
collect2: ld returned 1 exit status
make: *** [simple.elf] Error 1
Build completed in 18.734 seconds
What is the problem? I'm using a Cyclone III board of version 7.2 while using Quartus 9.1. Could that be the problem?