115KLE FPGA reporting size as 40???

Having issues with the site, hardware, source code, or any other issues?
Post Reply
schrambo
Posts: 16
Joined: Sat Mar 02, 2013 1:33 am
Location: Perth, Western Australia

115KLE FPGA reporting size as 40???

Post by schrambo »

HI everyone.

This may be a bug, it may be a known issue, it may also just be a simple mislabeled variable values. I'm not sure. But when running the "version" command under bladeRF-cli, my 115KLE FPGA bladeRF reports the FPGA size as 40 KLE" not 115?, also the FPGA version is not reported.

Here is me loading the 115 firmware, querying version, then trying to load the 40 firmware just to test and confirm things.

Code: Select all

schrambo@daredevil ~/nuand $ bladeRF-cli -l bladeRF/fpga_firmware/hostedx115.rbf 
Loading fpga...
Done.
bladeRF> version

Serial #: 072d504e8bef4e4148afac852a93a579
VCTCXO DAC calibration: 0x9b97
FPGA size: 40 KLE
Firmware version: 1.1
FPGA version:     0.0

bladeRF> q
schrambo@daredevil ~/nuand $ bladeRF-cli -l bladeRF/fpga_firmware/hostedx40.rbf 
Loading fpga...
Error: failed to load FPGA: Operation timed out
Could not load fpga
bladeRF> 
The card appears to be working fine as this is the first weird behavour I have noticed, here is an example of me setting soem values to the card etc. (DISCLAIMER: Linux expert / complete RF noob)

Code: Select all

schrambo@daredevil ~/nuand $ bladeRF-cli 
bladeRF> set frequency 1575420000

  Set RX frequency: 1575420000Hz
  Set TX frequency: 1575420000Hz

bladeRF> set samplerate 1638000

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

bladeRF> set bandwidth 2000000 

  Set RX bandwidth - req:  2000000Hz actual:  2500000Hz
  Set TX bandwidth - req:  2000000Hz actual:  2500000Hz

bladeRF> version

Serial #: 072d504e8bef4e4148afac852a93a579
VCTCXO DAC calibration: 0x9b97
FPGA size: 40 KLE
Firmware version: 1.1
FPGA version:     0.0

bladeRF> q
Running Linux Mint 15 3.8.0-19-generic x86_64.
Card is detected fine by the system.

Code: Select all

schrambo@daredevil ~/nuand $ dmesg 
... <SNIP> ... 
[1221055.323614] usb 1-1.1: Product: bladeRF
[1221055.323619] usb 1-1.1: Manufacturer: Nuand
[1221234.411095] usb 1-1.1: USB disconnect, device number 16
[1221240.494621] usb 1-1.1: new high-speed USB device number 17 using ehci-pci
[1221240.588860] usb 1-1.1: New USB device found, idVendor=1d50, idProduct=6066
[1221240.588868] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1221240.588874] usb 1-1.1: Product: bladeRF
[1221240.588879] usb 1-1.1: Manufacturer: Nuand

schrambo@daredevil ~/nuand $ lsusb
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 017: ID 1d50:6066 OpenMoko, Inc. 
Bus 001 Device 003: ID 0489:e00d Foxconn / Hon Hai Broadcom Bluetooth 2.1 Device
Bus 002 Device 003: ID 5986:0190 Acer, Inc 
Is this something I should be concerned about?
I am yet to get anything working under gnuradio as I am a complete noob to the program and the world of RF development etc, however I plan to change that completely around soon.
bpadalino
Posts: 303
Joined: Mon Mar 04, 2013 4:53 pm

Re: 115KLE FPGA reporting size as 40???

Post by bpadalino »

There was a recent commit in the repository which caught a bug in reporting the size of the FPGA incorrectly.

Can you pull the latest repo and see if it still reports the same incorrect size?
schrambo
Posts: 16
Joined: Sat Mar 02, 2013 1:33 am
Location: Perth, Western Australia

Re: 115KLE FPGA reporting size as 40???

Post by schrambo »

Hello,

Thanks for the suggestion, Yes this did help. Just had to recompile the new pull, load the firmwares and its detected fine. Already I can notice some changes bladerf-cli :)
Post Reply