6 Commits (8370d3776c2bc927e4bf94494eff4c832e90d473)

Author SHA1 Message Date
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