Suspect hardware failure LimeSDR-USB

#1

How do I get it checked out or repaired?
The board seems to have failed, was working fine previously then complained it couldn’t deliver frequency.
LimeUtil --cal --start 30000000 --stop 120000000 --step 10000000
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ Calibrating for freq = 100 MHz
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

SetFrequencySXR(100 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXR(100 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(100 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(100 MHz) - cannot deliver frequency
Error tuning (skipping)
Rx calibration finished
Rx calibration finished
SetFrequencySXT(100 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(100 MHz) - cannot deliver frequency
Error tuning (skipping)

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ Calibrating for freq = 110 MHz
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

SetFrequencySXR(110 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXR(110 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(110 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(110 MHz) - cannot deliver frequency
Error tuning (skipping)
Rx calibration finished
Rx calibration finished
SetFrequencySXT(110 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(110 MHz) - cannot deliver frequency
Error tuning (skipping)

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ Calibrating for freq = 120 MHz
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

SetFrequencySXR(120 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXR(120 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(120 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(120 MHz) - cannot deliver frequency
Error tuning (skipping)
Rx calibration finished
Rx calibration finished
SetFrequencySXT(120 MHz) - cannot deliver frequency
Error tuning (skipping)
SetFrequencySXT(120 MHz) - cannot deliver frequency
Error tuning (skipping)

Cleanup…

#2

Hi @sboyce,

Could you test your board using LimeQuickTest, please. Attach log file here.

#3

Thanks Zack,

I not long connected an outboard +5.2V 4A supply in addition to the USB cable and tested with linhpsdr.

lancelot@slipstream:~/ftp/JUL19> LimeQuickTest
[ TESTING STARTED ]
->Start time: Mon Jul 1 23:16:35 2019

->Device: LimeSDR-USB, media=USB 3.0, module=FX3, addr=1d50:6108, serial=0009061C02C73925
Serial Number: 0009061C02C73925

[ Clock Network Test ]
->FX3 GPIF clock test
Test results: 20882; 24638; 28394 - PASSED
->Si5351C test
CLK0: 17554 / 17554 - PASSED
CLK1: 17554 / 17554 - PASSED
CLK2: 17554 / 17554 - PASSED
CLK3: 17554 / 17554 - PASSED
CLK4: 17554 / 17554 - PASSED
CLK5: 17554 / 17554 - PASSED
CLK6: 17554 / 17554 - PASSED
->ADF4002 Test
Result: 10 - PASSED
->VCTCXO test
Results : 5112934 (min); 5113071 (max) - PASSED
->Clock Network Test PASSED

[ FPGA EEPROM Test ]
->Read EEPROM
->Read data: 11 05 12 11 05 12 02
->FPGA EEPROM Test PASSED

[ LMS7002M Test ]
->Perform Registers Test
->External Reset line test
Reg 0x20: Write value 0xFFFD, Read value 0xFFFD
Reg 0x20: value after reset 0x0FFFF
->LMS7002M Test PASSED

[ RF Loopback Test ]
Note: The test should be run without anything connected to RF ports
->Configure LMS
->Run Tests (TX_2-> LNA_L):
CH0 (SXR=800.0MHz, SXT=805.0MHz): Result:(-14.2 dBFS, 5.00 MHz) - PASSED
CH1 (SXR=800.0MHz, SXT=805.0MHz): Result:(-15.8 dBFS, 5.00 MHz) - PASSED
->Run Tests (TX_1 -> LNA_W):
CH0 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-15.3 dBFS, 5.00 MHz) - PASSED
CH1 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-18.1 dBFS, 5.00 MHz) - PASSED
->Run Tests (TX_2-> LNA_H):
CH0 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-14.7 dBFS, 5.00 MHz) - PASSED
CH1 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-13.7 dBFS, 5.00 MHz) - PASSED
->RF Loopback Test PASSED

=> Board tests PASSED <=

Elapsed time: 1.48 seconds

lancelot@slipstream:~/ftp/JUL19>

Result from linhpsdr:- the text below the =========== is from Start of the LimeSDR.
lancelot@slipstream:~/ftp/JUN19> linhpsdr
Build: 2019-06-18 Beta
GTK+ version 3.24.9
sysname: Linux
nodename: slipstream
release: 5.2.0-rc6-smp
version: #1 SMP PREEMPT Mon Jun 24 00:29:35 BST 2019
machine: x86_64
opengl: 0
discovery
protocol1_discovery
discover: looking for HPSDR devices on lo
discover: bound to lo
discover_receive_thread
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for lo
discover: looking for HPSDR devices on enp7s0
discover: bound to enp7s0
discover_receive_thread
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for enp7s0
discover: looking for HPSDR devices on wlp1s0f0u14
discover: bound to wlp1s0f0u14
discover_receive_thread
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for wlp1s0f0u14
discovery found 0 devices
protocol2_discover: looking for HPSDR devices on enp7s0
protocol2_discover: bound to enp7s0 192.168.10.236 255.255.255.0
protocol2_disovery: thread_id=0x1245d90
protocol2_discover: bytes read -1
protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
protocol2_discover: exiting protocol2_discover_receive_thread
protocol2_discover: exiting discover for enp7s0
protocol2_discover: looking for HPSDR devices on wlp1s0f0u14
protocol2_discover: bound to wlp1s0f0u14 192.168.0.5 255.255.255.0
protocol2_disovery: thread_id=0x1245de0
protocol2_discover: bytes read -1
protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
protocol2_discover: exiting protocol2_discover_receive_thread
protocol2_discover: exiting discover for wlp1s0f0u14
protocol2_discovery found 0 devices
soapy_discovery
linux; GNU C++ version 9.1.1 20190611 [gcc-9-branch revision 272147]; Boost_106900; UHD_003.009.007-0-unknown

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:1,0), Device or resource busy.

soapy_discovery: get_info: lime
[INFO] Make connection: ‘LimeSDR-USB [USB 3.0] 9061C02C73925’
[WARNING] Gateware version mismatch!
Expected gateware version 2, revision 21
But found version 44510, revision 24497
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] Reference clock 30.72 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[ERROR] TuneVCO(CGEN) - failed to lock (cmphl!=0)
[ERROR] SetFrequencyCGEN(80 MHz) failed
[INFO] LMS7002M calibration values caching Disable
[ERROR] TuneVCO(CGEN) - failed to lock (cmphl!=0)
[ERROR] SetFrequencyCGEN(80 MHz) failed
DriverKey=FX3
HardwareKey=LimeSDR-USB
soapy_discovery: hardware info key=boardSerialNumber val=0x9061c02c73925
soapy_discovery: hardware info key=firmwareVersion val=4
soapy_discovery: hardware info key=gatewareVersion val=2.21
soapy_discovery: hardware info key=hardwareVersion val=4
soapy_discovery: hardware info key=protocolVersion val=1
Rx channels: 2
Rx channel full duplex: channel=0 fullduplex=1
Rx channel full duplex: channel=1 fullduplex=1
Tx channels: 2
Tx channel full duplex: channel=0 fullduplex=1
Tx channel full duplex: channel=1 fullduplex=1
Rx sample rates: 100000.000000 -> 65000000.000000 (2.083333),
sample_rate selected 384000
Tx sample rates: 100000.000000 -> 65000000.000000 (2.083333),
Rx bandwidths:
Tx bandwidths:
RX0: bandwidth=30000000.000000
TX0: bandwidth=60000000.000000
Rx freq ranges: [0.000000 Hz -> 3800000000.000000 Hz step=0.000000],
Rx antennas: NONE, LNAH, LNAL, LNAW, LB1, LB2,
Tx antennas: NONE, BAND1, BAND2,
has_automaic_gain=0
has_automaic_dc_offset_correction=1
Rx formats: CF32, CS12, CS16,
float=4 double=8
Rx gains:
TIA 0.000000 -> 12.000000 step=0.000000
LNA 0.000000 -> 30.000000 step=0.000000
PGA -12.000000 -> 19.000000 step=0.000000
Tx gains:
PAD 0.000000 -> 52.000000 step=0.000000
IAMP -12.000000 -> 12.000000 step=0.000000
main: discovery found 1 devices
discovered: 0 device=7
adding lime
tree_selection_changed_cb
tree_selection_changed_cb: selected=lime,SoapySDR,4.4.1,
tree_selection_changed_cb: first=lime,SoapySDR,4.4.1,
found 0

starting Linux HPSDR (Beta): lime SoapySDR v4.4.1 () on USB
create_radio for lime 7
loadProperties: /home/lancelot/.local/share/linhpsdr/lime.props
soapy_protocol_init
soapy_protocol_init: SoapySDRDevice_make
audio_get_backend_name: JACK
audio: create_audio: USE_SOUNDIO: 1 JACK
create_audio: soundio_connect_backend: unable to initialize audio backend
create_receiver: channel=0 sample_rate=1536000
create_receiver: channel=0 frequency_min=0 frequency_max=3800000000
create_receiver: buffer_size=1024
create_receiver: fft_size=2048
create_receiver: OpenChannel: channel=0 buffer_size=1024 sample_rate=384000 fft_size=2048 output_samples=128
receiver_change_sample_rate: resample_step=4
soapy_protocol_set_rx_frequency: 14084400.000000
[ERROR] SetFrequencySXR(30 MHz) - cannot deliver frequency
receiver_init_analyzer: channel=0 zoom=1 pixels=0 pixel_samples=(nil)
receiver_update_title: Linux HPSDR: Rx-0 ADC-0 384000
create_vfo: rx=0
rx_panadapter_configure_event_cb
receiver_configure_event: gtk_paned_set_position: rx=0 position=60 height=120 percent=0.500000
soapy_protocol_create: setting samplerate=384000.000000
[ERROR] TuneVCO(CGEN) - failed to lock (cmphl!=0)
[ERROR] SetFrequencyCGEN(98.304 MHz) failed
soapy_protocol_create_receiver: SoapySDRDevice_setupStream: channel=0
create_transmitter: channel=8
transmitter_init_analyzer: width=0 pixels=0
update_timer: fps=10
soapy_protocol_create_transmitter: setting samplerate=384000.000000
[ERROR] TuneVCO(CGEN) - failed to lock (cmphl!=0)
[ERROR] SetFrequencyCGEN(98.304 MHz) failed
soapy_protocol_create_transmitter: SoapySDRDevice_setupStream: channel=0
soapy_protocol_create_transmitter: max_tx_samples=4096
soapy_protocol: set_rx_antenna: LNAL
soapy_protocol_set_rx_frequency: 14084400.000000
[ERROR] SetFrequencySXR(30 MHz) - cannot deliver frequency
soapy_protocol_start_receiver: activate_stream
[ERROR] Tx Calibration: Incorrect channel selection MAC 0
[INFO] Rx calibration finished
soapy_protocol_start_receiver: create receive_thread
receive_thread: id=0x1349de0
soapy_protocol: set_tx_antenna: BAND1
soapy_protocol: receive_thread
[ERROR] SetFrequencySXT(30 MHz) - cannot deliver frequency
[ERROR] TuneVCO(CGEN) - failed to lock (cmphl!=0)
[ERROR] SetFrequencyCGEN(61.44 MHz) failed
Server listening on port 50000
x=763 y=276
moving main_window to x=763 y=276
rx_panadapter: resize_timeout
receiver_init_analyzer: channel=0 zoom=1 pixels=1015 pixel_samples=(nil)
receiver_init_analyzer: g_new0: channel=0 pixel_samples=0x40af000
SetAnalyzer id=0 buffer_size=1024 fft_size=8192 overlap=2048
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
radio_start
tx_panadapter_configure_event: width=300 height=165
transmitter_init_analyzer: width=300 pixels=3600
SetAnalyzer id=8 buffer_size=8192 overlap=3392
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
radio_save_state: /home/lancelot/.local/share/linhpsdr/lime.props
receiver_save_sate: paned_position=60 paned_height=120 paned_percent=0.500000
elements=-1 max_samples=4096
elements=-1 max_samples=4096
elements=-1 max_samples=4096
soapy_protocol_stop
========I killed linhpsdr here====

#4

Hi @sboyce,

As far as I can see, your board is OK. Can not comment on linhpsdr part, while never tried it.

#5

Thanks,
I shall have to refer back to John Melton who is the author of linhpsdr and likewise to Jim Ahlstrom who is the author of quisk as both had been working fine. The errors changed since i used an external +5.2V 4A supply in place of the +5V USB only.
git clone https://github.com/g0orx/linhpsdr.git
https://files.pythonhosted.org/packages/cb/61/3c67f0a0fa46930bc3e02ba61a975456333c4b9eb54e56ca2367cbed38df/quisk-4.1.41.tar.gz

“LimeUtil --cal --start 30000000 --stop 120000000 --step 10000000” still fails
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ Calibrating for freq = 120 MHz
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

TuneVCO(CGEN) - failed to lock (cmphl!=0)
SetFrequencyCGEN(119.301 MHz) failed
Error tuning (skipping)
Rx calibration: MCU error 2 (CGEN tune failed)
Error calibrating (skipping)
Fast Tune success; vco=2 value=187
TuneVCO(CGEN) - failed to lock (cmphl!=0)
SetFrequencyCGEN(119.301 MHz) failed
Error tuning (skipping)
Fast Tune success; vco=2 value=232
Tx Calibration: MCU error 2 (CGEN tune failed)
Error calibrating (skipping)

No idea where it’s getting this bogus gateware version 44510, revision 40064 from.

LimeUtil --update

Connected to [LimeSDR-USB [USB 3.0] 9061C02C73925]
Gateware version mismatch!
Expected gateware version 2, revision 21
But found version 44510, revision 40064
Follow the FW and FPGA upgrade instructions:
http://wiki.myriadrf.org/Lime_Suite#Flashing_images
Or run update on the command line: LimeUtil --update

Existing firmware is same as update (4)
Existing gateware is same as update (2.21)
Firmware and Gateware update is not required.

Programming update complete!