Altera_Forum
Honored Contributor
13 years agoMulti NIOS II system issues
Currently I'm using a dual NIOS II system on the Cyclone III starter kit. Each processor is using half of the SDRAM (no communication between the two) for instructions/data.
The problem is that when starting the processors, only one of the processors (CPU 1) consistently executes to its exit() call. CPU 0, more often than not, doesn't even make it to it's main() call before it stalls/stops. Watching the debug messages, it will stall in various places in the HAL boot sequence. Sometimes even during the middle of transmitting a debug message. For example, for the debug message "Entering alt_main, calling alt_irq_init", it may only get as far as "Entering alt_main, calling" when it stops. Each processor has it's own BSP and they're running identical code. In fact, the code is just symlink'd for the second processor. The design meets timing so I don't think that's the problem. A snapshot of most of the qsys file is attached. I was hoping someone might have some insight into this. I've been stuck on this for a while. Thanks in advance.