Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

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.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.