17 Commits (d9c1bee3af914e763ede539afcc52d5b36017a1d)

Author SHA1 Message Date
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 2b5b2725b5 2003-05-14 Marcel Telka <marcel@telka.sk>
* include/part.h (part_t, parts_t): Macros removed.
	* src/detect.c: Replaced obsolete types `parts' with `parts_t' and `part' with `part_t'.
	* src/part/parse.c: Ditto.
	* src/part/part.c: Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@426 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 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 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 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 31adab2e0e Fixed jtag include paths.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@189 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 895ec4fdbc Added initial command line interface to jtag.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@131 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka f4ac8df560 Fixed two warning on sleep and exit implicitly defined (thanks to Holger Schurig :-).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@102 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka 65765f3789 Added flash support from file.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@90 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka 610918ecae Fixed Flash state (switch to read mode).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@84 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka 55b58deae3 Fixed bug with access to the flash. Added simple flash test.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@83 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka 87912ffbb4 Fixed typo (typ -> type).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@82 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka a9ba0e6111 Added simple flash programming for Synchro StrataFlash (still in heavy developmnet).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@81 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka 248ed10446 Added part library (libpart).
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@74 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago
Marcel Telka 0fb300488a Added initial simple JTAG parts detector.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@71 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
23 years ago