63 Commits (184b257200d2c0155d31c73d15b6458724f3a12d)

Author SHA1 Message Date
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 cb72f1c1da added 'prototype' bus driver (Detrick Martin)
since this driver requires a parameter string upon initialization, the
API had to be extended for bus_new()
all other drivers need to follow the new function prototype


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@914 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
Arnim Läuger b8727aafa1 applied patch '[ 1858985 ] possible fix to print the signal aliases' (Hartley Sweeten)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@892 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 814f38046d cast uint64_t to (long long unsigned) for %llu
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@869 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk ea79dff446 fixes for function prototypes and missing includes (Hartley)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@867 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk a224cab4b0 Removed code for "setdevice" command (introduced in #741)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@853 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 4ecbb35521 Cosmetics and fix for segfault after legacy check in cable.c
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@849 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk cd7ea9388c Replaced several strcmps by strcasecmps, fixes 1845811 Case sensitivity in shell
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@848 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk dedc872f52 Added help function to every cable, closes [1851444] More cable help
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@846 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 4b93f558b6 [1839040] Make "cable" command less parport-centric. Changes "cable" command syntax!
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@809 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk aad548b031 Clean up fix for [1837985] "shell" command causes segfault
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@790 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 93379cc552 Allow arbitrary number of arguments for "shell" command (fix for [1837985] "shell" command causes segfault)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@785 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 caf4bb21fb report cable usage for USB & FTDI based cables only in case respective support is included
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@772 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 4912ec2f2e merged changes from /branches/ft2232_eval@770
this is the initial stable version of the ft2232 cable driver


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@771 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger 41a92905ca fixed [ 1828672 ] cmd/bit.c broken
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@745 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 029593bbd1 [ 1605981 ] JTAG Support for ADSP-21065L Processor (with modifications)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@741 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Arnim Läuger bd53788ad9 get rid of (most) compiler warnings
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@733 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk 851277f003 Remaining diffs from gumstix repository: Add debug, test and shell command, aliases for parts, small fixes.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@731 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 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 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 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 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 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 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 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
22 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
22 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
22 years ago
Marcel Telka b05cffa059 2003-09-05 Marcel Telka <marcel@telka.sk>
* include/bus.h (bus_drivers): Added constant declaration.
	(new_sa1110_bus, new_pxa250_bus, new_ixp425_bus, new_sh7727_bus, new_sh7750r_bus, new_sh7751r_bus)
	(new_bcm1250_bus): Function declarations removed.
	* src/bus/buses.c (bus_drivers): New constant definition.
	* src/bus/buses.h: New file.
	* src/bus/Makefile.am (libbus_a_SOURCES): Added buses.h.

	* src/bus/bcm1250.c (bcm1250_bus_printinfo): Added new function parameter 'bus'.
	(bcm1250_bus): Changed structure type to bus_driver_t. Changed members.
	(new_bcm1250_bus): Function renamed ...
	(bcm1250_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/ixp425.c (ixp425_bus_printinfo): Added new function parameter 'bus'.
	(ixp425_bus): Changed structure type to bus_driver_t. Changed members.
	(new_ixp425_bus): Function renamed ...
	(ixp425_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/pxa2x0.c (pxa2x0_bus_printinfo): Added new function parameter 'bus'.
	(pxa250_bus): Structure transformed ...
	(pxa2x0_bus): ... to this constant (changed type to bus_driver_t, changed members).
	(new_pxa250_bus): Function renamed ...
	(pxa2x0_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/s3c4510x.c (s3c4510_bus_printinfo): Added new function parameter 'bus'.
	(s3c4510_bus): Changed structure type to bus_driver_t. Changed members.
	(new_s3c4510_bus): Function renamed ...
	(s3c4510_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/sa1110.c (sa1110_bus_printinfo): Added new function parameter 'bus'.
	(sa1110_bus): Changed structure type to bus_driver_t. Changed members.
	(new_sa1110_bus): Function renamed ...
	(sa1110_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/sh7727.c (sh7727_bus_printinfo): Added new function parameter 'bus'.
	(sh7727_bus): Changed structure type to bus_driver_t. Changed members.
	(new_sh7727_bus): Function renamed ...
	(sh7727_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/sh7750r.c (sh7750r_bus_printinfo): Added new function parameter 'bus'.
	(sh7750r_bus): Changed structure type to bus_driver_t. Changed members.
	(new_sh7750r_bus): Function renamed ...
	(sh7750r_bus_new): ... to this one. Changed parameter list to void (and function body updated).
	* src/bus/sh7751r.c (sh7751r_bus_printinfo): Added new function parameter 'bus'.
	(sh7751r_bus): Changed structure type to bus_driver_t. Changed members.
	(new_sh7751r_bus): Function renamed ...
	(sh7751r_bus_new): ... to this one. Changed parameter list to void (and function body updated).

	* src/cmd/cable.c (cmd_cable_run): Replaced bus->free() call with bus_free().
	* src/jtag.c (main): Ditto.

	* src/cmd/cmd.c (cmds): Added cmd_initbus.
	* src/cmd/detect.c (cmd_detect_run): Removed explicit bus driver detection.
	* src/cmd/initbus.c: New file.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added initbus.c.

	* data/broadcom/bcm1250/bcm1250: Added 'initbus' command call.
	* data/hitachi/sh7727/sh7727: Ditto.
	* data/intel/ixp425/ixp425: Ditto.
	* data/intel/pxa250/pxa250: Ditto.
	* data/intel/pxa250/pxa250c0: Ditto.
	* data/intel/sa1110/sa1110: Ditto.
	* data/samsung/s3c4510b/s3c4510b: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@558 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d3c480487f 2003-08-28 Marcel Telka <marcel@telka.sk>
* src/readmem.c (readmem): Replaced bus_width macro with new bus_area.
	* src/bus/bcm1250.c (bcm1250_bus_width): Function removed.
	(bcm1250_bus_area): New function.
	* src/bus/ixp425.c (ixp425_bus_width): Function removed.
	(ixp425_bus_area): New function.
	* src/bus/pxa2x0.c (pxa250_bus_width): Function removed.
	(pxa2x0_bus_area): New function.
	* src/bus/s3c4510x.c (s3c4510_bus_width): Function removed.
	(s3c4510_bus_area): New function.
	* src/bus/sa1110.c (sa1110_bus_width: Function removed.
	(sa1110_bus_area): New function.
	* src/bus/sh7727.c (sh7727_bus_width): Function removed.
	(sh7727_bus_area): New function.
	* src/bus/sh7750r.c (sh7750r_bus_width): Function removed.
	(sh7750r_bus_area): New function.
	* src/bus/sh7751r.c (sh7751r_bus_width): Function removed.
	(sh7751r_bus_area): New function.
	* src/cmd/print.c (cmd_print_run): Added bus area printing.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@551 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 3fbc4dc041 2003-08-26 Marcel Telka <marcel@telka.sk>
* src/cmd/print.c (cmd_print_run): Fixed header print format.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@544 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka c146db4b84 2003-08-19 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Fixed setlocale() call.
	* Makefile.am (noinst_HEADERS): Renamed config.h -> sysdep.h.
	* config.h: Renamed this file ...
	* sysdep.h: ... to this one.
	Changed config.h -> sysdep.h include in all source files.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@523 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka bc9a445bf7 2003-08-18 Marcel Telka <marcel@telka.sk>
* src/detect.c (detect_parts): Marked one forgotten string for translation.
	* src/cmd/bit.c (cmd_bit_run): Fixed control bit setup.
	* src/cmd/eraseflash.c (cmd_eraseflash_run): Changed formatting.
	(cmd_eraseflash_help): Updated help text.
	* src/cmd/flashmem.c (cmd_flashmem_help): Ditto.
	* src/cmd/readmem.c (cmd_readmem_help): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@516 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 9928910711 2003-08-14 Marcel Telka <marcel@telka.sk>
* include/jtag.h (flasherase): New function prototype (patch 772267, Thomas Fröhlich).
	* src/flash.c (flasherase): New function (patch 772267, Thomas Fröhlich).
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added eraseflash.c (patch 772267, Thomas Fröhlich).
	* src/cmd/cmd.c (cmds): Added cmd_eraseflash (patch 772267, Thomas Fröhlich).
	* src/cmd/eraseflash.c: New file (patch 772267, Thomas Fröhlich).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@515 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 05d3c24f64 2003-08-13 Marcel Telka <marcel@telka.sk>
* include/part.h (struct part): Added new member 'id'.
	(part_alloc): Added new parameter 'id'.
	* src/detect.c (detect_parts): Added execution JTAG declarations as script.
	* src/jtag.c (get_token): Added support for in-line comments.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added signal.c, bit.c, and register.c.
	* src/cmd/bit.c: New file.
	* src/cmd/register.c: Ditto.
	* src/cmd/signal.c: Ditto.
	* src/cmd/cmd.c (cmds): Added cmd_signal, cmd_bit, and cmd_register.
	* src/cmd/instruction.c (cmd_instruction_run, cmd_instruction_help, cmd_instruction): Added support
		for new instruction declaration.
	* src/part/parse.c: File removed.
	* src/part/Makefile.am (libpart_a_SOURCES): Removed parse.c.
	* src/cmd/detect.c (cmd_detect_run): Fixed possible NULL pointer dereference.
	* src/part/part.c (part_alloc): Added new parameter 'id'.
	(part_free): Addedd id deallocation.
	(part_print): Added support for instructions without data register.
	* src/tap/chain.c (chain_shift_data_registers): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@506 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka d274e79ff6 2003-08-11 Marcel Telka <marcel@telka.sk>
* src/cmd/Makefile.am (libcmd_a_SOURCES): Added include.c.
	* src/cmd/include.c: New file.
	* src/cmd/cmd.c (cmds): Added cmd_include.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@501 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 7cca05a558 2003-08-11 Marcel Telka <marcel@telka.sk>
* include/bus.h (buses_t): Added new structure.
	* src/jtag.c (bus): Removed global variable.
	* src/bus/Makefile.am (libbus_a_SOURCES): Added buses.c.
	* src/bus/buses.c: New file.
	* src/bus/bcm1250.c (bcm1250_bus_printinfo): New function.
	* src/bus/ixp425.c (ixp425_bus_printinfo): Ditto.
	* src/bus/pxa2x0.c (pxa2x0_bus_printinfo): Ditto.
	* src/bus/sa1110.c (sa1110_bus_printinfo): Ditto.
	* src/bus/sh7727.c (sh7727_bus_printinfo): Ditto.
	* src/bus/sh7750r.c (sh7750r_bus_printinfo): Ditto.
	* src/cmd/Makefile.am (libcmd_a_SOURCES): Added bus.c.
	* src/cmd/bus.c: New file.
	* src/cmd/cmd.c (cmds): Added cmd_bus.
	* src/cmd/detect.c (cmd_detect_run): Added support for multiple buses detection.
	* src/cmd/print.c (cmd_print_run): Fixed header printing while syntax error. Added support for printing
		list of active buses.
	(cmd_print_help): Added new parameter 'bus'.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@497 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 e1179f5534 2003-07-01 Marcel Telka <marcel@telka.sk>
* include/bus.h (new_sh7750r_bus, new_bcm1250_bus): New function declarations (patch 753300, Matan Ziv-Av).
	* src/bus/Makefile.am (libbus_a_SOURCES): Added bcm1250.c and sh7750r.c (patch 753300, Matan Ziv-Av).
	* src/bus/bcm1250.c: New file (patch 753300, Matan Ziv-Av).
	* src/bus/sh7750r.c: Ditto.
	* src/cmd/detect.c (cmd_detect_run): Added bus driver for SH7750R and BCM1250 (patch 753300, Matan Ziv-Av).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@490 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f017932912 2003-06-19 Marcel Telka <marcel@telka.sk>
* include/jtag.h (discovery): Removed 'filename' parameter.
	* src/discovery.c (TEST_COUNT): Changed test repeat count from 5 to 1.
	(detect_register_size): Removed 'f' parameter. Removed output messages.
	(jtag_reset): Removed sleep() calls.
	(discovery): Removed 'filename' parameter. Removed support for output to file. Simplified output
		messages.
	* src/cmd/discovery.c (cmd_discovery_run): Removed FILENAME parameter.
	(cmd_discovery_help): Updated help text.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@489 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago