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
6a4a18109b
2003-05-21 Marcel Telka <marcel@telka.sk>
...
* include/part.h (part_find_signal): New function declaration.
(part_set_signal, part_get_signal): Changed parameter signal name to signal pointer.
* src/part/part.c (part_find_signal): New function.
(part_set_signal, part_get_signal): Removed signal searching, used supplied pointer to signal.
* po/POTFILES.in: Added src/bus/ixp425.c, src/bus/pxa2x0.c, and src/bus/sa1110.c.
* src/bus/ixp425.c (bus_params_t, select_flash, unselect_flash, setup_address, set_data_in)
(setup_data, ixp425_bus_read_start, ixp425_bus_read_next, ixp425_bus_read_end, ixp425_bus_write)
(new_ixp425_bus): Optimized signal searching to increase bus access speed.
* src/bus/pxa2x0.c (bus_params_t, setup_address, set_data_in, setup_data, pxa250_bus_read_start)
(pxa250_bus_read_next, pxa250_bus_read_end, pxa250_bus_write, new_pxa250_bus): Ditto.
* src/bus/sa1110.c (bus_params_t, setup_address, set_data_in, setup_data, sa1110_bus_read_start)
(sa1110_bus_read_next, sa1110_bus_read_end, sa1110_bus_write, new_sa1110_bus): Ditto.
(sa1110_bus_width): Updated part_get_signal() function call. Added explicit signal search.
* src/cmd/get.c (cmd_get_run): Ditto.
* src/cmd/set.c (cmd_set_run): Updated part_set_signal() function call. Added explicit signal search.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@435 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
bdac1de201
2003-05-20 Marcel Telka <marcel@telka.sk>
...
* configure.ac (AC_CONFIG_FILES): Added src/cmd/Makefile.
* include/Makefile.am (noinst_HEADERS): Added jtag.h.
* include/jtag.h: New file.
* po/POTFILES.in: Updated.
* src/Makefile.am (SUBDIRS): Added cmd.
(jtag_SOURCES): Removed jtag.h and help.c.
(jtag_DEPENDENCIES): Added cmd/libcmd.a.
(jtag_LDADD): Added libcmd.
(INCLUDES): Removed JTAG_DATA_DIR.
* src/help.c: File removed.
* src/jtag.h: Ditto.
* src/jtag.c (jtag_parse_line): Removed command parsing and moved it to cmd directory.
(jtag_parse_file): Function is no longer static.
* src/cmd/Makefile.am: New file.
* src/cmd/cable.c: Ditto.
* src/cmd/cmd.c: Ditto.
* src/cmd/cmd.h: Ditto.
* src/cmd/detect.c: Ditto.
* src/cmd/detectflash.c: Ditto.
* src/cmd/discovery.c: Ditto.
* src/cmd/dr.c: Ditto.
* src/cmd/flashmem.c: Ditto.
* src/cmd/frequency.c: Ditto.
* src/cmd/get.c: Ditto.
* src/cmd/help.c: Ditto.
* src/cmd/instruction.c: Ditto.
* src/cmd/print.c: Ditto.
* src/cmd/quit.c: Ditto.
* src/cmd/readmem.c: Ditto.
* src/cmd/script.c: Ditto.
* src/cmd/set.c: Ditto.
* src/cmd/shift.c: Ditto.
* src/part/part.c (parts_print): Fixed header printing.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@434 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
30ce7bb80f
2003-05-20 Marcel Telka <marcel@telka.sk>
...
* src/part/data_register.c: Added l10n support. Marked messages for translation.
* src/part/instruction.c: Ditto.
* src/part/parse.c: Ditto.
* po/POTFILES.in: Added above files.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@433 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
4caf803f3b
2003-05-19 Marcel Telka <marcel@telka.sk>
...
* src/tap/parport/ppdev.c (ppdev_get_status): Inverted BUSY signal value.
* include/cfi.h (cfi_chip_t, cfi_array_t): New typedefs.
(cfi_array_free): New function prototype.
(detect_cfi): Changed function prototype.
* include/flash.h (set_flash_driver): Removed function prototype.
* src/flash/cfi.c (BW16): Macro removed.
(read2): Function removed.
(cfi_array_free): New function.
(detect_cfi): Added code to detect all CFI chips on the data bus.
* src/flash.c (flashcheck): Removed bus width checking. Updated due changes in src/flash/cfi.c.
(flashmsbin): Updated due changes in src/flash/cfi.c. Removed memory leak.
* src/readmem.c: Added l10n support. Marked messages for translation.
(detectflash): Updated due changes in src/flash/cfi.c. Removed memory leak.
Removed flash driver setup.
* po/POTFILES.in: Added src/readmem.c.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@432 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
d126c4c797
2003-05-16 Marcel Telka <marcel@telka.sk>
...
* include/part.h (part_print): New function declaration.
* src/part/part.c: Marked all user visible messages for translation.
(part_print): New function.
(parts_print): Simplified. Added part_print() call.
* po/POTFILES.in: Added src/part/part.c.
* src/Makefile.am (jtag_DEPENDENCIES): Added flash/libflash.a.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@431 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
3e1b91019a
2003-03-18 Marcel Telka <marcel@telka.sk>
...
* po/POTFILES.in: Added src/tap/parport/direct.c and src/tap/parport/ppdev.c.
* src/help.c (help) <cable>: Added help for `cable ppdev' command.
* src/tap/parport/ppdev.c (ppdev_open): Removed debug messages.
* src/jtag.c (jtag_parse_line) <cable>: Added chain_disconnect() call before
new cable connection.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@400 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
8db4e7e62f
2003-02-21 Marcel Telka <marcel@telka.sk>
...
* src/help.c (help): Marked translatable strings.
* src/jtag.c (jtag_parse_line): Ditto.
(jtag_parse_file): Ditto.
(main): Ditto.
* po/POTFILES.in: Added src/help.c and src/jtag.c.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@379 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
5f4dc04142
2003-02-18 Marcel Telka <marcel@telka.sk>
...
* autogen.sh: Added autopoint call. Added '-I m4' parameter for aclocal.
* Makefile.am (SUBDIRS): Added intl, include and po.
(DIST_SUBDIRS): Removed.
(ACLOCAL_AMFLAGS): Added '-I m4'.
* configure.ac (AC_INIT): Changed version number to 0.3.
(AC_CONFIG_FILES): Added intl/Makefile and po/Makefile.in.
(AM_GNU_GETTEXT): Added.
(AM_GNU_GETTEXT_VERSION): Added with version 0.11.5.
* include/gettext.h: Copied new file from gettext share.
* po/LINGUAS: Added new empty file.
* po/Makevars: Added new file.
* po/POTFILES.in: Added new empty file.
* src/Makefile.am (INCLUDES): Removed JTAG_DATA_DIR.
(localedir): Added path to locale directory.
(DEFS): Added JTAG_DATA_DIR and LOCALEDIR.
(LIBS): Added LIBINTL.
* src/help.c: Included gettext.h.
* src/jtag.c: Included gettext.h.
(main): Added l10n support.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@372 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago