|
|
|
@ -341,10 +341,6 @@ ft2232_generic_init( cable_t *cable )
|
|
|
|
|
if (parport_open( p ))
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
|
|
/* set loopback off */
|
|
|
|
|
push_to_send( params, LOOPBACK_END );
|
|
|
|
|
send_and_receive( cable, COMPLETELY );
|
|
|
|
|
|
|
|
|
|
/* safe default values */
|
|
|
|
|
params->low_byte_value = 0;
|
|
|
|
|
params->low_byte_dir = 0;
|
|
|
|
@ -379,10 +375,6 @@ ft2232_jtagkey_init( cable_t *cable )
|
|
|
|
|
if (parport_open( p ))
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
|
|
/* set loopback off */
|
|
|
|
|
push_to_send( params, LOOPBACK_END );
|
|
|
|
|
send_and_receive( cable, COMPLETELY );
|
|
|
|
|
|
|
|
|
|
/* static low byte value and direction:
|
|
|
|
|
set nOE to '0' -> activate output enables */
|
|
|
|
|
params->low_byte_value = 0;
|
|
|
|
@ -428,10 +420,6 @@ ft2232_armusbocd_init( cable_t *cable )
|
|
|
|
|
if (parport_open( p ))
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
|
|
/* set loopback off */
|
|
|
|
|
push_to_send( params, LOOPBACK_END );
|
|
|
|
|
send_and_receive( cable, COMPLETELY );
|
|
|
|
|
|
|
|
|
|
/* static low byte value and direction:
|
|
|
|
|
set nOE to '0' -> activate output enables */
|
|
|
|
|
params->low_byte_value = 0;
|
|
|
|
@ -481,10 +469,6 @@ ft2232_oocdlinks_init( cable_t *cable )
|
|
|
|
|
if (parport_open( p ))
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
|
|
/* set loopback off */
|
|
|
|
|
push_to_send( params, LOOPBACK_END );
|
|
|
|
|
send_and_receive( cable, COMPLETELY );
|
|
|
|
|
|
|
|
|
|
/* static low byte value and direction */
|
|
|
|
|
params->low_byte_value = 0;
|
|
|
|
|
params->low_byte_dir = 0;
|
|
|
|
@ -530,10 +514,6 @@ ft2232_turtelizer2_init( cable_t *cable )
|
|
|
|
|
if (parport_open( p ))
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
|
|
/* set loopback off */
|
|
|
|
|
push_to_send( params, LOOPBACK_END );
|
|
|
|
|
send_and_receive( cable, COMPLETELY );
|
|
|
|
|
|
|
|
|
|
/* static low byte value and direction:
|
|
|
|
|
set nJTAGOE to '0' -> activate output enables
|
|
|
|
|
set RST to 0 -> inactive nSRST */
|
|
|
|
@ -574,10 +554,6 @@ ft2232_usbtojtagif_init( cable_t *cable )
|
|
|
|
|
if (parport_open( p ))
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
|
|
/* set loopback off */
|
|
|
|
|
push_to_send( params, LOOPBACK_END );
|
|
|
|
|
send_and_receive( cable, COMPLETELY );
|
|
|
|
|
|
|
|
|
|
/* static low byte value and direction:
|
|
|
|
|
nTRST = 1, RST = 1, DBGRQ = 0 */
|
|
|
|
|
params->low_byte_value = BITMASK_USBTOJTAGIF_nTRST | BITMASK_USBTOJTAGIF_RST;
|
|
|
|
@ -619,10 +595,6 @@ ft2232_signalyzer_init( cable_t *cable )
|
|
|
|
|
if (parport_open( p ))
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
|
|
/* set loopback off */
|
|
|
|
|
push_to_send( params, LOOPBACK_END );
|
|
|
|
|
send_and_receive( cable, COMPLETELY );
|
|
|
|
|
|
|
|
|
|
/* static low byte value and direction:
|
|
|
|
|
nTRST = 1, RST = 1, DBGRQ = 0 */
|
|
|
|
|
params->low_byte_value = BITMASK_SIGNALYZER_nTRST | BITMASK_SIGNALYZER_nSRST;
|
|
|
|
|