Hello,
We have some troubles understanding the global memory organization described in the lab 3 instructions.
We added one on-chip memory of 4096 bytes with 32 bits data width for each of the two NIOS processors, linked solely to the Avalon data and instruction master from their corresponding processor. Then, the (offchip) SDRAM memory is connected to the two processors' data master.
However, when building the software in a uC/OS-II project for one of the processors, we get an error message "RTES_multiproc_0.elf section `.text' will not fit in region `subsystemA_0_onchip_memory2_0' " and "region `subsystemA_0_onchip_memory2_0' overflowed by 52672 bytes".
When changing the .text memory region to the shared sdram in the BSP editor, the software compiles, but the uploaded soft doesn't seem to be executed, no printf is displayed and no bit in the PIO changes (if I understand correctly no program is executed because the instruction master is only connected to the on-chip memory, and changing the .text location to a memory to which the instruction master is not connected should be forbidden?)
Could you please clarify this?
Thanks in advance!