1011 Commits (efcae263b0b8611a8fe04a78758378a2a995e9a4)
 

Author SHA1 Message Date
Marcel Telka 6af3bafa97 2003-06-10 Marcel Telka <marcel@telka.sk>
* brux/bus.h (bus_t): Changed return type from int to unsigned int for width().


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@474 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 38f0004a90 2003-06-09 Marcel Telka <marcel@telka.sk>
* cmd/cmd.c (cmd_get_number): Added variable initialization for %n conversion in sscanf() call.
	* cmd/help.c (cmd_help_run): Removed duplicate 'i' variable declaration.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@473 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 2e57111a03 2003-06-03 Marcel Telka <marcel@telka.sk>
* brux/cmd.h (cmds): Added external variable declaration.
	* brux/bus.h (bus): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@471 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 ec8f245b46 2003-06-03 Marcel Telka <marcel@telka.sk>
* flash/detectflash.c (detectflash): Renamed detect_cfi to cfi_detect.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@469 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 695cea2bf5 2003-06-03 Marcel Telka <marcel@telka.sk>
* Makefile.am (libbrux_a_SOURCES): Renamed cmd/detectflash.c to cmd/cmd_detectflash.c.
	* cmd/detectflash.c: Renamed this file ...
	* cmd/cmd_detectflash.c: ... to this one.

	* cmd/help.c (cmds): Removed external variable declaration.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@467 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 6831c9f100 2003-06-03 Marcel Telka <marcel@telka.sk>
* Makefile.am (libbrux_a_SOURCES): Added cmd/cmd.c, cmd/help.c, cmd/quit.c, and cmd/detectflash.c.
	* cmd/cmd.c: New file moved from jtag module, direcory src/cmd.
	* cmd/help.c: Ditto.
	* cmd/quit.c: Ditto.
	* cmd/detectflash.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@465 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 cf3224cd19 2003-06-03 Marcel Telka <marcel@telka.sk>
* brux/cmd.h: New file extracted from jtag module, file src/cmd/cmd.h.
	* Makefile.am (nobase_openwinceinc_HEADERS): Added brux/flash.h and brux/cmd.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@463 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 860d30f8f2 2003-06-03 Marcel Telka <marcel@telka.sk>
* Makefile.am (libbrux_a_SOURCES): Added flash/detectflash.c.
	* flash/detectflash.c: New file, extracted from module jtag, file src/readmem.c.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@461 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 07f1027c0d 2003-06-03 Marcel Telka <marcel@telka.sk>
* include/jtag.h (detectflash, flashmem, flashmsbin): Declarations moved to include module,
		file brux/flash.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@460 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 6cbb57137b 2003-06-03 Marcel Telka <marcel@telka.sk>
* brux/flash.h: New file extracted from jtag module, file include/jtag.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@459 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 977d3d3a20 2003-06-02 Marcel Telka <marcel@telka.sk>
* flash/cfi.c: New file. Moved from jtag module (src/flash/cfi.c).
	* flash/amd.c: New file. Moved from jtag module (src/flash/amd.c).
	* flash/intel.c: New file. Moved from jtag module (src/flash/intel.c).

	* autogen.sh: New file.
	* configure.ac: Ditto.
	* Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@455 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 782f11499d 2003-05-30 Marcel Telka <marcel@telka.sk>
* Makefile.am (nobase_openwinceinc_HEADERS): Added brux/cfi.h.
	* brux/cfi.h: New file extracted from include/cfi.h from jtag module.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@453 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 96967f5d3a 2003-05-30 Marcel Telka <marcel@telka.sk>
* Makefile.am (nobase_openwinceinc_HEADERS): Added brux/bus.h.
	* brux/bus.h: New file extracted from include/bus.h from jtag module.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@452 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 1a253587a0 2003-05-27 Marcel Telka <marcel@telka.sk>
* src/part/part.c (part_set_signal, part_get_signal): Moved variable declarations to beginning
		of a block (Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@446 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 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 4bf3c9941d 2003-05-22 Marcel Telka <marcel@telka.sk>
* configure.ac (AM_CONFIG_HEADER): Renamed acconfig.h configuration header to pkgcfg.h.
	* config.h: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@441 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 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 9c7504d6fb 2003-05-21 Marcel Telka <marcel@telka.sk>
* include/bsbit.h (bsbit, bsbit_t): Renamed typedef bsbit to bsbit_t.
	All occurences of the bsbit type changed to bsbit_t.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@436 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 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 30ce7bb80f 2003-05-20 Marcel Telka <marcel@telka.sk>
* src/part/data_register.c: Added l10n support. Marked messages for translation.
	* src/part/instruction.c: Ditto.
	* src/part/parse.c: Ditto.
	* po/POTFILES.in: Added above files.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@433 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 d126c4c797 2003-05-16 Marcel Telka <marcel@telka.sk>
* include/part.h (part_print): New function declaration.
	* src/part/part.c: Marked all user visible messages for translation.
	(part_print): New function.
	(parts_print): Simplified. Added part_print() call.
	* po/POTFILES.in: Added src/part/part.c.

	* src/Makefile.am (jtag_DEPENDENCIES): Added flash/libflash.a.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@431 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 8a0331a848 Fixed minor typo (thanks to Juraj Fabo).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@430 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka fcb6756dc5 2003-05-15 Marcel Telka <marcel@telka.sk>
* include/cfi.h (detect_cfi): Added new parameter `adr'.
	All relevant functions and callers updated.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@429 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 246966636e 2003-05-14 Marcel Telka <marcel@telka.sk>
* include/Makefile.am (noinst_HEADERS): Added cfi.h.
	* include/cfi.h: New file.
	* src/jtag.h (detect_cfi): Removed function declaration.
	* src/flash.c: Replaced jtag.h include with cfi.h.
	* src/readmem.c: Ditto.

	* src/flash/Makefile.am (libflash_a_SOURCES): Added cfi.c.
	* src/Makefie.am (jtag_SOURCES): Removed cfi.c.
	* src/cfi.c: Moved this file ...
	* src/flash/cfi.c: ... here and replaced jtag.h include with cfi.h one.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@427 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2b5b2725b5 2003-05-14 Marcel Telka <marcel@telka.sk>
* include/part.h (part_t, parts_t): Macros removed.
	* src/detect.c: Replaced obsolete types `parts' with `parts_t' and `part' with `part_t'.
	* src/part/parse.c: Ditto.
	* src/part/part.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@426 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 8d184b53c5 2003-05-14 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added src/flash/Makefile.
	* include/Makefile.am (noinst_HEADERS): Added flash.h.
	* src/Makefile.am (SUBDIRS): Added flash.
	(jtag_SOURCES): Removed flash.h, flash-intel.c, and flash-amd.c.
	(jtag_LDADD): Added libflash.
	* src/flash-amd.c: Moved this file ...
	* src/flash/amd.c: ... here.
	* src/flash-intel.c: Moved this file ...
	* src/flash/intel.c: ... here.
	* src/flash.h: Moved this file ...
	* include/flash.h: ...here.
	* src/flash/Makefile.am: New file.


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