Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - abowman

1
OpenOCD JTAG / Re: Buspirate did not respond - error
[quote author="Sjaak"]
Ieeeuuw you said tea ;)
[/quote]

Sorry - it was late, and my English sensibilities kicked in.  Hardly the drink of champions, but perfectly adequate from time to time!
2
OpenOCD JTAG / Re: Buspirate did not respond - error
Ten minutes and a cup of tea later, and I've already detected the scan chain and have read access to the memory map of the device.  Happy hacking indeed :-)
3
OpenOCD JTAG / Re: Buspirate did not respond - error [solved]
Indeed, rolling back to v5.8 caused OpenOCD to detect the BusPirate.  Now on to detecting the target...

Thanks very much for your input all of you - I look forward to OpenOCD support returning to this very useful piece of kit.

Alan
5
OpenOCD JTAG / Re: Buspirate did not respond - error
I tried the last suggestion, and enabled debugging on openocd - I have snipped the opening setup and just copied the buspirate-specific bit at the end:

Debug: 54 3 command.c:156 script_debug(): command - ocd_command ocd_command type ocd_buspirate_port /dev/ttyUSB0
Debug: 55 3 command.c:156 script_debug(): command - buspirate_port ocd_buspirate_port /dev/ttyUSB0
Debug: 57 3 command.c:156 script_debug(): command - ocd_command ocd_command type ocd_buspirate_speed fast
Debug: 58 3 command.c:156 script_debug(): command - buspirate_speed ocd_buspirate_speed fast
Debug: 60 3 command.c:156 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only
Debug: 61 3 command.c:156 script_debug(): command - reset_config ocd_reset_config srst_only
User : 63 3 command.c:566 command_print(): srst_only separate srst_gates_jtag srst_open_drain
Debug: 64 3 command.c:156 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 65 3 command.c:156 script_debug(): command - init ocd_init
Debug: 67 3 command.c:156 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 68 3 command.c:156 script_debug(): command - ocd_target ocd_target init
Debug: 70 3 target.c:891 handle_target_init_command(): Initializing targets...
Debug: 71 15 buspirate.c:713 buspirate_jtag_enable(): Entering binary mode
Debug: 72 15 buspirate.c:912 buspirate_serial_write(): size = 20 ret = 20
Debug: 73 15 buspirate.c:974 buspirate_print_buffer(): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 74 15 buspirate.c:980 buspirate_print_buffer(): 00 00 00 00
Debug: 75 257 buspirate.c:944 buspirate_serial_read(): should have read = 4 actual size = 4
Debug: 76 257 buspirate.c:980 buspirate_print_buffer(): 42 42 49 4f
Debug: 77 257 buspirate.c:725 buspirate_jtag_enable(): TUI
Debug: 78 257 buspirate.c:944 buspirate_serial_read(): should have read = 1 actual size = 1
Debug: 79 257 buspirate.c:980 buspirate_print_buffer(): 31
Debug: 80 257 buspirate.c:912 buspirate_serial_write(): size = 1 ret = 1
Debug: 81 257 buspirate.c:980 buspirate_print_buffer(): 06
Debug: 82 268 buspirate.c:944 buspirate_serial_read(): should have read = 4 actual size = 4
Debug: 83 268 buspirate.c:980 buspirate_print_buffer(): 42 42 49 4f
Debug: 84 268 buspirate.c:725 buspirate_jtag_enable(): TUI
Debug: 85 268 buspirate.c:944 buspirate_serial_read(): should have read = 1 actual size = 1
Debug: 86 268 buspirate.c:980 buspirate_print_buffer(): 31
Debug: 87 10267 buspirate.c:944 buspirate_serial_read(): should have read = 4 actual size = 0
Error: 88 10267 buspirate.c:948 buspirate_serial_read(): Error sending data
Error: 89 10267 buspirate.c:722 buspirate_jtag_enable(): Buspirate did not respond :( restart everything

It seems that there was a response to the initial mode change, but then something gave up partway through.  Does this mean anything?  I'm seeing the 20x00, followed by BBIO1, but this seems to be being sent twice.  It doesn't entirely match with what I'd expect from the documentation...
6
OpenOCD JTAG / Re: Buspirate did not respond - error
I thought that might be the case, thanks.

Is there any way I can manually step through the connection steps that OpenOCD?  Or is there some other way of debugging why I might not be getting a response?

Thanks

Alan
7
OpenOCD JTAG / Buspirate did not respond - error
I have just received my new bus-pirate, and upgraded it to the latest firmware.  All good so far.  I would like to use it with OpenOCD and an STM32 chip.  I decided to see if OpenOCD would recognise it before I hooked it up to my development board.  However, whenever I run openocd and point it to the interface configuration file I get the following error:

Open On-Chip Debugger 0.5.0-dev-00615-g8902789 (2010-11-25-22:11)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
Warn : Adapter driver 'buspirate' did not declare which transports it allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
srst_only separate srst_gates_jtag srst_open_drain
Error: Error sending data
Error: Buspirate did not respond :( restart everything

Should I expect it to be able to connect without a target connected?  Or have I missed some other step?

Thanks in advance

Alan

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01422339712session_write_close ( )...(null):0
20.01462471288ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01462472064Database_MySQL->query( ).../DatabaseHandler.php:119
40.06142610776Database_MySQL->error( ).../Db-mysql.class.php:273