Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
932 Views

Debug NIOS without restarting it when the program crash

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
Highlighted
Valued Contributor III
4 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