Forum Discussion

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

Target is broken and needs to be reset

I get this error message when trying to stop the Nios II processor in System Console (so I can write directly to memory).

% processor_stop $mypath

error: java.lang.RuntimeException: com.altera.systemconsole.internal.plugin.jtag.oci.Nios2DebugException: Target is broken and needs to be reset

while executing

"processor_stop $mypath"

Does anyone know why I would be getting this message and how to prevent/fix it?

1 Reply

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

    This message means that the target processor didn't go into debug mode when it was asked to. The most common reasons for this are:

    • You did not close timing on the hardware correctly. If Quartus give you any critical warnings or worse then fix them

    • Your clock is not running

    • Your reset is permanently asserted

    • The instruction or data bus attached to the processor has locked up because of a bad slave

    I suggest checking them in the same order I wrote them (least to most work to check)