> I think the -4 error is a device not found error, so it looks like the > problem is that the firmware isn't starting up properly after it is > uploaded to the device. > > If you have time, you could try doing some packet capture with usbmon in > wireshark.
pcap attached
During the trace I got error -4 again:
sr: fx2lafw: Unable to get version info: -4.
sr: fx2lafw: Failed to retrieve firmware version information.
sr: fx2lafw: Unable to open device.
sr: session: sr_session_dev_add: dev_open failed (-1)
Failed to use device.
sr: fx2lafw: Closing device 0 on 1.2 interface 0.
Response seems to be malformed...
No. Time Source Destination Protocol
Length Info
84 49.700384 3.0 host USB
64 GET DESCRIPTOR Response STRING[Malformed Packet]
Frame 84: 64 bytes on wire (512 bits), 64 bytes captured (512 bits)
Arrival Time: Apr 26, 2012 18:11:28.194847000 CEST
Epoch Time: 1335456688.194847000 seconds
[Time delta from previous captured frame: 0.000178000 seconds]
[Time delta from previous displayed frame: 0.000178000 seconds]
[Time since reference or first frame: 49.700384000 seconds]
Frame Number: 84
Frame Length: 64 bytes (512 bits)
Capture Length: 64 bytes (512 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: usb]
USB URB
URB id: 0x00000000d41f93c0
URB type: URB_COMPLETE ('C')
URB transfer type: URB_CONTROL (0x02)
Endpoint: 0x80, Direction: IN
1... .... = Direction: IN (1)
.000 0000 = Endpoint value: 0
Device: 3
URB bus id: 1
Device setup request: not relevant ('-')
Data: present (0)
URB sec: 1335456688
URB usec: 194847
URB status: Broken pipe (-EPIPE) (-32)
URB length [bytes]: 0
Data length [bytes]: 0
[Request in: 83]
[Time from request: 0.000178000 seconds]
[bInterfaceClass: VENDOR_SPECIFIC (0xff)]
[Malformed Packet: USB]
[Expert Info (Error/Malformed): Malformed Packet (Exception occurred)]
[Message: Malformed Packet (Exception occurred)]
[Severity level: Error]
[Group: Malformed]
-- Martin
usbtrace-1.pcap
Description: application/cap
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

