76 Commits (9f7e50eabba82527675441f83b41371bcc5d2dba)

Author SHA1 Message Date
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
Arnim Läuger 5f104d447d flush todo queue for transfers without output capture (if conservative flush strategy is not disabled)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1016 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk ed000f1423 Fix for 1890192 - autogen.sh faisl on AC_PROG_SED
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1001 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk e577d3e145 Minor fixes regarding 1875234 Can't compile UrJTAG with libusb on Cygwin
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@993 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 2b6e82c897 Added code skeleton for JTAG target simulator "JIM" (disabled by default)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@931 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 18fb90545d restructured the test logic for bison error locations and the BSDL subsystem
[ 1873515 ] BSDL part doesn't compile under Cygwin


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@930 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
Arnim Läuger a763de935e conditional build of SVF and BSDL components based on --enable-svf and --enable-bsdl
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@908 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger b62f2996f0 merged BSDL parser from branches/bsdl 787:903 to trunk
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@904 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk e0db0512f7 Integrated enhancement [ 1858709 ] EP9307 Target specific cable driver
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@891 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk a9c0a9d6db Version 0.7 released.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@886 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk e84262bb98 Last-minute updates to documentation, NEWS
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@884 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk ec5bbbe88e Include stropts.h only if it's available
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@866 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk a965cf0727 Reorganized libusb/libftdi detection again
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@857 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk ba186f369d Add support for FreeBSD's ppi interface (by Daniel O'Connor)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@851 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 8a15b610f3 Small documentation updates
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@845 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 084a0943a1 Initial suppor for --with-libftdi/etc. options to configure, and linking with FTDI FTD2XX library in Cygwin
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@839 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk cd4890255c configure: Run "svn info" with "-R" to get revision.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@837 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 79bd5f342f svf_flex now internally detects whether to assume --bison-locations or not
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@830 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 7003cd045e Fixed taking revision from ChangeLog if "svn" isn't installed
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@829 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 60d4b62384 Auto-detect whether -lrt is needed.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@826 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 54fc8fc0a9 SVN Revision now put into config.h by configure; removed -lrt dependency (needs more testing)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@823 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 6599873cd2 Fix for dist after openwince "include" package moved into "jtag" (now named "inclow")
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@819 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 6f12fbf694 openwince "include" package moved into "jtag" (now named "inclow")
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@807 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 674438c9ff make SVF parser/lexer backwards compatible to pre-2.5.31 flex
for those the error location feature is skipped in svf_flex.l


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@783 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger e828e317e4 ftd2xx parport driver added
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@782 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 8a8964ed6b add some messages to show configuration summary, to be extended
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@777 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 70ff64e8bf Fix [ 1828368 ] Compilation fails without libusb/libftdi
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@758 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 5135cac35f [ 1479632, 1649637 ] Drivers for Altera USB Blaster and Xilinx Platform Cable USB
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@743 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk bb7186f387 [ 1079531 ] jtag mpc5200 support
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@694 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Marcel Telka c999c3410e 2004-10-17 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed version number to 0.6.
	(AM_GNU_GETTEXT_VERSION): Changed version number for gettext to 0.14.1.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@614 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
20 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 3a1bb84aa4 2003-09-15 Marcel Telka <marcel@telka.sk>
* configure.ac: Fixed spelling (patch 805108, Andreas Mohr).
	* src/jtag.c (main): Ditto.
	* src/cmd/discovery.c (cmd_discovery_help, cmd_discovery): Ditto.
	* src/cmd/flashmem.c (cmd_flashmem_help): Ditto.

	* src/tap/cable/ei012.c: Changed comment (patch 805108, Andreas Mohr).
	* src/tap/cable/keithkoep.c: Ditto.
	* src/tap/cable/mpcbdm.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@568 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 67c8d61b0c 2003-09-14 Marcel Telka <marcel@telka.sk>
* src/tap/cable/triton.c: New file (patch 805103, Andreas Mohr).
	* src/tap/Makefile.am (libtap_a_SOURCES): Added cable/triton.c (patch 805103, Andreas Mohr).
	* src/tap/cable.c (cable_drivers): Added triton_cable_driver member (patch 805103, Andreas Mohr).
	* src/tap/cable/generic.h (PARAM_SRESET): New macro (patch 805103, Andreas Mohr).
	(generic_params_t): New structure member 'sreset' (patch 805103, Andreas Mohr).

	* configure.ac: Changed description for --with-include parameter (thanks to Andreas Mohr).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@565 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka bf54af7380 2003-09-12 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CHECK_FUNCS): Added swprintf.
	* src/cmd/print.c (cmd_print_run): Added alternative implementation of the header printing using
		snprintf() for platforms without swprintf() function available.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@564 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 680950c502 2003-09-12 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed version number to 0.5.1.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@563 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 93439796fd 2003-09-04 Marcel Telka <marcel@telka.sk>
* configure.ac (CPPFLAGS): Added top_srcdir into include directory list.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@556 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 41c771380b 2003-08-25 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed package name.
	* src/jtag.c (main): Added full package name to banner.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@543 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 0b65a9d587 2003-08-19 Marcel Telka <marcel@telka.sk>
* configure.ac (AM_GNU_GETTEXT_VERSION): Changed version number to 0.12.1.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@534 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b0b4d28640 2003-08-19 Marcel Telka <marcel@telka.sk>
* sysdep.h: Renamed pkgcfg.h to config.h.
	* configure.ac (AM_CONFIG_HEADER): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@524 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d20cf94c4e 2003-08-11 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_INIT): Changed version number to 0.5.

	* include/chain.h (chain_t): Added active_part.
	* src/tap/chain.c (chain_alloc): Added active_part initialization.
	* include/part.h (parts_print): Removed 'header' parameter.
	* src/part/part.c (parts_print): Removed header printing.
	* src/cmd/print.c (cmd_print_run): Added header printg. Added new parameter 'chain' for print command.
	(cmd_print_help): Added new parameter 'chain'.
	* src/cmd/dr.c (cmd_dr_run, cmd_dr_help): Removed PART parameter.
	* src/cmd/get.c (cmd_get_run, cmd_get_help): Ditto.
	* src/cmd/instruction.c (cmd_instruction_run, cmd_instruction_help): Ditto.
	* src/cmd/set.c (cmd_set_run, cmd_set_help): Ditto.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Adde part.c.
	* src/cmd/part.c: New file.
	* src/cmd/cmd.c (cmds): Added cmd_part.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@495 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 0f42de4e72 2003-07-24 Marcel Telka <marcel@telka.sk>
* po/POTFILES.in: Removed missing files.
	* configure.ac: Removed VL_LIB_READLINE macro and moved it to ...
	* acinclude.m4: ... this new file.


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