openocd/src/jtag
Szymon Modzelewski 592be6504c stlink-v1: code cleanup
This patch moves the bulk of the stlink read/write code into the
stlink_usb_xfer set of functions and implements stlink_usb_recv
in terms of the generic stlink_usb_xfer

stlink_usb_xfer will be needed to implement stlink_usb_send
without code duplication

stlink_usb_xfer:
-sends the stlink command
-performs a read or write (as requested)
-checks the status (v1 only)

Change-Id: I0137d52620bd4883d46c9977a9e73f67622000a1
Signed-off-by: Szymon Modzelewski <szmodzelewski@gmail.com>
Reviewed-on: http://openocd.zylin.com/477
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-02-29 13:42:03 +00:00
..
drivers stlink-v1: code cleanup 2012-02-29 13:42:03 +00:00
minidriver build: cleanup src/jtag/drivers directory 2012-02-06 10:59:07 +00:00
minidummy build: cleanup src/jtag/drivers directory 2012-02-06 10:59:07 +00:00
stlink stlink: support expected-id 0 2012-02-22 20:55:23 +00:00
zy1000 build: cleanup src/jtag/drivers directory 2012-02-06 10:59:07 +00:00
adapter.c build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
commands.c build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
commands.h build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
core.c jtag: use correct tap -ignore-version mask 2012-02-26 01:14:39 +00:00
driver.h build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
interface.c build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
interface.h build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
interfaces.c build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
interfaces.h build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
jtag.h build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
Makefile.am build: fix make dist 2012-01-04 17:12:36 +00:00
minidriver.h build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
startup.tcl scripts: notify user of deprecated jtag_* functions 2011-11-18 22:07:09 +00:00
swd.h build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00
tcl.c jtag: fix cmd scan_chain expected_ids bug 2012-02-26 01:12:01 +00:00
tcl.h build: cleanup src/jtag directory 2012-02-06 10:57:27 +00:00