From: Mirela S. <mir...@gm...> - 2012-06-29 17:15:50
|
Hi, I debug Pandaboard ES using Flyswatter and OpenOCD. The problem I'm facing is when target is in halt state, connection crashes after a while (for example a minut). I don't even use GDB, as I'm also having problems with it. Why is this happening? Here is the output of the error: ---------------------------------------------------------------------------------------------------- *$ sudo openocd -f /usr/share/openocd/scripts/interface/flyswatter.cfg -f /usr/share/openocd/scripts/board/ti_pandaboard_es.cfg Open On-Chip Debugger 0.5.0 (2011-12-03-10:15) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' RCLK - adaptive Using dbgbase = 0x80000000 force hard breakpoints trst_only separate trst_push_pull Info : RCLK (adaptive clock speed) not supported - fallback to 6000 kHz Info : JTAG tap: omap4460.jrc tap/device found: 0x2b94e02f (mfg: 0x017, part: 0xb94e, ver: 0x2) Info : JTAG tap: omap4460.dap enabled Polling target failed, GDB will be halted. Polling again in 100ms Polling target failed, GDB will be halted. Polling again in 300ms Info : JTAG tap: omap4460.m30_dap enabled Polling target failed, GDB will be halted. Polling again in 700ms Info : JTAG tap: omap4460.m31_dap enabled Info : omap4460.cpu: hardware has 6 breakpoints, 4 watchpoints Info : omap4460.m30: hardware has 6 breakpoints, 4 watchpoints Info : omap4460.m31: hardware has 6 breakpoints, 4 watchpoints Polling succeeded again Info : accepting 'telnet' connection from 4444 target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x600001d3 pc: 0xc00261d0 MMU: enabled, D-Cache: enabled, I-Cache: enabled Error: couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 100ms Error: ftdi_write_data: usb bulk write failed Error: couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 300ms Error: ftdi_write_data: usb bulk write failed Error: couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 700ms Error: ftdi_write_data: usb bulk write failed Error: couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 1500ms Error: ftdi_write_data: usb bulk write failed Error: couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 3100ms Error: ftdi_write_data: usb bulk write failed Error: couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 6300ms* ---------------------------------------------------------------------------------------------------- *$ telnet localhost 4444 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Open On-Chip Debugger > halt target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x600001d3 pc: 0xc00261d0 MMU: enabled, D-Cache: enabled, I-Cache: enabled couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 100ms ftdi_write_data: usb bulk write failed couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 300ms ftdi_write_data: usb bulk write failed couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 700ms ftdi_write_data: usb bulk write failed couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 1500ms ftdi_write_data: usb bulk write failed couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 3100ms ftdi_write_data: usb bulk write failed couldn't write MPSSE commands to FT2232 Polling target failed, GDB will be halted. Polling again in 6300ms * ---------------------------------------------------------------------------------------------------- Thanks for help. Mirela |