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 - r250r

2
Bus Blaster JTAG debugger / [RESOLVED] urJTAG fails with libFTDI on Linux
EDIT: this is fixed as of urjtag git revision 08e714ef68513

I got my BBv2 yesterday.  I downloaded and compiled the latest version of urjtag.

If I try to autodetect, urjtag says my board is a flyswatter.

If I use the ft2232 driver, I get a warning that TDO seems to be stuck at 1. I get this no matter the interface, and also if I try to use the jtagkey driver (which I thought the board was supposed to come preconfigured for).

Quote
jtag> cable ft2232 vid=0x403 pid=0x6010 interface=2
Connected to libftdi driver.
jtag> detect
../../../src/tap/discovery.c:117 urj_tap_detect_register_size() Warning: TDO seems to be stuck at 1
Error: (null):0 (null)() no error:
jtag>
I've tried interface=0, =1, and =2 -- all with the same result.  Urjtag has been acting strange - for example, the error above, and parameters seem to persist, which doesn't make sense to me:
Quote
jtag> cable ft2232 vid=0x403 pid=0x6010 interface=b
Usage: cable DRIVER [DRIVER_OPTS]
<snipped rest of usage message>
Error: ../../../src/global/params.c:201 parse_param_lu() syntax: need unsigned int, not 'b'
jtag> cable ft2232 vid=0x403 pid=0x6010 interface=1
Connected to libftdi driver.
jtag> detect
../../../src/tap/discovery.c:117 urj_tap_detect_register_size() Warning: TDO seems to be stuck at 1
Error: ../../../src/global/params.c:201 parse_param_lu() no error: need unsigned int, not 'b'
jtag>

So I'm not sure if urjtag is the problem or if it's something else.

One thing I noticed about my board is that the FTDI chip looks different than the one pictured at http://dangerousprototypes.com/docs/Bus ... ew#FT2232H .  The last three letters of FTDI look like they cut deep into the package, instead of being on the surface. ?!

As an aside, there is confusion in your docs about whether to use interface=1 or interface=2 - compare the screenshot with the text on both of these pages:
http://dangerousprototypes.com/docs/Cla ... ith_urJTAG
and
http://dangerousprototypes.com/docs/Bus ... _resources

edit: add TDO paragraph

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