1648 Commits (388bdf7a9d47a7b60bd2f410338ff9d5fff069b3)
 

Author SHA1 Message Date
Marcel Telka bfe0dabe08 2003-03-19 Marcel Telka <marcel@telka.sk>
Version 0.3.1 released.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@406 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1e02cc6eac 2003-03-19 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added doc/Makefile.
	* Makefile.am (SUBDIRS): Added doc.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@405 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b842e417f7 2003-03-19 Marcel Telka <marcel@telka.sk>
* Makefile.am: New file.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@404 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka db90feda79 Created initial ChangeLog for documentation.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@403 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 75b7508355 2003-03-18 Marcel Telka <marcel@telka.sk>
* src/tap/parport/direct.c (direct_connect): Fixed cable disconnecting loop.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@402 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2e6e74b04d 2003-03-18 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_line) <script>: Added support for `quit' command in scripts.
	(jtag_parse_rc): Ditto.
	(jtag_parse_file): Added support for comments and `quit' command in scripts.
	(main): Added command line parameter list execution as scripts.
	* data/intel/pxa250/STEPPING: Added support for Intel PXA255 A0 (thanks to Mike Sprauve).
	* configure.ac (AC_INIT): Changed version number to 0.3.1.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@401 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 3e1b91019a 2003-03-18 Marcel Telka <marcel@telka.sk>
