Forum Discussion
Altera_Forum
Honored Contributor
10 years agoboot multiprocessor from one EPCS device
Hey, everybody, 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). But I do not know how to put the 2 *.elf file ...
Altera_Forum
Honored Contributor
10 years agoAs I said before, don't make 2 elf files. Make one elf file only. In your code have something like:
main() {
if (value of sysid register == 1) // Look up how to get this in the Nios documentation
processor1_main()
else
processor2_main()
}