64 Commits (85d747c45d0aea3c62ebb4bb1b91457585f940df)

Author SHA1 Message Date
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 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 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 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 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 6ad846a272 2003-05-29 Marcel Telka <marcel@telka.sk>
Version 0.4 released.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@449 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
Marcel Telka bbfcc7dcfd 2003-05-28 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed version number to 0.4.

	* src/cmd/frequency.c (cmd_frequency_run): Added support for printing current TCK frequency.
	(cmd_frequency_help): Updated help text.

	* po/POTFILES.in: Updated.
	* src/detect.c (find_record, detect_parts): Marked messages for translation.
	* src/discovery.c (detect_register_size, discovery): Ditto.
	* src/flash.c (set_flash_driver, flashcheck, flashmsbin, flashmem): Ditto.
	* src/readmem.c (readmem): Ditto.
	* src/flash/amd.c (amd_flash_print_info, amd_32_flash_driver): Ditto.
	* src/flash/intel.c (_intel_flash_print_info, intel_flash_erase_block, intel_flash_unlock_block)
	(intel_flash_program, intel_32_flash_driver, intel_16_flash_driver): Ditto.
	* src/tap/cable/arcom.c (arcom_cable_driver): Ditto.
	* src/tap/cable/byteblaster.c (byteblaster_cable_driver): Ditto.
	* src/tap/cable/dlc5.c (dlc5_cable_driver): Ditto.
	* src/tap/cable/ea253.c (ea253_cable_driver): Ditto.
	* src/tap/cable/ei012.c (ei012_cable_driver): Ditto.
	* src/tap/cable/keithkoep.c (keithkoep_cable_driver): Ditto.
	* src/tap/cable/mpcbdm.c (mpcbdm_cable_driver): Ditto.
	* src/tap/cable/wiggler.c (wiggler_cable_driver): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@447 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 127719f423 2003-05-26 Marcel Telka <marcel@telka.sk>
