I'm getting an error message in Sigrok PulseView that says PulseView failed to open device. Generic /unspecified error.
If you open the settings menu, you'll find an entry named "Logging". Setting the log level to 5, closing it, trying to connect to your device and then going back to the log will give more of a clue. Feel free to paste the text here and I'll have a look. My guess would be that you're missing the firmware files needed to program the LA hardware: https://sigrok.org/wiki/Saleae_Logic16#Firmware
Thanks abraxa
SyntaxError: Failed to load decoder signature: import by name failed: invalid syntax (pd.py, line 138)
srd: Traceback (most recent call last):
srd: File "C:\Program Files\Sigrok\PulseView\share\libsigrokdecode\decoders\signature\__init__.py", line 25, in
srd: from .pd import Decoder
srd: File "C:\Program Files\Sigrok\PulseView\share\libsigrokdecode\decoders\signature\pd.py", line 138
srd: incoming = (bin(shiftreg & 0b0000_0010_1001_0001).count('1') + data) & 1
srd: ^
SyntaxError: invalid syntax
SyntaxError: Failed to load decoder signature: import by name failed: invalid syntax (pd.py, line 138)
srd: Traceback (most recent call last):
srd: File "C:\Program Files\Sigrok\PulseView\share\libsigrokdecode\decoders\signature\__init__.py", line 25, in
srd: from .pd import Decoder
srd: File "C:\Program Files\Sigrok\PulseView\share\libsigrokdecode\decoders\signature\pd.py", line 138
srd: incoming = (bin(shiftreg & 0b0000_0010_1001_0001).count('1') + data) & 1
srd: ^
SyntaxError: invalid syntax
sr: ftdi-la: Failed to get the FTDI strings: -4
sr: resource: Failed to open resource 'saleae-logic16-fx2.fw' (use loglevel 5/spew for details).
sr: saleae-logic16: Firmware upload failed, name saleae-logic16-fx2.fw.
saleae-logic16: Failed to open device: LIBUSB_ERROR_ACCESS.
sr: saleae-logic16: Unable to open device.
Notifying user of session error: "generic/unspecified error"
sr: log: libsigrok loglevel set to 4.
srd: libsigrokdecode loglevel set to 4.
sr: log: libsigrok loglevel set to 5.
srd: libsigrokdecode loglevel set to 5.
Update 2: abraxa, this is getting exciting.... and maybe a little closer.....
I just looked in the Sigrok/PulseView/share/sigrok-firmware folder and among other things I see:
fx2lafw-sigrok-fx2-16ch.fw
So maybe when I plug the LA it should look in there and see what it needs? Unfortunately the LA doesn't find/see the firmware file, but I'm starting to slightly better understand what's what... at least I know where the firmware files are hiding now
. I'm thinking something is confusing a USB look-up somewhere, maybe it's a USB driver issue more than the firmware... if the USB driver knew what it's supposed to be doing it would talk to the OS and find the firmware. Just a SWAG.
Thinking further.... when I plug the LA and tell PulseView to Choose the driver and specify Saleae Logic16 and scan for it it shows Saleae Logic16 with 16 channels - it just doesn't connect. Another example/data point: my USBSX LA does find the firmware file in the same directory - a file called fx2lafw-cwav-usbeesx.fw, and it does connect and run fine in PulseView. Also, I have a no-name 8 channel LA and PulseView finds it when I select fx2lafw - after a scan it finds "Saleae Logic with 8 channels", which I'm guessing might be a firmware file called fx2lafw-sigrok-fx2-8ch.fw So, it would seem that the the USB / Com port connector apparatus is kinda working, just not for my (hopefully) high voltage tolerant 16 channel LA. Maybe a dll or inf file missing or goofed up somewhere? Hard to figure....
Thx!