X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/blobdiff_plain/f9318fa12dd2467a2329c56f3e8930fc9670480d..278203036cc752f6cd3e6eea3ee5420ae97ef2d0:/jtagkey.c diff --git a/jtagkey.c b/jtagkey.c index ffae2fa..6ed7375 100644 --- a/jtagkey.c +++ b/jtagkey.c @@ -5,6 +5,7 @@ #include "usb-driver.h" #include "config.h" #include "jtagkey.h" +#include "jtagmon.h" #define USBBUFSIZE 1048576 #define JTAG_SPEED 100000 @@ -206,6 +207,9 @@ int jtagkey_transfer(WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, #ifdef DEBUG if (tr[i].cmdTrans == 13) DPRINTF("write byte: %d\n", val); + + if (tr[i].cmdTrans == 13) + jtagmon(val & PP_TCK, val & PP_TMS, val & PP_TDI); #endif /* Pad writebuf for read-commands in stream */