# LimeSDR mini not working, read/write errors, can't --update, tried ubuntu, fedora, and windows

**URL:** <https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250>\
**Category:** LimeSDR\
**Created:** [31 August 2018 16:53 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250 "2018-08-31T16:53:08Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [31 August 2018 16:53 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/1 "2018-08-31T16:53:08Z")

</div>

I have a LimeSDR, trying to get it working in any way shape or form.

Tried on ubuntu 16, yeah right, PPAs don’t install good luck  
Tried on ubuntu 18, hahahahaha, sucker, made you waste 4 hours  
Tried fedora 27 and decided to build limesdr, soapysdr from scratch that “worked”, in the sense that **limeutil --find** finds the device. But nothing else works, and let me clarify what I’ve tried.

- Any attempt to access the device in any way (lime suite gui, for example) results in a hung gui (in windows) or tons of read/write errors:

> Read(64 bytes) failed  
> Read(64 bytes) failed  
> Read(64 bytes) failed  
> Write(64 bytes) failed

- Tons of googling later, seems I should **limeutil --update**. Yeah right:

> [root@shitbox~]# LimeUtil --update  
> Connected to [LimeSDR Mini [USB 3.0] 1D40F8DFB08E04]  
> Read(64 bytes) failed  
> Update not supported: UNKNOWN[HW=0]
> 
> Programming update failed! : Update not supported: UNKNOWN[HW=0]  
> [root@shitbox ~]#

- Even more googling, “the device might not have enough power”. Tried any number of ports. Tried plugging the “power” port into an external USB device (plugged into the same power source as the PC obviously). Tried another computer entirely. No difference. One of them is a Intel NUC, the other is an HP enterprise laptop, I’m using this on crappy hardware.
- Getting desperate now, break out the windows computer. Install obscure software packages, download obscure USB drivers from obscure places. Finally, I can run **limeutil --find** sucecssfully on windows, it will update for sure now:

> C:\Users\enry\>limeutil --update  
> Connected to [LimeSDR Mini [USB 3] 1D40F8DFB08E04]  
> Read(64 bytes) failed  
> Update not supported: UNKNOWN[HW=0]
> 
> Programming update failed! : Update not supported: UNKNOWN[HW=0]

- “Okay, but Enry! Just run **limequicktest**!” Oh, great idea. On windows, running “limequicktest” does exactly ONE thing: it adds a process called LimeQuickTest.exe inside my task manager and NOTHING ELSE. No GUI, no feedback on the console. Nothing. Unplug the Lime and the process disappears.

- “Enry you n00b. Real hax0rs don’t use windoze. Run limequicktest on **linux**!”. Okay, voices in my head, let me try that:

> [root@shitbox ~]# LimeQuickTest  
> [TESTING STARTED]  
> -\>Start time: Fri Aug 31 12:48:35 2018
> 
> Read(64 bytes) failed  
> Read(64 bytes) failed  
> Read(64 bytes) failed  
> Write(64 bytes) failed  
> -\>Device: LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=1D40F8DFB08E04  
> Serial Number: 1D40F8DFB08E04  
> Write(64 bytes) failed  
> Write(64 bytes) failed  
> Failed to connect  
> libusb: warning [libusb\_exit] application left some devices open  
> [root@shitbox ~]# LimeUtil --find  
> \* [LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=1D40F8DFB08E04]  
> [root@shitbox ~]# getenforce  
> Disabled  
> [root@shitbox ~]#

Well, above is “better” only in that the **LimeQuickTest** command prints an output versus golden silence on windows.

- One last thing, trying to use Lime Suite GUI on windows hangs when I click “connect”.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [31 August 2018 16:55 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/2 "2018-08-31T16:55:42Z")

</div>

To clarify:

I’ve seen infinite number of messages on this board about try to flash with this software, or that software, or use an external JTAG, or copy some programming from someone else’s Lime. That seems a bit intense and not something I want to do without very specific instructions. But more to the point, this is a LimeSDR Mini with the case, and that case is on real tight, it is not coming off anytyime soon. But I’m willing to do anything that’s needed.

Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [31 August 2018 16:59 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/3 "2018-08-31T16:59:33Z")

</div>

Here is the output to SoapySDRUtil --probe:

```
[root@summit-enodeb ~]# SoapySDRUtil --probe
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Probe device
[INFO] Make connection: 'LimeSDR Mini [USB 3.0] 1D40F8DFB08E04'
[ERROR] Read(64 bytes) failed
[ERROR] Read(64 bytes) failed
[ERROR] Read(64 bytes) failed
[ERROR] Write(64 bytes) failed
[ERROR] Write(64 bytes) failed
[ERROR] Write(64 bytes) failed
[INFO] Device name: UNKNOWN
[INFO] Reference: -1e-06 MHz
[ERROR] Write(64 bytes) failed
[ERROR] Write(64 bytes) failed
[ERROR] Write(64 bytes) failed
[ERROR] Write(64 bytes) failed
[ERROR] Write(64 bytes) failed
```

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [31 August 2018 17:11 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/4 "2018-08-31T17:11:32Z")

</div>

Dumping more info here just in case it helps… Random FT60X chip config programmer read config says this:

 ![image](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/9/9ed28c658d9e19f838581cb4a07b13dc338a192e.png)

---

<div class="post-metadata">

**Author:** ![Kc7noa](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/kc7noa/32/144_2.png) [@Kc7noa](https://discourse.myriadrf.org/u/Kc7noa)\
**Post date:** [1 September 2018 01:17 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/5 "2018-09-01T01:17:02Z")

</div>

Iv heard that the GUI only works on Linux …

But since i only run Ubunrtu 18.04 … i cant be accurate.

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [2 September 2018 09:22 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/6 "2018-09-02T09:22:11Z")

</div>

Tagging @Zack to see what he suggests.

---

<div class="post-metadata">

**Author:** ![Hanyazou](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@Hanyazou](https://discourse.myriadrf.org/u/Hanyazou)\
**Post date:** [2 September 2018 12:16 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/7 "2018-09-02T12:16:48Z")

</div>

The errors looks quite same as mine. Please refer my thread though my issue is not solved yet.

> [@All read/write fail on my LimeSDR mini](https://discourse.myriadrf.org/t/all-read-write-fail-on-my-limesdr-mini/3108):
>
> Hi there, I read many topics on this site to find some way to solve my LimeSDR mini issue. But my LimeSDR mini problem seems to be differ from others. (I’m not sure.) I’ve purchased a LimeSDR mini from Crowd Supply and I received my one this week. I tried the LimeSDR mini on my Mac and Windows. But it outputs many read/write error and it does not work at all. How can I setup this LimeSDR mini? I doubt that the FT601 MCU flash is not written correctly. But I can’t find the way to flash FT601 o…

If your FPGA isn’t programed, you must program it with JTAG tool.

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [2 September 2018 16:01 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/8 "2018-09-02T16:01:19Z")

</div>

> [@Hanyazou](#):
>
> The errors looks quite same as mine.

For a while I kind of refused to believe that anyone would assume that a) I would have any clue HOW to program this thing and that b) I’d have a jtag programmer just lying around, but whatevs getting desperate, I’ll go pick one up at abra as soon as I can

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [2 September 2018 16:02 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/9 "2018-09-02T16:02:07Z")

</div>

> [@andrewback](#):
>
> Tagging @Zack to see what he suggests.

Much appreciated.

---

<div class="post-metadata">

**Author:** ![Zack](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/zack/32/89_2.png) [@Zack](https://discourse.myriadrf.org/u/Zack)\
**Post date:** [3 September 2018 05:35 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/10 "2018-09-03T05:35:44Z")

</div>

Hi @theenry,

It looks like FPGA is not working for some reason. If you have Altera Blaster programmer, you may try to flash bitstream. If not just arrange RMA with Crowd Supply. Sorry for this.  
It is quite strange although while I have log file from the factory test and it is OK.

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [4 September 2018 13:45 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/11 "2018-09-04T13:45:42Z")

</div>

> [@Zack](#):
>
> It looks like FPGA is not working for some reason. If you have Altera Blaster programmer, you may try to flash bitstream.

Thanks, are there instructions how to flash the FPGA? Which file should I use, etc?

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [4 September 2018 15:39 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/12 "2018-09-04T15:39:49Z")

</div>

I assembled a JTAG cable this way, [LimeSDR-Mini JTAG cable adapter - Myriad-RF Wiki](https://wiki.myriadrf.org/LimeSDR-Mini_JTAG_cable_adapter) but Quartus Prime doesn’t see the device… “auto detect” gives me this error.

 ![image](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/3/3750e6de49fc00cd3712d0ca6dc6c44e137109ba.png)

 ![image](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/c/ca2200ab6adb7c92a1d052480f96dcbc94f789e4.png)

So this radio is probably toast.

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [4 September 2018 18:24 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/13 "2018-09-04T18:24:40Z")

</div>

Are you using an authentic Altera USB Blaster or a clone? If the latter, you may need to fiddle with the drivers.

> [@Problems with LimeSDR mini](https://discourse.myriadrf.org/t/problems-with-limesdr-mini/2394/118):
>
> @Zack I received the USB Blaster clone. This evening I hope to test the update procedure. Quick update/info for those interested: the device I received does not have the ALTERA logo like it had in the online shop image instead. No big surprise at this point slight_smile It’s a clone. there was a small piece of plastic inside the USB A plug preventing it from properly inserting. Promptly removed slight_smilegot “Access denied” error when I tried to install the Altera USB Blaster device…

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [4 September 2018 19:34 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/14 "2018-09-04T19:34:41Z")

</div>

Hi, yes I had to follow the instructions and install the driver from the quartus folder. It is a “waveshare electronics” usb blaster, not altera, but seems to be detected normally, see ss above. I’ve confirmed the pinout matches that from the wiki limesdr mini cable.

---

<div class="post-metadata">

**Author:** ![theenry](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theenry](https://discourse.myriadrf.org/u/theenry)\
**Post date:** [6 September 2018 21:07 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/15 "2018-09-06T21:07:09Z")

</div>

FYI all I received the replacement radio from CrowdSupply, this one worked right off the bat, plug and play. A BTW: if the LED on your mini doesn’t turn on at all when plugging in (mine never did) it probably means something is hosed really bad.

I ran a bunch of tests as an LTE eNodeB station works more or less ok. I have issues but it’s not certain they are the hardware, it could be the software.

Thanks to all.

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [24 March 2020 11:00 UTC](https://discourse.myriadrf.org/t/limesdr-mini-not-working-read-write-errors-cant-update-tried-ubuntu-fedora-and-windows/3250/16 "2020-03-24T11:00:16Z")

</div>

A post was split to a new topic: [Getting started with SDRangel etc](https://discourse.myriadrf.org/t/getting-started-with-sdrangel-etc/5916)
