Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12606 Discussions

Debug NIOS without restarting it when the program crash

Altera_Forum
Honored Contributor II
1,221 Views

Hello, 

My program crashed. I want to debug without restarting it by downloading it. I just want to know the details about the scenario, i.e. where the program is running, how about the stack. 

Please help me.  

Thanks.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
293 Views

I got the answer. You need to uncheck the option "Download ELF to selected target system" in the "Target Connection" tab of Debug Configurations dialog. 

I also found the root cause leading to the program crash. It is due to jtag uart use but the system is not connected to a USB-blaster. There is a software buffer for the output, when it is full, the program crash.
0 Kudos
Reply