Altera_Forum
Honored Contributor
21 years agobooting multiple nios2 from SDRAM
Hi
Any advice..? I have a S260ES dev board and what I want to do is have 2 nios2's boot and run from the top 2Mbytes of the installed 16Mbytes SDRAM (located at 0x0 to 0x000FFFFF). I have 2 cpus CPU_A and CPU_B. I have a JTAG_UART for each. I have the SDRAM interface and finally some buttons and leds for stimulus and response for CPU_A I set the reset address to 0x00E00000 and the exception address to 0x00E20000 and for CPU_B I set the reset address to 0x00D00000 and the exception address to 0x00D20000 I build the system and create two simple hello world projects (that poll a button and printf hello world) each with seperate system libraries. For both projects I set the system library .text .rodata and .rwdata options to SDRAM stdin/out and err to the correct JTAG UART When I run (debug) the projects seperately.. they both work fine. But when I run them concurrently only one (the last one started) will run! I guess im doing something obvious wrong..!?! Cheers in advance for any help