gps-sdr-sim code not working with Nuand bladeRF 2.0

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
satyak
Posts: 1
Joined: Mon Sep 02, 2024 11:30 am

gps-sdr-sim code not working with Nuand bladeRF 2.0

Post by satyak »

While running script getting below error kindly help here how to make it work

sudo bladeRF-cli -s bladerf.script
[INFO @ host/libraries/libbladeRF/src/helpers/version.c:103] FPGA version (v0.15.3) is newer than entries in libbladeRF's compatibility table. Please update libbladeRF if problems arise.

For best results, it is not recommended to set both RX and TX to the
same frequency. Instead, consider offsetting them by at least 1 MHz
and mixing digitally.

For the above reason, 'set frequency ` is deprecated and
scheduled for removal in future bladeRF-cli versions.

Please use 'set frequency rx' and 'set frequency tx' to configure
channels individually.

RX1 Frequency: 2400000000 Hz (Range: [70000000, 6000000000])
RX2 Frequency: 2400000000 Hz (Range: [70000000, 6000000000])
TX1 Frequency: 2400000000 Hz (Range: [47000000, 6000000000])
TX2 Frequency: 2400000000 Hz (Range: [47000000, 6000000000])

RX1 Frequency: 455549998 Hz (Range: [70000000, 6000000000])

Setting RX1 sample rate - req: 40000000 0/1Hz, actual: 40000000 0/1Hz

RX1 Bandwidth: 2500000 Hz (Range: [200000, 56000000])
RX2 Bandwidth: 2500000 Hz (Range: [200000, 56000000])
TX1 Bandwidth: 2500000 Hz (Range: [200000, 56000000])
TX2 Bandwidth: 2500000 Hz (Range: [200000, 56000000])

Loopback mode: none

Setting TX1 overall gain to 60 dB
Gain TX1 overall: 60 dB (Range: [-23.75, 66])
dsa: -90 dB (Range: [-89.75, 0])

Error (bladerf.script:7): File not found

here is the device config
bladeRF-cli -i
bladeRF-cli version: 1.8.0-git-unknown
libbladeRF version: 2.4.1-git-unknown
Firmware version: 2.4.0-git-a3d5c55f
FPGA version: 0.14.0 (configured by USB host)
bladeRF> info
Board: Nuand bladeRF 2.0 (bladerf2)
Serial #: bffdcbdb2c3642b8a174fe886496cc57
VCTCXO DAC calibration: 0x1e1d
FPGA size: 301 KLE
FPGA loaded: yes
Flash size: 128 Mbit
USB bus: 4
USB address: 2
USB speed: SuperSpeed
Backend: libusb
Instance: 0
felixandrea
Posts: 2
Joined: Sat May 04, 2024 7:18 pm

Re: gps-sdr-sim code not working with Nuand bladeRF 2.0

Post by felixandrea »

To resolve the issue you are having with Nuand bladeRF 2.0 and gps-sdr-sim, you can try the following steps:

Check the script file: The "File not found" error indicates that the bladerf.script file may not exist or the path is incorrect. Make sure that this file exists in the directory where you are running the command. You can use the ls command to check.

Update libbladeRF: The message indicates that your FPGA version is newer than the libbladeRF library. Please update libbladeRF to the latest version to ensure compatibility.

Configure RX and TX frequencies: As the message indicates, RX and TX should not be set to the same frequency. Adjust the RX and TX frequencies so that they are at least 1 MHz apart. Use the set frequency rx and set frequency tx commands to configure them separately.

Check the frequency configuration: Make sure the RX and TX frequencies are within the valid ranges you provided. For example, the RX1 and RX2 frequencies should be between 70 MHz and 6 GHz.

Rerun the command: After making the above adjustments, try running the command sudo bladeRF-cli -s bladerf.script again.

If you are still having problems after performing the above steps, please provide more details about the configuration and the commands you used so that we can better assist you. the official rice purity test
sabrina23
Posts: 3
Joined: Wed Sep 25, 2024 7:14 pm

Re: gps-sdr-sim code not working with Nuand bladeRF 2.0

Post by sabrina23 »

This message indicates that you may need to update libbladeRF. Ensure you have the latest version of libbladeRF installed. You can update it using the following commands:

Code: Select all

sudo apt update
sudo apt upgrade libbladeRF
Slope Game
Leonard Clemons
Posts: 1
Joined: Tue Nov 05, 2024 2:51 am
Contact:

Re: gps-sdr-sim code not working with Nuand bladeRF 2.0

Post by Leonard Clemons »

Examine the script file: The bladerf.script file may not exist or the path may be incorrect, as indicated by the "File not found" error. Verify that the directory in which you are executing the command contains this file. To check, you can run the ls command.

Update libbladeRF: The message says that the libbladeRF library is older than the version of your FPGA. To guarantee compatibility, please upgrade libbladeRF to the most recent version.
Post Reply