* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* src/bus/pxa2x0.c (set_data_in, setup_data): Added new 'adr' parameter. Used real data bus width
for data reading (based on patch 792591, thanks to Guennadi Liakhovetski).
All function callers updated.
(pxa250_bus_read_next, pxa250_bus_read_end): Used real data bus width for data reading (based on
patch 792591, thanks to Guennadi Liakhovetski).
* src/bus/sa1110.c (set_data_in, setup_data, sa1110_bus_read_next, sa1110_bus_read_end): Ditto.
* src/bus/sh7727.c (set_data_in, setup_data, sh7727_bus_read_next, sh7727_bus_read_end): Ditto.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@554 b68d4a1b-bc3d-0410-92ed-d4ac073336b7