Skip to main content

Topics

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

Topics - gonemad

2
OpenOCD JTAG / buspirate.cfg?
The fog is slowly beginning to dissipate...

About the router SW/HW, that is a forum by itself. See any threads on OpenWRT. I don't think I need to specify this at the moment, as it would distract from the basic and current problems. But I can tell you it is a Broadcom 6348 SoC with what seem to be a standard 14 pin MIPS JTAG...

Quote
Have you tried to follow any of the OpenOCD examples and perform a chain scan? Have you tried to connect to the Bus Pirate via OpenOCD? I think the functionality you want is there in the main firmware.

This is exactly what I'd like to do! But I just can't find a working procedure. However, I have successfully compiled OpenOCD for Cygwin on WinVista, given some of the instructions on the Michal Demin page and others. Here are the results:

Code: [Select]
$ ./bootstrap
$ ./configure --enable-buspirate --enable-maintainer-mode --disable-werror --disable-shared --enable-ft2232_ftd2xx --with-ftd2xx-win32-zipdir=/cygdrive/c/myusr/ftd2xx
$ make && make install
$ which openocd.exe

/usr/local/bin/openocd.exe

$ openocd.exe --help

Open On-Chip Debugger 0.5.0-dev-00858-g3c6af51-dirty (2011-04-21-20:38)
Licensed under GNU GPL v2
For bug reports, read
        --------------------------------------------------
Open On-Chip Debugger
Licensed under GNU GPL v2
--help      | -h      display this help
--version    | -v      display OpenOCD version
--file      | -f      use configuration file <name>
--search    | -s      dir to search for config files and scripts
--debug      | -d      set debug level <0-3>
--log_output | -l      redirect log output to file <name>
--command    | -c      run <command>

But then the instructions are talking about copying the content of the /usr/local/share/openocd/scripts/interface/buspirate.cfg file and change it to my needs. Although not saying anything how to determine these. So now what??

( ! ) 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.01222281904session_write_close ( )...(null):0
20.01252413496ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01252414272Database_MySQL->query( ).../DatabaseHandler.php:119
40.05592553008Database_MySQL->error( ).../Db-mysql.class.php:273