Hi Jérôme,
I am glad you ask because I do have a really mysterious error !
Like I told you before, I have a design with a cpu, onchip mem, a ssram, a flash memory interface, a tristate bridge, a jtag,a i2c bus (BITEC module), a vga and 2 video inputs (those are also BITEC modules).
It was extracted from an example which worked. Until now, I never changed anything in SoPC. I made a test and generated sopc again without changing anything. Then, I have the following errors in NIOS (without changing my C code either). I have 32KBytes onchip mem with 32 bit wide data.
I made another test and implemented an easy "Hello world" which does not work either ! Do you have an idea where it may come from ? I am really lost there !
Myriam
Here is what is written in NIOS II :
make -s all includes
Compiling main4.c...
Linking hsmc_quad_video_mosaic.elf...
/cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: region onchip_mem is full (hsmc_quad_video_mosaic.elf section .text). Region needs to be 20832 bytes larger.
/cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: address 0x1fd54 of hsmc_quad_video_mosaic.elf section .onchip_mem is not within region onchip_mem
collect2: ld returned 1 exit status
make: *** [hsmc_quad_video_mosaic.elf] Error 1
Build completed in 6.828 seconds