32 Commits (29a5f4da8dfe99cf595560c4b0c09bd4ade45316)

Author SHA1 Message Date
Marcel Telka f7b02f3290 2003-02-17 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_line): Added new 'get signal' command.
	* src/help.c (help): Added help for new 'get signal' command.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@365 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka eb99256e68 2003-02-16 Marcel Telka <marcel@telka.sk>
* 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
22 years ago
Marcel Telka c7995ff59c 2003-02-16 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Fixed segfault in 'detectflash'. Thanks to August Hörandl
		for reporting this issue.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@357 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b7738d12bf 2003-02-16 Marcel Telka <marcel@telka.sk>
* src/Makefile.am (jtag_SOURCES): Added new flash files with flash driver
		framework (August Hörandl).
	* src/flash-amd.c: New file with AMD flash support (August Hörandl).
	* src/flash-intel.c: New file. Extracted Intel flash support from src/flash.c
		file (August Hörandl, me).
	* src/flash.c (set_flash_driver): New function. Added support for flash
		drivers (August Hörandl).
	(flashceck): Ditto.
	(flashmsbin): Added support for flash driver (August Hörandl).
	(flashmem): Ditto.
	(flash_erase_block): Function moved to src/flash-intel.c (August Hörandl).
	(flash_unlock_block): Ditto.
	(flash_program): Ditto.
	(flash_erase_block32): Ditto.
	(flash_unlock_block32): Ditto.
	(flash_program32): Ditto.
	* src/flash.h: New file. Interface for flash drivers (August Hörandl).
	* src/help.c (help): Added list of supported flash drivers for 'flashmem'
		command (August Hörandl).
	* src/readmem.c (detectflash): Removed Intel specific code. Enhanced output
		messages (August Hörandl).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@356 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 92359fa779 2003-02-14 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag): Added command history load/save support (August Hörandl).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@354 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 98b4881223 2003-02-14 Marcel Telka <marcel@telka.sk>
* src/readmem.c (readmem): Added support for 1 x 16 bit memory configuration and
		buffered file writes (Christian Pellegrin).
	* src/flash.c (flashmem): Added support for 1 x 16 bit flash configuration and
		buffered file reads (Christian Pellegrin).
	(flash_erase_block): Added debug messages (Christian Pellegrin).
	(flash_unlock_block): Added debug message (Christian Pellegrin).
	(flash_program): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@352 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4e2c69c38b 2003-02-14 Marcel Telka <marcel@telka.sk>
* 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
22 years ago
Marcel Telka 07470076a6 2003-02-14 Marcel Telka <marcel@telka.sk>
* data/xilinx/xc2c256-tq144/xc2c256-tq144: Added JTAG declarations for Xilinx
		XC2C256-TQ144 (Alessandro Zummo).
	* data/xilinx/xc2c256-tq144/STEPPINGS: Ditto.
	* data/xilinx/PARTS: Ditto.
	* data/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@348 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 17bb0adbbc 2003-02-13 Marcel Telka <marcel@telka.sk>
* src/ixp425.c: Added bus driver for Intel IXP425 (Christian Pellegrin).
	* src/bus.h: Ditto.
	* src/jtag.c (main): Ditto.
	* src/Makefile.am (jtag_SOURCES): Added ixp425.c (Christian Pellegrin).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@345 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 0d0fd78f51 2003-02-13 Marcel Telka <marcel@telka.sk>
* data/intel/ixp425/ixp425: Added JTAG declarations for Intel IXP425 (Christian
		Pellegrin).
	* data/intel/ixp425/STEPPINGS: Ditto.
	* data/intel/PARTS: Ditto.
	* data/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@344 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 097a156dd6 2003-02-13 Marcel Telka <marcel@telka.sk>
* include/bsbit.h (BSBIT_BIDIR): Added new macro (Christian Pellegrin).
	* src/part/bsbit.c (bsbit_alloc): Added support for bidirectional pins (Christian
		Pellegrin).
	* src/part/parse.ci (read_part): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@343 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2f6a4f6d95 2003-02-10 Marcel Telka <marcel@telka.sk>
* 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
22 years ago
Marcel Telka cf05f7f094 2003-02-07 Marcel Telka <marcel@telka.sk>
* src/tap/cable/arcom.c: Added support for Arcom JTAG Cable (patch 682310,
		Ian Campbell).
	* src/tap/cable.c: Ditto.
	* src/tap/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@338 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 630a04a509 2003-02-07 Marcel Telka <marcel@telka.sk>
* src/tap/cable/mpcbmd.c: Added support for Mpcbdm JTAG Cable (Christian Pellegrin).
	* src/tap/cable.c: Ditto.
	* src/tap/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@336 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 3fbdc7429f 2003-02-04 Marcel Telka <marcel@telka.sk>
* 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
22 years ago
Marcel Telka 3c3df6656b 2003-02-04 Marcel Telka <marcel@telka.sk>
Version 0.2.2 released.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@330 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4c6e2c1af6 2003-01-30 Marcel Telka <marcel@telka.sk>
* src/tap/cable/byteblaster.c (byteblaster_init): Added support for
		parallel ports with I/O addresses above 0x3FF.
	(byteblaster_done): Ditto.
	* src/tap/cable/dlc5.c (dlc5_init): Ditto.
	(dlc5_done): Ditto.
	* src/tap/cable/ea253.c (ea253_init): Ditto.
	(ea253_done): Ditto.
	* src/tap/cable/ei012.c (ei012_init): Ditto.
	(ei012_done): Ditto.
	* src/tap/cable/wiggler.c (wiggler_init): Ditto.
	(wiggler_done): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@324 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 6cad07ffa5 Added patch number.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@316 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka db46d6bac5 2003-01-16 Marcel Telka <marcel@telka.sk>
* data/MANUFACTURERS: Added Cypress (patch 669157). Thanks to Chris Ellec.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@315 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1a6e583136 2003-01-13 Marcel Telka <marcel@telka.sk>
Version 0.2.1 released.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@313 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4152bbcbf5 2003-01-11 Marcel Telka <marcel@telka.sk>
* src/tap/cable/bytebaster.c: Added support for Altera ByteBlaster family cables.
	* src/tap/cable.c: Ditto.
	* src/tap/Makefile.am: Ditto.
	* src/help.c (help): Increased space for cable short name.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@310 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka cc6e0b2073 2003-01-11 Marcel Telka <marcel@telka.sk>
* src/tap/cable/wiggler.c: Added support for Macraigor Wiggler JTAG Cable (Stas Khirman).
	* src/tap/cable.c: Ditto.
	* src/tap/Makefile.am: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@309 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 30c52b79de 2003-01-10 Marcel Telka <marcel@telka.sk>
* src/tap/cable.c: Added missing stdlib.h include (bug 665923). Thanks to Chris Ellec.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@308 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f20f0ba489 2003-01-09 Marcel Telka <marcel@telka.sk>
* src/jtag.c (main): Fixed minor typo in 'cable' output message.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@305 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b7b4c4410c 2003-01-08 Marcel Telka <marcel@telka.sk>
Version 0.2 released.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@301 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 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
Marcel Telka 566c79e209 2002-11-29 Marcel Telka <marcel@telka.sk>
* src/flash.c (flashmsbin, flashmem): Fixed crash if flash memory is not detected.
	* src/readmem.c (detectflash): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@285 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka c2bde31f81 2002-11-27 Marcel Telka <marcel@telka.sk>
* data/xilinx/xcr3128xl-cs144/xcr3128xl-cs144: Added pins and BSR bits.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@282 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 08edf7c998 Version 0.1 released.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@279 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka e89c3f239e Added build framework files.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@68 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago