syslog errors, bladeRF-cli exits immediately upon "rx start"

Having issues with the site, hardware, source code, or any other issues?
Post Reply
johnm
Posts: 1
Joined: Thu Aug 08, 2013 8:48 am

syslog errors, bladeRF-cli exits immediately upon "rx start"

Post by johnm »

No errors on build, latest master from git. Finds the board okay. Tried both shipped fx3 firmware and the latest. Tried both versions of the hostedx115 FPGA binary. I load the FPGA and the light begins blinking, and I begin the session below. Upon "rx start" it immediately exits without error.

I am running under VMWare on a Windows 7 machine. USB 3.0 is enabled in VMWare player.

Here is the device being detected:

Code: Select all

Aug  8 07:56:52 ubuntu kernel: [375547.788317] usb 4-1: New USB device found, id
Vendor=1d50, idProduct=6066
Aug  8 07:56:52 ubuntu kernel: [375547.788321] usb 4-1: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
Aug  8 07:56:52 ubuntu kernel: [375547.788323] usb 4-1: Product: bladeRF
Aug  8 07:56:52 ubuntu kernel: [375547.788326] usb 4-1: Manufacturer: Nuand
Aug  8 07:56:52 ubuntu kernel: [375547.788495] xhci_hcd 0000:03:00.0: xHCI xhci_
add_endpoint called with enabled ep ffff8803c44cf0c0
Aug  8 07:56:52 ubuntu kernel: [375547.788498] xhci_hcd 0000:03:00.0: xHCI xhci_
add_endpoint called with enabled ep ffff8803defb3180
Aug  8 07:56:52 ubuntu kernel: [375547.813527] nuand_bladerf 4-1:1.0: Nuand blad
eRF device is now attached
Aug  8 07:56:52 ubuntu mtp-probe: checking bus 4, device 11: "/sys/devices/pci00
00:00/0000:00:15.0/0000:03:00.0/usb4/4-1"
Aug  8 07:56:52 ubuntu mtp-probe: bus: 4, device: 11 was not an MTP device
Aug  8 07:57:19 ubuntu kernel: [375575.382854] nuand_bladerf 4-1:1.0: Failed to 
read peripheral response
Aug  8 07:57:19 ubuntu kernel: [375575.387084] nuand_bladerf 4-1:1.0: Failed to 
read peripheral response
Aug  8 07:57:19 ubuntu kernel: [375575.391279] nuand_bladerf 4-1:1.0: Failed to 
read peripheral response
Here is my full bladeRF-cli session:

Code: Select all

johnm@ubuntu:~/git/bladeRF/linux/apps/bin# ./bladeRF-cli 
bladeRF> probe

    Path: /dev/bladerf0
    Serial: 0x0000000000000000
    Firmware: v1.0
    FPGA: v0.0

bladeRF> set frequency 1000000000  # Tune to 1 GHz on both RX and TX

  Set RX frequency: 1000000000Hz
  Set TX frequency: 1000000000Hz

bladeRF> set samplerate 10000000   # Sample @ 10 MHz

  Setting RX sample rate - req:  10000000Hz, actual:  10000000Hz
  Setting TX sample rate - req:  10000000Hz, actual:  10000000Hz

bladeRF> set bandwidth 28000000    # 28 MHz bandwidth

  Set RX bandwidth - req: 28000000Hz actual: 28000000Hz
  Set TX bandwidth - req: 28000000Hz actual: 28000000Hz

bladeRF> 
bladeRF> # Configure gains
bladeRF> set lnagain bypass
bladeRF> set txvga1 -14
  Set TXVGA1 to -14
bladeRF> set txvga2 20
bladeRF> set rxvga1 20
bladeRF> set rxvga2 20
bladeRF> 
bladeRF> # Print out a few settings
bladeRF> 
bladeRF> print frequency

  RX Frequency: 1228800000Hz
  TX Frequency: 1228800000Hzroot

bladeRF> print samplerate
  RX sample rate: 10000000
  TX sample rate: 10000000
bladeRF> print bandwidth

  RX Bandwidth:   1500000Hz
  TX Bandwidth:   1500000Hz

bladeRF> 
bladeRF> rx config file=samples.csv format=csv n=4096
bladeRF> rx start
johnm@ubuntu:~/git/bladeRF/linux/apps/bin# 

Here is the result in syslog as those commands are issued:

Code: Select all

Aug  8 08:49:40 ubuntu kernel: [378711.116489] nuand_bladerf 4-1:1.0: Failed to read peripheral response
Aug  8 08:49:40 ubuntu kernel: [378711.123708] nuand_bladerf 4-1:1.0: Failed to read peripheral response
Aug  8 08:49:40 ubuntu kernel: [378711.127648] nuand_bladerf 4-1:1.0: Failed to read peripheral response
Aug  8 08:49:49 ubuntu kernel: [378720.232451] nuand_bladerf 4-1:1.0: Failed to read peripheral response
Aug  8 08:49:49 ubuntu kernel: [378720.236662] nuand_bladerf 4-1:1.0: Failed to read peripheral response
Aug  8 08:49:49 ubuntu kernel: [378720.241023] nuand_bladerf 4-1:1.0: Failed to read peripheral response
It's probably something boneheaded. I apologize if it is. I'm new to this :)

Thank you,
john
incaseywood
Posts: 2
Joined: Mon Jul 15, 2013 3:32 pm
Location: Utah, USA

Re: syslog errors, bladeRF-cli exits immediately upon "rx st

Post by incaseywood »

I was having issues accessing and using the bladeRF at first as well and was having it exit out whenever I tried to run rx start. On my system only root had access to the /dev/ directory, so I couldn't get any response unless I ran the cli or gnuradio for that matter as root.

example

$ sudo ./bladeRF-cli
open /dev/bladerf0
etc.

or

$ sudo gnuradion-companion

In all reality it is probably an issue with my installation and your problem may very well be unrelated, but maybe it's worth a try.
Either way, good luck!
winkstu
Posts: 2
Joined: Thu Aug 22, 2013 1:12 pm

Re: syslog errors, bladeRF-cli exits immediately upon "rx st

Post by winkstu »

Having the same problem (Failed to read peripheral response) on Win8/vmware/usb2.0 using root/sudo. Any solution so far?
syntroniks
Posts: 19
Joined: Fri Mar 01, 2013 9:28 am

Re: syslog errors, bladeRF-cli exits immediately upon "rx st

Post by syntroniks »

FWIW winktsu, I did not have any luck with USB2.0 ports, but then again, this was a few weeks ago before libusb support. I would really recommend a USB3 card for your computer.
winkstu
Posts: 2
Joined: Thu Aug 22, 2013 1:12 pm

Re: syslog errors, bladeRF-cli exits immediately upon "rx st

Post by winkstu »

Thanks for your reply. I tried to get it working within vmware and native on win8, but no luck. In the end, I bought another pc with usb3 and ubuntu. And it works :-)

For playing around, nevertheless, it would be useful if vmware is also supported although I do understand that this has probably not the highest priority at the moment.
Post Reply