Arnim Läuger
3ed23505b2
added some debugging messages
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1300 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
85c987695b
don't subtract from p->to_recv
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1299 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
1dbdb1ec3a
Make the gnICE comment a little more specific.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1295 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
9898081986
Rename BFIN-UJTAG USB JTAG cable to gnICE USB JTAG cable.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1287 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
100f135525
detect absence of fmax() in libm and activate fallback for generic_set_frequency()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1282 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
db24683939
improve USB Blaster performance and
...
[ 1980984 ] Wrong TDO sampling in USB Blaster
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1273 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
888ec27ec3
More malloc/free cleanup in cable drivers (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1263 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
809980e5e2
Update for the fix of malloc/free issue by H.Sweeten
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1262 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
d6055a121b
Cleanup/fix Cable connect/disconnect free/malloc issues (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1258 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
d68367420f
Fix cmd/cable.c malloc issue (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1257 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
c42a892561
clean up
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1251 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
e3c88d3cb7
add missing malloc for cable_params in usbblaster_connect()
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1250 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
b62752a299
2008-05-21 Jie Zhang <jie.zhang@analog.com>
...
[ 1968455 ] Enter UPDATE state after register shift
* include/chain.h (EXITMODE_UPDATE): Define.
* src/tap/tap.c (tap_defer_shift_register): Enter Update-DR
or Update-IR when requested.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1246 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
76f9006c46
typo in help string fixed
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1245 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
92c0c55e98
ft2232 and usbblaster cable drivers ported to usbconn layer
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1244 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
cf6e302089
Parse VID/PID as hex, fix 1962628
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1229 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
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