]> git.sur5r.net Git - openocd/commit
Add SWD protocol support to bitbang
authorJean-Christian de Rivaz <jc@eclis.ch>
Thu, 11 Dec 2014 18:11:49 +0000 (19:11 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Sun, 22 Feb 2015 16:17:49 +0000 (16:17 +0000)
commite971c7f4238030a362d3f17c4e519b402b3166cd
tree413ffee75b7da08063f4f0e3114370cdbeee96a9
parent750f8cd0c56baed8b27be415bcff9effa59c48e3
Add SWD protocol support to bitbang

This is based on the initial work by Paul Fertser with addition of the
switch sequences and new ACK handling.  In case of WAIT response, the
sticky bits are cleared and the last operation is repeated. The ACK
handling is based on the interpretation of the 8 February 2006 ARM
Debug Interface v5 Architecture Specification

Change-Id: Id50855b1ffff310177ccf9883dc9eb0d1b4458c8
Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
Reviewed-on: http://openocd.zylin.com/2437
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/jtag/drivers/bitbang.c
src/jtag/drivers/bitbang.h