# Not new but almost unused Lime-SDR mini died on me? (failed to start rx mode)

**URL:** <https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620>\
**Category:** LimeSDR\
**Created:** [4 May 2022 11:34 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620 "2022-05-04T11:34:37Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [4 May 2022 11:34 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/1 "2022-05-04T11:34:37Z")

</div>

So once it arrived, everything worked. I played around with Universal Radio Hacker and stuff.

Due to lack of time, it ended up in a locker after a couple of days.

Until today that is, which is when I pulled it out just to see that:

Universal Radio Hacker wouldn’t be able to use it (Raspberry Pi 3):

```auto
LimeSDR-OPEN (LimeSDR Mini, media=USB 3, module=FT601, serial=1D5881B332D4B1, index=0): Success

LimeSDR-INIT: Error Code: -1 (-1)

LimeSDR: failed to start rx mode

```

Thought maybe was something wrong with Rasp… USB 2.0 instead of 3.0 …maybe voltage too low and stuff… so I bought an USB HUB, which was supposed to give it more joice… nothing… same…

So I plugged it into a Windows 10 box. Same.

Run tests:

```auto

[TESTING STARTED]
->Start time: Wed May 4 13:27:50 2022
->LimeSuite version: 20.10.0-g1480bfea

->Device: LimeSDR Mini, media=USB 3, module=FT601, serial=1D5881B332D4B1, index=0, HW=3, GW=1.30
  Serial Number: 1D5881B332D4B1
 Chip temperature: 45 C

[Clock Network Test]
->REF clock test
  Test results: 22116; 35313; 48510 - PASSED
->VCTCXO test
  Results : 6711085 (min); 6711238 (max) - PASSED
->Clock Network Test PASSED

[FPGA EEPROM Test]
->Read EEPROM
->Read data: 13 0A 15 13 0A 15 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]
->Configure LMS
TuneVCO(CGEN) - failed to lock (cmphl!=0)
SetFrequencyCGEN(61.44 MHz) failed
TuneVCO(CGEN) - failed to lock (cmphl!=0)
SetFrequencyCGEN(122.88 MHz) failed
Failed to set sample rate
->RF Loopback Test FAILED

=> Board tests FAILED <=

Elapsed time: 3.02 seconds

```

which is when I started to become worried… but come on… I said to myself…it must be something with firmware… maybe… right?

Flashed it like 3 times…not with --update but explicitly providing bin files… nothing.

Looks dead.

Ideas?

---

<div class="post-metadata">

**Author:** ![ricardas](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/ricardas/32/86_2.png) [@ricardas](https://discourse.myriadrf.org/u/ricardas)\
**Post date:** [4 May 2022 15:34 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/2 "2022-05-04T15:34:40Z")

</div>

It does not look completely dead. Seems the failure is CGEN PLL is not locking on.  
Start LimeSuiteGUI, go to Options-\>Connection settings, connect to device, click “Default” button at the top. Go to CGEN tab, set CLK\_H frequency to 61.44 MHz, click “Calculate”, there should be no errors. If it fails, try changing CSW\_VCO\_CGEN values to 0 and 255, doing that check if the VCO Comparators values changes.

 ![cgen](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/f/f32e2d867f7e49dbe8ba91a43d4b071a832b24f8.png)

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [4 May 2022 18:07 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/3 "2022-05-04T18:07:35Z")

</div>

As soon as I clicked the DEFAULT button it showed a dialog box saying it failed and log:

```auto

20:02:05] INFO: Disconnected control port
[20:03:14] INFO: Reference clock 40.00 MHz
[20:03:14] INFO: Connected Control port: LimeSDR-Mini FW:6 HW:3 Protocol:1 GW:1.30 Ref Clk: 40.00 MHz
[20:03:30] ERROR: TuneVCO(CGEN) - failed to lock (cmphl!=0)
[20:03:30] ERROR: SetFrequencyCGEN(61.44 MHz) failed

```

Further when I try to use CLKGEN is says:

```auto
[20:07:02] ERROR: TuneVCO(CGEN) - failed to lock (cmphl!=0)
[20:07:02] ERROR: SetFrequencyCGEN(61.44 MHz) failed

```

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [4 May 2022 18:12 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/4 "2022-05-04T18:12:43Z")

</div>

As I try toggling the CSW\_VCO\_GEN parameter, the Comprator value remains unchanged. It’s High:0 Low:0 all the time.

What happened to my Lime?=/ strangest thing is… it was in a locker all that time.

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [4 May 2022 18:16 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/5 "2022-05-04T18:16:43Z")

</div>

If I change CSW\_VCO\_GEN to 0 from 254 (it wont let for 255) and click calculate again, it throws an arror nd jumps back to 254. Same on WIndows same on Linux.

Log during the entire process, which you’ve suggested:

```auto
[20:13:25] INFO: Disconnected control port
[20:13:51] INFO: Reference clock 40.00 MHz
[20:13:51] INFO: Connected Control port: LimeSDR-Mini FW:6 HW:3 Protocol:1 GW:1.30 Ref Clk: 40.00 MHz
Pressing DEFAULT button:
[20:14:05] ERROR: TuneVCO(CGEN) - failed to lock (cmphl!=0)
[20:14:05] ERROR: SetFrequencyCGEN(61.44 MHz) failed
Further:
[20:14:38] ERROR: TuneVCO(CGEN) - failed to lock (cmphl!=0)
[20:14:38] ERROR: SetFrequencyCGEN(61.44 MHz) failed
Trying to play with the slider:
[20:15:01] ERROR: TuneVCO(CGEN) - failed to lock (cmphl!=0)
[20:15:01] ERROR: SetFrequencyCGEN(61.44 MHz) failed
[20:15:07] ERROR: TuneVCO(CGEN) - failed to lock (cmphl!=0)
[20:15:07] ERROR: SetFrequencyCGEN(61.44 MHz) failed
[20:15:19] ERROR: TuneVCO(CGEN) - failed to lock (cmphl!=0)
[20:15:19] ERROR: SetFrequencyCGEN(61.44 MHz) failed

```

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [4 May 2022 19:36 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/6 "2022-05-04T19:36:16Z")

</div>

The lime was used a couple of times. Spent 12 + months in a locker in a 3D printed protective casing . USB 3.0 from Asus Zenbook was everything it was ever connected to… and the antennas it shipped with. now the rasp.

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [4 May 2022 19:41 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/7 "2022-05-04T19:41:54Z")

</div>

From what I understand, and from the logs it seems that the process which you’ve outlined depicts the exactly same API calls the URH was attempting to accomplish, why the assumption tht these wouldn’t fail from Lime Suite?

---

<div class="post-metadata">

**Author:** ![ricardas](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/ricardas/32/86_2.png) [@ricardas](https://discourse.myriadrf.org/u/ricardas)\
**Post date:** [4 May 2022 21:19 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/8 "2022-05-04T21:19:29Z")

</div>

the “Calculate” button starts a tuning algorithm, that searches for a suitable CSW\_VCO\_CGEN value using comparators as guides. I asked to manually try setting CSW\_VCO\_CGEN values to 0 and 255, to see if the comparators are working properly. Apparently in your case they are always 0, so that explains why the algorithm fails.  
I have no idea why the comparators have stopped working, it’s definitely not a software/firmware issue.

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [5 May 2022 09:58 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/9 "2022-05-05T09:58:36Z")

</div>

Anyone else? I don’t really have hardware knowledge needed to assess low-level inertias of this equipment.

Even ‘hardware-fellas’, I talked to, who do high-precision soldiering on daily basis not really know how to tackle this.

I cannot find many of such cases on the Internet, did I just get extremely unlucky?

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [6 May 2022 08:45 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/10 "2022-05-06T08:45:09Z")

</div>

![IMG_20220506_103829](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/5/596ab28712c46f666db8be4567e5272db5e22c26.jpeg)  
 ![IMG_20220506_103834](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/9/97200a75f070a2b4b63ab012988aa4ce06c3ede8.jpeg)  
 ![IMG_20220506_103842](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/4/494a9fb3e9a56c15cf1c0c2591f5a62f20bfacb9.jpeg)  
 ![IMG_20220506_103848](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/d/d815145ca6d19b3f2c465d96fda19b8bd7d1a854.jpeg)  
 ![IMG_20220506_103853](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/9/93bafe61cedd3b0ee20bc77455569ed02e4a94b2.jpeg)

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [6 May 2022 08:45 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/11 "2022-05-06T08:45:49Z")

</div>

![IMG_20220506_103859](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/9/91b4695a5b6d01625b6636092c070b61bafe9a3e.jpeg)  
 ![IMG_20220506_103924](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/0/06a808f1208ce05b26a323541791a1f1b36dc62a.jpeg)  
 ![IMG_20220506_103937](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/4/45d96d5413bfac6f1c42073a38354ad9309ee9a5.jpeg)  
 ![IMG_20220506_103940](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/0/042eab22008368c44e2c73c06c6b0c7bc763f81d.jpeg)

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [6 May 2022 08:46 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/12 "2022-05-06T08:46:57Z")

</div>

Maybe some knowledgeable folk could take a look at the above, please?

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [6 May 2022 08:51 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/13 "2022-05-06T08:51:53Z")

</div>

No idea what happened to it. It was unused in original casing, the transparent one, with screws in each corner, with logo cut out. It worked just fine 12+ months ago, was fed with USB 3.0 and 2.0 from asus zenbook… guess I already said that… tried flashing older firmwares/gatewares - no luck. Last time it was plugged in- it worked just fine.

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [9 May 2022 04:38 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/14 "2022-05-09T04:38:14Z")

</div>

Any guidance for ‘hardware-fellas’ as to which part/elements of the board ‘to check’ would be appreciated.

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [17 May 2022 18:26 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/15 "2022-05-17T18:26:38Z")

</div>

Anyone ? It’s like I still haven’t thrown it away.

---

<div class="post-metadata">

**Author:** ![vega4](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vega4](https://discourse.myriadrf.org/u/vega4)\
**Post date:** [19 May 2022 17:49 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/16 "2022-05-19T17:49:14Z")

</div>

In my desperation I will allow myself to tag @Zack as of the 1-3 people who reply on this forum he seems to be knowledgeable in hardware.

---

<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:** [19 May 2022 18:06 UTC](https://discourse.myriadrf.org/t/not-new-but-almost-unused-lime-sdr-mini-died-on-me-failed-to-start-rx-mode/7620/17 "2022-05-19T18:06:48Z")

</div>

Hi @vega4,  
Contact the seller to see if it is still under warranty and ask for replacement. Something is wrong with clock generator inside of LMS7002M.
