LimeQuickTest failed with LimeSDR mini 2 - other version problem

Hi everyone, I’m a full beginner with this kind of SDR and with FPGA in general. I know there is the same subject just before but I haven’t the same error.
Here the log :
[ TEST STARTED ]
->Start time: Thu Feb 16 11:11:07 2023

->Device: LimeSDR Mini, media=USB 3, module=FT601, serial=XXX, index=0

  • Serial Number: XXX*

[ Clock Network Test ]
->REF clock test

  • Test results: 1903; 4686; 7421 - PASSED*
    ->VCTCXO test
  • Results : 6710995 (min); 6711030 (max) - FAILED*
  • FAILED*
    ->Clock Network Test FAILED

[ FPGA EEPROM Test ]
->Read EEPROM
Operation failed: error code 5
->FPGA EEPROM Test FAILED

[ 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
->Run Tests (TX_2 → LNA_W):
->On board loopback test:

  • Test 1:(SXR=1000.0MHz, SXT=1005.0MHz, TXPAD=8): Result:(-25.6 dBFS, 5.00 MHz) - FAILED*
    ->Configure LMS
    ->Run Tests (TX_1 → LNA_H):
    ->On board loopback test:
  • Test 1:(SXR=2100.0MHz, SXT=2105.0MHz, TXPAD=8): Result:(-20.7 dBFS, 5.00 MHz) - PASSED*
    ->RF Loopback Test FAILED

=> Board tests FAILED <=

Elapsed time: 6.61 seconds

I have the latest version of LimeSuite GUI, but I want to know if the LimeSDR QucikTest is compatible with the new LimeSDR Mini v2.2? If yes, what i’m doing wrong ? (In advance, I don’t know how to flash the fpga)

It mays comes of the Firmware update that doesn’t work :
LimeUtil --find

  • [LimeSDR Mini, media=USB 3, module=FT601, serial=1D90F85BF4FCC5, index=0]

LimeUtil --update
Connected to [LimeSDR Mini [USB 3] 1D90F85BF4FCC5]
Update not supported: UNKNOWN[HW=0]

EDIT :
I could fix this part by :

  1. Put my LimeMini 2.0 (v2.2) on USB 3.0
  2. going on LimeSuite GUI → “Option” → “Connection Settings” → Then connect to your board
  3. “Modules”–>’'Programming"–>Open the file “LimeSDR-Mini_lms7_trx_HW_1.2_auto.rpd”–>choose “FPGA Flash” → Click on “Program” button
  4. Back to Git Bash → LimeUtil --update

Also, at this point even If failed the LimeSDR-Mini-QuickTest _1v1, I can listen the radio on SDR console v3. Don’t know if it’s normal or not ?

You need to clone the Lime Suite repo and build from master (don’t check out any tagged releases!):

Do not attempt to update manually. If you did, the FPGA programming file you need is:

https://downloads.myriadrf.org/project/limesuite/20.10/LimeSDR-Mini_HW_2.0_r2.2.bit

Also SDR Console is likely using an old version of the Lime Suite DLL that does not have LimeSDR Mini v2 support.

Thanks for your anwer !

I’ve already clone the LimeSuite repo and build it.

Do not attempt to update manually. If you did, the FPGA programming file you need is:

https://downloads.myriadrf.org/project/limesuite/20.10/LimeSDR-Mini_HW_2.0_r2.2.bit

I can’t program it, it failed :


image

Tagging @Zack to see if he can advise.

Hello,

No need to update gateware. All the boards are shipped with the latest one.
You just have to use software from master branch.

Hi Zack,

I’m not sure to understand what are you’re saying by “just use the software from master branch” ? What is the software that are you’re talking ?

It’s not a problem If I already use the programming function of LimeSuite GUI with the file “LimeSDR-Mini_lms7_trx_HW_1.2_auto.rpd” on Flash FPGA ? Because, now when I use “LimeUtil --update” , I have the following file is created : LimeSDR-Mini_HW_1.2_r1.30.rpd

It’s a problem, because you flashed your LimeSDR with the wrong firmware :frowning:

I think when Zack said software from the master branch, he was saying you need to make sure you have the latest LimeUtil etc. from their git repository. Try and install it from there, then try using the newly installed LimeUtil to flash the .bin file that was posted here.
Not sure if it works via the GUI, could be that you need to use the command line.

The fact is I couldn’t update the firmware before because when I tried “LimeUtil --update”, it said the update wasn’t supported. The command works only after after I flash the “wrong” firmware. And before that the QuickTest wasn’t work too. So now, how could I put the latest/original firmware If it can’t read a “.bit” file ?

Could be possible to have this file “LimeSDR-Mini_HW_2.0_r2.2” with extension “.rpd” ?

When I do “LimeUtil --info”, there is what I get :
$ LimeUtil --info
######################################################
## LimeSuite information summary
######################################################

Version information:

  • Library version: v20.10.0-PothosSDR-2021.07.25-vc16-x64*
  • Build timestamp: 2021-07-25*
  • Interface version: v2020.10.0*
  • Binary interface: 20.10-1*

System resources:

  • Installation root: C:\Program Files\PothosSDR*
  • User home directory: C:\Users\loula*
  • App data directory: C:\Users\loula\AppData\Roaming/LimeSuite*
  • Config directory: C:\Users\loula/.limesuite*
  • Image search paths:*
  • - C:\Users\loula\AppData\Roaming/LimeSuite/images*
    
  • - C:\Program Files\PothosSDR/share/LimeSuite/images*
    

Supported connections:

    • FT601*
    • FX3*
    • PCIEXillybus*

Does it means I have the latest version of LimeUtil ? If not, I don’t understand how to use it, cause I’ve git clone the master branch

You’re using a PothosSDR build from 2021, which is a long time before LimeSDR Mini v2 existed.

You do not. You are using an old packaged version of Lime Suite instead of a version built from git master.

You’re using a PothosSDR build from 2021, which is a long time before LimeSDR Mini v2 existed.

It’s because I need it to use LimeUtil like it said on your page Lime Suite - Myriad-RF Wiki. And the last build available for PothosSDR is this one. Without it, I can’t execute commands line of LimeUtil.

on ubuntu2204, [apt install limesuite] can install version like this:

parallels@macvmu2204:~/Documents/limefile$ LimeUtil --info
######################################################
## LimeSuite information summary
######################################################

Version information:
  Library version:	v22.09.1-myriadrf1~ubuntu22.04
  Build timestamp:	2022-10-16
  Interface version:	v2022.9.1
  Binary interface:	22.09-1

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

Supported connections:
   * FT601
   * FX3
   * PCIEXillybus

parallels@macvmu2204:~/Documents/limefile$ uname -a
Linux macvmu2204 5.15.0-71-lowlatency #78-Ubuntu SMP PREEMPT Wed Apr 19 12:18:36 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
parallels@macvmu2204:~/Documents/limefile$

on mac m1 13.3.1 system, brew install limesuite version is old:

**➜** **~** uname -a
Darwin OSMBP13.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:41 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8103 arm64
**➜** **~** LimeUtil --info
######################################################
## LimeSuite information summary
######################################################
Version information:
Library version: v20.10.0-release
Build timestamp: 2020-10-29
Interface version: v2020.10.0
Binary interface: 20.10-1
System resources:
Installation root: /opt/homebrew
User home directory: /Users/osagem
App data directory: /Users/osagem/.local/share/LimeSuite
Config directory: /Users/osagem/.limesuite
Image search paths:
- /Users/osagem/.local/share/LimeSuite/images
- /opt/homebrew/share/LimeSuite/images
Supported connections:
* FT601
* FX3
* PCIEXillybus
**➜** **~**

but on unbuntu2204, limeutil --update can’t get right file:

parallels@macvmu2204:~/Documents/limefile$ LimeUtil --update
Connected to [LimeSDR Mini [USB 3.0] 1D90E11E8C8559]
--2023-04-28 11:33:59--  https://downloads.myriadrf.org/project/limesuite/22.09/LimeSDR-Mini_HW_2.0_r2.2.bit
Resolving downloads.myriadrf.org (downloads.myriadrf.org)... 165.227.233.124
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|165.227.233.124|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-04-28 11:34:01 ERROR 404: Not Found.

Failed: wget --output-document="/home/parallels/.local/share/LimeSuite/images/22.09/LimeSDR-Mini_HW_2.0_r2.2.bit" "https://downloads.myriadrf.org/project/limesuite/22.09/LimeSDR-Mini_HW_2.0_r2.2.bit"

Programming update failed!
parallels@macvmu2204:~/Documents/limefile$

how to get the right upgrade?

limequicktest:

parallels@macvmu2204:~/Documents/limefile$ LimeQuickTest 
[ TESTING STARTED ]
->Start time: Fri Apr 28 11:41:12 2023
->LimeSuite version: 22.09.1-myriadrf1~ubuntu22.04

->Device: LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=1D90E11E8C8559, HW=5, GW=2.1
  Serial Number: 1D90E11E8C8559
 Chip temperature: 57 C

[ Clock Network Test ]
->REF clock test
  Test results: 50774; 53557; 56292 - PASSED
->VCTCXO test
  Results : 6711023 (min); 6711058 (max) - FAILED
  FAILED
->Clock Network Test FAILED

[ FPGA EEPROM Test ]
->Read EEPROM
Operation failed: error code 5
->FPGA EEPROM Test FAILED

[ 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
->Run Tests (TX_2 -> LNA_W):
  CH0 (SXR=1000.0MHz, SXT=1005.0MHz): Result:(-31.8 dBFS, 5.00 MHz) - FAILED
->Run Tests (TX_1 -> LNA_H):
  CH0 (SXR=2100.0MHz, SXT=2105.0MHz): Result:(-17.6 dBFS, 5.00 MHz) - PASSED
->RF Loopback Test FAILED

=> Board tests FAILED <=

Elapsed time: 1.83 seconds

parallels@macvmu2204:~/Documents/limefile$

after compile source:

parallels@macvmu2204:~$ uname -a
Linux macvmu2204 5.15.0-71-lowlatency #78-Ubuntu SMP PREEMPT Wed Apr 19 12:18:36 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
parallels@macvmu2204:~$ LimeUtil --info
######################################################
## LimeSuite information summary
######################################################

Version information:
  Library version:	v22.09.1-g38efe960
  Build timestamp:	2023-04-28
  Interface version:	v2022.9.1
  Binary interface:	22.09-1

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

Supported connections:
   * FT601
   * FX3
   * PCIEXillybus

parallels@macvmu2204:~$ LimeUtil --find
  * [LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=1D90E11E8C8559]

parallels@macvmu2204:~$ LimeUtil --update
Connected to [LimeSDR Mini [USB 3.0] 1D90E11E8C8559]
--2023-04-28 15:46:01--  https://downloads.myriadrf.org/project/limesuite/22.09/LimeSDR-Mini_HW_2.0_r2.2.bit
Resolving downloads.myriadrf.org (downloads.myriadrf.org)... 165.227.233.124
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|165.227.233.124|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-04-28 15:46:06 ERROR 404: Not Found.

Failed: wget --output-document="/home/parallels/.local/share/LimeSuite/images/22.09/LimeSDR-Mini_HW_2.0_r2.2.bit" "https://downloads.myriadrf.org/project/limesuite/22.09/LimeSDR-Mini_HW_2.0_r2.2.bit"

Programming update failed!
parallels@macvmu2204:~$ 

parallels@macvmu2204:~$ LimeQuickTest 
[ TESTING STARTED ]
->Start time: Fri Apr 28 15:50:39 2023
->LimeSuite version: 22.09.1-g38efe960

->Device: LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=1D90E11E8C8559, HW=5, GW=2.1
  Serial Number: 1D90E11E8C8559
 Chip temperature: 57 C

[ Clock Network Test ]
->REF clock test
  Test results: 45594; 48377; 51104 - PASSED
->VCTCXO test
  Results : 6711023 (min); 6711058 (max) - PASSED
->Clock Network Test PASSED

[ FPGA EEPROM Test ]
->Read EEPROM
FPGA EEPROM not supported in v2
->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
->Run Tests (TX_2 -> LNA_W):
  CH0 (SXR=1000.0MHz, SXT=1005.0MHz): Result:(-32.1 dBFS, 5.00 MHz) - FAILED
->Run Tests (TX_1 -> LNA_H):
  CH0 (SXR=2100.0MHz, SXT=2105.0MHz): Result:(-17.6 dBFS, 5.00 MHz) - PASSED
->RF Loopback Test FAILED

=> Board tests FAILED <=

Elapsed time: 1.83 seconds

parallels@macvmu2204:~$ 


its ALL OK?

i connect the fan to J9.
wiki say “Fan will be turned on if board will heat up to 55°C and FAN will be turned off if board will cool down to 45°C.” bug in my case The fan doesn’t start at 57 degrees.

the fan test by 5v DC is ok.

can i fix this?
or how can i set the fan to turn on at 50/45/anyelse degrees?

Fan problem is known and will be fixed in the next gateware release.
Regarding RF loopback it is OK as well. It is just test path and it doesn’t involved in normal operation.

thankyou
has the new version been released?