91 Commits (facfcee1b891efa749b9791bb4d636f64f2e8dda)

Author SHA1 Message Date
Arnim Läuger f7251ebba6 test correct return value of bus->driver->init()
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1356 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 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
17 years ago
Arnim Läuger a4a48f0158 document feature to set active data register with dr
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1303 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 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 32dc74e986 [ 1984813 ] Bus driver cleanup, remove unnecessary sanity checking (Hartley Sweeten)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1284 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
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
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
Ville Voipio e07c290fb3 Rewritten parse.c (removed strtok() for being evil and gettext() for being non-POSIX)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1207 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk ff3536198c Update for OS X support (by Ville Voipio)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1205 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Mike Frysinger a71df446b6 handle absolute paths under windows that start with drive letters
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1203 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 6fb0f78c1a Fix [ 1933736 ] "frequency" command segfaults without args
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1172 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 5f23e7ac5e [ 1936543 ] Patch: Checkfor set-up cable in idcode
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1159 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
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 3bff855141 Applied M. Frysingers patches to fix 1899908,1899922,1899930
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1087 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 2a31c0b3a3 Restored old behaviour for "script" command (for now)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1055 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 01714116f2 in include.c: check and read file if it's BSDL syntax -> [ 1895936 ]
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1054 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk d4c8a7311b Merged script.c command into include.c and modified the file search strategy
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1052 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk afb5cc0c29 Implemented "scan": [1895135] Basic Boundary Scan Command
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1036 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 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
Arnim Läuger cb72f1c1da added 'prototype' bus driver (Detrick Martin)
since this driver requires a parameter string upon initialization, the
API had to be extended for bus_new()
all other drivers need to follow the new function prototype


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@914 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger a763de935e conditional build of SVF and BSDL components based on --enable-svf and --enable-bsdl
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@908 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
Arnim Läuger b8727aafa1 applied patch '[ 1858985 ] possible fix to print the signal aliases' (Hartley Sweeten)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@892 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 814f38046d cast uint64_t to (long long unsigned) for %llu
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@869 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk ea79dff446 fixes for function prototypes and missing includes (Hartley)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@867 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 4ecbb35521 Cosmetics and fix for segfault after legacy check in cable.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@849 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk cd7ea9388c Replaced several strcmps by strcasecmps, fixes 1845811 Case sensitivity in shell
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@848 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
Kolja Waschk 4b93f558b6 [1839040] Make "cable" command less parport-centric. Changes "cable" command syntax!
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@809 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk aad548b031 Clean up fix for [1837985] "shell" command causes segfault
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@790 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 93379cc552 Allow arbitrary number of arguments for "shell" command (fix for [1837985] "shell" command causes segfault)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@785 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger e828e317e4 ftd2xx parport driver added
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@782 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger caf4bb21fb report cable usage for USB & FTDI based cables only in case respective support is included
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@772 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 4912ec2f2e merged changes from /branches/ft2232_eval@770
this is the initial stable version of the ft2232 cable driver


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@771 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 41a92905ca fixed [ 1828672 ] cmd/bit.c broken
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@745 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 5135cac35f [ 1479632, 1649637 ] Drivers for Altera USB Blaster and Xilinx Platform Cable USB
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@743 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 029593bbd1 [ 1605981 ] JTAG Support for ADSP-21065L Processor (with modifications)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@741 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger bd53788ad9 get rid of (most) compiler warnings
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@733 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 851277f003 Remaining diffs from gumstix repository: Add debug, test and shell command, aliases for parts, small fixes.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@731 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago