Yes, I did it following the description in the wiki: ... you need to extract the firmware/FPGA files from the vendor software ... using the sigrok-fwextract-kingst-la2016 script from the sigrok-util repo.
This doesn't read as I need more than the script. Thanks to your input I realized that I need the entire repository. Additionally I missed the fact, that I need the Linux ELF file. This was not obviously in the wiki that KingstVIS/KingstVIS is a path to the program. The wiki example works only if you have installed the vendor software in the home directory: $ ./sigrok-fwextract-kingst-la2016 KingstVIS/KingstVIS Finally I managed to get the files. Please note that the bitstream file size differs from the wiki: python .\sigrok-fwextract-kingst-la2016 d:\tmp\KingstVIS saved 178233 bytes to kingst-la2016a-fpga.bitstream saved 5350 bytes to kingst-la-01a1.fw saved 5430 bytes to kingst-la-01a2.fw saved 5718 bytes to kingst-la-01a3.fw saved 142412 bytes to kingst-la-01a4.fw saved 5452 bytes to kingst-la-03a1.fw I have copied these files to the sigrok-cli/share/sigrok-firmware as well as to the PulseView/share/sigrok-firmware directory. But the Kingst LA2016 does not appear in the output of "sigrok-cli -L" as well as in the "Connect to device" dialog. Shouldn't the device be listed there? I assume that it's not necessary to install the libusb driver with Zadig. Am I right? I have checked the USB descriptors with USBTreeView, a program similar to lsusb. The descriptors are identical to "lsbusb (before firmware upload)" at https://sigrok.org/wiki/Kingst_LA2016/Info , except that USBTreeView outputs additionally an OtherSpeedConfiguration descriptor with the corresponding endpoint descriptors. This is probably not printed with lsusb. Best regards, Helge -----Original Message----- From: Florian Schmidt [mailto:schmidt_flor...@gmx.de] Sent: Saturday, October 17, 2020 7:46 PM To: sigrok-devel@lists.sourceforge.net Subject: Re: [sigrok-devel] Getting firmware for Kingston LA2016 to me it looks like you only downloaded this single "sigrok-fwextract-kingst-la2016" script, instead of doing a git-clone of the sigrok-util repo or unpacking a snapshot-zip file. this script is not stand-alone, it needs this parseelf.py file from another folder in that same repository. can you please try to download such a snapshot-zip file, e.g. from here: https://sigrok.org/gitweb/?p=sigrok-util.git;a=snapshot;h=HEAD;sf=zip (or go to https://sigrok.org/gitweb/?p=sigrok-util.git;a=tree and press the "snapshot" link in the upper-left) then extract all of it, then execute the extractor-script from "in there" -- might look something like this on your side: cd path...to\sigrok-util-HEAD-XXX\firmware\kingst-la C:\Users\hk\AppData\Local\Programs\Python\Python38-32\python sigrok-fwextract-kingst-la2016 path...to\KingstVIS\KingstVIS please make sure to replace those XXX and "path...to"'s with the directory names of where you actually extracted the files to. and "path...to\KingstVIS\KingstVIS" has to point to the extracted vendor-software. flo. On 17.10.20 14:13, Helge Kruse wrote: > C:\Users\hk\AppData\Local\Programs\Python\Python38-32\python > firmware_kingst-la_sigrok-fwextract-kingst-la2016 KingstVIS/KingstVIS > > Traceback (most recent call last): > > File "firmware_kingst-la_sigrok-fwextract-kingst-la2016", line 33, in > <module> > > spec.loader.exec_module(parseelf) > > File "<frozen importlib._bootstrap_external>", line 779, in exec_module > > File "<frozen importlib._bootstrap_external>", line 915, in get_code > > File "<frozen importlib._bootstrap_external>", line 972, in get_data > > FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program > Files\\sigrok\\sigrok-cli\\share\\saleae-logic16\\parseelf.py' > > _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel