Forum Discussion
Altera_Forum
Honored Contributor
11 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?