Mike Frysinger
b1aeb2c126
Add a prefix to all local variables named "exit" to avoid shadowing the system exit() function
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1432 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Kolja Waschk
dde7398208
[2187351] Direct JTAG signal access, get/set_trst extension integrated from getset_pod branch
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1419 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
d8ec16d65e
increased MPSSE buffer size from 4k to 64k
...
mitigates performance decrease for mid-sized clock operations
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1411 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
b91de62b6f
restructure multi-byte flash programming support
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1392 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
7f81a9258c
support for multi-byte write mode on intel.c based chips
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1391 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
37d72e13f3
support multi-byte write mode for certain flash chips
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1390 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
aeb93db8d2
add the ref_freq option to svf command
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1385 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
a76a13a632
[ 2102453 ] Use macros for std return values instead of literals
...
started with the bus driver stack
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1366 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Kolja Waschk
b55c69ab76
Add new header files to Makefile.am so they get included in distribution
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1357 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
a4550b1b68
cleaned-up bsdl subsystem, avoid double reading during detect, commenting
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1345 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger
3c9dae4961
[ 1873260 ] Command 'reset' does not reset internal states
...
next round to fix this one
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1302 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang
6edc1f842d
[ 2007630 ] Pass driver to new_bus
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1292 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
684ef2f9f7
[ 1984813 ] Bus driver cleanup
...
Separate (*init) and (*prepare) functions
(Hartley Sweeten)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1288 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
0da5bdae87
[ 1984813 ] Bus driver cleanup, uniquify chain and part in bus_t struct (Hartley Sweeten)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1285 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
47d85b3d35
new svf command option 'progress'
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1256 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
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
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
Kolja Waschk
09f3ff129e
[ 1946331 ] command completion support (Mike Frysinger)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1175 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
d2c80944d1
[ 1916428 ] support runtime-relocatable urjtag (by M.Frysinger)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1152 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
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
Jie Zhang
0a03521de6
[ 1901955 ] Localize chain variable
...
[ 1830901 ] Merge Blackfin support
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1102 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
8db57a7945
[ 1901129 ] Detect AMD CFI primary vendor-specific extended query table
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1095 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
Kolja Waschk
9f7e50eabb
Include jim header files in distribution
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1041 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
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
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
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
Kolja Waschk
837451634c
Split tap_shift_register into defer + output part (for 1832990)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@990 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
7b122e1c00
Updates required to parse some Xilins BSDL files:
...
- bsdl file for 2001 standard added
- MAXLEN_DATA_REGISTER increased to 32
- convert bsdl package filename to uppercase
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@988 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
03aeb3783e
Merged from jtag_kawk#978: New functions to queue "deferred" JTAG activity.
...
New code in cable drivers to flush the activity queue, both generic (for
parport-based and new drivers) and optimized implementations for FT2232-based
cables (by Arnim Laeuger) and USB-Blaster (by me) (#1832990 )
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@979 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
1671aa2ab5
Updates to JIM, code skeleton for flash attached to some_cpu bus
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@953 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
b5df073aa0
Updates to JIM; the intel flash now could be detected (but UrJTAG fails on this one..)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@950 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
8d7e8c7c57
Updates to JIM, code skeleton for flash attached to some_cpu bus
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@949 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
3a1ec19c8c
Actual implementation of cable driver for JIM, basic TAP state machine, and a skeleton for "some_cpu" with working IDCODE detection.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@932 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
aae9e008ec
[ 1873220 ] Merge libbrux into src, and inclow into include. Compiles now.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@926 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
a3547df4c0
[ 1873220 ] Merge libbrux into src, and inclow into include. Doesn't compile yet!
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@925 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
6f13d02f9f
add bsdl.h to list of headers
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@910 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger
b62f2996f0
merged BSDL parser from branches/bsdl 787:903 to trunk
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@904 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
8a53bead30
fixes for function prototypes and missing includes (Hartley)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@868 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
a224cab4b0
Removed code for "setdevice" command (introduced in #741 )
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@853 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
dedc872f52
Added help function to every cable, closes [1851444] More cable help
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@846 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago