245 Commits (cde1820a57e0ea5b20c991a34d474148da93715f)

Author SHA1 Message Date
Kolja Waschk cde1820a57 [ 1194137 ] better SVF diagnostics (compile fix)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@728 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk dbd8ca383a The 405ep support patch _still_ wasn't completely integrated.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@727 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 9e8e7af9c0 The 405ep support patch _still_ wasn't completely integrated.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@726 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 5440ab2099 some more fixes, eg. ppc405 support patch still wasn't completely applied
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@718 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 7b425b6749 [ 1281749 ] Bus driver for JOP.design Cyclone boards (jopcyc+serial patch)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@716 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk a7a87bc635 [ 1249554 ] Writemem command to write to SRAM
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@712 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk c791aad445 [ 1249552 ] New bus type SLS UP3 (Altera FPGA board)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@711 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk d309f30d0b [ 1236272 ] Add support for Analog Devices Blackfin Processor: IGLOO.patch
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@710 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 381b96d661 [ 1236272 ] Add support for Analog Devices Blackfin Processor: STAMP_EZKIT.patch
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@709 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 88a859acab [ 1194141 ] better diagnostics for opening ppdev device
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@707 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk ebbd82cd16 [ 1194137 ] better SVF diagnostics (+ manual integration with previous jtag-svf-vec-hexa fix)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@706 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 16fd23e787 [ 1194140 ] SVF better RUNTEST timing
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@705 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 0fc13035ad [ 1194130 ] busy-loop waiting (breaks compilation of svf.c... wait for next two patches)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@704 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk a9b63dafe9 [ 1174000 ] Miscellanous fixes (omitting the speedup for flash.c, obsoleted by an earlier patch)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@703 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 54be85ecab [ 1173997 ] bsdl2jtag bidir support
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@702 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 8919f07a50 [ 1169349 ] better error codes for bsdl2jtag
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@699 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk f6f1a48cec [ 1112022 ] PXA270 Support
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@697 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 11f6f1b6ce [ 1079531 ] jtag mpc5200 support (added files)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@695 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
Kolja Waschk 0dbcc0cfb2 add -lm because SVF player uses floor()
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@692 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 7d7c3d6e40 [ 1074347 ] SVF Player (4 patches: jtag-svf, -inc1, -goto_state, -vec-hexa)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@691 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk f5ddf85b38 [ 1060345 ] Fix certain Wigglers.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@690 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 136f326417 fix error from merging 972649+1012149 in bit.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@689 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 9af6507565 [ 1012149 ] Error messages in src/cmd/bit.c file
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@688 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 4720579d2a [ 1012144 ] User messages printed during flashmem
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@687 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 8815d81bfb [ 986415 ] Allow interactive loading of DR
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@686 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 6097369485 [ 972649 ] make jtag more tolerant of case
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@685 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
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 f7fa16a361 2004-11-24 Marcel Telka <marcel@telka.sk>
* src/cmd/reset.c: New file.
	* src/discovery.c (jtag_reset): Function changed to non-static.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added reset.c.
	* src/cmd/cmd.c (cmds): Added cmd_reset.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@624 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
20 years ago
Marcel Telka 5968bafaf9 2004-11-21 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_stream, cleanup): New function.
	(jtag_parse_file): Replaced stream parsing algorithm with jtag_parse_stream() call. Removed support
		for special filename '-'.
	(main): Rewritten and improved startup sequence to distinguish between interactive invocation
		and stdin input (fixed bug 858535, thanks to Andrew Dyer for an idea).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@623 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
20 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 cbceb9abfd 2004-10-17 Marcel Telka <marcel@telka.sk>
* src/tap/cable/wiggler.c (nTRST): Changed pin value (patch 1040199, Andrew Dyer).
	(nSRESET): New pin value (patch 1040199, Andrew Dyer).
	(wiggler_init, wiggler_clock, wiggler_get_tdo, wiggler_set_trst): Changed nTRST to not inverted
		signal (patch 1040199, Andrew Dyer).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@613 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 516caa46b0 2004-08-20 Marcel Telka <marcel@telka.sk>
* src/tap/Makefile.am (libtap_a_SOURCES): Added cable/lattice.c.
	* src/tap/cable.c (cable_drivers): Added lattice_cable_driver (patch 1012138, Jerome Debard).
	* src/tap/cable/lattice.c: New file (patch 1012138, Jerome Debard).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@609 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 fb1b33970e 2004-08-15 Marcel Telka <marcel@telka.sk>
* include/jtag.h (detect_parts): Changed return type.
	* src/detect.c (detect_parts): Changed return value to return number of detected parts.
	* src/cmd/detect.c (cmd_detect_run): Added reset of the chain->parts to NULL before
		detect_parts() call. Ignored detect_parts() return value.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@604 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 4bd78f389e 2004-08-13 Marcel Telka <marcel@telka.sk>
* src/jtag.c: Added missing locale.h include (patch 986414, Martin Buck).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@603 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 677540b4f0 2003-10-23 Marcel Telka <marcel@telka.sk>
* include/bssignal.h (salias_t): Added new type.
	(salias_alloc, salias_free): Adde new function prototypes.
	* include/part.h (struct part): Added new structure member 'saliases'.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added salias.c.
	* src/cmd/cmd.c (cmds): Added cmd_salias.
	* src/cmd/salias.c: New file.
	* src/part/part.c (part_alloc): Added saliases initialization.
	(part_free): Added saliases deallocation.
	(part_find_signal): Added signal aliases searching.
	* src/part/signal.c (salias_alloc, salias_free): New functions.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@582 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka bd55feaba6 2003-09-23 Marcel Telka <marcel@telka.sk>
* src/flash.c (flash_drivers): Added amd_16_flash_driver (Bradley D. LaRonde).
	(find_block): New function (Bradley D. LaRonde).
	(flashmem): Added block calculations using exact CFI data (Bradley D. LaRonde).

	* src/tap/cable/triton.c (triton_init): Removed unused variable 'data'.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@570 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 ca35146952 2003-09-11 Marcel Telka <marcel@telka.sk>
* src/tap/cable/wiggler.c (wiggler_init, wiggler_clock, wiggler_get_tdo, wiggler_set_trst): Fixed
		inverted TRST signal (see patch 799377 for more info, thanks to Mike Tesch for reporting).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@562 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
21 years ago
Marcel Telka 1a1d3ff56e 2003-09-10 Marcel Telka <marcel@telka.sk>
* src/cmd/dr.c (cmd_dr_run): Added test for missing active instruction and data register (thanks to
		Mike Tesch for reporting).


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