Forum Discussion
Altera_Forum
Honored Contributor
12 years agoNIOS Cores starts executing on just loading the .sof file?? Why??
Hello, I have a multicore system and all cores have defined separate memory space in SDARM. As I load my .sof file, some of the core starts executing. I dint even loaded the respective .elf fil...
Altera_Forum
Honored Contributor
12 years agoWhen I program the .sof using the Altera Monitor program, I find that the elf does not get executed. However, I start a "debug" (from Altera Monitor Program) and the click on "run", the elf starts execution. What is the reason for this?
My understanding: The NIOS II core starts execution from reset vector after reset. We load the .text section of .elf at appropriate device (SDRAM.s1, in my case) and this is set as the reset address for the NIOS II core. So, after the elf is loaded, we need to make sure that the NIOS II core is reset for the elf to start execution. I am not clear on how to do this?