Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Multiprocessor in EPCS

Hello,

I'm using a system with 2 Nios II and I'd like to put the whole system (including the software of the 2 Nios) in flash memory (EPCS).

My EPCS starts at 0x11800 and ends at 0x11FFF.

My SDRAM starts at 0x02 and ends at 0x03FFFFFF.

When I use Nios II IDE (v9.0) to program the processors, I use the SDRAM for reset address and vectors address as following :

CPU 0 reset : 0x02000000

CPU 0 vectors : 0x02000020

CPU 1 reset : 0x02100000

CPU 1 vectors : 0x02100020

Now, I'd like to have the processors booting from the EPCS, so I changed the reset address of the CPU 0 to 0x11800 which is the base of my EPCS, but I don't know which address use for the CPU 1 reset address. Can I use 0x11820 (which is just after the reset address of CPU 0) or should I use something else ?

I can't keep the same memory range as for SDRAM due to their non identical size.

Thanks in advance,

Yorick