Altera_Forum
Honored Contributor
21 years agoReset address pointing to SRAM
Hello *,
I am a bit confused about the NIOS booting procedure. I have external hardware connected to my NIOS system which should give a reset to the processor - like if the reset button is pressed. During development cycles of the "C" program I let the reset address point to SRAM (offset 0x0) where the program code resides. I expected this to work but the system crashes after pressing the button and does not start the program again in the way "nios-download [...] -g" did after loading. What is fundamental error? I thought "crt0" is executed at offset 0x0 of SRAM which should handle the instruction cache correctly and start main(). Any suggestions? Thanx - dj5ba