I have a LimeUSB-SDR plugged and powered through USB3.0. Everything works well until PothosSDR-2019.06.09-vc14-x64.exe. With any more recent version, calling LimeUtil.exe --make="driver=lime" works well the 1st time, then the 2nd call shows TransferPacket: Read failed (ret=0) as well as Gateware version 0, revision 0, before showing the Lime’s info. It continues working once every two tries.
Here’s with the latest PothosSDR-2021.07.25-vc16-x64.exe.
PS D:\Tools\PothosSDR-2021.07.25-vc16-x64\bin> .\LimeUtil.exe --make="driver=lime"
Make device driver=lime
Device name: LimeSDR-USB
Expansion name: UNSUPPORTED
Firmware version: 4
Hardware version: 4
Protocol version: 1
Gateware version: 2
Gateware revision: 23
Gateware target: LimeSDR-USB
Serial number: 0x9072607123456
Free connection... OK
PS D:\Tools\PothosSDR-2021.07.25-vc16-x64\bin> .\LimeUtil.exe --make="driver=lime"
Make device driver=lime
TransferPacket: Read failed (ret=0)
Gateware version mismatch!
Expected gateware version 2, revision 23
But found version 0, revision 0
Follow the FW and FPGA upgrade instructions:
http://wiki.myriadrf.org/Lime_Suite#Flashing_images
Or run update on the command line: LimeUtil --update
Device name: LimeSDR-USB
Expansion name: UNSUPPORTED
Firmware version: 4
Hardware version: 4
Protocol version: 1
Gateware version: 2
Gateware revision: 23
Gateware target: LimeSDR-USB
Serial number: 0x9072607123456
Free connection... OK
I’ve tried on 2 recent computers with USB3.0 and have the same issue. I’ve tried on an old computer with USB2.0 and don’t get the error.
@andrewback@Zack@joshblum Has anyone noticed that issue on Windows with the files compiled from Pothos?
Same things happen here: LimeSDR-USB every second app start works fine, LimeSDR-Mini is working every time correctly. OS is Win10 x64 and also have Linux-Mint on virtual machine (same behave for LimeSDR-USB, Mini wont work att all).
My very first reaction would be to temporarily disable power save on the USB ports, Windows has a habit of powering down the USB ports of devices. Most of the time this is not the issue, but it can hinder troubleshooting the root cause, because the same thing does not happen exactly the same every time you do something (plug “disable USB power save windows 10” into your search engine of choice).
Tagging @Zack, as this sounds like potentially a Lime Suite issue that has crept in with later versions and only on Windows. Though I could easily be wrong and it’s some other dependency…
@Zack Could someone test if they have the same behavior on Windows, as this currently forces us to use older version on Windows. That issues doesn’t appear on Ubuntu 22.04 with the latest packages.
I just tried again right now: I plug the Lime, start LimeSuiteGUI, click Connect, no error message appear. I click Disconnect then Connect: I see some error messages. I click Disconnect then Connect, it works again.