Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Nios2 multicore linux

Altera_Forum
Honored Contributor II
1,437 Views

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 

Mike
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
566 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
566 Views

Does anybody know where I can find the multi-processor tutorial? 

 

Thanks, 

Derek
0 Kudos
Altera_Forum
Honored Contributor II
566 Views
0 Kudos
Altera_Forum
Honored Contributor II
566 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
566 Views

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 ?
0 Kudos
Reply