Hi,

I'm glad to see the pulseview GUI and sigrok are making steady progress,
nice and useful software. For longer sampling times it would be nice to
have a search/filterable tree/listview of the decoded
packets/transactions, a field-value view for selected packet/transaction
and also a hexview in addition to the horizontal time view.

I faced some reliability issues when using sigrok in combination with one
of the popular Cypress FX2 based analysers, using the fx2lafw driver.
Often
it would not sample reliably above 1 MHz.

- Detecting full-speed enumeration

One source was a linux VIA PCIcard USB hostcontroller that exposed only its
dual UHCI (USB 1.1) interfaces, the kernel ignored the EHCI (USB 2.0)
device, thus enumerating all its USB devices at full-speed (12 mbps)
instead of high-speed (480 mbps). The resulting 'slow' USB connection then
cannot cope with the higher sampling frequencies - this is something which
is not easy to spot in the GUI or OS.
Libusb could tell me during device listing that it was enumerated at 12
mbps, but this information is not available anymore when actually opening
the usb device. Maintaining this state in libsigrok is quite easy.
Propagating of this debug clue could be done by sigrok and pulseview, all
the way to the pulseview device connect dialog.

- 24 MHz sampling reliability

I found that the libusb callbacks are acknowledged with libsigrok
hardware-specific api.c's libusb_handle_events_timeout(ctx, tv). When I
changed this to libusb_handle_events_completed(ctx, 0) the sampling became
more consistent and in line with the libusb documentation recommendation
(preventing raceconditions)

The latter is a libusb.org / libusbx.org / libusb.info library usage issue.
I see the usb completion code is duplicated in a lot of places, perhaps this
can be done using a libsigrok internal common api.

Great work, thanks.

Mark



------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to