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
Marcel Telka
efe4e647e0
2003-06-18 Marcel Telka <marcel@telka.sk>
...
* src/discovery.c (discovery): Removed explicit JTAG chain length detection. Changed starting of the DR
size detection from all 1 instead all 0 for IR (patch 753298, Matan Ziv-Av).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@488 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
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
daa49cf9bc
2003-03-13 Marcel Telka <marcel@telka.sk>
...
* include/chain.h: New file.
* src/tap/chain.c: Ditto.
* src/tap/Makefile.am (libtap_a_SOURCES): Added chain.c.
* include/Makefile.am (noinst_HEADERS): Added chain.h.
* src/jtag.c: Encapsulated parts, cable and TAP state into one object - chain.
All relevant function parameters changed to `chain'.
* src/tap/state.c: `trst' state moved to cable drivers.
All cable drivers changed.
* include/cable.h (cable_driver_t) <set_trst>: Changed return value from void to int.
All cable drivers changed.
(cable_driver_t) <get_trst>: New function.
Implemented this function to all cable drivers.
* include/part.h (part_shift_instruction, part_shift_data_register)
(parts_shift_instructions, parts_shift_data_registers): Funcions removed.
* src/part/part.c (part_shift_instruction, part_shift_data_register)
(parts_shift_instructions, parts_shift_data_registers): Ditto.
* src/tap/cable/arcom.c: Removed dependency on state.h.
* src/tap/cable/byteblaster.c: Ditto.
* src/tap/cable/dlc5.c: Ditto.
* src/tap/cable/ea253.c: Ditto.
* src/tap/cable/ei012.c: Ditto.
* src/tap/cable/mpcbdm.c: Ditto.
* src/tap/cable/wiggler.c: Ditto.
* include/state.h (bit): Replaced with common.h include.
(Unknown_State, Run_Test_Idle, Select_DR_Scan, Select_IR_Scan): Removed parentheses.
* include/tap.h (write_command): Removed unused declaration.
* src/detect.h: Removed file.
* src/jtag.h: New file with common jtag function declarations.
* src/Makefile.am (jtag_SOURCES): Removed detect.h, added jtag.h.
* src/cfi.c: Added jtag.h include. Moved common function declarations to jtag.h file.
* src/detect.c: Ditto.
* src/discovery.c: Ditto.
* src/flash.c: Ditto.
* src/help.c: Ditto.
* src/jtag.c: Ditto.
* src/readmem.c: Ditto.
* src/jtag.c (jtag_create_jtagdir, jtag_load_history, jtag_save_history, jtag_parse_line)
(jtag_readline_loop, jtag_parse_file, jtag_parse_rc): Changed functions to `static'.
* src/tap/tap.c: Added l10n support.
* po/POTFILES.in: Added src/tap/chain.c and src/tap/tap.c.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@392 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
0566f21b6c
2003-01-09 Marcel Telka <marcel@telka.sk>
...
* src/discovery.c (detect_register_size): Changed register length test iteration.
Now the test iterates to MAX_REGISTER_LENGTH, not to MAX_REGISTER_LENGTH - 1.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@304 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
dfd76356a2
2003-01-08 Marcel Telka <marcel@telka.sk>
...
* include/Makefile.am: Removed ctrl.h, added cable.h.
* include/ctrl.h: Removed obsolete file.
* include/cable.h: Added common declarations for JTAG cable drivers.
* src/detect.c: Replaced ctrl.h include with cable.h (JTAG cable driver support).
* src/discovery.c: Ditto.
* src/tap/tap.c: Ditto.
* src/help.c: Added help for new command 'cable'.
* src/jtag.c: Added support for JTAG cable drivers, added new command 'cable'.
* src/tap/Makefile.am: Removed ctrl.c, added cable/ea253.c, updated includes.
* src/tap/ctrl.c: Removed obsolete file.
* src/tap/state.c: Changed default TRST state to 1.
* src/tap/cable/ea253.c: Added driver for EA253 JTAG cable.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@294 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
d278440273
2003-01-06 Marcel Telka <marcel@telka.sk>
...
* src/discovery.c (discovery): Fixed memory leaks, added out of memory test,
added test for invalid IR length.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@293 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
0ac86537b0
2003-01-05 Marcel Telka <marcel@telka.sk>
...
* include/register.h (register_inc, register_dec, register_shift_rigth,
register_shift_left): Added new functions.
* src/tap/register.c (register_inc, register_dec, register_shift_rigth,
register_shift_left): Ditto.
* src/Makefile.am: Added discovery.c file.
* src/discovery.c: Added new file with discovery() implementation.
* src/help.c (help): Added help for 'discovery' command.
* src/jtag.c (main): Added 'discovery' command.
* src/tap/tap.c (write_command): Removed unused function.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@291 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago