I bought Saleae Logic 16 clone from http://www.aliexpress.com/store/product/USB-Logic-Analyzer-100M-max-sample-rate-16Channels-10B-samples-MCU-ARM-FPGA-debug-tool/614202_1916810169.html which is referenced from http://www.sigrok.org/wiki/Mcupro_Logic16_clone Original software v1.1.15 and v1.2.5 work with hardware (I measure lighting diode in Arduino) under Debian x64. There is package info: Package: pulseview Version: 0.2.0-1.1 Versions of packages pulseview depends on: ii libboost-filesystem1.58.0 1.58.0+dfsg-3.1 ii libboost-system1.58.0 1.58.0+dfsg-3.1 ii libboost-thread1.58.0 1.58.0+dfsg-3.1 ii libc6 2.19-22 ii libgcc1 1:5.2.1-22 ii libglib2.0-0 2.46.1-1 ii libqtcore4 4:4.8.7+dfsg-3 ii libqtgui4 4:4.8.7+dfsg-3 ii libsigrok2 0.3.0-1 ii libsigrokdecode2 0.3.0-1+b1 ii libstdc++6 5.2.1-22 Until I extract firmware I have expected error: sr: ezusb: Unable to open firmware file /usr/share/sigrok-firmware/saleae-logic16-fx2.fw for reading: No such file or directory sr: saleae-logic16: Firmware upload failed for device 0. sr: saleae-logic16: Failed to init device. sr: saleae-logic16: Unable to open device. After: bash# ./sigrok-fwextract-saleae-logic16 Logic saved 5214 bytes to saleae-logic16-fx2.fw saved 149516 bytes to saleae-logic16-fpga-18.bitstream saved 149516 bytes to saleae-logic16-fpga-33.bitstream bash# mv saleae-logic16-fx2.fw saleae-logic16-fpga-18.bitstream saleae-logic16-fpga-33.bitstream /usr/share/sigrok-firmware/ I have error with which I can't deal: bash# pulseview sr: saleae-logic16: Invalid FPGA bitstream version: 0x41 != 0x10. sr: saleae-logic16: Failed to init device. sr: saleae-logic16: Device failed to renumerate. I try to extract from v1.1.15 and v1.2.5.
sigrok-fwextract-saleae-logic16 from today git://sigrok.org/sigrok-util
This bug have similar symptoms: http://sigrok.org/bugzilla/show_bug.cgi?id=398 but closed without original author conformation. Please give me further instruction how to debug issue.
I think you need to use the latest extractor script from sigrok-util *and* the latest libsigrok version from git (and thus also the latest sigrok-cli / pulseview from git). The one from tarball/packages doesn't have the required changes, yet.
AFAICT support for this particular clone was added in 6f479a0a (>1 years ago, but not in any release). The extracted firmware won't matter since the device doesn't use it but contains its own. The link to 398 is bogus since that one is about a different clone.
The symptoms are the same as if you had this clone: http://sigrok.org/wiki/Noname_XL-LOGIC16-100M That gave the same "firmware version mismatch" with the saleae ripped firmware, but works ok with the blight/marcus_c logic16 firmware.
No, the 0x41 readout is specific to the mcupro clone (which the OP also says that he has). And the reason for it is unrelated to incorrect readouts on other clones.
I don't understand if my clone ever require loading any firmware but as say Marcus Comstedt I just need fresh sources. I successfully built and ran from today sources: sudo env LD_LIBRARY_PATH=~/devel/sigrok/usr/lib/ ./pulseview I attached GND/CH0 to Arduino GND/blinking diode and get timing looking same as in original software. Only got repeated warning: sr: hwdriver: Option 'limit_samples' not available to get for this device. when I change samples amount. My attempts to backport Debian packages to newer sources was fail as I have no prior experience in packaging and some Sigrok umbrella projects have changed project hierarchy. So I follow instruction on http://sigrok.org/wiki/Linux That was time consuming as I am not familiar with CMake and tried to do install into non-standard directory. ===================== Do I need to file issue about repeated warning? ===================== Where I can ask about hardware configuration? pulseview GUI doesn't show selection for how many channels will be enabled to corresponding frequency (100/50/32/16MHz sampling rate at 3/6/9/16 enabled channels). When I tried to run in unsupported configurations (80Hz, 16 chs) I get: sr: saleae-logic16: Unable to sample at 80000000Hz with this many channels. sr: session: Could not start saleae-logic16 device usb/2-1.4 acquisition. I think that GUI should warn and/or decrease rate when too many channels selected. ===================== Bug may be closed. I am thinking about getting updated versions of Defian packages... Thanks for support!
Also I want to update page http://sigrok.org/wiki/Mcupro_Logic16_clone with information that I just have discovered (I already have wiki login). There are a lot of hardware modification listened on that page. I didn't open my box. Do I need do this to find which is my hardware or there are some derivative marks to get know what I have? This page help me decide what to buy but when parts was arrived I didn't understand how to use them with pulseview.
Hi, a few more remarks below. Thanks for your feedback! I've clarified some parts in the wiki a bit more, e.g. http://sigrok.org/wiki/Building#Installing_to_a_non-standard_directory The "limit_samples" warnings can be ignored for now, those are unrelated (I'll fix that soonish or file a bug). I'm the maintainer of the official sigrok Debian packages. Those will be updated when the next official tarball release is out. There are no packages for git (intentionally), if you want to use the latest development tree it's usually best to build from source. The PulseView channel/samplerate issue is a known problem, I think there's a bug for it already, yes. As for the LA, if your device's PCB looks different than the versions we have in the wiki already, please do upload photos of that PCB (top + bottom) as well, yes! Thanks!