18 Commits (de7066457850952b2b54af16927030998a7e7f45)

Author SHA1 Message Date
Jie Zhang 301e6fffd7 [ 1938476 ] Address is not displayed when verify
* src/flash/flash.c (flashmem): Show the address when verifying.
     Show the end address when program and verify complete.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1164 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk aa7e6e2166 Fix address shift as reported by J.Wittrock
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1133 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Jie Zhang 11d5d2813c * include/jtag.h (jtag_parse_line): Declare.
(jtag_parse_stream): Declare.
	* src/discovery.c: Move ...
	* src/tap/discovery.c: ... here.
	* src/detect.c: Move ...
	* src/tap/detect.c: ... here.
	* src/tap/Makefile.am (libtap_a_SOURCES): Add detect.c and
	discovery.c.
	* src/readmem.c: Move ...
	* src/bus/readmem.c: ... here.
	* src/writemem.c: Move ...
	* src/bus/writemem.c: ... here.
	* src/bus/Makefile.am (libbus_a_SOURCES): Add readmem.c and
	writemem.c.
	* src/flash.c: Move ...
	* src/flash/flash.c: ... here.
	* src/flash/Makefile.am (libflash_a_SOURCES): Add flash.c.
	* src/jtag.c (get_token, jtag_parse_line, jtag_parse_stream,
	jtag_parse_file): Move to ...
	* src/cmd/parse.c: ... here.
	* src/cmd/Makefile.am (libbus_a_SOURCES): Add parse.c.
	* src/Makefile.am (jtag_SOURCES): Remove detect.c, discovery.c,
	readmem.c, writemem.c and flash.c.
	(jtag_LDADD): Add -ltap and -lflash one more time to resolve
	undefined references.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1120 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 8db57a7945 [ 1901129 ] Detect AMD CFI primary vendor-specific extended query table
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1095 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk ebc53115fd Fixed small typo
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1025 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk e44dbe72a3 Add jedec_exp.c needed for --enable-jedec-exp
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1022 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 63c961420d Added new jedec_exp detection, just for debug (no actual detection, just printf); disabled by default
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1020 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 5d4c1180a0 Updates to the address shift calculation, making it less "heuristic"
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@991 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 9c8052ef7d increased timeout count to fix
[ 1882111 ] Timeout in amdstatus() too small


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@986 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk aae9e008ec [ 1873220 ] Merge libbrux into src, and inclow into include. Compiles now.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@926 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 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 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 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 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 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 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