[ 1934843 ] Fix for USBBLASTER (U.Bonnes)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1154 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Kolja Waschk 17 years ago
parent b26cc32639
commit 48c46c172c

@ -1,3 +1,7 @@
2008-04-09 Kolja Waschk <kawk>
* src/tap/cable/usbblaster.c: [ 1934843 ] Fix for USBBLASTER (U.Bonnes)
2008-04-03 Kolja Waschk <kawk>
* src/jtag.c: Optionally use JTAG_PROMPT environment setting for

@ -160,8 +160,7 @@ usbblaster_transfer( cable_t *cable, int len, char *in, char *out )
while(len > in_offset)
{
char tdi = in[in_offset++] ? 1 : 0;
parport_set_data( cable->link.port, OTHERS ); /* TCK low */
if(out) parport_set_data( cable->link.port, OTHERS | (1 << READ) | (tdi << TDI));
parport_set_data( cable->link.port, OTHERS | ((out)?(1 << READ):0) | (tdi << TDI));/* TCK low */
parport_set_data( cable->link.port, OTHERS | (1 << TCK) | (tdi << TDI));
}

Loading…
Cancel
Save