Forum Discussion
Altera_Forum
Honored Contributor
20 years agonios2-gdb-server only resets its CPU if it has to because always resetting it will break some multiprocessor systems.
As you've figured out, there is a parameter which can be added to nios2-gdb-server which will force nios2-gdb-server to always reset the CPU. If you want to integrate this into the IDE then you should hack the shell script nios2-download to set --reset-target if an elf file is provided. Note that the IDE calls nios2-download twice at the moment, once before nios2-terminal and once after. Hacking your shell scripts is of course not supported by Altera.