Forum Discussion
Ahmed_H_Intel1
Frequent Contributor
7 years agoHi,
The NIOS can run the code that pointed in the reset vector only.
I have a good idea to do so, you can create dual core system with 2 NIOS processors CPU0 and CPU1.
CPU0 controls CPU1 by keeping it in reset mode.
CPU0 has the code pointed in On-chip memory
CPU1 has the code pointed in your target memory.
Once you want to run a code on the SDcard you can release CPU1 and let it execute the code.
Make sure that bothe cores don't use the same memory address at the same time.
Here is a reference can help you to create a multi-core system.
https://www.youtube.com/watch?v=GTKLU2UR3bA
https://www.youtube.com/watch?v=DUNAemGhUTE&t=159s
https://www.youtube.com/watch?v=U2Q81sXEvRw
Regards.