Upgrade LimeSDR Firmware using Ubuntu 16.04

Hello,

I have been trying to update the Firmware of the LimeSDR. When updating it gives me a mismatch error saying that my firmware is an outdated version. The error can be seen below:

> root@ovpnclt:~/openairinterface5g/LimeSuite# LimeUtil --fw=LimeSDR-USB_fx3_fw.img
Connected to [SoDeRa [USB 3.0]]
[WARNING] Firmware version mismatch!
_ Expected firmware version 7, but found version 2_
_ Follow the FW and FPGA upgrade instructions:_
_ Lime Suite - Myriad-RF Wiki
_ Or run update on the command line: LimeUtil --update_

>[WARNING] Gateware version mismatch!
_ Expected gateware version 1, revision 20_
_ But found version 3, revision 1044_
_ Follow the FW and FPGA upgrade instructions:_
_ Lime Suite - Myriad-RF Wiki
_ Or run update on the command line: LimeUtil --update_

>[INFO] CLK0 fOut = 27 MHz Multisynth Divider 33 0/1 R divider = 1 source = PLLA
[INFO] CLK1 fOut = 27 MHz Multisynth Divider 33 0/1 R divider = 1 source = PLLA
[INFO] CLK2 fOut = 27 MHz Multisynth Divider 8 0/1 R divider = 1 source = PLLA
[INFO] CLK3 fOut = 27 MHz Multisynth Divider 8 0/1 R divider = 1 source = PLLA
[INFO] CLK4 fOut = 27 MHz Multisynth Divider 8 0/1 R divider = 1 source = PLLA
[INFO] CLK5 fOut = 27 MHz Multisynth Divider 8 0/1 R divider = 1 source = PLLA
[INFO] CLK6 fOut = 27 MHz Multisynth Divider 8 0/1 R divider = 1 source = PLLA
[INFO] CLK7 fOut = 27 MHz Multisynth Divider 8 0/1 R divider = 1 source = PLLA
[INFO] Si5351C: VCOA = 891 MHz Feedback Divider 35 41943/65536
[INFO] Si5351C: VCOB = 891 MHz Feedback Divider 35 41943/65536
[ 0%] 32/189848 Bytes Programming failed! Error
Programming failed! : Programming failed! Error
root@ovpnclt:~/openairinterface5g/LimeSuite#

The link that is given (Lime Suite - Myriad-RF Wiki) doesn’t explain how to upgrade the firmware using ubuntu/linux. Only lets the user know how to upgrade the firmware using windows.
The LimeUtil --help command gives me these options:
>root@ovpnclt:~/openairinterface5g/LimeSuite# LimeUtil --help
Usage LimeUtil [options]
_ Options summary:_
_ --help Print this help message_
_ --info Print module information_
_ --find[=“module=foo,serial=bar”] Discover available devices_
_ --make[=“module=foo,serial=bar”] Create a device instance_

Advanced options:
_ --args[=“module=foo,serial=bar”] Arguments for the options below_
_ --update Automatic firmware sync + flash_
_ --fpga=“filename” Program FPGA gateware to flash_
_ --fw=“filename” Program FX3 firmware to flash_
_ --timing Time interfaces and operations_

>Calibrations sweep:
_ --cal[=“module=foo,serial=bar”] Calibrate device, optional device args…_
_ --start[=freqStart] Frequency start for the sweep(Hz)_
_ --stop[=freqStop] Frequency stop for the sweep(Hz)_
_ --step[=freqStep, default=1MHz] Frequency step for the sweep(Hz)_
_ --bw[=bandwidth, default=30MHz] Desired calibration bandwidth(Hz)_
_ --dir[=direction, default=BOTH] Calibration direction, RX, TX, BOTH_
_ --chans[=channels, default=ALL] Calibration channels, 0, 1, ALL_

Is there a way to update the firmware using Ubuntu 16.04?
Is there an easier way to update the firmware?

Kind Regards,
Andrew

What version is your board?

@andrewback, I am not entirely sure. I think the board version is 1.4 but I am just assuming. Is the version written on the board? Is there a way to find out the version of the board?
Also I tried to update the fpga by doing this command: LimeUtil --fpga=“LimeSDR-USB_HW_1.4_r2.6.rbf”. This seemed to boot the new fpga. But now when I try to update the firmware using the command: --fw=“LimeSDR-USB_HW_1.3_r3.0.img” I get an error that states Gateware mismatch! Expected gateware version 1, revision 20. But found version 0, revision 0.

1

I downloaded the files from this link: http://downloads.myriadrf.org/project/limesuite/17.06/
Now I am getting this error and I am not sure on how to fix it

Yes, it is marked in white silkscreen on the board.

@andrewback

When we received the LimeSDR it looked like this, that is the reason why we don’t know exactly which model it is. We are wondering if there is a command that we can run to be able to see which version it is. Or if there is a step that we can do so we can see what version the board is.

Lime-SDR

@Andrew_23

Mine dont show what version in the board but when its been updated via software its ver 1.4

If I’m not mistaken LimeSuiteGUI can determine a LimeSDR version (not a PCB version, naturally). Unfortunately I don’t have LimeSDR near me at the moment to check that.

cant update from version 16 to firware v 17

Ubuntu

[WARNING] Gateware version mismatch!
Expected gateware version 2, revision 16
But found version 2, revision 17
Follow the FW and FPGA upgrade instructions:
http://wiki.myriadrf.org/Lime_Suite#Flashing_images
Or run update on the command line: LimeUtil --update

Hi @Kc7noa,

Update LimeSuite.

Was a fresh install on ubuntu 18 from git

1 Like

Though going from v17 to 16 is not what one would want to do