diff options
author | Greg Savin <43152568+SiFiveGregS@users.noreply.github.com> | 2019-09-13 12:50:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-13 12:50:36 -0700 |
commit | c5bb7fb2304c5f4fa62b864185106aaf7c0c1b98 (patch) | |
tree | 4f142e6a6d1f312c188def7f0b80130e0001be7f | |
parent | 11e6127401d43ba6226ac943c90263315a58732d (diff) | |
download | riscv-openocd-c5bb7fb2304c5f4fa62b864185106aaf7c0c1b98.zip riscv-openocd-c5bb7fb2304c5f4fa62b864185106aaf7c0c1b98.tar.gz riscv-openocd-c5bb7fb2304c5f4fa62b864185106aaf7c0c1b98.tar.bz2 |
Add TCK padding in the OSCAN1 reset/online/activate sequence. (#406)
-rw-r--r-- | src/jtag/drivers/ftdi.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/jtag/drivers/ftdi.c b/src/jtag/drivers/ftdi.c index 33b66b7..6fbcbce 100644 --- a/src/jtag/drivers/ftdi.c +++ b/src/jtag/drivers/ftdi.c @@ -927,6 +927,20 @@ static void oscan1_reset_online_activate(void) /* TCK=0, TMS=1, TDI=0 (falling edge TCK with TMSC still 0) */ {'0', '1', '0'}, + /* 3 TCK pulses for padding */ + /* TCK=1, TMS=1, TDI=0 (drive rising TCK edge) */ + {'1', '1', '0'}, + /* TCK=0, TMS=1, TDI=0 (drive falling TCK edge) */ + {'0', '1', '0'}, + /* TCK=1, TMS=1, TDI=0 (drive rising TCK edge) */ + {'1', '1', '0'}, + /* TCK=0, TMS=1, TDI=0 (drive falling TCK edge) */ + {'0', '1', '0'}, + /* TCK=1, TMS=1, TDI=0 (drive rising TCK edge) */ + {'1', '1', '0'}, + /* TCK=0, TMS=1, TDI=0 (drive falling TCK edge) */ + {'0', '1', '0'}, + /* Drive cJTAG escape sequence for SELECT */ /* TCK=1, TMS=1, TDI=0 (rising edge of TCK with TMSC still 0, TAP reset that was just setup occurs here too) */ {'1', '1', '0'}, |