Ville Voipio
753958c4b5
='addpart' instruction added for manual chain building without 'detect'.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1208 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
3d108fd2b5
fix user_specified.driver comparison
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1190 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Mike Frysinger
7cff70c851
2008-04-24 Mike Frysinger <vapier@gentoo.org>
...
* src/tap/usbconn/libusb.c (usbconn_libusb_connect): Use the
usb_get_busses() function rather than the usb_busses global
variable due to portability issues (like with libusb-win32).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1180 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
a3b8d3ff98
Fix [ 1925509 ] ftd2xx: SetBaudRate fails with FT245
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1178 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
40fecfa129
usbblaster clock() rate improved, using byte shift mode
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1176 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
614ba2075c
[ 1946119 ] fixup relocatable jtag in detection (M. Frysinger)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1174 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
b6684fa685
Change occurences of u_intX into uintX types and provide variants of usleep, frealtime, mkdir for [ 1838732 ] EXE built with MinGW
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1169 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
de70664578
[ 1940323 ] OS X support for UrJTAG (by Ville Voipio)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1167 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
7b44334ca1
removed unused variables
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1166 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
5493cf9a2b
[ 1939102 ] Add Analog Devices BFIN-UJTAG cable
...
From Michael Hennerich <michael.hennerich@analog.com>
* src/tap/parport/ftdi.c (ftdi_generic_open): Detect
BFIN-UJTAG cable.
* src/tap/cable.c (ft2232_bfin_ujtag_cable_driver): Declare.
(cable_drivers): Add ft2232_bfin_ujtag_cable_driver.
* src/tap/cable/ft2232.c (BIT_BFIN_UJTAG_nTRST,
BIT_BFIN_UJTAG_nLED, BITMASK_BFIN_UJTAG_nTRST,
BITMASK_BFIN_UJTAG_nLED): Define.
(ft2232_bfin_ujtag_init): New.
(ft2232_bfin_ujtag_done): New.
(ft2232_bfin_ujtag_cable_driver): Define.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1165 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
48c46c172c
[ 1934843 ] Fix for USBBLASTER (U.Bonnes)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1154 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
b067b0d946
1933730 "idcode" command (by U.Bonnes)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1151 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
cee1b1bda2
remove global variables for bsdl subsystem
...
[ 1929235 ] Use less global and static variables
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1148 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
626ddc8ffc
[ 1887221 ] Add configure switch to disable all cable&parport drivers:
...
bus, cable and parport drivers are enabled and disabled via
separate parameters to configure
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1143 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
11d5d2813c
* include/jtag.h (jtag_parse_line): Declare.
...
(jtag_parse_stream): Declare.
* src/discovery.c: Move ...
* src/tap/discovery.c: ... here.
* src/detect.c: Move ...
* src/tap/detect.c: ... here.
* src/tap/Makefile.am (libtap_a_SOURCES): Add detect.c and
discovery.c.
* src/readmem.c: Move ...
* src/bus/readmem.c: ... here.
* src/writemem.c: Move ...
* src/bus/writemem.c: ... here.
* src/bus/Makefile.am (libbus_a_SOURCES): Add readmem.c and
writemem.c.
* src/flash.c: Move ...
* src/flash/flash.c: ... here.
* src/flash/Makefile.am (libflash_a_SOURCES): Add flash.c.
* src/jtag.c (get_token, jtag_parse_line, jtag_parse_stream,
jtag_parse_file): Move to ...
* src/cmd/parse.c: ... here.
* src/cmd/Makefile.am (libbus_a_SOURCES): Add parse.c.
* src/Makefile.am (jtag_SOURCES): Remove detect.c, discovery.c,
readmem.c, writemem.c and flash.c.
(jtag_LDADD): Add -ltap and -lflash one more time to resolve
undefined references.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1120 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
1dd77da6ad
[ 1911429 ] Read TDO data from instruction shift
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1114 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
e4e1208a92
fix FT_SetChar() parameters
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1112 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
523a52ea72
Added VREF detection to J-Link cable driver and a call to usb_reset when necessary.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1110 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
785c3f17e4
rework init sequence [ 1904970 ]
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1109 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
571f7261ae
Minor fixes and cosmetics in XPCU driver
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1108 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
e0b7eebb9b
Implemented much faster access method using GPIF transfers via vendor request 0xA6.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1107 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
e76a3be977
generic_flush_one_by_one now always flushes, even if how_much == OPTIONALLY
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1103 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
aa43c22d92
enhanced init sequence in *_mpsse_open()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1101 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
29838a8b09
J-Link driver doesn't use global variables anymore
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1096 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
574aef00a1
Removed debug output from jlink.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1092 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
77804164d6
Merged usb_abstraction branch, [1880985] Revise cable+parport -> cable+lowlevel
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1090 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
a35b196a6b
removed CONSERVATIVELY flushing and replaced by TO_OUTPUT for ft2232 driver
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1075 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
16acc81484
better balancing of the latency timer to decrease result byte fragmentation
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1074 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
ab08aae159
added a couple of FT2232 based cables
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1038 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
68e3cf5966
Always flush after each command during interactive use
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1037 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
5d4f9d86be
nitialize mpsse frequency via ft2232_set_frequency()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1034 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
99f8cee436
Update cable->frequency setting
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1033 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
4cfffbbf01
Update cable->frequency value
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1032 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
99e9c2c7f3
fix inconsistency of TDO caching in ft2232_flush()
...
targets 1894967
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1031 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
23394ff11d
Moved set_frequency function from cable.c to cable_drivers
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1030 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
ebfeb9ea8c
Drivers for ftdi-based cables weren't included if only FTD2XX was there (but no libftdi)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1029 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
4270565c9f
Report if TDO seems to be stuck during detect_register_size (ie. "detect")
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1018 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
5f104d447d
flush todo queue for transfers without output capture (if conservative flush strategy is not disabled)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1016 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
63ddfcd1e9
Cosmetics - whitespace replaced by whitespace
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1015 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
96147a19fb
Enabled new^2 implementation in tap_shift_register for [ 1832990 ] Speed improvements for USB cables
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1014 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
bdeb6e66ea
implemented control of TRST
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1009 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
0da6084704
statically set GPIO high byte with product-specific values
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1008 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
6a79245f08
store low byte value and direction information in param structure
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1006 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
b39b0fed68
Correct update of q->next_item after moving data in resized queue (re: 1884952)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1005 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
b2ceefa44d
Possible fix and optionally more verbose output re: 1884952 Internal error (queue full)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1004 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
3b1748b6da
Ignore flush(OPTIONALLY) by default.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1003 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
109ff9d025
Extended the cable_flush() to take an argument regarding the amount of items to flush
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1002 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
c941fdd334
* svf: avoid unnecessary output capture
...
* ft2232: ensure max number of bytes for a single byte operation
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1000 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
1ee93ee5f3
fix problem with send suspend detection in ft2232 driver
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@998 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
3c4a312014
massive rewrite of ft2232 cable driver to support deferred transfers
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@997 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago