# LimeSDR Mini FPGA Problem

**URL:** <https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545>\
**Category:** LimeSDR\
**Created:** [27 October 2018 20:47 UTC](https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545 "2018-10-27T20:47:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathemagician](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Mathemagician](https://discourse.myriadrf.org/u/Mathemagician)\
**Post date:** [27 October 2018 20:47 UTC](https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545/1 "2018-10-27T20:47:14Z")

</div>

While installing the FTDI FT601 driver, I ran the test per the instructions from FTDI and it overwrote the gateware plus I think something else important. Since then, I have been unable to get the Mini to function properly or update, and could use an assist.

```
$ LimeUtil --update
Connected to [LimeSDR Mini [USB 3.0] 1D424D31BCC09B]
Claimed Interface

Programming update failed! : ProgramUpdate not supported

$ LimeUtil --info
######################################################
## LimeSuite information summary
######################################################

Version information:
  Library version:	v17.12.0+dfsg-1
  Build timestamp:	2018-01-12
  Interface version:	v2017.12.0
  Binary interface:	17.12-1

System resources:
  Installation root:	/usr
  User home directory:	/home/jj
  App data directory:	/home/jj/.local/share/LimeSuite
  Config directory:	/home/jj/.limesuite
  Image search paths:
     - /home/jj/.local/share/LimeSuite/images
     - /usr/share/LimeSuite/images

Supported connections:
   * PCIEXillybus
   * STREAM
   * uLimeSDR

$ LimeUtil --find
  * [LimeSDR Mini, media=USB 3.0, module=uLimeSDR, addr=24607:1027, serial=1D424D31BCC09B]

$ SoapySDRUtil --find="driver=lime"
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

Found device 0
  addr = 24607:1027
  driver = lime
  label = LimeSDR Mini [USB 3.0] 1D424D31BCC09B
  media = USB 3.0
  module = uLimeSDR
  name = LimeSDR Mini
  serial = 1D424D31BCC09B

$ SoapySDRUtil --probe="driver=lime"
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device driver=lime
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

[INFO] Make connection: 'LimeSDR Mini [USB 3.0] 1D424D31BCC09B'
[INFO] Device name: UNKNOWN
[INFO] Reference: 40 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

```

When connecting in LimeSuiteGUI…  
[16:44:45] INFO: Disconnected control port  
[16:44:51] DEBUG: Claimed Interface  
[16:44:53] INFO: Connected Control port: UNKNOWN FW:0 HW:0 Protocol:0 GW:0 GW\_rev:0 Ref Clk: 40.00 MHz

Programming via LimeSuite and LimeUtil both fail.

A second LimeSDR Mini functions perfectly when attached to the same computer so I know it’s something on the device itself.

Thanks!

---

<div class="post-metadata">

**Author:** ![Mathemagician](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Mathemagician](https://discourse.myriadrf.org/u/Mathemagician)\
**Post date:** [28 October 2018 00:57 UTC](https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545/2 "2018-10-28T00:57:15Z")

</div>

Hey! Fixed it!

What I did was recompile the FTDI example apps and ran the streamer example app again. Specifically…  
`./streamer 4 4 1`

Something must have gotten corrupted the first time around, but running it to completion has fixed the issue and now LimeUtil --find shows module=FT601 instead of module=uLimeSDR.

Mystery solved. Hope this can save someone else a bit of time and trouble!

---

<div class="post-metadata">

**Author:** ![Mathemagician](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Mathemagician](https://discourse.myriadrf.org/u/Mathemagician)\
**Post date:** [28 October 2018 02:08 UTC](https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545/3 "2018-10-28T02:08:07Z")

</div>

Argh! Now I have what I suspect (the video is no longer available) this poster was referring to as “wiggle”: [Limesdr Mini wiggle. how do i fix this](https://discourse.myriadrf.org/t/limesdr-mini-wiggle-how-do-i-fix-this/2834)

Here’s what it looks like in LimeSuiteGUI:

 ![wiggle](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/0/01a1d7f1c569dce5caaef11d8220bbc8f4c6354b.png)

Here is what the second Mini (the one I didn’t mess up with FTDI stream example) looks like on the same setup, exact same steps:

 ![flat](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/e/e8b95fa0c4df71a5eb1c801ea698633617d500b2.png)

---

<div class="post-metadata">

**Author:** ![en1gma](https://avatars.discourse-cdn.com/v4/letter/e/f17d59/32.png) [@en1gma](https://discourse.myriadrf.org/u/en1gma)\
**Post date:** [28 October 2018 08:07 UTC](https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545/4 "2018-10-28T08:07:46Z")

</div>

i was the poster of the video.  
cleaned up to save some space because my google storage promo was ending.  
wasnt sure if youtube was included or mot so i made room just in case.

---

<div class="post-metadata">

**Author:** ![Mathemagician](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Mathemagician](https://discourse.myriadrf.org/u/Mathemagician)\
**Post date:** [28 October 2018 16:23 UTC](https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545/5 "2018-10-28T16:23:05Z")

</div>

Excellent. Is this what you were seeing and were you able to resolve it?

---

<div class="post-metadata">

**Author:** ![Mathemagician](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Mathemagician](https://discourse.myriadrf.org/u/Mathemagician)\
**Post date:** [28 October 2018 16:59 UTC](https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545/6 "2018-10-28T16:59:45Z")

</div>

Here’s what it looks like in sdrangel with a strong broadcast FM channel in the center…

 ![wiggle2](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/c/c4bb4cb87eeae449cb525b25a9d6117a80c559f3.jpg)

Besides the wiggle, other symptoms are that it sends a long stream of the single character “L” to the terminal, that it indicates dropping packets even at a very low data rate, and that the whole spectrum is shifted up 30dB or so.

For contrast, here is what the properly functioning one looks like…

 ![flat2](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/1/104e971aef9196058ce164212a9ba4492738c2e6.jpg)

---

<div class="post-metadata">

**Author:** ![Mathemagician](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Mathemagician](https://discourse.myriadrf.org/u/Mathemagician)\
**Post date:** [29 October 2018 06:27 UTC](https://discourse.myriadrf.org/t/limesdr-mini-fpga-problem/3545/7 "2018-10-29T06:27:31Z")

</div>

Don’t laugh, but I’ve stumbled into a fix!

By playing around some more with the example program that caused the issue in the first place, I’ve discovered that running ./streamer 2 2 1 has set things right!

Now, both devices perform similarly and I’m right back where I started! Better lucky than good.

I’ll leave this all here as it may help someone else at some point in the future. Self-inflicted wounds are the worst…