* po/POTFILES.in: Added src/tap/parport/direct.c and src/tap/parport/ppdev.c.
	* src/help.c (help) <cable>: Added help for `cable ppdev' command.
	* src/tap/parport/ppdev.c (ppdev_open): Removed debug messages.
	* src/jtag.c (jtag_parse_line) <cable>: Added chain_disconnect() call before
		new cable connection.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@400 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d75952bec4 2003-03-18 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CHECK_HEADERS): Added test for linux/ppdev.h.
	* src/tap/Makefile.am (libtap_a_SOURCES): Added parport/ppdev.c.
	* src/tap/parport.c (parport_drivers): Added ppdev parport driver.
	* src/tap/parport/ppdev.c: New file.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@399 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 0af1945181 2003-03-18 Marcel Telka <marcel@telka.sk>
* src/bsdl2jtag.c (endline): Removed compile warning.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@398 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 9406ed47c7 2003-03-18 Marcel Telka <marcel@telka.sk>
* include/parport.h: New file. Added parport driver support.
		All cable drivers modified.
	* src/tap/parport.c: Ditto.
	* src/tap/parport/direct.c: Ditto.
	* src/jtag.c (jtag_parse_line) <cable>: Added parport driver support.
	* include/Makefile.am (noinst_HEADERS): Added parport.h.
	* src/tap/cable/generic.c: New file withgGeneric functions for cable drivers.
		All cable drivers modified.
	* src/tap/cable/generic.h: Ditto.
	* src/tap/Makefile.am (libtap_a_SOURCES): Added parport.c, parport/direct.c, cable/generic.h,
		and cable/generic.c.

	* include/cable.h: Added dynamic cable objects. Added cable interpose functions.
		All callers changed.
	* src/tap/cable.c: Ditto.

	* include/chain.h (chain_connect): Function removed.
	(chain_disconnect): New function.
	* src/tap/chain.c (chain_free): Modified for chain_disconnect() call.
	(chain_connect): Removed.
	(chain_disconnect): New function.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@397 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 5c062c7022 2003-03-17 Marcel Telka <marcel@telka.sk>
* stdint.h: Ported to cygwin-1.3.21. uint8_t, uint16_t, uint32_t, uint64_t,
		and uintptr_t are now declared in cygwin/types.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@396 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 543c297840 2003-03-17 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (bin_PROGRAMS, bsdl2jtag_SOURCES): Added new bsdl2jtag conversion
		tool (Matan Ziv-Av).
	* src/bsdl2jtag.c: New file (Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@395 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 584d2e57f1 2003-03-14 Marcel Telka <marcel@telka.sk>
* configure.ac (CPPFLAGS): Added common include paths.
	* src/Makefile.am (INCLUDES): Removed common include paths.
	* src/bus/Makefile.am (INCLUDES): Ditto.
	* src/part/Makefile.am (INCLUDES): Ditto.
	* src/tap/Makefile.am (INCLUDES): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@394 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1977dae043 2003-03-13 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_HEADERS): Replaced this `new' macro ...
	(AM_CONFIG_HEADER): ... with this `old' one to make build compatible with automake-1.6.
	(AM_GNU_GETTEXT_VERSION): Relaxed version number from 0.11.5 to 0.11.4.
	* src/Makefile.am (jtag_LDADD): Added LIBINTL.
	(LIBS): Removed LIBINTL.
	(DEFS): Removed whole content ...
	(INCLUDE): ... and added it here.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@393 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka daa49cf9bc 2003-03-13 Marcel Telka <marcel@telka.sk>
* include/chain.h: New file.
	* src/tap/chain.c: Ditto.
	* src/tap/Makefile.am (libtap_a_SOURCES): Added chain.c.
	* include/Makefile.am (noinst_HEADERS): Added chain.h.
	* src/jtag.c: Encapsulated parts, cable and TAP state into one object - chain.
		All relevant function parameters changed to `chain'.
	* src/tap/state.c: `trst' state moved to cable drivers.
		All cable drivers changed.
	* include/cable.h (cable_driver_t) <set_trst>: Changed return value from void to int.
		All cable drivers changed.
	(cable_driver_t) <get_trst>: New function.
		Implemented this function to all cable drivers.
	* include/part.h (part_shift_instruction, part_shift_data_register)
	(parts_shift_instructions, parts_shift_data_registers): Funcions removed.
	* src/part/part.c (part_shift_instruction, part_shift_data_register)
	(parts_shift_instructions, parts_shift_data_registers): Ditto.
	* src/tap/cable/arcom.c: Removed dependency on state.h.
	* src/tap/cable/byteblaster.c: Ditto.
	* src/tap/cable/dlc5.c: Ditto.
	* src/tap/cable/ea253.c: Ditto.
	* src/tap/cable/ei012.c: Ditto.
	* src/tap/cable/mpcbdm.c: Ditto.
	* src/tap/cable/wiggler.c: Ditto.

	* include/state.h (bit): Replaced with common.h include.
	(Unknown_State, Run_Test_Idle, Select_DR_Scan, Select_IR_Scan): Removed parentheses.
	* include/tap.h (write_command): Removed unused declaration.

	* src/detect.h: Removed file.
	* src/jtag.h: New file with common jtag function declarations.
	* src/Makefile.am (jtag_SOURCES): Removed detect.h, added jtag.h.
	* src/cfi.c: Added jtag.h include. Moved common function declarations to jtag.h file.
	* src/detect.c: Ditto.
	* src/discovery.c: Ditto.
	* src/flash.c: Ditto.
	* src/help.c: Ditto.
	* src/jtag.c: Ditto.
	* src/readmem.c: Ditto.

	* src/jtag.c (jtag_create_jtagdir, jtag_load_history, jtag_save_history, jtag_parse_line)
	(jtag_readline_loop, jtag_parse_file, jtag_parse_rc): Changed functions to `static'.

	* src/tap/tap.c: Added l10n support.
	* po/POTFILES.in: Added src/tap/chain.c and src/tap/tap.c.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@392 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1d44678038 2003-03-13 Marcel Telka <marcel@telka.sk>
* include/part.h: Renamed types part to part_t, parts to parts_t,
		tap_register to tap_register_t.
	* include/register.h: Renamed tap_register type to tap_register_t.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@391 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4e5939be6a 2003-03-11 Marcel Telka <marcel@telka.sk>
* configure.ac: Improved openwince include package detection.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@390 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 7944674e9e 2003-03-07 Marcel Telka <marcel@telka.sk>
* src/lib/getdelim.c: Added unistd.h include for ssize_t.
	* src/lib/getline.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@389 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 7ea095b6e6 2003-03-06 Marcel Telka <marcel@telka.sk>
* configure.ac: Added test for readline library.
	* src/Makefile.am (jtag_LDADD): Removed readline and ncurses.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@388 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4767b020ba Internals documentation started.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@387 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 28d0bff970 2003-03-06 Marcel Telka <marcel@telka.sk>
