USB 可以打开了,usb_bulk_write也正常,可是usb_bulk_read的时候总是timeout 。原因未知。谁用过的帮帮忙啊。 i:=usb_bulk_write(USBasp.handle,1,s,8,5000);  //正常 返回8 i:=usb_bulk_read(USBasp.handle,$81, r,64, 3000) ;//返回-116 tineout用USBview得到的USB设备信息:Device Descriptor:
bcdUSB:             0x0100
bDeviceClass:         0x00
bDeviceSubClass:      0x00
bDeviceProtocol:      0x00
bMaxPacketSize0:      0x08 (8)
idVendor:           0x1419
idProduct:          0x0130
bcdDevice:          0x0100
iManufacturer:        0x01
iProduct:             0x02
iSerialNumber:        0x03
bNumConfigurations:   0x01ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed:     Full
Device Address:       0x01
Open Pipes:              6Endpoint Descriptor:
bEndpointAddress:     0x81
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00Endpoint Descriptor:
bEndpointAddress:     0x01
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00Endpoint Descriptor:
bEndpointAddress:     0x82
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00Endpoint Descriptor:
bEndpointAddress:     0x02
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00Endpoint Descriptor:
bEndpointAddress:     0x83
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00Endpoint Descriptor:
bEndpointAddress:     0x03
Transfer Type:        Bulk
wMaxPacketSize:     0x0040 (64)
bInterval:            0x00