]> git.sur5r.net Git - openocd/commit
adi_v5_cmisis_dap: Separate ABORT from clearing sticky errors
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 18 Jun 2014 21:33:51 +0000 (23:33 +0200)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 28 Jun 2014 09:29:36 +0000 (09:29 +0000)
commitd6fd5d0f9b163fc75eed96e5a8c61f5af9cf44bf
tree3ba7bc6a4427711f836541af40f1de2634aef460
parent6db70bc89b34b0e3e70358d3e58eefab9e7947c8
adi_v5_cmisis_dap: Separate ABORT from clearing sticky errors

We don't need to do full blown AP ABORT in case of CMSIS-DAP errors,
and the code that was in place was not doing that(issuing AP ABORT)
anyway.

Change-Id: Ide83b1f8875d725da6cb0d53aae8229f8c6316b3
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/2112
Tested-by: jenkins
Reviewed-by: Andrey Yurovsky <yurovsky@gmail.com>
src/target/adi_v5_cmsis_dap.c