]> git.sur5r.net Git - openocd/commit
jtag/core: honour SRST timings in SWD mode
authorPaul Fertser <fercerpav@gmail.com>
Mon, 9 Mar 2015 15:55:03 +0000 (18:55 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 14 Apr 2015 10:41:54 +0000 (11:41 +0100)
commitea85ed98beb909d9295a7b15ceb99e067082e31f
tree09ed2f2cb0a8482cf34b288fe44f8f6f42297037
parent7407046e3d194963a26db5d046cdce117f752b44
jtag/core: honour SRST timings in SWD mode

Since SWD is currently abusing the JTAG command queue for reset and
sleep handling (and all other operations are performed in a different
way), sleep needs to be forced explicitly to ensure correct timings.

Change-Id: I5b0da6cbb7d0560154e4077b261aa6828cefc892
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2591
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/core.c