* data/MANUFACTURERS: Added new manufacturer: DEC.
* src/jtag.c (jtag_create_jtagdir): Changed permissions for jtag directory.
* include/part.h (part_alloc, read_part): Changed return type from `part *' to `part_t *'.
(struct parts): Changed parts member type from `part **' to `part_t **'.
(parts_alloc): Changed return type from `parts *' to `parts_t *'.
* src/bus/ixp425.c (select_flash, unselect_flash, setup_address, set_data_in, setup_data):
Changed first parameter type from `part *' to `part_t *'.
* src/bus/pxa250.c (setup_address, set_data_in, setup_data): Ditto.
* src/bus/sa1110.c (setup_address, set_data_in, setup_data): Ditto.
* include/bus.h: Replaced static bus_driver_t architecture with dynamic bus_t.
Removed direct chain_t dependency. Added `params' and `prepare' members.
All related functions' parameter types changed.
* src/bus/ixp425.c (bus_params_t): New structure typedef.
(CHAIN, PART): New macros.
(ixp425_bus_prepare, ixp425_bus_free, new_ixp425_bus): New functions.
(ixp425_bus_driver, ixp425_bus): Renamed `ixp425_bus_driver' to `ixp425_bus' and updated
for new bus driver architecture.
* src/bus/pxa250.c (bus_params_t): New structure typedef.
(CHAIN, PART): New macros.
(pxa250_bus_prepare, pxa250_bus_free, new_pxa250_bus): New functions.
(pxa250_bus_driver, pxa250_bus): Renamed `pxa250_bus_driver' to `pxa250_bus' and updated
for new bus driver architecture.
* src/bus/sa1110.c (bus_params_t): New structure typedef.
(CHAIN, PART): New macros.
(sa1110_bus_prepare, sa1110_bus_free, new_sa1110_bus): New functions.
(sa1110_bus_driver, sa1110_bus): Renamed `sa1110_bus_driver' to `sa1110_bus' and updated
for new bus driver architecture.
* src/readmem.c (detectflash, readmem): Moved JTAG chain initialization to bus->prepare().
* src/flash.c (flashcheck): Ditto.
(flashmsbin, flashmem): Removed BYPASS instruction setup.
* src/jtag.c (bus_driver, bus): Replaced `bus_driver' with `bus' global variable.
(jtag_parse_line, main): Added `bus' deallocation.
* src/flash.h (flash_driver_t): Changed parameter type for all function members from
`chain_t*' to `bus_t *'.
All function callers changed.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@423 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* include/signal.h: Changed signal typedef to signal_t (thanks to Jachym Holecek).
All `signal' instances renamed to `signal_t'.
* src/tap/parport.c: Ported to NetBSD/i386 (Jachym Holecek).
* src/tap/parport/direct.c (parport_drivers): Conditionally removed direct_parport_driver.
* configure.ac: Added test for i386_set_ioperm() function. Defined HAVE_IOPERM
and HAVE_I386_SET_IOPERM.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@412 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/jtag.c (jtag_parse_line) <script>: Added support for `quit' command in scripts.
(jtag_parse_rc): Ditto.
(jtag_parse_file): Added support for comments and `quit' command in scripts.
(main): Added command line parameter list execution as scripts.
* data/intel/pxa250/STEPPING: Added support for Intel PXA255 A0 (thanks to Mike Sprauve).
* configure.ac (AC_INIT): Changed version number to 0.3.1.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@401 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* configure.ac (AC_CONFIG_HEADERS): Replaced this `new' macro ...
(AM_CONFIG_HEADER): ... with this `old' one to make build compatible with automake-1.6.
(AM_GNU_GETTEXT_VERSION): Relaxed version number from 0.11.5 to 0.11.4.
* src/Makefile.am (jtag_LDADD): Added LIBINTL.
(LIBS): Removed LIBINTL.
(DEFS): Removed whole content ...
(INCLUDE): ... and added it here.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@393 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/Makefile.am (jtag_SOURCES): Added missing flash.h.
* src/jtag.c: Added missing string.h include. Moved gettext.h include
to the top level of the include list.
* src/help.c: Moved gettext.h include to the top level of the include list.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@377 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/flash.c (flashmsbin): Changed flash error message.
(flashmem): Changed output messages. Enabled verify for 2 x 16, not
for 1 x 16. Added betted and of file test for verify.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@369 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/jtag.c (jtag_creae_jtagdir): New function (Alessandro Zummo).
(jtag_load_history): Ditto.
(jtag_save_history): Ditto.
(jtag_readline_loop): Ditto.
(jtag_parse_file): Ditto.
(jtag_parse_rc): Ditto.
(jtag_parse_line): New funcion, content extracted from main function, added new
'script' command (Alessandro Zummo).
(main): Moved parsing capability to jtag_parse_line function (Alessandro Zummo).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@360 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/jtag.c (main): Corrected error message for 'instruction' command and added
a notice when an instruction is unknown (Alessandro Zummo).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@358 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/cfi.c (detect_cfi): Added support for 1 x 16 bit flash configuration (Christian
Pellegrin).
* src/detect.c (find_record): Added error message if file cannot be opened (Christian
Pellegrin).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@351 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/sa1110.c (sa1110_bus_read_start): Added support for all six static memory banks.
The function is now 'static'.
(sa1110_bus_read_end): Ditto.
(sa1110_bus_read_next): The function is now 'static'.
(sa1110_bus_read): Ditto.
(sa1110_bus_width): Ditto.
(sa1110_bus_write): Added support for all six static memory banks (bug 682660).
The function is now 'static'.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@340 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/help.c (help): Added missing short help description for 'set' command.
* src/jtag.c (main): Added test for uninitialized ps for 'set' command.
* src/tap/tap.c (tap_shift_register): Changed final state to Run-Test/Idle
for immediately propagation of the new BSR values.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@335 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
* src/jtag.c (main): Added more checks for syntax errors. Added support for
printing input data registers - command 'dr'. Added 'set signal'
command.
* src/help.c (help): Updated help for 'dr' command, added help for 'set
signal.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@334 b68d4a1b-bc3d-0410-92ed-d4ac073336b7