From: Con P. <co...@kp...> - 2020-03-20 15:10:22
|
Hi, I've just got a Bus Blaster v3c but I can't get it to work with OpenOCD.I have tried interface/ftdi/dp_busblaster.cfg for jtag and interface/ftdi/dp_busblaster_kt-link.cfg for SWD with no luck. Using the stock openocd of ubuntu 18.10 (version 0.10.0) or one built from git (as of today 0.10.0+dev-01137-g140fe7f7-dirty (2020-03-20- 19:26) and have also tried some random older versions of git), it always gets stuck after opening ports 4444 and 6666, with no gdb interface, while if I connect via telnet it's dead. With Ubuntu's version I see no error message, but when using my custom built version I see this: bin/openocd -f share/openocd/scripts/interface/ftdi/dp_busblaster_kt- link.cfg -c "transport select swd" -f share/openocd/scripts/target/at91samdXX.cfg Open On-Chip Debugger 0.10.0+dev-01137-g140fe7f7-dirty (2020-03-20-19:26)Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlInfo : FTDI SWD mode enabledswdInfo : Listening on port 6666 for tcl connectionsInfo : Listening on port 4444 for telnet connectionsInfo : clock speed 400 kHzWarn : Haven't made progress in mpsse_flush() for 2069ms.Warn : Haven't made progress in mpsse_flush() for 4109ms.....which goes on forever... and when I interrupt it (with ^C) I get: Error: libusb_handle_events() failed with LIBUSB_ERROR_INTERRUPTEDError: MPSSE failed and then a segmentation fault. I had the same behaviour when trying to use jtag mode on a Microchip ATSAMA5D27-SOM1 module, both on a custom board and on an official ATSAMA5D27-SOM1-EK development board, but I'm not sure if this target is supported properly. Any ideas? Thanks in advance,Con |