Forum Discussion
Altera_Forum
Honored Contributor
12 years agoProblem with asynchronous reset and booting
Hello I have the NIOS configured to boot the boot from the on-chip memory. The first time successful startup. When you reset the NIOS using asynchronous reset signal the BOOT not load a softwa...
Altera_Forum
Honored Contributor
12 years agoIt seems the data section of your program in RAM is overwritten and it will cause the subsequent run won't work.
By having say so, you can work it out by choosing either below solution 1. Always getting the boot copier copy the program from flash and store at the RAM. By doing that, the data section is always new 2. This is little bit advanced. You can duplicate your data section in the linker. One of them would change during the program run but another one would be static. When your program run (in assembly), always overwrite the data section with the static one. This would ensure the data section is always new. This is little advanced but would save the flash accessing time.