Changeset 111 for sandbox/JamPlayerUSB
- Timestamp:
- Feb 6, 2011, 10:56:17 PM (14 years ago)
- Location:
- sandbox/JamPlayerUSB
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/JamPlayerUSB/jbiexprt.h
r110 r111 157 157 ); 158 158 159 void usb_blaster_wait 160 ( 161 int count, 162 int tms 163 ); 164 165 void usb_blaster_scan 166 ( 167 int count, 168 unsigned char *tdi, 169 unsigned char *tdo 170 ); 171 159 172 int jbi_jtag_io 160 173 ( -
sandbox/JamPlayerUSB/jbijtag.c
r110 r111 624 624 /****************************************************************************/ 625 625 { 626 int tms, flag;627 long count;628 626 JBI_RETURN_TYPE status = JBIC_SUCCESS; 629 627 … … 639 637 * Set TMS low to loop in any other stable state 640 638 */ 641 tms = (wait_state == RESET) ? TMS_HIGH : TMS_LOW; 642 643 usb_blaster_wait(cycles, tms); 639 usb_blaster_wait(cycles, (wait_state == RESET) ? TMS_HIGH : TMS_LOW); 644 640 } 645 641 … … 763 759 ) 764 760 { 765 int i = 0;766 int tdo_bit = 0;767 761 int status = 1; 768 762 … … 817 811 ) 818 812 { 819 int i = 0;820 int tdo_bit = 0;821 813 int status = 1; 822 814 -
sandbox/JamPlayerUSB/jbistub.c
r110 r111 171 171 int i, len, extra; 172 172 173 printf("usb_blaster_wait (count tms) -> (%d %d)\n", count, tms);174 fflush(stdout);175 176 173 if (count <= 0) return; 177 174 … … 221 218 222 219 read_tdo = (tdo != NULL); 223 224 printf("usb_blaster_scan (count read) -> (%d %d)\n", count, read_tdo);225 fflush(stdout);226 220 227 221 if (count <= 0) return;
Note:
See TracChangeset
for help on using the changeset viewer.