Forum Discussion
Altera_Forum
Honored Contributor
20 years agoNios2 multicore linux
Hello,
is it possible to share the flash and the sdram on my Cycon II board with more then one Nios2 cpu. Where one of this cpus run uClinux?? What changes must i do to tell uClinux not to use the hole Flash and Ram? Now i have a solution with two Nios2 cores. The first use all Memory on the board and the second use the internal memory of then cyclon. But now the second need more memory. Regards Mike5 Replies
- Altera_Forum
Honored Contributor
Mike,
If you place the reset address, of the second processor, at an offset in Flash, it won't be able to access any of the flash below that offset....provided both processors are in the same SOPC Builder system. You'd also have to use a Mutex (or several mutexes) for shared resources. I believe there's a multi-processor tutorial dealing with this. - slacker - Altera_Forum
Honored Contributor
Does anybody know where I can find the multi-processor tutorial?
Thanks, Derek - Altera_Forum
Honored Contributor
nios2 multiprocessor tutorial (http://www.altera.com/literature/tt/tt_nios2_multiprocessor_tutorial.pdf)
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif - Altera_Forum
Honored Contributor
This tutorial is for Nios II development kit. Is there any tutorial for the DE2 board? Does anybody have any experience with building multiprocessor system with DE2 board?
Thanks. - Altera_Forum
Honored Contributor
Here for DE2 multiprocessor example:
http://www.altera.com.cn/support/examples/nios2/exm-multi-nios2-hardware.html I tested this example, but when I tried to erase the flash I got this error: "nios2-flash-programmer --base=0x0 --instance=1 --erase-all Using cable "USB-Blaster [USB-0]", device 1, instance 0x01 Resetting and pausing target processor: FAILED Leaving target processor paussed" Any ideea ?