Assert SRST when scanning JTAG if configured. Closes #54.

This commit is contained in:
Gareth McMullin 2014-08-27 19:03:37 +12:00
parent 8a32b46f65
commit 9d9ecb572e
1 changed files with 2 additions and 0 deletions

View File

@ -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) {