Page 1 of 1

bladeRF-cli set frequency errors, but sets frequency

Posted: Tue Oct 07, 2014 9:45 am
by jolirouge
Hello. I'm trying to get yateBTS working. I've set up an ubuntu live distro (trusty tahr) on a lenovo X1 carbon, and the nuand x115 is plugged in on a USB-SS usb port.

Code: Select all

ubuntu@ubuntu:~/yatebts$ bladeRF-cli -e "info" -e "version" -e "print bandwidth" -e "set frequency 900MHz"

  Serial #:                 9d4c53da663677fd9b0233ecd0cb5432
  VCTCXO DAC calibration:   0x8cd8
  FPGA size:                115 KLE
  FPGA loaded:              yes
  USB bus:                  4
  USB address:              2
  USB speed:                SuperSpeed
  Backend:                  libusb
  Instance:                 0


  bladeRF-cli version:        0.11.1-2014.09-rc2-1-ppatrusty
  libbladeRF version:         0.16.2-2014.09-rc2-1-ppatrusty

  Firmware version:           1.6.1-git-b7e6642
  FPGA version:               0.0.3


  RX Bandwidth:  28000000Hz
  TX Bandwidth:  28000000Hz



Error: An unexpected error occurred



ubuntu@ubuntu:~/yatebts$ bladeRF-cli  -e "print frequency"
  RX Frequency:  900000000Hz
  TX Frequency:  900000000Hz
yate.log snippet

Code: Select all

root@ubuntu:/var/log/yate# egrep -i "error|alert" yate.log
ALERT 140652057347968 22:08:34.7 TRXManager.cpp:430:powerOff: POWEROFF failed with status -1
ALERT 139701930698624 22:08:35.2 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:08:35.225728 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
ALERT 139701930698624 22:08:35.2 runTransceiver.cpp:119:main: Transceiver exiting...
ALERT 140512436037504 22:08:46.0 TRXManager.cpp:430:powerOff: POWEROFF failed with status -12014-10-06_22:08:46.010922 <mbts:MILD> TRXManager.cpp:283:sendCommandPacket: TRX link timeout on attempt 5
ALERT 140354361788288 22:08:46.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:08:46.529464 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
ALERT 140354361788288 22:08:46.5 runTransceiver.cpp:119:main: Transceiver exiting...

yate.log snippet

Code: Select all

root@ubuntu:/var/log/yate# grep -i blade yate.log  
2014-10-06_22:08:34.759645 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:08:34.776480 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 139701930698624 22:08:35.2 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:08:35.225728 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:08:46.064214 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:08:46.081805 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 140354361788288 22:08:46.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:08:46.529464 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:08:57.079425 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:08:57.096306 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 140099891550080 22:08:57.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:08:57.548187 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:08.083594 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:09:08.100946 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 140047837767552 22:09:08.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:08.549364 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:19.082585 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:09:19.098064 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 139913535649664 22:09:19.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:19.553114 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:30.080721 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:09:30.096557 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 140438508341120 22:09:30.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:30.520024 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:41.082878 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:09:41.099839 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 140032773363584 22:09:41.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:41.549863 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:53.083685 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:09:53.101649 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 140699420108672 22:09:53.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:09:53.554630 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:10:04.076172 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:10:04.093297 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 140213077260160 22:10:04.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:10:04.536734 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:10:15.087698 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
2014-10-06_22:10:15.107726 <transceiver:NOTE> bladeRFDevice.cpp:106:open: Opened bladeRF serial=9d4c53da663677fd9b0233ecd0cb5432 firmware version 1.6.1 (1.6.1-git-b7e6642)
ALERT 140495301351296 22:10:15.5 bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred
2014-10-06_22:10:15.560287 <transceiver:WARN> bladeRFDevice.cpp:115:open: Error loading FPGA file hostedx115.rbf: An unexpected error occurred

Re: bladeRF-cli set frequency errors, but sets frequency

Posted: Tue Oct 07, 2014 2:33 pm
by jynik
Hi there,

Could you reproduce that error with the CLI, but with the -v verbose option added to the CLI invocation. This will enable verbose logging in libbladeRF, and we'll likely see what events led up to that "unexpected error" condition.

Also, if you could, please use the "code" tags when pasting logs -- it makes them easier to read! :) For example...

Code: Select all

[code]
... Your log info ...
[/code]

I updated the above post to include these.

Thanks,
Jon

Re: bladeRF-cli set frequency errors, but sets frequency

Posted: Tue Oct 07, 2014 4:13 pm
by jynik
Just another thought -- I see you're using the RC2 build from the PPA. Mind also trying and reporting back on the lastest code from git master?

Re: bladeRF-cli set frequency errors, but sets frequency

Posted: Wed Oct 08, 2014 8:05 am
by jolirouge
jynik wrote:Just another thought -- I see you're using the RC2 build from the PPA. Mind also trying and reporting back on the lastest code from git master?

Ok, will do. This is the correct repo?

Code: Select all

$ git clone https://github.com/Nuand/bladeRF.git ./bladeRF
$ cd ./bladeRF
$ ls  
(from: https://github.com/Nuand/bladeRF/wiki/G ... _eg_Ubuntu )

But it will take me many days to get back to working on it. Will post results from it once I've completed.

Thanks!

Re: bladeRF-cli set frequency errors, but sets frequency

Posted: Thu Oct 09, 2014 6:26 am
by jynik
Hi there,

Yep, that's the correct repo. If you'd like to share the verbose CLI logs, I can look at that in the meantime to see if anything jumps out at me.

Thanks,
Jon