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++
12654 Discussions

Target is broken and needs to be reset

Altera_Forum
Honored Contributor II
2,448 Views

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?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,515 Views

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)
0 Kudos
Reply