45 Commits (9760b40157a6f4423be7d4d6a57702881ee58cec)

Author SHA1 Message Date
Arnim Läuger 558247e218 [ 2821646 ] Possible buffer overrun in amd_detect (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1661 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 47414f376c [ 2821629 ] Can't find flash_info : amd_flash.c (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1660 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 7a397d0eac [ 2816643 ] Matching arguments of funcion flasherase()
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1659 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 0fa110fc44 [ 2806917 ] Atmel AT49BV322D flash support (MURANAKA Masaki)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1656 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger e00d4a85fb fix typo in S29GLxxxN
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1574 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman bc5bc0e45a src/flash/amd_flash.c, src/bus/ejtag.c, src/bus/ejtag_dma.c: fix erroneous reference to global variable 'bus' to be to a local variable/parameter
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1526 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Kolja Waschk a423e100e0 jedec.c license, start menu items for installer, fix for libusb CFLAGS
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1498 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Kolja Waschk 8588db58ae Add missing license info in include/xpcu.h and src/flash/jedec_exp.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1494 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 3cadb23fce fix missing base address and block_no calculation
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1488 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 0cbb21f6ec author added
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1477 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 4349404e81 fix memory corruption from jedec code (Jon Smirl)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1464 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 7ce6b09aa0 activate multi byte write mode for > 1, not > 0
[ 2690857 ] Can't write flashes


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1459 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger f02e24e7b5 [ 2645787 ] Bypass verify stage of flashmem cmd
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1444 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Kolja Waschk 82b904f4ad [ 2412481 ] neufbox4 support: MX29LV640B recognition
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1400 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger b91de62b6f restructure multi-byte flash programming support
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1392 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 7f81a9258c support for multi-byte write mode on intel.c based chips
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1391 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 37d72e13f3 support multi-byte write mode for certain flash chips
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1390 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 752cb1cffe added Spansion S92GL chips
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1388 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger a76a13a632 [ 2102453 ] Use macros for std return values instead of literals
started with the bus driver stack


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1366 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Arnim Läuger 5c520db0eb avoid '\r' in i18n strings (Hartley Sweeten)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1276 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 8de5a92176 Add support for Atmel's AT32AP7000 (by Gabor Juhos)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1252 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Mike Frysinger 733722108d move Windows stub functions to the global sysdep.h header rather than duplicating everywhere
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1204 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Mike Frysinger 2a77eb613a do not mark chip ids as translatable
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1201 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Mike Frysinger cc5fd0d7d2 2008-05-04 Mike Frysinger <vapier@gentoo.org>
* src/flash/amd.c: Handle chipid 0x22ed M29W640DT.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1194 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk c2acae0f50 Separate Chip name by Manufacturer (Andrey F. Ilchuk)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1183 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 29134f1238 [ 1946559 ] Support for Mitsubishi Flash Chips
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1177 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk b6684fa685 Change occurences of u_intX into uintX types and provide variants of usleep, frealtime, mkdir for [ 1838732 ] EXE built with MinGW
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1169 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
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