* include/bus.h (new_sh7727_bus): Added function declaration.
	* src/cmd/detect.c (cmd_detect_run): Added bus driver for Hitachi SH7727.
	* src/bus/Makefile.am (libbus_a_SOURCES): Added sh7727.c (patch 743140, Matan Ziv-Av).
	* src/bus/sh7727.c: New file (based on patch 743140, Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@445 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka cb6093645a Fixed typo.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@443 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 743738d4e9 2003-05-26 Marcel Telka <marcel@telka.sk>
* data/Makefile.am (nobase_dist_pkgdata_DATA): Added broadcom/bcm5421s/STEPPINGS
		and broadcom/bcm5421s/bcm5421s.
	* data/MANUFACTURERS: Added new manufacturer ID code for Boradcom (patch 743129, Matan Ziv-Av).
	* data/broadcom/PARTS: Added entry for BC5421S (patch 743129, Matan Ziv-Av).
	* data/broadcom/bcm5421s/STEPPINGS: New file (patch 743129, Matan Ziv-Av).
	* data/broadcom/bcm5421s/bcm5421s: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@442 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 6a4a18109b 2003-05-21 Marcel Telka <marcel@telka.sk>
* include/part.h (part_find_signal): New function declaration.
	(part_set_signal, part_get_signal): Changed parameter signal name to signal pointer.
	* src/part/part.c (part_find_signal): New function.
	(part_set_signal, part_get_signal): Removed signal searching, used supplied pointer to signal.
	* po/POTFILES.in: Added src/bus/ixp425.c, src/bus/pxa2x0.c, and src/bus/sa1110.c.
	* src/bus/ixp425.c (bus_params_t, select_flash, unselect_flash, setup_address, set_data_in)
	(setup_data, ixp425_bus_read_start, ixp425_bus_read_next, ixp425_bus_read_end, ixp425_bus_write)
	(new_ixp425_bus): Optimized signal searching to increase bus access speed.
	* src/bus/pxa2x0.c (bus_params_t, setup_address, set_data_in, setup_data, pxa250_bus_read_start)
	(pxa250_bus_read_next, pxa250_bus_read_end, pxa250_bus_write, new_pxa250_bus): Ditto.
	* src/bus/sa1110.c (bus_params_t, setup_address, set_data_in, setup_data, sa1110_bus_read_start)
	(sa1110_bus_read_next, sa1110_bus_read_end, sa1110_bus_write, new_sa1110_bus): Ditto.
	(sa1110_bus_width): Updated part_get_signal() function call. Added explicit signal search.
	* src/cmd/get.c (cmd_get_run): Ditto.
	* src/cmd/set.c (cmd_set_run): Updated part_set_signal() function call. Added explicit signal search.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@435 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4caf803f3b 2003-05-19 Marcel Telka <marcel@telka.sk>
* src/tap/parport/ppdev.c (ppdev_get_status): Inverted BUSY signal value.

	* include/cfi.h (cfi_chip_t, cfi_array_t): New typedefs.
	(cfi_array_free): New function prototype.
	(detect_cfi): Changed function prototype.
	* include/flash.h (set_flash_driver): Removed function prototype.
	* src/flash/cfi.c (BW16): Macro removed.
	(read2): Function removed.
	(cfi_array_free): New function.
	(detect_cfi): Added code to detect all CFI chips on the data bus.
	* src/flash.c (flashcheck): Removed bus width checking. Updated due changes in src/flash/cfi.c.
	(flashmsbin): Updated due changes in src/flash/cfi.c. Removed memory leak.
	* src/readmem.c: Added l10n support. Marked messages for translation.
	(detectflash): Updated due changes in src/flash/cfi.c. Removed memory leak.
		Removed flash driver setup.
	* po/POTFILES.in: Added src/readmem.c.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@432 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d5b5b52ff3 2003-05-15 Marcel Telka <marcel@telka.sk>
* configure.ac (CPPFLAGS): Added path to the openwince include arm directory.
	* include/bus.h (bus_width): Added new `adr' parameter for this macro.
	All relevant functions and callers updated.

	* src/bus/pxa2x0.c (bus_params_t): Added last_adr and MC_registers structure members.
	(LAST_ADR, MC_pointer): New macros.
	(pxa250_bus_read_start, pxa250_bus_read_next, pxa250_bus_read_end, pxa250_bus_write): Disabled
		external bus cycles for addresses above 0x0400000.
	(pxa250_bus_width): Removed some output messages. Implemented BOOT_DEF emulation.
	(new_pxa250_bus): Implemented BOOT_DEF emulation.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@428 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 340bbe369b 2003-04-04 Marcel Telka <marcel@telka.sk>
Version 0.3.2 released.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@419 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 3d68b6bd1d 2003-04-04 Marcel Telka <marcel@telka.sk>
* data/xilinx/PARTS: Added XCR3256XL-FT256 (Jachym Holecek).
	* data/xilinx/xcr3256xl-ft256/STEPPINGS: New file (Jachym Holecek).
	* data/xilinx/xcr3256xl-ft256/xcr3256xl-ft256: Ditto.
	* data/Makefile.am (nobase_dist_pkgdata_DATA): Added new files.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@416 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 5bfec021ce 2003-04-02 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed version number to 0.3.2.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@414 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 882094c9a3 2003-04-02 Marcel Telka <marcel@telka.sk>
* include/signal.h: Changed signal typedef to signal_t (thanks to Jachym Holecek).
		All `signal' instances renamed to `signal_t'.
	* src/tap/parport.c: Ported to NetBSD/i386 (Jachym Holecek).
	* src/tap/parport/direct.c (parport_drivers): Conditionally removed direct_parport_driver.
	* configure.ac: Added test for i386_set_ioperm() function. Defined HAVE_IOPERM
		and HAVE_I386_SET_IOPERM.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@412 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka bffcf9e111 2003-04-01 Marcel Telka <marcel@telka.sk>
* src/tap/cable/keithkoep.c: New file.
	* src/tap/Makefile.am (libtap_a_SOURCES): Added cable/keithkoep.c.
	* src/tap/cable.c (cable_drivers): Added keithkoep_cable_driver.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@411 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
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 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 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 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 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 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 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 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 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 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 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
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 98b4881223 2003-02-14 Marcel Telka <marcel@telka.sk>
* src/readmem.c (readmem): Added support for 1 x 16 bit memory configuration and
		buffered file writes (Christian Pellegrin).
	* src/flash.c (flashmem): Added support for 1 x 16 bit flash configuration and
		buffered file reads (Christian Pellegrin).
	(flash_erase_block): Added debug messages (Christian Pellegrin).
	(flash_unlock_block): Added debug message (Christian Pellegrin).
	(flash_program): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@352 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4e2c69c38b 2003-02-14 Marcel Telka <marcel@telka.sk>
* src/cfi.c (detect_cfi): Added support for 1 x 16 bit flash configuration (Christian
		Pellegrin).
	* src/detect.c (find_record): Added error message if file cannot be opened (Christian
		Pellegrin).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@351 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 07470076a6 2003-02-14 Marcel Telka <marcel@telka.sk>
* data/xilinx/xc2c256-tq144/xc2c256-tq144: Added JTAG declarations for Xilinx
		XC2C256-TQ144 (Alessandro Zummo).
	* data/xilinx/xc2c256-tq144/STEPPINGS: Ditto.
	* data/xilinx/PARTS: Ditto.
	* data/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@348 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 0d0fd78f51 2003-02-13 Marcel Telka <marcel@telka.sk>
* data/intel/ixp425/ixp425: Added JTAG declarations for Intel IXP425 (Christian
		Pellegrin).
	* data/intel/ixp425/STEPPINGS: Ditto.
	* data/intel/PARTS: Ditto.
	* data/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@344 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 097a156dd6 2003-02-13 Marcel Telka <marcel@telka.sk>
* include/bsbit.h (BSBIT_BIDIR): Added new macro (Christian Pellegrin).
	* src/part/bsbit.c (bsbit_alloc): Added support for bidirectional pins (Christian
		Pellegrin).
	* src/part/parse.ci (read_part): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@343 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2f6a4f6d95 2003-02-10 Marcel Telka <marcel@telka.sk>
* src/sa1110.c (sa1110_bus_read_start): Added support for all six static memory banks.
		The function is now 'static'.
	(sa1110_bus_read_end): Ditto.
	(sa1110_bus_read_next): The function is now 'static'.
	(sa1110_bus_read): Ditto.
	(sa1110_bus_width): Ditto.
	(sa1110_bus_write): Added support for all six static memory banks (bug 682660).
		The function is now 'static'.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@340 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka cf05f7f094 2003-02-07 Marcel Telka <marcel@telka.sk>
* src/tap/cable/arcom.c: Added support for Arcom JTAG Cable (patch 682310,
		Ian Campbell).
	* src/tap/cable.c: Ditto.
	* src/tap/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@338 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 630a04a509 2003-02-07 Marcel Telka <marcel@telka.sk>
* src/tap/cable/mpcbmd.c: Added support for Mpcbdm JTAG Cable (Christian Pellegrin).
	* src/tap/cable.c: Ditto.
	* src/tap/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@336 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 3c3df6656b 2003-02-04 Marcel Telka <marcel@telka.sk>
Version 0.2.2 released.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@330 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4c6e2c1af6 2003-01-30 Marcel Telka <marcel@telka.sk>
* src/tap/cable/byteblaster.c (byteblaster_init): Added support for
		parallel ports with I/O addresses above 0x3FF.
	(byteblaster_done): Ditto.
	* src/tap/cable/dlc5.c (dlc5_init): Ditto.
	(dlc5_done): Ditto.
	* src/tap/cable/ea253.c (ea253_init): Ditto.
	(ea253_done): Ditto.
	* src/tap/cable/ei012.c (ei012_init): Ditto.
	(ei012_done): Ditto.
	* src/tap/cable/wiggler.c (wiggler_init): Ditto.
	(wiggler_done): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@324 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