Arnim Läuger
5f104d447d
flush todo queue for transfers without output capture (if conservative flush strategy is not disabled)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1016 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
109ff9d025
Extended the cable_flush() to take an argument regarding the amount of items to flush
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1002 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
03aeb3783e
Merged from jtag_kawk#978: New functions to queue "deferred" JTAG activity.
...
New code in cable drivers to flush the activity queue, both generic (for
parport-based and new drivers) and optimized implementations for FT2232-based
cables (by Arnim Laeuger) and USB-Blaster (by me) (#1832990 )
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@979 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
17 years ago
Kolja Waschk
8a53bead30
fixes for function prototypes and missing includes (Hartley)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@868 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
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
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
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
Marcel Telka
9406ed47c7
2003-03-18 Marcel Telka <marcel@telka.sk>
...
* include/parport.h: New file. Added parport driver support.
All cable drivers modified.
* src/tap/parport.c: Ditto.
* src/tap/parport/direct.c: Ditto.
* src/jtag.c (jtag_parse_line) <cable>: Added parport driver support.
* include/Makefile.am (noinst_HEADERS): Added parport.h.
* src/tap/cable/generic.c: New file withgGeneric functions for cable drivers.
All cable drivers modified.
* src/tap/cable/generic.h: Ditto.
* src/tap/Makefile.am (libtap_a_SOURCES): Added parport.c, parport/direct.c, cable/generic.h,
and cable/generic.c.
* include/cable.h: Added dynamic cable objects. Added cable interpose functions.
All callers changed.
* src/tap/cable.c: Ditto.
* include/chain.h (chain_connect): Function removed.
(chain_disconnect): New function.
* src/tap/chain.c (chain_free): Modified for chain_disconnect() call.
(chain_connect): Removed.
(chain_disconnect): New function.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@397 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
bf49310557
2003-01-18 Marcel Telka <marcel@telka.sk>
...
* src/jtag.c (main): Added new 'frequency' command.
* src/help.c (help): Added help for 'frequency' command.
* include/cable.h (cable_wait): Added new function prototype.
* src/tap/cable.c (cable_wait): Added new function.
* src/tap/cable/byteblaster.c (byteblaster_clock): Added support for TCK
frequency limit.
(byteblaster_get_tdo): Ditto.
* src/tap/cable/dlc5.c (dlc5_clock): Ditto.
(dlc5_get_tdo): Ditto.
* src/tap/cable/ea253.c (ea253_clock): Ditto.
(ea253_get_tdo): Ditto.
* src/tap/cable/ei012.c (ei012_clock): Ditto.
(ei012_get_tdo): Ditto.
* src/tap/cable/wiggler.c (wiggler_clock): Ditto.
(wiggler_get_tdo): Ditto.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@320 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
c5eb27eb50
2003-01-08 Marcel Telka <marcel@telka.sk>
...
* include/cable.h: Unified and simplified cable driver handling, added driver name
and driver description into driver interface structure.
* src/help.c (help): Ditto.
* src/jtag.c (main): Ditto.
* src/tap/Makefile.am: Ditto.
* src/tap/cable.c: Ditto.
* src/tap/cable/dlc5.c: Ditto.
* src/tap/cable/ea253.c: Ditto.
* src/tap/cable/ei012.c: Ditto.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@300 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
9aae0add1e
2003-01-08 Marcel Telka <marcel@telka.sk>
...
* include/cable.h: Added cable driver for ETC EI012 JTAG Cable.
* src/help.c (help): Ditto.
* src/jtag.c (main): Ditto.
* src/tap/Makefile.am: Ditto.
* src/tap/cable/ei012.c: Ditto.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@298 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka
c268034c3a
2003-01-08 Marcel Telka <marcel@telka.sk>
...
* include/cable.h: Added cable driver for Xilinx DLC5 JTAG Parallel Cable III.
* src/help.c (help): Ditto.
* src/jtag.c (main): Ditto.
* src/tap/Makefile.am: Ditto.
* src/tap/cable/dlc5.c: Ditto.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@296 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