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

Debugger Keeps Timing Out...

Altera_Forum
Honored Contributor II
1,015 Views

We keep having a problem stepping through code (NII 1.1, IDE 1.1.0b137, QII4.2sp1) where we get: 

 

The execution of program is suspended because of error. 

Watchdog has expired. Target detached. 

 

Anyone know what exactly this means? 

 

Thanks, 

Ken
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
303 Views

The watchdog this is talking about is a software one inside GDB which is waiting for the target to reply to a command it just sent. 

 

Exactly what code were you stepping over when the error occurred? Does stepping over it in assembler mode make any difference? (It probably doesn't but it will help diagnose the problem). Does step into work whereas step over doesn't? 

 

Finally, this may be due to a hardware problem so it might be worth looking at whether the memory you are running from is working correctly.
0 Kudos
Reply