]> git.sur5r.net Git - openocd/commit
arm_adi_v5: Add ability to ignore the CSYSPWRUPACK bit
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Tue, 3 Apr 2018 17:13:40 +0000 (19:13 +0200)
committerMatthias Welwarsky <matthias@welwarsky.de>
Sat, 7 Apr 2018 19:30:12 +0000 (20:30 +0100)
commit0dba1815e6362cc08e983f8f09af0224ad5ae693
treeed3f0cc3ba398c83b5746276776834264fbe6b3d
parentbe87994d60457ac846740dd9e5df3c8f63cf646e
arm_adi_v5: Add ability to ignore the CSYSPWRUPACK bit

The CTRL/STAT register in the ARM DAP DP has a debug power up
ack bit and a system power up ack bit. Some devices do not set
the system power up ack bit until sometime later. To avoid having
the initial target examination fail due to this or to have a
sticky bit error report claim power failure due to this a user
can now specify that this bit should be ignored.

Change-Id: I2451234bbe904984e29562ef6f616cc6d6f60732
Signed-off-by: Eric Katzfey <eric.katzfey@mentalbee.com>
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/3710
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
doc/openocd.texi
src/target/adi_v5_jtag.c
src/target/arm_adi_v5.c
src/target/arm_adi_v5.h
src/target/arm_dap.c