Recovering from failed firmware update

duncan@duncan-laptop:~$ SoapySDRUtil --probe="driver=lime"
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device driver=lime
[INFO] Make connection: ''
Error probing device: Failed to make connection with ''
duncan@duncan-laptop:~$ SoapySDRUtil --probe="driver=lime"
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device driver=lime
[INFO] Make connection: 'LimeSDR-USB [USB 3.0] 9062A00CE3712'
[WARNING] Gateware version mismatch!
  Expected gateware version 2, revision 10
  But found version 2, revision 8
  Follow the FW and FPGA upgrade instructions:
  http://wiki.myriadrf.org/Lime_Suite#Flashing_images
  Or run update on the command line: LimeUtil --update

[INFO] Device name: UNKNOWN
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] Ver=0, Rev=0, Mask=0
Error probing device: ResetChip() failed
libusb: warning [libusb_exit] application left some devices open

Ok, so I needed to update, no problem.

duncan@duncan-laptop:~$ sudo LimeUtil --update
Connected to [LimeSDR-USB [USB 3.0] 9062A00CE3712]
Gateware version mismatch!
  Expected gateware version 2, revision 10
  But found version 2, revision 8
  Follow the FW and FPGA upgrade instructions:
  http://wiki.myriadrf.org/Lime_Suite#Flashing_images
  Or run update on the command line: LimeUtil --update

Reference clock 30.720 MHz
--2017-09-28 09:49:10--  http://downloads.myriadrf.org/project/limesuite/17.09/LimeSDR-USB_HW_1.3_r3.0.img
Resolving downloads.myriadrf.org (downloads.myriadrf.org)... 2001:41c8:51:71d:fcff:ff:fe00:4203, 213.138.113.29
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|2001:41c8:51:71d:fcff:ff:fe00:4203|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 186040 (182K)
Saving to: ‘/home/duncan/.local/share/LimeSuite/images/17.09/LimeSDR-USB_HW_1.3_r3.0.img’
...
[ 74%] 137376/186040 Bytes in progress... (/home/duncan/.local/share/LimeSuite/i[ 74%] 137376/186040 Bytes Programming failed! Write operation failed (/home/duncan/.local/share/LimeSuite/images/17.09/LimeSDR-USB_HW_1.3_r3.0.img)
Programming update failed! : Programming failed! Write operation failed

I’m now stuck - trying the update again fails:

duncan@duncan-laptop:~$ sudo LimeUtil --update
Connected to [WestBridge  [USB 2.0] 4BE]
Unsupported hardware connected: UNKNOWN[HW=0]

Programming update failed! : Unsupported hardware connected: UNKNOWN[HW=0]

Any suggestions, please?

Hi @DuncanT,

Try this:
https://wiki.myriadrf.org/LimeSDR-USB_Board_Programming#Uploading_FPGA_Gateware_to_FLASH_Memory

Download the latest (at the time of writing) FPGA gateware here:
http://downloads.myriadrf.org/project/limesuite/17.09/LimeSDR-USB_HW_1.4_r2.10.rbf

@Zack

Thanks for a speedy reply.

If I follow those instructions without doing Options->ConnectionSettings->Westbridge [USB 2.0] 4BE->Connect first, I get a segfault.

If I do the connect first, the status window at the bottom reports:

[10:59:34] ERROR: Unsupported hardware connected: UNKNOWN[HW=0]
[10:59:34] INFO: Connected Control port: UNKNOWN FW:0 HW:0 Protocol:0 GW:0 GW_rev:0 Ref Clk: 30.72 MHz

If I then do program Bitstream-to-flash, I get a programming error, then “Programming failed! Write operation failed

Hello,

This may help if you want to recover from failed FW update using LimeSuiteGUI:

1 Like

Ok, after using J17 to reset everything, it looks like I’m back in business. Thanks.

1 Like