201 Commits (3a1bb84aa4cd9c53b362d4f3d7013d2ae9cf87b5)

Author SHA1 Message Date
Marcel Telka 3a1bb84aa4 2003-09-15 Marcel Telka <marcel@telka.sk>
* configure.ac: Fixed spelling (patch 805108, Andreas Mohr).
	* src/jtag.c (main): Ditto.
	* src/cmd/discovery.c (cmd_discovery_help, cmd_discovery): Ditto.
	* src/cmd/flashmem.c (cmd_flashmem_help): Ditto.

	* src/tap/cable/ei012.c: Changed comment (patch 805108, Andreas Mohr).
	* src/tap/cable/keithkoep.c: Ditto.
	* src/tap/cable/mpcbdm.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@568 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 67c8d61b0c 2003-09-14 Marcel Telka <marcel@telka.sk>
* src/tap/cable/triton.c: New file (patch 805103, Andreas Mohr).
	* src/tap/Makefile.am (libtap_a_SOURCES): Added cable/triton.c (patch 805103, Andreas Mohr).
	* src/tap/cable.c (cable_drivers): Added triton_cable_driver member (patch 805103, Andreas Mohr).
	* src/tap/cable/generic.h (PARAM_SRESET): New macro (patch 805103, Andreas Mohr).
	(generic_params_t): New structure member 'sreset' (patch 805103, Andreas Mohr).

	* configure.ac: Changed description for --with-include parameter (thanks to Andreas Mohr).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@565 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka bf54af7380 2003-09-12 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CHECK_FUNCS): Added swprintf.
	* src/cmd/print.c (cmd_print_run): Added alternative implementation of the header printing using
		snprintf() for platforms without swprintf() function available.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@564 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka ca35146952 2003-09-11 Marcel Telka <marcel@telka.sk>
* src/tap/cable/wiggler.c (wiggler_init, wiggler_clock, wiggler_get_tdo, wiggler_set_trst): Fixed
		inverted TRST signal (see patch 799377 for more info, thanks to Mike Tesch for reporting).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@562 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 1a1d3ff56e 2003-09-10 Marcel Telka <marcel@telka.sk>
* src/cmd/dr.c (cmd_dr_run): Added test for missing active instruction and data register (thanks to
		Mike Tesch for reporting).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@561 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 8d216f236c 2003-09-10 Marcel Telka <marcel@telka.sk>
* src/bus/bcm1250.c (bcm1250_bus_printinfo, bcm1250_bus): Fixed typo (compatibile->compatible) in
		output message (thanks to Andreas Mohr).
	* src/bus/ixp425.c (ixp425_bus_printinfo, ixp425_bus): Ditto.
	* src/bus/pxa2x0.c (pxa2x0_bus_printinfo, pxa2x0_bus): Ditto.
	* src/bus/s3c4510x.c (s3c4510_bus_printinfo, s3c4510_bus): Ditto.
	* src/bus/sa1110.c (sa1110_bus_printinfo, sa1110_bus): Ditto.
	* src/bus/sh7727.c (sh7727_bus_printinfo, sh7727_bus): Ditto.
	* src/bus/sh7750r.c (sh7750r_bus_printinfo, sh7750r_bus): Ditto.
	* src/bus/sh7751r.c (sh7751r_bus_printinfo, sh7751r_bus): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@560 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
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 10147eff74 2003-09-03 Marcel Telka <marcel@telka.sk>
* src/bus/pxa2x0.c (set_data_in, setup_data): Added new 'adr' parameter. Used real data bus width
		for data reading (based on patch 792591, thanks to Guennadi Liakhovetski).
	All function callers updated.
	(pxa250_bus_read_next, pxa250_bus_read_end): Used real data bus width for data reading (based on
		patch 792591, thanks to Guennadi Liakhovetski).
	* src/bus/sa1110.c (set_data_in, setup_data, sa1110_bus_read_next, sa1110_bus_read_end): Ditto.
	* src/bus/sh7727.c (set_data_in, setup_data, sh7727_bus_read_next, sh7727_bus_read_end): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@554 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f3434e4e4c 2003-08-28 Marcel Telka <marcel@telka.sk>
* src/bus/pxa2x0.c (pxa250_bus_read_next, pxa250_bus_read_end): Added support for BOOT_DEF register
		emulation.
	(pxa2x0_bus_area): Added Memory Mapped registers (Memory Ctl) area.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@552 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d3c480487f 2003-08-28 Marcel Telka <marcel@telka.sk>
