Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: OpenOCD and BeagleBone Black in CCS

$
0
0

 Hi,

 I try to debug on my BBB using OpenOCD (connector is already mounted on lower side of the board and OpenOCD-USB probe connected). Unfortunately I run into two problems. After starting OpenOCD with

arm-none-linux-gnueabi-gdb

I get some messages

Open On-Chip Debugger 0.7.0 (2013-05-22-13:14) Licensed under GNU GPL v2 For bug reports, read  http://openocd.sourceforge.net/doc/doxygen/bugs.html Info : only one transport option; autoselect 'jtag' adapter speed: 16000 kHz trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst Warn : unable to open ftdi device (trying more): device not found Info : clock speed 6000 kHz Info : JTAG tap: am335x.jrc tap/device found: 0x1b94402f (mfg: 0x017, part: 0xb944, ver: 0x1) Info : JTAG tap: am335x.dap enabled Info : am335x.cpu: hardware has 6 breakpoints, 2 watchpoints Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x80001140 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x80001140 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x80001140 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x80001140 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x80001150 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x80001150 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x800011c0 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x80000042, MEM_AP_TAR 0x800011c0 

Looks like it connects to BBB but has some problems?

Next when I try to configure OpenOCD in CCS I chosse "OpenOCD (via pipe)" in debug setting / Debugger. Amazingly the predefined "GDB Command" there is simply "gdb". Shouldn't that be an ARM-GDB? Or a TI-specific GDB since my code is compiled with the TI-compiler?

When I ignore these problem and try to load a program to BBB I get an error message in CCS and OpenOCD shows following output:

Error: ftdi_write_data: usb bulk write failed Error: couldn't write MPSSE commands to FT2232 Polling target am335x.cpu 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 am335x.cpu 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 am335x.cpu 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 am335x.cpu 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 am335x.cpu 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 am335x.cpu failed, GDB will be halted. Polling again in 6300ms Error: ftdi_write_data: usb bulk write failed Error: couldn't write MPSSE commands to FT2232 Polling target am335x.cpu failed, GDB will be halted. Polling again in 6300ms 

Any help is appreciated :-)

 


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>