Forum Discussion
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.