12 Commits (1d44678038e923a47bdec1aea2135776aa421595)

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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