93 Commits (097a156dd6d784b5f94736045a20ddd089e8f985)

Author SHA1 Message Date
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 04ca1be7c2 2003-02-07 Marcel Telka <marcel@telka.sk>
* src/tap/cable/mpcbdm.c (mpcbdm_clock): Fixed port address for TRST & TRST1.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@337 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 d32e8ba6c0 2003-02-04 Marcel Telka <marcel@telka.sk>
* 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
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 7fb78a757a 2003-02-04 Marcel Telka <marcel@telka.sk>
* src/flash.c (flashmsbin): Changed instructions to BYPASS after successfull
		flash.
	(flashmem): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@328 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 85b397c112 2003-01-13 Marcel Telka <marcel@telka.sk>
* include/state.h: Added new function tap_state_reset().
	* src/tap/state.c (tap_state_reset): Ditto.
	* src/tap/tap.c (tap_reset): Added explicit TAP state reset.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@312 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 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 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 e57244e391 2003-01-08 Marcel Telka <marcel@telka.sk>
* configure.ac: Bumped version number to 0.2, added check-new and dist-bzip2
		parameters to AM_INIT_AUTOMAKE() invocation.
	* src/jtag.c: Updated year in initial banner.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@297 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 9c4919d3e5 Added comment about JTAG cable type.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@295 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
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 cd7cbc7c1a Added detail help.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@275 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 8c7ac07a6f Added warning about hardware damage.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@274 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b165bbbaf8 Moved help command implementation to separate file (help.c).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@270 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 96fb7c4fee Added short help. Fixed some null pointer dereferences.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@265 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f3e1cddadf JTAG data dir path is now configurable via configure script.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@261 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 84024cb5bd BUSY is always inverted at input.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@260 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 657f7e463c Added verbose status register (sr) output after flash error is detected.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@256 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2a086cbeeb Renamed old `readmem' to `detectflash'. Added new `readmem' which really read the memory.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@254 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka b3b1a3f48e Removed TODO for nWE handling in sa1110_bus_read_start().
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@250 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 59c11433ba Added `dr' command for printing data register content.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@242 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka e7c6724c2e Added unknown (TODO) BOOT_SEL printing.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@241 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka e9b917907c Added support for flashing msbin files.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@238 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1b30500bb4 Added bus_width(). Moved bus_driver initialization into main().
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@237 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 23f6927ce7 Added detect_cfi().
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@236 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka fd3977fafa Removed compile warnings.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@229 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka c227f83af3 Changed error message format.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@228 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka dadea18e33 Added bus driver architecture.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@227 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka af3870faca Added support for strata flash programming.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@225 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 4338b29ab7 Added simple :-) help command and unknown command detection.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@223 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f4917de316 Fixed typos. Added bus_read_start(), bus_read_next() and bus_read_end().
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@217 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 688955f887 Added pxa250_bus_read_start(), pxa250_bus_read_next() and pxa250_bus_read_end().
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@214 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 6fe523ad2d Fixed comment about position of the chip in a JTAG chain.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@213 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka f30a930289 Added sa1110_bus_read_start(), sa1110_bus_read_next() and sa1110_bus_read_end().
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@212 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 9b3a57dada Added simple flash memory detection code.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@210 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 09884928dd Added bus operations for SA1110.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@209 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago