Altera_Forum
Honored Contributor
20 years agoDebug with nios2-elf-insight
Hi there,
I'm having trouble getting the nios2-elf-insight debugger working with a Nios II system on custom hardware. At this stage I'm using the example code supplied with eCos. Commands: > nios2-gdb-server & > nios2-elf-insight twothreads So far so good. Problems arise when issuing the command 'target remote :2342' from the console and I get the following response: # [nios2-gdb-server] accepting gdb connection# [nios2-gdb-server] connecting to JTAG debug module# [nios2-gdb-server] CPU will be reset on connect# [nios2-gdb-server] using MDI port: "sld"# [nios2-gdb-server] MDI error FindAndOpenNode Lock Chain: AJI_BAD_HARDWARE.# -1 05 (nios2-gdb-server_mdi.c line 161)# [nios2-gdb-server] failed to connect can anyone explain what AJI_BAD_HARDWARE means ? In the console window I get the following message: Error: Remote communication error: Connection reset by peer. Thanks