* src/readmem.c (readmem): Replaced bus_width macro with new bus_area.
	* src/bus/bcm1250.c (bcm1250_bus_width): Function removed.
	(bcm1250_bus_area): New function.
	* src/bus/ixp425.c (ixp425_bus_width): Function removed.
	(ixp425_bus_area): New function.
	* src/bus/pxa2x0.c (pxa250_bus_width): Function removed.
	(pxa2x0_bus_area): New function.
	* src/bus/s3c4510x.c (s3c4510_bus_width): Function removed.
	(s3c4510_bus_area): New function.
	* src/bus/sa1110.c (sa1110_bus_width: Function removed.
	(sa1110_bus_area): New function.
	* src/bus/sh7727.c (sh7727_bus_width): Function removed.
	(sh7727_bus_area): New function.
	* src/bus/sh7750r.c (sh7750r_bus_width): Function removed.
	(sh7750r_bus_area): New function.
	* src/bus/sh7751r.c (sh7751r_bus_width): Function removed.
	(sh7751r_bus_area): New function.
	* src/cmd/print.c (cmd_print_run): Added bus area printing.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@551 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 3fbc4dc041 2003-08-26 Marcel Telka <marcel@telka.sk>
* src/cmd/print.c (cmd_print_run): Fixed header print format.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@544 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 757349d54d 2003-08-22 Marcel Telka <marcel@telka.sk>
* src/tap/cable/byteblaster.c (byteblaster_init): Added additional checks for valid ByteBlaster cable
		connection and enabled all variants of the cable (patch 793313, Rojhalat Ibrahim).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@542 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b1a91070d8 2003-08-19 Marcel Telka <marcel@telka.sk>
* src/bus/s3c4510x.c: Changed comment.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@529 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d9acaedd87 2003-08-19 Marcel Telka <marcel@telka.sk>
* src/bus/Makefile.am (libbus_a_SOURCES): Added s3c4510x.c.
	* src/bus/s3c4510x.c: New file (Jiun-Shian Ho).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@527 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 9427a15195 2003-08-19 Marcel Telka <marcel@telka.sk>
* src/tap/parport/direct.c (direct_connect): Marked two indirect strings for translation.
	* src/tap/parport/ppdev.c (ppdev_connect): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@526 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 bc9a445bf7 2003-08-18 Marcel Telka <marcel@telka.sk>
* src/detect.c (detect_parts): Marked one forgotten string for translation.
	* src/cmd/bit.c (cmd_bit_run): Fixed control bit setup.
	* src/cmd/eraseflash.c (cmd_eraseflash_run): Changed formatting.
	(cmd_eraseflash_help): Updated help text.
	* src/cmd/flashmem.c (cmd_flashmem_help): Ditto.
	* src/cmd/readmem.c (cmd_readmem_help): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@516 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 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 c904c19581 2003-08-14 Marcel Telka <marcel@telka.sk>
* src/tap/chain.c (chain_shift_instructions): Moved test for parts without active instruction before
		shifting process.
	(chain_shift_data_registers): Moved test for parts without active instruction or data register before
		shifting process.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@514 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 d28318cdd2 2003-08-13 Marcel Telka <marcel@telka.sk>
* src/bus/sa1110.c (sa1110_bus_width): Removed bus width printing.
	* src/bus/sh7751r.c (sh7751r_bus_printinfo): New function.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@509 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4cb7962bdc 2003-08-13 Marcel Telka <marcel@telka.sk>
* include/bus.h (new_sh7751r_bus): New function declaration (patch 773533, Matan Ziv-Av).
	* src/bus/Makefile.am (libbus_a_SOURCES): Added sh7751r.c (patch 773533, Matan Ziv-Av).
	* src/bus/sh7751r.c: New file (patch 773533, Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@508 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 f3ea9f002f 2003-08-12 Marcel Telka <marcel@telka.sk>
* src/bsdl2jtag.c (endline): Added support for "downto" in bit vectors and "observe_only" (patch 787346,
		Brad Parker).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@502 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d274e79ff6 2003-08-11 Marcel Telka <marcel@telka.sk>
* src/cmd/Makefile.am (libcmd_a_SOURCES): Added include.c.
	* src/cmd/include.c: New file.
	* src/cmd/cmd.c (cmds): Added cmd_include.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@501 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 0ca8d097c6 2003-08-11 Marcel Telka <marcel@telka.sk>
* src/flash.c (flash_drivers): Added amd_8_flash_driver.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@500 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 d20cf94c4e 2003-08-11 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed version number to 0.5.

	* include/chain.h (chain_t): Added active_part.
	* src/tap/chain.c (chain_alloc): Added active_part initialization.
	* include/part.h (parts_print): Removed 'header' parameter.
	* src/part/part.c (parts_print): Removed header printing.
	* src/cmd/print.c (cmd_print_run): Added header printg. Added new parameter 'chain' for print command.
	(cmd_print_help): Added new parameter 'chain'.
	* src/cmd/dr.c (cmd_dr_run, cmd_dr_help): Removed PART parameter.
	* src/cmd/get.c (cmd_get_run, cmd_get_help): Ditto.
	* src/cmd/instruction.c (cmd_instruction_run, cmd_instruction_help): Ditto.
	* src/cmd/set.c (cmd_set_run, cmd_set_help): Ditto.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Adde part.c.
	* src/cmd/part.c: New file.
	* src/cmd/cmd.c (cmds): Added cmd_part.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@495 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 e1179f5534 2003-07-01 Marcel Telka <marcel@telka.sk>
* include/bus.h (new_sh7750r_bus, new_bcm1250_bus): New function declarations (patch 753300, Matan Ziv-Av).
	* src/bus/Makefile.am (libbus_a_SOURCES): Added bcm1250.c and sh7750r.c (patch 753300, Matan Ziv-Av).
	* src/bus/bcm1250.c: New file (patch 753300, Matan Ziv-Av).
	* src/bus/sh7750r.c: Ditto.
	* src/cmd/detect.c (cmd_detect_run): Added bus driver for SH7750R and BCM1250 (patch 753300, Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@490 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 efe4e647e0 2003-06-18 Marcel Telka <marcel@telka.sk>
* src/discovery.c (discovery): Removed explicit JTAG chain length detection. Changed starting of the DR
		size detection from all 1 instead all 0 for IR (patch 753298, Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@488 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 70c4a01ef7 2003-06-18 Marcel Telka <marcel@telka.sk>
* /src/flash.c (flash_drivers): Added 1 x 8 bit Intel Flash driver (patch 753295, Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@487 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2b8b490c4f 2003-06-10 Marcel Telka <marcel@telka.sk>
* include/flash.h (flash_driver_t): Structure removed.
	(flash_erase_block, flash_unlock_block, flash_program, flash_readarray): Macro removed.
	* src/flash.c (set_flash_driver, flashcheck, flashmsbin, flashmem): Updated for new
		flash_driver_t declared in brux/flash.h in include module.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@484 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka efcfe86d0c 2003-06-10 Marcel Telka <marcel@telka.sk>
* include/Makefile.am (noinst_HEADERS): Removed cfi.h.
	* include/cfi.h: File removed.
	* src/flash.c: Updated include header files.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@480 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 001baf7bff 2003-06-10 Marcel Telka <marcel@telka.sk>
* src/bus/sh7727.c (bus_params_t): Added md3 and md4.
	(sh7727_bus_width): Moved to implementation using MD3 and MD4 (thanks to Rainer Dörken).
	(new_sh7727_bus): Added MD3 and MD4 signal searching (thanks to Rainer Dörken).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@477 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d58908a302 2003-06-10 Marcel Telka <marcel@telka.sk>
* src/bus/ixp425.c (ixp425_bus_width): Changed return value type (int -> unsigned int).
	* src/bus/pxa2x0.c (pxa250_bus_width): Ditto.
	* src/bus/sa1110.c (sa1110_bus_width): Ditto.
	* src/bus/sh7727.c (sh7727_bus_width): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@475 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4f80d5f87b 2003-06-06 Marcel Telka <marcel@telka.sk>
* src/bus/sh7727.c (bus_params_t): Fixed cs array length.
	(setup_address): Removed address shift by BASE.
	(sh7727_bus_read_end): Simplified CS handling.
	(new_sh7727_bus): Fixed CS signal searching (thanks to Rainer Dörken).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@472 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 62fba42f60 2003-06-03 Marcel Telka <marcel@telka.sk>
* include/cfi.h (detect_cfi): Macro removed.
	* src/flash.c (flashcheck): Renamed detect_cfi to cfi_detect.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@470 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 193dcca84e 2003-06-03 Marcel Telka <marcel@telka.sk>
* src/cmd/Makefile.am (libcmd_a_SOURCES): Removed quit.c, help.c, and detectflash.c.
	* src/cmd/cmd.c (cmd_run, cmd_params, cmd_get_number): Functions moved to module libbrux,
		file cmd/cmd.c.
	* src/cmd/detectflash.c: File moved to module libbrux, directory cmd.
	* src/cmd/help.c: Ditto.
	* src/cmd/quit.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@466 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 7bce9968e1 2003-06-03 Marcel Telka <marcel@telka.sk>
* include/Makefile.am (noinst_HEADERS): Added cmd.h.
	* include/cmd.h: New file.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Removed cmd.h.
	* src/cmd/cmd.h: File removed. Partially moved to include module (file brux/cmd.h).

	* src/cmd/detectflash.c (cmd_detectflash_help): Changed help text.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@464 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 7a6d684c10 2003-06-03 Marcel Telka <marcel@telka.sk>
* src/readmem.c (detectflash): Function extracted to module libbrux, file flash/detectflash.c.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@462 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka ec63c70dd4 2003-06-03 Marcel Telka <marcel@telka.sk>
* src/cmd/cable.c (cmd_cable_run): Added bus deallocation.
	* src/cmd/detectflash.c (cmd_detectflash_run): Removed cable connection test.
	* src/cmd/flashmem.c (cmd_flashmem_run): Ditto.
	* src/cmd/peekpoke.c (cmd_peek_run, cmd_poke_run): Ditto.
	* src/cmd/readmem.c (cmd_readmem_run): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@458 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4603b8c53b 2003-06-03 Marcel Telka <marcel@telka.sk>
* src/flash.c (flashmsbin, flashmem): Removed '\r' from translatable messages.
	* src/readmem.c (readmem): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@457 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 81de361cc5 2003-06-03 Marcel Telka <marcel@telka.sk>
* src/cmd/Makefile.am (libcmd_a_SOURCES): Added peekpoke.c (patch 747447, Matan Ziv-Av).
	* src/cmd/cmd.c (cmds): Added peek and poke commands (patch 747447, Matan Ziv-Av).
	* src/cmd/peekpoke.c: New file (patch 747447, Matan Ziv-Av).
	* po/POTFILES.in: Updated.

	* include/bus.h (bus_t): Declaration moved to include module (brux/bus.h).
	* include/cfi.h (cfi_chip_t, cfi_array_t, cfi_array_free, detect_cfi): Declarations moved
		to include module (brux/cfi.h).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@456 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 84e187b996 2003-06-02 Marcel Telka <marcel@telka.sk>
* Makefile.am (SUBDIRS): Added libbrux.
	* configure.ac (AC_CONFIG_FILES): Removed src/flash/Makefile.
	(AC_CONFIG_SUBDIRS): Added libbrux.
	* src/Makefile.am (SUBDIRS): Removed flash.
	(jtag_DEPENDENCIES): Removed flash/libflash.a, added ../libbrux/libbrux.a.
	(jtag_LDADD): Removed libflash, added libbrux.
	* src/flash/Makefile.am: File removed.
	* src/flash/amd.c: File moved to module libbrux, directory flash.
	* src/flash/cfi.c: Ditto.
	* src/flash/intel.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@454 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 3a79e71598 2003-05-30 Marcel Telka <marcel@telka.sk>
* src/tap/parport/direct.c (direct_set_control): Inverted SELECT, AUTOFD, and STROBE
		signals (bug 745824).
	* src/tap/parport/ppdev.c (ppdev_set_control): Ditto.
	* src/tap/cable/mpcbdm.c (mpcbdm_init, mpcbdm_set_trst): Changed (inverted) TRST handling.
	(mpcbdm_clock, mpcbdm_get_tdo): Removed TRST setting.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@451 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka accdfd0f1b 2003-05-29 Marcel Telka <marcel@telka.sk>
* src/bsdl2jtag.c (main): Renamed 'pin' keyword to 'signal'.
	* src/part/parse.c (read_part): Added support for 'signal' keyword.

	* data/Makefile.am (nobase_dist_pkgdata_DATA): Added new files.
	* data/dec/PARTS: New file.
	* data/dec/sa1100/STEPPINGS: New file (thanks to Jachym Holecek).
	* data/dec/sa1100/sa1100: New file.


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