Altera_Forum
Honored Contributor
20 years agoMultiprocessor Problems
Hi all,
I'm currently working on a simle NIOSII multiprocessor system running on a cyclone development board. I'm using Quartus 5.1 and IDE 5.1 as well. The system contains two cpus (cpu_0 and cpu_1), two timers (timer_1 and timer_2 - one for each cpu), two jtag-uarts( again one for each cpu), a sdram component that is used as memory for both cpus (bottom half for cpu_0, top half for cpu_1) and 4 LEDs for each cpu. No Problem so far. Things get difficult when I try to run a very simple program (just flashing the attached LEDs for each cpu) on the system. For example, I download the program for the first cpu. Everything is fine, i.e. the LEDs of cpu_0 start to flash. Then I download the program for the second cpu. During download, the first cpu stops working!!! Although the second cpu runs as expected, the first cpu does nothing. I tried to change the order of the program downloads, the same error occurs: Only the last cpu I download a program to is working. So here are my questions: Does anyone get the same errors? Is this a bug (there are some threads discussing problems with the cpu-id assignment)? By the way: when I used Quartus 5.0 and IDE 5.0 everything was working correctly!! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif