Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

Debug NIOS without restarting it when the program crash

Honored Contributor II


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.  

0 Kudos
1 Reply
Honored Contributor II

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.