Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by wombat@May 18 2005, 09:04 AM nios2-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. --- Quote End --- thanks for this switch, however it would be usefull if ALTERA implements a switch in the debugger settings to provide a reset. <div class='quotetop'>QUOTE </div> --- Quote Start --- nios2-gdb-server only resets its CPU if it has to because always resetting it will break some multiprocessor systems[/b] --- Quote End --- there should be some note in the documents that there is no reset.