openocd/src/jtag
Antonio Borneo d46b28983d drivers/stlink_usb: fix stlink_usb_read_regs() for API v2
API v2 implementation for command READALLREGS returns the status
in the first two bytes, followed by two bytes of padding.
This makes the reply 4 bytes longer and changes the offset of the
first register value to 4.

Fix it for the case API v2 and clean-up the management of the
return value.

Change-Id: I448c82bcc0baa72d66fdfe7f0c525b94f8a4468b
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4824
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2019-03-08 06:01:52 +00:00
..
aice command: fix the mode for command "jtag configure" 2019-02-07 19:01:15 +00:00
drivers drivers/stlink_usb: fix stlink_usb_read_regs() for API v2 2019-03-08 06:01:52 +00:00
hla target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
minidriver Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
minidummy Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
zy1000 zy1000: fix compile error with gcc 8.1.1 2018-08-01 14:32:03 +01:00
adapter.c jtag: drivers: provide initial support for usb path filtering 2019-02-07 07:51:30 +00:00
commands.c jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
commands.h jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
core.c target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
driver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
interface.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
interface.h target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
interfaces.c jtag/drivers: Add support for TI XDS110 debug probe 2018-05-31 13:25:16 +01:00
interfaces.h Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
jtag.h target: restructure dap support 2018-03-30 09:58:21 +01:00
Makefile.am jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
minidriver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl jtag/startup.tcl: fix regression with autoselecting JTAG 2015-04-14 12:35:39 +01:00
swd.h arm_adi_v5: fix and update sequences to spec IHI 0031E 2019-01-23 15:26:28 +00:00
tcl.c command: fix the mode for command "jtag configure" 2019-02-07 19:01:15 +00:00
tcl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00