From 9d9ecb572e67adb7c7e6a01678d0bd735aa30aa4 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Wed, 27 Aug 2014 19:03:37 +1200 Subject: [PATCH] Assert SRST when scanning JTAG if configured. Closes #54. --- src/jtag_scan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jtag_scan.c b/src/jtag_scan.c index bfce1ec..6ca4603 100644 --- a/src/jtag_scan.c +++ b/src/jtag_scan.c @@ -114,6 +114,8 @@ int jtag_scan(const uint8_t *irlens) */ DEBUG("Resetting TAP\n"); jtagtap_init(); + if(connect_assert_srst) + jtagtap_srst(true); /* will be deasserted after attach */ jtagtap_reset(); if (irlens) {