Intel Edison and BladeRF

Having issues with the site, hardware, source code, or any other issues?
Post Reply
fumiko
Posts: 6
Joined: Sun Mar 22, 2015 11:15 pm

Intel Edison and BladeRF

Post by fumiko »

Hi,
I tried to work Intel Edison with BladeRF, but had some bladeRF-cli trouble.
Does anyone succeed to work them? Please tell me anything.

I tried the following.
edison > uname -a
Linux ubilinux 3.10.17-yocto-standard-r2 #7 SMP PREEMPT Thu Feb 26 09:57:06 UTC 2015 i686 GNU/Linux

edison > dpkg -l |grep libusb
ii libusb-0.1-4:i386 2:0.1.12-20+nmu1 i386 userspace USB programming library
ii libusb-1.0-0:i386 2:1.0.19-1~bpo70+1 i386 userspace USB programming library
ii libusb-1.0-0-dbg:i386 2:1.0.19-1~bpo70+1 i386 userspace USB programming library development files
ii libusb-1.0-0-dev:i386 2:1.0.19-1~bpo70+1 i386 userspace USB programming library development files
ii libusb-dev 2:0.1.12-20+nmu1 i386 userspace USB programming library development files


After plugging bladeRF,
edison > dmesg
[ 3758.274941] usb 1-1: new high-speed USB device number 2 using dwc3-host
[ 3758.298433] usb 1-1: New USB device found, idVendor=1d50, idProduct=6066
[ 3758.298464] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3758.298486] usb 1-1: Product: bladeRF
[ 3758.298504] usb 1-1: Manufacturer: Nuand
[ 3758.298522] usb 1-1: SerialNumber: xxxxxxxxxxxx
[ 3758.485094] usb 1-1: reset high-speed USB device number 2 using dwc3-host


edison > lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1d50:6066 OpenMoko, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

edison > bladeRF-cli -i -v verbose
[VERBOSE @ libusb.c:515] Using libusb version: 1.0.19.10903
[VERBOSE @ libusb.c:406] Found a bladeRF (idx=1)
[VERBOSE @ libusb.c:458] USB port reset succeeded for bladeRF xxxxxxxxxxxx
[INFO @ usb.c:459] Waiting for device to become ready...
[DEBUG @ usb.c:461] Retry 02/30.
[DEBUG @ usb.c:461] Retry 03/30.
[DEBUG @ usb.c:461] Retry 04/30.
[DEBUG @ usb.c:461] Retry 05/30.
[DEBUG @ usb.c:461] Retry 06/30.
[DEBUG @ usb.c:461] Retry 07/30.
:
[DEBUG @ usb.c:461] Retry 29/30.
[DEBUG @ usb.c:461] Retry 30/30.
[DEBUG @ usb.c:469] Timed out while waiting for device.
Failed to open device (first available): Operation timed out

Distribusion is ubilinux.
I built bladeRF-cli from github's source code and libusb's version is 1.0.19.


Thanks,
fumiko
Posts: 6
Joined: Sun Mar 22, 2015 11:15 pm

Re: Intel Edison and BladeRF

Post by fumiko »

Thank you for your reply. It works. (Several problems remains.)
bladerf_edison.jpg
(4) Your check list is very helpful.
It is because of no firmware loaded with DC supply and an USB3.0 cable.
I tried the follow methodology, and it works.

1. I tried to check firmware with bladeRF and universal PC, but bladeRF-cli on universal PC timed out.
2. I connected an USB3.0 cable from universal PC to bladeRF without an DC cable. (J70 pin = USB supply type)
3. After that, firmwares are loaded from universal PC.
4. I changed J70 to DC supply type.
5. Loading firmware once, Edison, bladeRF, USB3.0, and DC cable's connection works well.

------------
Other details for Edison and bladeRF are as follows.

- Edison does not have USB3.0 port physically. And an OTG cable is needed for connecting with bladeRF.
- Edison may not be able to supply power for bladeRF.
- A DC cable needed for bladeRF and voltage is 5V. RAPC712X is 2.5mm inner diameter and 5V.
- External power is needed for Edison and voltage is 7 - 15V. I use 9V for Edison.




But I have related problems yet. If you have more concern, I will try check and debugs.

1. No firmware is loaded with DC suppply.
2. "Rx overrun" occured with verbose mode and 1M samplerate
There is no Rx overrun message with universal PC. It may be Edison's performance limit..


Thanks,
Post Reply