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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Target is broken and needs to be reset

Altera_Forum
Honored Contributor II
2,680 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,747 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