* autogen.sh: Added test for autoreconf fail.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@386 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 5b2c37d3df We need documentation.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@385 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka ab08150cf5 2003-02-25 Marcel Telka <marcel@telka.sk>
Version 0.3 released.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@383 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b44726feff 2003-02-25 Marcel Telka <marcel@telka.sk>
* src/tap/cable.c: Added config.h include.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@382 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 10a52d05fe 2003-02-25 Marcel Telka <marcel@telka.sk>
* data/MANUFACTURERS: Added Hitachi (Matan Ziv-Av).
	* data/Makefile.am (nobase_dist_pkgdata_DATA): Added Hitachi SH7727
		files (Matan Ziv-Av).
	* data/hitachi/PARTS: New file (Matan Ziv-Av).
	* data/hitachi/sh7727/STEPPINGS: Ditto.
	* data/hitachi/sh7727/sh7727: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@381 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 5c5f6a080c 2003-02-25 Marcel Telka <marcel@telka.sk>
* data/MANUFACTURERS: Added Broadcom (Matan Ziv-Av).
	* data/Makefile.am (nobase_dist_pkgdata_DATA): Added Broadcom BCM1250
		files (Matan Ziv-Av).
	* data/broadcom/PARTS: New file (Matan Ziv-Av).
	* data/broadcom/bcm1250/STEPPINGS: Ditto.
	* data/broadcom/bcm1250/bcm1250: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@380 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 8db4e7e62f 2003-02-21 Marcel Telka <marcel@telka.sk>
* src/help.c (help): Marked translatable strings.
	* src/jtag.c (jtag_parse_line): Ditto.
	(jtag_parse_file): Ditto.
	(main): Ditto.
	* po/POTFILES.in: Added src/help.c and src/jtag.c.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@379 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1946295a57 2003-02-21 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Added conditional compilation for l10n.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@378 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 170f1eeeff 2003-02-20 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (jtag_SOURCES): Added missing flash.h.
	* src/jtag.c: Added missing string.h include. Moved gettext.h include
		to the top level of the include list.
	* src/help.c: Moved gettext.h include to the top level of the include list.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@377 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 307b9ff666 2003-02-20 Marcel Telka <marcel@telka.sk>
* Makefile.am (SUBDIRS): Removed intl.
	* autogen.sh: Replaced subsequent call of auto* tools with autoreconf one.
	* configure.ac (AC_CONFIG_FILES): Removed intl/Makefile.
	(AM_GNU_GETTTEXT): Added 'external' parameter.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@376 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b2c19838fa 2003-02-19 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_HEADERS): Added new macro with config.h.
	* autogen.sh: Added autoheader invocation.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@375 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4b51d267d3 Added jtag-0.3 title.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@374 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 41afa6bd95 2003-02-18 Marcel Telka <marcel@telka.sk>
* include/Makefile.am (noinst_HEADERS): Added gettext.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@373 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 5f4dc04142 2003-02-18 Marcel Telka <marcel@telka.sk>
* autogen.sh: Added autopoint call. Added '-I m4' parameter for aclocal.
	* Makefile.am (SUBDIRS): Added intl, include and po.
	(DIST_SUBDIRS): Removed.
	(ACLOCAL_AMFLAGS): Added '-I m4'.
	* configure.ac (AC_INIT): Changed version number to 0.3.
	(AC_CONFIG_FILES): Added intl/Makefile and po/Makefile.in.
	(AM_GNU_GETTEXT): Added.
	(AM_GNU_GETTEXT_VERSION): Added with version 0.11.5.
	* include/gettext.h: Copied new file from gettext share.
	* po/LINGUAS: Added new empty file.
	* po/Makevars: Added new file.
	* po/POTFILES.in: Added new empty file.
	* src/Makefile.am (INCLUDES): Removed JTAG_DATA_DIR.
	(localedir): Added path to locale directory.
	(DEFS): Added JTAG_DATA_DIR and LOCALEDIR.
	(LIBS): Added LIBINTL.
	* src/help.c: Included gettext.h.
	* src/jtag.c: Included gettext.h.
	(main): Added l10n support.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@372 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 99e1d5966d ioperm package is now a part of the Cygwin net distribution. Separate download/install is not required.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@371 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 6053b02dc8 Fixed typos.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@370 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka bed752ec0f 2003-02-18 Marcel Telka <marcel@telka.sk>
