Errors running LimeSDR on GNUradio

Hello,

We will be running a basic flow graph to test our antenna with the LimeSDR.
The flowgraph is basically an osmocom source–> WX GUI waterfall sink.

It will run perfectly fine for some operations and then every once in a while we will run it and get this error. It then works fine after we hit the reset button on the LimeSDR.

We will get this error.

Generating: ‘/home/ground/Documents/top_block.py’

Executing: /usr/bin/python2 -u /home/ground/Documents/top_block.py

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp rfspace soapy redpitaya
[INFO] Make connection: ‘LimeSDR-USB [USB 2.0] 9070602491E35’
e[1me[33m[WARNING] Gateware version mismatch!
Expected gateware version 2, revision 11
But found version 0, revision 0
Follow the FW and FPGA upgrade instructions:
Lime Suite - Myriad-RF Wiki
Or run update on the command line: LimeUtil --update
e[0m
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] Ver=0, Rev=0, Mask=0

FATAL: ResetChip() failed

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.

(top_block.py:4176): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 20

(top_block.py:4176): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 20

(top_block.py:4176): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 20

(top_block.py:4176): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 20

Done (return code -9)

Ocassionally, we also get this error as well:

Generating: ‘/home/ground/Documents/top_block.py’

Executing: /usr/bin/python2 -u /home/ground/Documents/top_block.py

gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.11.1
built-in source types: file osmosdr fcd rtl rtl_tcp rfspace soapy redpitaya
[INFO] Make connection: ‘LimeSDR-USB [USB 2.0] 9070602491E35’
[INFO] Reference clock 30.720 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] Ver=7, Rev=1, Mask=1
[INFO] LMS7002M calibration values caching Disable
e[1me[31m[ERROR] e[0m
e[1me[33m[WARNING] SoapyLMS7::setSampleRate(): not a power of two factor: TSP Rate = 15.36 MHZ, Requested rate = 10 MHze[0m
e[1me[31m[ERROR] e[0m
e[1me[31m[ERROR] e[0m
e[1me[31m[ERROR] setBandwidth(Rx, 1, 30 MHz) Failed - e[0m

FATAL:

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.

If anyone knows what is going on, that would be great.

Ricardo

Looks as though you are using USB 2.0 and so it may not be getting enough power. This is often the case when not using USB 3.0 and you see the gateware mismatch error “But found version 0, revision 0”.

1 Like

On the other hand, I got similar symptoms even when using USB 3.0 ports on different computers, and in the end was advised to contact CrowdSupply for a replacement.

That may be the case, but I think we need to first exhaust all other remedies before we start arranging RMAs, otherwise we risk wasting the time of board owners, Crowd Supply and the engineering team.

You are absolutely right! :slight_smile:

2 Likes

Thank you, we will order a power supply for the LimeSDR and test it out. Any recommended power supplies? I know it has to be in between 6 and 12 v.

I’ve not had cause to use one yet. @Zack, is their a particular power supply you have used or would recommend?