Forum Discussion

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

Boot multiple NIOS form EPCS? Need help!

It seems to be a problem to put several NIOS to EPCS. Is there anybody ho nows how to program it. It looks like that there almost no information how to do it.

The main problem for me is that, I have two NIOS processors with separated onchip memory (DE2 board).

For CPU1 I set reset vector to EPCS device.. but what about CPU2?

Moreover if we see command line command elf2flash it has no separate address that lets flash NIOS IDE program into particular space.

So is there anybody who can share their experience how to put severl NIOS CPU to EPCS flash??

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Only one Nios CPU can directly boot from the EPCS controller. For the second one, you need to either write your own bootloader, or have the first CPU copy the software to the second CPU's memory.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It is a little bit tricky.. strange that there is not normal description step by step.. how to do it.