35 Commits (81fdf5f95a9245ec801a6aa3b521c34fcd7e67c8)

Author SHA1 Message Date
Kolja Waschk 88b4dec9bd [ 909598 ] Detect 16bit flash on PXA25x 1/2 (partially included for compatibility with other patches and wiggler2 driver, but actual new pxa2x0 patch omitted - another later patch will fix this)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@684 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk c0ef192b30 [ 826404 ] s3c4510 bus driver (without jedec.c fix)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@680 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Marcel Telka 91799c3d58 2004-10-22 Marcel Telka <marcel@telka.sk>
* data/MANUFACTURERS: Added Sharp manufacturer (patch 886068, Marko Rößler).
	* data/Makefile.am (nobase_dist_pkgdata_DATA): Added new files (patch 886068, Marko Rößler).
	* data/sharp/PARTS: New file (patch 886068, Marko Rößler).
	* data/sharp/lh7a400/STEPPINGS: Ditto.
	* data/sharp/lh7a400/lh7a400: Ditto.
	* src/bus/lh7a400.c: Ditto.
	* src/bus/Makefile.am (libbus_a_SOURCES): Added lh7a400.c (patch 886068, Marko Rößler).
	* src/bus/buses.c (bus_drivers): Added lh7a400_bus (patch 886068, Marko Rößler).
	* src/bus/buses.h: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@616 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
20 years ago
Marcel Telka 6835fad53b 2004-08-24 Marcel Telka <marcel@telka.sk>
* src/bus/Makefile.am (libbus_a_SOURCES): Added ppc440gx_ebc8.c.
	* src/bus/buses.c (bus_drivers): Added ppc440gx_ebc8_bus (patch 1012154, Jerome Debard).
	* src/bus/buses.h: Ditto.
	* src/bus/ppc440gx_ebc8.c: New file (patch 1012154, Jerome Debard).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@611 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 19896cd5a4 2004-08-20 Marcel Telka <marcel@telka.sk>
* src/bus/pxa2x0.c (pxa2x0_bus_init): New function.
	(pxa250_bus_prepare): Replaced bus initialization sequence with pxa2x0_bus_init() call.
	(pxa2x0_bus_area): Added pxa2x0_bus_init() call.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@610 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 45c4c56644 2004-08-19 Marcel Telka <marcel@telka.sk>
* src/bus/Makefile.am (libbus_a_SOURCES): Added tx4925.c (patch 972625, Andrew Dyer).
	* src/bus/buses.c (bus_drivers): Added tx4925_bus (patch 972625, Andrew Dyer).
	* src/bus/buses.h: Ditto.
	* src/bus/tx4925.c: New file (patch 972625, Andrew Dyer).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@608 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka a72f52c785 2004-08-16 Marcel Telka <marcel@telka.sk>
* src/bus/pxa2x0.c (bus_params_t): Added new member: inited.
	(INITED): New macro.
	(pxa2x0_bus_new): Removed BOOT_DEF initialization.
	(pxa250_bus_prepare): Added BOOT_DEF initialization.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@605 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 79b8196e41 2003-12-20 Marcel Telka <marcel@telka.sk>
* src/bus/Makefile.am (libbus_a_SOURCES): Added au1500.c.
	* src/bus/au1500.c: New file (patch 853883, Zhang Wei).
	* src/bus/buses.c (bus_drivers): Added au1500_bus (patch 853883, Zhang Wei).
	* src/bus/buses.h: Added au1500_bus.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@590 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 26db6e67c3 2003-11-02 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed version number to 0.5.2.

	* data/Makefile.am (nobase_dist_pkgdata_DATA): Added motorola/mpc8245/1.2.
	* data/motorola/mpc8245/1.2: New file.
	* src/bus/mpc824x.c: Ditto.
	* src/bus/Makefile.am (libbus_a_SOURCES): Added mpc824x.c.
	* src/bus/buses.c (bus_drivers): Added mpc824x_bus.
	* src/bus/buses.h (mpc824x_bus): Added bus declaration.

	* include/bsbit.h (bsbit_alloc): Changed parameter name (signals -> signal).
	* src/part/bsbit.c (bsbit_alloc): Changed parameter behaviour.
	* src/cmd/bit.c (cmd_bit_run): Passed exact signal to bsbit_alloc() instead of list of signals.

	* src/jtag.c (main): Added cfi_array deallocation.

	* src/flash.c (set_flash_driver): Used global cfi_array variable to set flash driver.
	(flashcheck): Function removed.
	All function calls replaced by set_flash_driver().
	(flashmsbin): Removed local cfi_array variable.
	(flashmem): Removed local cfi_array variable. Fixed bug with one more block erase while programming
		data at end of previous block.
	(flasherase): Removed local cfi_array variable. Fixed block number calculation.
	* src/readmem.c (readmem): Fixed bug while reading address near to end of 32 bit address range.
	* src/bus/pxa2x0.c (pxa2x0_bus_new): Added BSR sampling before BOOT_DEF initialization (bugfix).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@585 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
22 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 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 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 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 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 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 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 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 1bae12bb3b 2003-05-26 Marcel Telka <marcel@telka.sk>
* include/chain.h (chain_shift_data_registers): Added new parameter `capture_output' (idea from
		patch 743146, Matan Ziv-Av).
	* src/tap/chain.c (chain_shift_data_registers): Ditto.
	All chain_shift_data_registers() function callers updated.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@444 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 d84a1ec737 2003-05-21 Marcel Telka <marcel@telka.sk>
* Makefile.rules: New file.
	* Makefile.am: Added Makefile.rules include.
	(EXTRA_DIST): Added Makefile.rules.
	* data/Makefile.am: Added Makefile.rules include.
	* doc/Makefile.am: Ditto.
	* include/Makefile.am: Ditto.
	* po/Makevars: Ditto.
	* src/Makefile.am: Ditto.
	* src/bus/Makefile.am: Ditto.
	* src/cmd/Makefile.am: Ditto.
	* src/flash/Makefile.am: Ditto.
	* src/lib/Makefile.am: Ditto.
	* src/part/Makefile.am: Ditto.
	* src/tap/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@438 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 5fb3e29d35 2003-05-21 Marcel Telka <marcel@telka.sk>
* include/signal.h: Renamed this file ...
	* include/bssignal.h: ... to this one.
	All includes changed.
	* include/Makefile.am (noinst_HEADERS): Renamed signal.h to bssignal.h.

	* include/data_register.h: Marked local include files with double quotes.
	* include/instruction.h: Ditto.
	* include/part.h: Ditto.


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