* src/flash.c (flashmsbin): Changed flash error message.
	(flashmem): Changed output messages. Enabled verify for 2 x 16, not
		for 1 x 16. Added betted and of file test for verify.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@369 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2b799c36b9 2003-02-18 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added src/bus/Makefile.
	* src/bus.h: Moved this file...
	* include/bus.h: ...here.
	* include/Makefile.am (noinst_HEADERS): Added bus.h.
	* src/ixp425.c: Moved this file...
	* src/bus/ixp425.c: ...here.
	* src/pxa250.c: Moved this file...
	* src/bus/pxa2x0.c: ...here.
	* src/sa1110.c: Moved this file...
	* src/bus/sa1110.c: ...here.
	* src/bus/Makefile.am: New file.
	* src/Makefile.am (SUBDIRS): Added bus.
	(jtag_SOURCES): Removed bus.h, ixp425.c, pxa250.c, sa1110.c.
	(jtag_DEPENDENCIES): Added libbus.a.
	(jtag_LDADD): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@368 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 7fdbf06e79 2003-02-18 Marcel Telka <marcel@telka.sk>
* src/tap/cable.c: Added <sys/types.h> include for useconds_t on some systems.
	* src/flash-amd.c (amdstatus29): Disabled unused function.
	(amdisprotected): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@367 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 29a5f4da8d 2003-02-17 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_line): Fixed segfault for 'set' command.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@366 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f7b02f3290 2003-02-17 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_line): Added new 'get signal' command.
	* src/help.c (help): Added help for new 'get signal' command.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@365 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 81517fc322 2003-02-17 Marcel Telka <marcel@telka.sk>
* data/intel/pxa250/pxa250: Changed comment.
	* data/intel/pxa250/pxa250c0: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@364 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 66bdc12f55 2003-02-17 Marcel Telka <marcel@telka.sk>
* src/help.c (help): Added help for new command 'script'.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@363 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka c848466df3 2003-02-17 Marcel Telka <marcel@telka.sk>
* src/flash-intel.c (intel_flash_autodetect): Fixed Intel flash algorithm Id.
	(intel_flash_autodetect32): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@362 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4e5cbded38 2003-02-17 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CHECK_FUNCS): Added getdelim and getline.
	(AC_CONFIG_FILES): Added src/lib/Makefile.
	* src/Makefile.am (SUBDIRS): Added lib.
	(jtag_DEPENDENCIES): Added libjtaglib.a.
	(jtag_LDADD): Ditto.
	* src/jtag.c: Added portable getline() declaration.
	* src/lib/Makefile.am: New file.
	* src/lib/getdelim.c: Ditto.
	* src/lib/getline.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@361 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka eb99256e68 2003-02-16 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_creae_jtagdir): New function (Alessandro Zummo).
	(jtag_load_history): Ditto.
	(jtag_save_history): Ditto.
	(jtag_readline_loop): Ditto.
	(jtag_parse_file): Ditto.
	(jtag_parse_rc): Ditto.
	(jtag_parse_line): New funcion, content extracted from main function, added new
		'script' command (Alessandro Zummo).
	(main): Moved parsing capability to jtag_parse_line function (Alessandro Zummo).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@360 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d744cbd3fe 2003-02-16 Marcel Telka <marcel@telka.sk>
* src/flash.c (flash_drivers): Added missing 1 x 16 Intel flash driver.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@359 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 53062ac43d 2003-02-16 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Corrected error message for 'instruction' command and added
		a notice when an instruction is unknown (Alessandro Zummo).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@358 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka c7995ff59c 2003-02-16 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Fixed segfault in 'detectflash'. Thanks to August Hörandl
		for reporting this issue.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@357 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b7738d12bf 2003-02-16 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (jtag_SOURCES): Added new flash files with flash driver
		framework (August Hörandl).
	* src/flash-amd.c: New file with AMD flash support (August Hörandl).
	* src/flash-intel.c: New file. Extracted Intel flash support from src/flash.c
		file (August Hörandl, me).
	* src/flash.c (set_flash_driver): New function. Added support for flash
		drivers (August Hörandl).
	(flashceck): Ditto.
	(flashmsbin): Added support for flash driver (August Hörandl).
	(flashmem): Ditto.
	(flash_erase_block): Function moved to src/flash-intel.c (August Hörandl).
	(flash_unlock_block): Ditto.
	(flash_program): Ditto.
	(flash_erase_block32): Ditto.
	(flash_unlock_block32): Ditto.
	(flash_program32): Ditto.
	* src/flash.h: New file. Interface for flash drivers (August Hörandl).
	* src/help.c (help): Added list of supported flash drivers for 'flashmem'
		command (August Hörandl).
	* src/readmem.c (detectflash): Removed Intel specific code. Enhanced output
		messages (August Hörandl).


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