16 Commits (5c520db0ebf08a49f4b1fed7773da551a3cf9dea)

Author SHA1 Message Date
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 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
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 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 fb8a7b3831 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@732 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk a7a87bc635 [ 1249554 ] Writemem command to write to SRAM
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@712 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Marcel Telka fb1b33970e 2004-08-15 Marcel Telka <marcel@telka.sk>
* include/jtag.h (detect_parts): Changed return type.
	* src/detect.c (detect_parts): Changed return value to return number of detected parts.
	* src/cmd/detect.c (cmd_detect_run): Added reset of the chain->parts to NULL before
		detect_parts() call. Ignored detect_parts() return value.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@604 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 9928910711 2003-08-14 Marcel Telka <marcel@telka.sk>
* include/jtag.h (flasherase): New function prototype (patch 772267, Thomas Fröhlich).
	* src/flash.c (flasherase): New function (patch 772267, Thomas Fröhlich).
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added eraseflash.c (patch 772267, Thomas Fröhlich).
	* src/cmd/cmd.c (cmds): Added cmd_eraseflash (patch 772267, Thomas Fröhlich).
	* src/cmd/eraseflash.c: New file (patch 772267, Thomas Fröhlich).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@515 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 902e35d7e0 2003-08-13 Marcel Telka <marcel@telka.sk>
* include/jtag.h (detect_register_size): Added function declaration.
	* src/discovery.c (detect_register_size): Changed to non-static.
	* src/detect.c (detect_parts): Added support for parts without IDCODE.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@510 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f017932912 2003-06-19 Marcel Telka <marcel@telka.sk>
* include/jtag.h (discovery): Removed 'filename' parameter.
	* src/discovery.c (TEST_COUNT): Changed test repeat count from 5 to 1.
	(detect_register_size): Removed 'f' parameter. Removed output messages.
	(jtag_reset): Removed sleep() calls.
	(discovery): Removed 'filename' parameter. Removed support for output to file. Simplified output
		messages.
	* src/cmd/discovery.c (cmd_discovery_run): Removed FILENAME parameter.
	(cmd_discovery_help): Updated help text.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@489 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 07f1027c0d 2003-06-03 Marcel Telka <marcel@telka.sk>
* include/jtag.h (detectflash, flashmem, flashmsbin): Declarations moved to include module,
		file brux/flash.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@460 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 39e71ae23b 2003-05-22 Marcel Telka <marcel@telka.sk>
* src/jtag.c: Added new global variable 'big_endian'.
	* include/jtag.h: Ditto.
	* src/flash.c (flashmem): Added full support for little/big endian.
	* src/readmem.c (readmem): Ditto.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added endian.c.
	* src/cmd/cmd.c (cmds): Added new command 'endian'.
	* src/cmd/endian.c: New file.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@439 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka bdac1de201 2003-05-20 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added src/cmd/Makefile.
	* include/Makefile.am (noinst_HEADERS): Added jtag.h.
	* include/jtag.h: New file.
	* po/POTFILES.in: Updated.
	* src/Makefile.am (SUBDIRS): Added cmd.
	(jtag_SOURCES): Removed jtag.h and help.c.
	(jtag_DEPENDENCIES): Added cmd/libcmd.a.
	(jtag_LDADD): Added libcmd.
	(INCLUDES): Removed JTAG_DATA_DIR.
	* src/help.c: File removed.
	* src/jtag.h: Ditto.
	* src/jtag.c (jtag_parse_line): Removed command parsing and moved it to cmd directory.
	(jtag_parse_file): Function is no longer static.
	* src/cmd/Makefile.am: New file.
	* src/cmd/cable.c: Ditto.
	* src/cmd/cmd.c: Ditto.
	* src/cmd/cmd.h: Ditto.
	* src/cmd/detect.c: Ditto.
	* src/cmd/detectflash.c: Ditto.
	* src/cmd/discovery.c: Ditto.
	* src/cmd/dr.c: Ditto.
	* src/cmd/flashmem.c: Ditto.
	* src/cmd/frequency.c: Ditto.
	* src/cmd/get.c: Ditto.
	* src/cmd/help.c: Ditto.
	* src/cmd/instruction.c: Ditto.
	* src/cmd/print.c: Ditto.
	* src/cmd/quit.c: Ditto.
	* src/cmd/readmem.c: Ditto.
	* src/cmd/script.c: Ditto.
	* src/cmd/set.c: Ditto.
	* src/cmd/shift.c: Ditto.

	* src/part/part.c (parts_print): Fixed header printing.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@434 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago