54 Commits (3e825198959d143ece38a7992fa974db67aa6994)

Author SHA1 Message Date
Marcel Telka b05cffa059 2003-09-05 Marcel Telka <marcel@telka.sk>
* include/bus.h (bus_drivers): Added constant declaration.
	(new_sa1110_bus, new_pxa250_bus, new_ixp425_bus, new_sh7727_bus, new_sh7750r_bus, new_sh7751r_bus)
	(new_bcm1250_bus): Function declarations removed.
	* src/bus/buses.c (bus_drivers): New constant definition.
	* src/bus/buses.h: New file.
	* src/bus/Makefile.am (libbus_a_SOURCES): Added buses.h.

	* src/bus/bcm1250.c (bcm1250_bus_printinfo): Added new function parameter 'bus'.
	(bcm1250_bus): Changed structure type to bus_driver_t. Changed members.
	(new_bcm1250_bus): Function renamed ...
	(bcm1250_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/ixp425.c (ixp425_bus_printinfo): Added new function parameter 'bus'.
	(ixp425_bus): Changed structure type to bus_driver_t. Changed members.
	(new_ixp425_bus): Function renamed ...
	(ixp425_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/pxa2x0.c (pxa2x0_bus_printinfo): Added new function parameter 'bus'.
	(pxa250_bus): Structure transformed ...
	(pxa2x0_bus): ... to this constant (changed type to bus_driver_t, changed members).
	(new_pxa250_bus): Function renamed ...
	(pxa2x0_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/s3c4510x.c (s3c4510_bus_printinfo): Added new function parameter 'bus'.
	(s3c4510_bus): Changed structure type to bus_driver_t. Changed members.
	(new_s3c4510_bus): Function renamed ...
	(s3c4510_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/sa1110.c (sa1110_bus_printinfo): Added new function parameter 'bus'.
	(sa1110_bus): Changed structure type to bus_driver_t. Changed members.
	(new_sa1110_bus): Function renamed ...
	(sa1110_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/sh7727.c (sh7727_bus_printinfo): Added new function parameter 'bus'.
	(sh7727_bus): Changed structure type to bus_driver_t. Changed members.
	(new_sh7727_bus): Function renamed ...
	(sh7727_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/sh7750r.c (sh7750r_bus_printinfo): Added new function parameter 'bus'.
	(sh7750r_bus): Changed structure type to bus_driver_t. Changed members.
	(new_sh7750r_bus): Function renamed ...
	(sh7750r_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/sh7751r.c (sh7751r_bus_printinfo): Added new function parameter 'bus'.
	(sh7751r_bus): Changed structure type to bus_driver_t. Changed members.
	(new_sh7751r_bus): Function renamed ...
	(sh7751r_bus_new): ... to this one. Changed parameter list to void (and function body updated).

	* src/cmd/cable.c (cmd_cable_run): Replaced bus->free() call with bus_free().
	* src/jtag.c (main): Ditto.

	* src/cmd/cmd.c (cmds): Added cmd_initbus.
	* src/cmd/detect.c (cmd_detect_run): Removed explicit bus driver detection.
	* src/cmd/initbus.c: New file.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added initbus.c.

	* data/broadcom/bcm1250/bcm1250: Added 'initbus' command call.
	* data/hitachi/sh7727/sh7727: Ditto.
	* data/intel/ixp425/ixp425: Ditto.
	* data/intel/pxa250/pxa250: Ditto.
	* data/intel/pxa250/pxa250c0: Ditto.
	* data/intel/sa1110/sa1110: Ditto.
	* data/samsung/s3c4510b/s3c4510b: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@558 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 41c771380b 2003-08-25 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed package name.
	* src/jtag.c (main): Added full package name to banner.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@543 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka c146db4b84 2003-08-19 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Fixed setlocale() call.
	* Makefile.am (noinst_HEADERS): Renamed config.h -> sysdep.h.
	* config.h: Renamed this file ...
	* sysdep.h: ... to this one.
	Changed config.h -> sysdep.h include in all source files.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@523 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 05d3c24f64 2003-08-13 Marcel Telka <marcel@telka.sk>
* include/part.h (struct part): Added new member 'id'.
	(part_alloc): Added new parameter 'id'.
	* src/detect.c (detect_parts): Added execution JTAG declarations as script.
	* src/jtag.c (get_token): Added support for in-line comments.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added signal.c, bit.c, and register.c.
	* src/cmd/bit.c: New file.
	* src/cmd/register.c: Ditto.
	* src/cmd/signal.c: Ditto.
	* src/cmd/cmd.c (cmds): Added cmd_signal, cmd_bit, and cmd_register.
	* src/cmd/instruction.c (cmd_instruction_run, cmd_instruction_help, cmd_instruction): Added support
		for new instruction declaration.
	* src/part/parse.c: File removed.
	* src/part/Makefile.am (libpart_a_SOURCES): Removed parse.c.
	* src/cmd/detect.c (cmd_detect_run): Fixed possible NULL pointer dereference.
	* src/part/part.c (part_alloc): Added new parameter 'id'.
	(part_free): Addedd id deallocation.
	(part_print): Added support for instructions without data register.
	* src/tap/chain.c (chain_shift_data_registers): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@506 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 7cca05a558 2003-08-11 Marcel Telka <marcel@telka.sk>
* include/bus.h (buses_t): Added new structure.
	* src/jtag.c (bus): Removed global variable.
	* src/bus/Makefile.am (libbus_a_SOURCES): Added buses.c.
	* src/bus/buses.c: New file.
	* src/bus/bcm1250.c (bcm1250_bus_printinfo): New function.
	* src/bus/ixp425.c (ixp425_bus_printinfo): Ditto.
	* src/bus/pxa2x0.c (pxa2x0_bus_printinfo): Ditto.
	* src/bus/sa1110.c (sa1110_bus_printinfo): Ditto.
	* src/bus/sh7727.c (sh7727_bus_printinfo): Ditto.
	* src/bus/sh7750r.c (sh7750r_bus_printinfo): Ditto.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added bus.c.
	* src/cmd/bus.c: New file.
	* src/cmd/cmd.c (cmds): Added cmd_bus.
	* src/cmd/detect.c (cmd_detect_run): Added support for multiple buses detection.
	* src/cmd/print.c (cmd_print_run): Fixed header printing while syntax error. Added support for printing
		list of active buses.
	(cmd_print_help): Added new parameter 'bus'.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@497 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1632019141 2003-07-16 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_line): Fixed invalid memory allocation size (core dump).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@491 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 88953b5633 2003-06-03 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (jtag_LDADD): Added libbrux twice to resolve dependencies.
	* src/jtag.c: Fixed cmd.h include path.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@468 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka bb8b9d4cd9 2003-05-22 Marcel Telka <marcel@telka.sk>
* config.h: New file.
	Changed all relevant source files to include this file unconditionaly.
	* Makefile.am (noinst_HEADERS): Added config.h.
	* configure.ac (AM_CONFIG_HEADER): Renamed generated configuration file
		from config.h to acconfig.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@440 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
Marcel Telka c66099c0b3 2003-05-13 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_file): Added support for command scripts from stdin.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@424 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 60767fa68f 2003-04-29 Marcel Telka <marcel@telka.sk>
* data/MANUFACTURERS: Added new manufacturer: DEC.

	* src/jtag.c (jtag_create_jtagdir): Changed permissions for jtag directory.

	* include/part.h (part_alloc, read_part): Changed return type from `part *' to `part_t *'.
	(struct parts): Changed parts member type from `part **' to `part_t **'.
	(parts_alloc): Changed return type from `parts *' to `parts_t *'.
	* src/bus/ixp425.c (select_flash, unselect_flash, setup_address, set_data_in, setup_data):
		Changed first parameter type from `part *' to `part_t *'.
	* src/bus/pxa250.c (setup_address, set_data_in, setup_data): Ditto.
	* src/bus/sa1110.c (setup_address, set_data_in, setup_data): Ditto.

	* include/bus.h: Replaced static bus_driver_t architecture with dynamic bus_t.
		Removed direct chain_t dependency. Added `params' and `prepare' members.
	All related functions' parameter types changed.
	* src/bus/ixp425.c (bus_params_t): New structure typedef.
	(CHAIN, PART): New macros.
	(ixp425_bus_prepare, ixp425_bus_free, new_ixp425_bus): New functions.
	(ixp425_bus_driver, ixp425_bus): Renamed `ixp425_bus_driver' to `ixp425_bus' and updated
		for new bus driver architecture.
	* src/bus/pxa250.c (bus_params_t): New structure typedef.
	(CHAIN, PART): New macros.
	(pxa250_bus_prepare, pxa250_bus_free, new_pxa250_bus): New functions.
	(pxa250_bus_driver, pxa250_bus): Renamed `pxa250_bus_driver' to `pxa250_bus' and updated
		for new bus driver architecture.
	* src/bus/sa1110.c (bus_params_t): New structure typedef.
	(CHAIN, PART): New macros.
	(sa1110_bus_prepare, sa1110_bus_free, new_sa1110_bus): New functions.
	(sa1110_bus_driver, sa1110_bus): Renamed `sa1110_bus_driver' to `sa1110_bus' and updated
		for new bus driver architecture.
	* src/readmem.c (detectflash, readmem): Moved JTAG chain initialization to bus->prepare().
	* src/flash.c (flashcheck): Ditto.
	(flashmsbin, flashmem): Removed BYPASS instruction setup.
	* src/jtag.c (bus_driver, bus): Replaced `bus_driver' with `bus' global variable.
	(jtag_parse_line, main): Added `bus' deallocation.
	* src/flash.h (flash_driver_t): Changed parameter type for all function members from
		`chain_t*' to `bus_t *'.
	All function callers changed.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@423 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 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 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 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 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 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 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 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 92359fa779 2003-02-14 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag): Added command history load/save support (August Hörandl).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@354 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 17bb0adbbc 2003-02-13 Marcel Telka <marcel@telka.sk>
* src/ixp425.c: Added bus driver for Intel IXP425 (Christian Pellegrin).
	* src/bus.h: Ditto.
	* src/jtag.c (main): Ditto.
	* src/Makefile.am (jtag_SOURCES): Added ixp425.c (Christian Pellegrin).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@345 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d32e8ba6c0 2003-02-04 Marcel Telka <marcel@telka.sk>
* src/help.c (help): Added missing short help description for 'set' command.
	* src/jtag.c (main): Added test for uninitialized ps for 'set' command.
	* src/tap/tap.c (tap_shift_register): Changed final state to Run-Test/Idle
		for immediately propagation of the new BSR values.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@335 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 3fbdc7429f 2003-02-04 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Added more checks for syntax errors. Added support for
		printing input data registers - command 'dr'. Added 'set signal'
		command.
	* src/help.c (help): Updated help for 'dr' command, added help for 'set
		signal.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@334 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka bf49310557 2003-01-18 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Added new 'frequency' command.
	* src/help.c (help): Added help for 'frequency' command.
	* include/cable.h (cable_wait): Added new function prototype.
	* src/tap/cable.c (cable_wait): Added new function.
	* src/tap/cable/byteblaster.c (byteblaster_clock): Added support for TCK
		frequency limit.
	(byteblaster_get_tdo): Ditto.
	* src/tap/cable/dlc5.c (dlc5_clock): Ditto.
	(dlc5_get_tdo): Ditto.
	* src/tap/cable/ea253.c (ea253_clock): Ditto.
	(ea253_get_tdo): Ditto.
	* src/tap/cable/ei012.c (ei012_clock): Ditto.
	(ei012_get_tdo): Ditto.
	* src/tap/cable/wiggler.c (wiggler_clock): Ditto.
	(wiggler_get_tdo): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@320 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f20f0ba489 2003-01-09 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Fixed minor typo in 'cable' output message.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@305 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka c5eb27eb50 2003-01-08 Marcel Telka <marcel@telka.sk>
* include/cable.h: Unified and simplified cable driver handling, added driver name
		and driver description into driver interface structure.
	* src/help.c (help): Ditto.
	* src/jtag.c (main): Ditto.
	* src/tap/Makefile.am: Ditto.
	* src/tap/cable.c: Ditto.
	* src/tap/cable/dlc5.c: Ditto.
	* src/tap/cable/ea253.c: Ditto.
	* src/tap/cable/ei012.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@300 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 9aae0add1e 2003-01-08 Marcel Telka <marcel@telka.sk>
* include/cable.h: Added cable driver for ETC EI012 JTAG Cable.
	* src/help.c (help): Ditto.
	* src/jtag.c (main): Ditto.
	* src/tap/Makefile.am: Ditto.
	* src/tap/cable/ei012.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@298 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka e57244e391 2003-01-08 Marcel Telka <marcel@telka.sk>
* configure.ac: Bumped version number to 0.2, added check-new and dist-bzip2
		parameters to AM_INIT_AUTOMAKE() invocation.
	* src/jtag.c: Updated year in initial banner.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@297 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka c268034c3a 2003-01-08 Marcel Telka <marcel@telka.sk>
* include/cable.h: Added cable driver for Xilinx DLC5 JTAG Parallel Cable III.
	* src/help.c (help): Ditto.
	* src/jtag.c (main): Ditto.
	* src/tap/Makefile.am: Ditto.
	* src/tap/cable/dlc5.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@296 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka dfd76356a2 2003-01-08 Marcel Telka <marcel@telka.sk>
* include/Makefile.am: Removed ctrl.h, added cable.h.
	* include/ctrl.h: Removed obsolete file.
	* include/cable.h: Added common declarations for JTAG cable drivers.
	* src/detect.c: Replaced ctrl.h include with cable.h (JTAG cable driver support).
	* src/discovery.c: Ditto.
	* src/tap/tap.c: Ditto.
	* src/help.c: Added help for new command 'cable'.
	* src/jtag.c: Added support for JTAG cable drivers, added new command 'cable'.
	* src/tap/Makefile.am: Removed ctrl.c, added cable/ea253.c, updated includes.
	* src/tap/ctrl.c: Removed obsolete file.
	* src/tap/state.c: Changed default TRST state to 1.
	* src/tap/cable/ea253.c: Added driver for EA253 JTAG cable.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@294 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 0ac86537b0 2003-01-05 Marcel Telka <marcel@telka.sk>
* include/register.h (register_inc, register_dec, register_shift_rigth,
		register_shift_left): Added new functions.
	* src/tap/register.c (register_inc, register_dec, register_shift_rigth,
		register_shift_left): Ditto.
	* src/Makefile.am: Added discovery.c file.
	* src/discovery.c: Added new file with discovery() implementation.
	* src/help.c (help): Added help for 'discovery' command.
	* src/jtag.c (main): Added 'discovery' command.
	* src/tap/tap.c (write_command): Removed unused function.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@291 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 8c7ac07a6f Added warning about hardware damage.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@274 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b165bbbaf8 Moved help command implementation to separate file (help.c).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@270 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 96fb7c4fee Added short help. Fixed some null pointer dereferences.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@265 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f3e1cddadf JTAG data dir path is now configurable via configure script.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@261 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2a086cbeeb Renamed old `readmem' to `detectflash'. Added new `readmem' which really read the memory.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@254 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 59c11433ba Added `dr' command for printing data register content.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@242 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka e9b917907c Added support for flashing msbin files.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@238 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1b30500bb4 Added bus_width(). Moved bus_driver initialization into main().
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@237 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka fd3977fafa Removed compile warnings.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@229 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka af3870faca Added support for strata flash programming.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@225 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4338b29ab7 Added simple :-) help command and unknown command detection.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@223 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka e6d5b436cd Copyright string converted to formatted copyright string.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@198 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago