Altera_Forum
Honored Contributor
19 years agoMultiprocessor booting from flash
Hi,
I have sucessfully completed the Altera multiprocessor Tutorial on the Altera NiosII Cyclone Development board, and under the Nios IDE everything works as expected, however I now want to boot this design from flash, but it does not work. I have simplified the tutorial slightly by only having software running in 2 cpu's ( although the SOPC builder project still has the 3. CPU 1 simply counts on the LED's of the board, and CPU 2 counts in HEX on the seven segment display. It seem very consistent, that after flashing the board effectively with the SOF, and the elf from CPU 1 and 2, that virtually every time only CPU 2 ever starts correctly. However what is really strange is that if I re-flash (using command line ) the elf for CPU2, and press the CPU reset button, then BOTH cpu's work... but wait for it, I press the reset button again, and then only CPU 2 starts working. This is a standard installation of Q6.0 sp1, and Nios 6, with no custom modifications to any of the files. Has anyone got any idea's..... ??? I have sent this to my FAE who cant see anything obvious and has forwarded this to Altera, but I just thought you guys may have some suggestions. Many thanks in advance. Chris