-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't figure out this script issue with my BladeRF #244
Comments
What am I missing from here? Am I using the wrong FPGA, the wrong firmware? Your answer is very vague. |
If you're using libbladeRF 2.0 or later, try "set gain tx ##" instead of "set txvga1 ##". |
Thank you! That helps a lot! |
This is what I'm getting: [chown@mbp ~/Downloads/gps-sdr-sim-realtime (master *)]$ bladeRF-cli -i bladeRF-cli version: 1.8.0-git-45521019 Firmware version: 2.3.2 bladeRF> quit For best results, it is not recommended to set both RX and TX to the For the above reason, 'set frequency ` is deprecated and Please use 'set frequency rx' and 'set frequency tx' to configure RX1 Frequency: 1575419998 Hz (Range: [70000000, 6000000000]) Setting RX1 sample rate - req: 2600000 0/1Hz, actual: 2600000 0/1Hz RX1 Bandwidth: 2500000 Hz (Range: [200000, 56000000]) Gain on RX1 cannot be changed while AGC is enabled. Error (bladerf.script:3): Operation invalid in current state [chown@mbp ~/Downloads/gps-sdr-sim-realtime (master *)]$ cat bladerf.script Hope that you can help. |
It's a bladeRF 2.0 micro is that helps you at all. I just don't know what I'm doing wrong. |
[chown@mbp ~/Downloads/gps-sdr-sim-realtime (master *)]$ bladeRF-cli -l ../hostedxA9-latest.rbf |
My idea was that this script was supposed to work out of the box without any needed tweaks to the script but that does not seem to be the case. I've tried everything I know to try: [chown@mbp ~/Downloads/gps-sdr-sim-realtime (master *)]$ cat bladerf.script |
Since I don't have a bladeRF micro 2.0, I can't be of much help. The error message mentioned about the AGC. Please try disable it with the "set agc off" command. By the way, you need to set TX gain for the simulator, not RX. |
Here is what I've tried. I don't know what I'm missing. Sorry I'm a new to all of this. [chown@mbp ~/Downloads/gps-sdr-sim-realtime (master *)]$ bladeRF-cli -l hostedxA9.rbf For best results, it is not recommended to set both RX and TX to the For the above reason, 'set frequency ` is deprecated and Please use 'set frequency rx' and 'set frequency tx' to configure RX1 Frequency: 1575419998 Hz (Range: [70000000, 6000000000]) Setting RX1 sample rate - req: 2600000 0/1Hz, actual: 2600000 0/1Hz RX1 Bandwidth: 2500000 Hz (Range: [200000, 56000000]) RX1 AGC: Disabled Setting TX1 overall gain to 60 dB cal (bladerf.script:5): Only use this calibration on bladeRF x40 and x115 devices. If tuning mode is FPGA, consider setting tuning mode to host by running Error (bladerf.script:6): Operation not supported [chown@mbp ~/Downloads/gps-sdr-sim-realtime (master *)]$ cat bladerf.script |
You can skip "cal lms" and "cal dc tx" lines and see how things go. |
Thanks!! That seemed to do the trick. [chown@mbp ~/Downloads/gps-sdr-sim-realtime (master *)]$ bladeRF-cli -s bladerf.script For best results, it is not recommended to set both RX and TX to the For the above reason, 'set frequency ` is deprecated and Please use 'set frequency rx' and 'set frequency tx' to configure RX1 Frequency: 1575419998 Hz (Range: [70000000, 6000000000]) Setting RX1 sample rate - req: 2600000 0/1Hz, actual: 2600000 0/1Hz RX1 Bandwidth: 2500000 Hz (Range: [200000, 56000000]) RX1 AGC: Disabled Setting TX1 overall gain to 60 dB ^C[chown@mbp ~/Downloads/gps-sdr-sim-realtime (master *)]$ ll |
Is there a reason why Snapchat doesn't show the new location? Maybe their algorithm has changed a bit? I haven't done this since hackrf days and it used to work fine. Just wondering what you thought. I had tried to play with duration settings thinking maybe it needed to be set longer but that did not help at all. I'm not sure what is happening. |
@chownsauce Can you confirm that you got it to work with a bladeRF 2.0 micro? Is it the A4 or A9 you have? (and does it matter) With regards to Snapchat, you might fall victim to the Network Location Provider providing a location, and your GPS simulator providing another location. Try to disable the Google Network Location Provider (assuming you're running on Android, on iOS I don't know if it's possible to disable the Apple network location provider). NLP uses WiFi networks and cell towers to provide an approximate location. |
hello my friend,have fixed this question caused by bladerf xa4(2.0) ? May i get ur script? |
[chown@mbp ~/Downloads/gps-sdr-sim (master *)]$ bladeRF-cli -l hostedxA9-latest.rbf
Loading fpga...
Successfully loaded FPGA bitstream!
[chown@mbp ~/Downloads/gps-sdr-sim (master *)]$ bladeRF-cli -s bladerf.script
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: 1575419998 Hz (Range: [70000000, 6000000000])
RX2 Frequency: 1575419998 Hz (Range: [70000000, 6000000000])
TX1 Frequency: 1575419998 Hz (Range: [47000000, 6000000000])
TX2 Frequency: 1575419998 Hz (Range: [47000000, 6000000000])
Setting RX1 sample rate - req: 2600000 0/1Hz, actual: 2600000 0/1Hz
Setting RX2 sample rate - req: 2600000 0/1Hz, actual: 2600000 0/1Hz
Setting TX1 sample rate - req: 2600000 0/1Hz, actual: 2600000 0/1Hz
Setting TX2 sample rate - req: 2600000 0/1Hz, actual: 2600000 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])
Error (bladerf.script:3): Invalid operation or parameter
The text was updated successfully, but these errors were encountered: