Unable to run osmocom_fft

Having issues with the site, hardware, source code, or any other issues?
Post Reply
jldb
Posts: 8
Joined: Wed Aug 06, 2014 7:23 am

Unable to run osmocom_fft

Post by jldb »

I am attempting to run osmocom_fft on a new bladeRF board and consistently get an error messaage: FATAL: [bladeRF source] Failed to set loopback mode: An unexpected error occurred

The OS is Ubuntu 14.04
I can run bladeRF-cli sucessfully in interactive mode to verify board operation, set & read parameters as well as capture samples to a file.
The output from version and info is:

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

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

bladeRF> info
Serial #: b05481c4f570a68917559d7b626f95a6
VCTCXO DAC calibration: 0x89e1
FPGA size: 40 KLE
FPGA loaded: yes
USB bus: 10
USB address: 4
USB speed: SuperSpeed
Backend: libusb
Instance: 0


However, trying to run osmocom_fft results in this error:

jld@Lab:~/gnuradio$ osmocom_fft -a bladerf=0

linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.007.002-60-g605b470a

gr-osmosdr v0.1.1-10-g9cb023b0 (0.1.2git) gnuradio 3.7.4
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace

FATAL: [bladeRF source] Failed to set loopback mode: An unexpected error occurred

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.

Source has no sample rates (wrong device arguments?).

jld@Lab:~/gnuradio$


I would appreciate guidance or hints on how to troubleshoot the situation.
jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: Unable to run osmocom_fft

Post by jynik »

Any chance you could run that with: -a 'bladerf=0,verbosity=verbose'?

The log will probably be quite large, so for best readability please use "code" blocks here:

Code: Select all

[code]... log contents...
[/code]

I don't believe it should be relevant to the problem here, but could you also verify that upgrading the FW v1.7.1 doesn't address anything? If it somehow does...I'd definitely want to figure out why, as I don't recal there being incompatibility with that FPGA and libbladeRF version.

Under the hood osmocom_fft is setting the loopback mode to "none". So in theory, if the failure is consistent, you should see the same thing in bladeRF-cli if you did:

Code: Select all

bladeRF> print loopback
Loopback mode: none
bladeRF> set loopback none
If you have a chance to try the above out, please do share output with the CLI run with -v verbose so we can compare the verbose output with that being generated while running osmocom_fft.

Thanks,
Jon
jldb
Posts: 8
Joined: Wed Aug 06, 2014 7:23 am

Re: Unable to run osmocom_fft

Post by jldb »

Actually, I did upgrade to v1.7.1 after posting my question, but that didn't solve the symptom. And I am able to set and read loopback using bladeRF-cli, no problem.

However, your reply did produce some progress. I was not quoting the parameter string after -a. When I run the command as: osmocom_fft -a 'bladerf=0' as opposed to: osmocom_fft -a bladerf=0 then it works. But ... only the first time after powering up the Blade unit. If I close the program and then simply run the command again, I get the loopback error message. Here is the result if I run it (a second time after powerup) with verbosity turned on:

Code: Select all

  jld@Lab: osmocom_fft -a 'bladerf=0,verbosity=verbose'

linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.007.002-60-g605b470a

gr-osmosdr v0.1.1-10-g9cb023b0 (0.1.2git) gnuradio 3.7.4
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace 
[DEBUG] Instance: 0
[VERBOSE] Using libusb version: 1.0.17.10830
[VERBOSE] Found a bladeRF (based upon VID/PID)
[VERBOSE] Changing to USB alt setting 0
[VERBOSE] Changing to USB alt setting 1
[VERBOSE] Changing to USB alt setting 2
[VERBOSE] Changing to USB alt setting 1
[VERBOSE] Changing to USB alt setting 2
[VERBOSE] Changing to USB alt setting 1
[VERBOSE] usb_lms_read: 0x44 0x03
[VERBOSE] usb_lms_write: 0x44 0x03
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_write: 0x75 0xc0
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_write: 0x46 0x00
[VERBOSE] usb_lms_write: 0x08 0x00
[VERBOSE] usb_lms_read: 0x54 0x3e
[VERBOSE] usb_lms_read: 0x55 0x0c
[VERBOSE] usb_lms_read: 0x7d 0x00
[VERBOSE] usb_lms_write: 0x7d 0x00
[VERBOSE] usb_lms_read: 0x64 0x36
[VERBOSE] usb_lms_write: 0x64 0x36
[VERBOSE] usb_lms_read: 0x0b 0x08
[VERBOSE] usb_lms_write: 0x0b 0x08
[VERBOSE] usb_lms_read: 0x7d 0x00
[VERBOSE] usb_lms_write: 0x7d 0x00
[VERBOSE] usb_lms_read: 0x70 0x00
[VERBOSE] usb_lms_write: 0x70 0x00
[VERBOSE] usb_lms_read: 0x20 0x34
[VERBOSE] usb_lms_read: 0x21 0x15
[VERBOSE] usb_lms_read: 0x22 0x55
[VERBOSE] usb_lms_read: 0x23 0x55
[VERBOSE] usb_lms_read: 0x25 0x95
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 4
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x25
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1000000000
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x25 0x95
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x25 0x95
[VERBOSE] usb_lms_write: 0x20 0x34
[VERBOSE] usb_lms_write: 0x21 0x15
[VERBOSE] usb_lms_write: 0x22 0x55
[VERBOSE] usb_lms_write: 0x23 0x55
[VERBOSE] usb_lms_read: 0x26 0x8c
[VERBOSE] usb_lms_write: 0x26 0x8c
[VERBOSE] usb_lms_read: 0x27 0xe0
[VERBOSE] usb_lms_write: 0x27 0xe0
[VERBOSE] usb_lms_read: 0x28 0x40
[VERBOSE] usb_lms_write: 0x28 0x40
[VERBOSE] usb_lms_read: 0x29 0x91
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found normal at VCOCAP: 32
[VERBOSE] usb_lms_write: 0x29 0x9f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x99
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x98
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x97
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x96
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x95
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x94
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x93
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x92
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x90
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x89
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x88
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x87
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x86
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x85
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x84
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x83
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x82
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x81
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x80
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found lower limit VCOCAP: 1
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa1
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa2
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa3
[VERBOSE] usb_lms_read: 0x2a 0x43
[VERBOSE] Found upper limit VCOCAP: 34
[VERBOSE] Goldilocks VCOCAP: 17
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] VTUNE: 0
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x75 0xc0
[VERBOSE] usb_lms_write: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x10 0x34
[VERBOSE] usb_lms_read: 0x11 0x15
[VERBOSE] usb_lms_read: 0x12 0x55
[VERBOSE] usb_lms_read: 0x13 0x55
[VERBOSE] usb_lms_read: 0x15 0x95
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 4
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x25
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1000000000
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x15 0x95
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x15 0x95
[VERBOSE] usb_lms_write: 0x10 0x34
[VERBOSE] usb_lms_write: 0x11 0x15
[VERBOSE] usb_lms_write: 0x12 0x55
[VERBOSE] usb_lms_write: 0x13 0x55
[VERBOSE] usb_lms_read: 0x16 0x8c
[VERBOSE] usb_lms_write: 0x16 0x8c
[VERBOSE] usb_lms_read: 0x17 0xe0
[VERBOSE] usb_lms_write: 0x17 0xe0
[VERBOSE] usb_lms_read: 0x18 0x40
[VERBOSE] usb_lms_write: 0x18 0x40
[VERBOSE] usb_lms_read: 0x19 0x81
[VERBOSE] usb_lms_write: 0x19 0xa0
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 32 -> 16
[VERBOSE] usb_lms_write: 0x19 0x90
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 16 -> 8
[VERBOSE] usb_lms_write: 0x19 0x88
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 8 -> 4
[VERBOSE] usb_lms_write: 0x19 0x84
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 4 -> 2
[VERBOSE] usb_lms_write: 0x19 0x82
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 2 -> 1
[VERBOSE] usb_lms_write: 0x19 0x81
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 1 -> 1
[DEBUG] VTUNE is not locked at the end of initial loop
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40

FATAL: [bladeRF source] Failed to set loopback mode: An unexpected error occurred

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.

Source has no sample rates (wrong device arguments?).
With regard to your request to subsequently run bladeRF-cli, I can invoke it in verbose mode, but I'm not sure what command you want me to run ??

However, here is the verbose output for comparison, running osmocom_fft -a 'bladerf=0,verbosity=verbose' the first time after unit powerup. This is the case where it works. Running it a second time without power cycling the unit produces the terminal output above.

Code: Select all

linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.007.002-60-g605b470a

gr-osmosdr v0.1.1-10-g9cb023b0 (0.1.2git) gnuradio 3.7.4
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace 
[DEBUG] Instance: 0
[VERBOSE] Using libusb version: 1.0.17.10830
[VERBOSE] Found a bladeRF (based upon VID/PID)
[VERBOSE] Changing to USB alt setting 0
[VERBOSE] Changing to USB alt setting 2
[VERBOSE] Changing to USB alt setting 3
[VERBOSE] Changing to USB alt setting 2
[VERBOSE] Changing to USB alt setting 3
[DEBUG] Loading FPGA from: /usr/share/Nuand/bladeRF/hostedx40.rbf
[VERBOSE] Changing to USB alt setting 3
[VERBOSE] Changing to USB alt setting 1
[VERBOSE] Default GPIO value found - initializing device
[VERBOSE] usb_lms_read: 0x40 0x02
[VERBOSE] usb_lms_write: 0x40 0x00
[VERBOSE] usb_lms_read: 0x70 0x01
[VERBOSE] usb_lms_write: 0x70 0x00
[VERBOSE] usb_lms_write: 0x05 0x3e
[VERBOSE] usb_lms_write: 0x47 0x40
[VERBOSE] usb_lms_write: 0x59 0x29
[VERBOSE] usb_lms_write: 0x64 0x36
[VERBOSE] usb_lms_write: 0x79 0x37
[DEBUG] Setting integer sample rate: 1000000
[DEBUG] Found r value of: 4
[DEBUG] MSx a + b/c: 316 + 4/5
[DEBUG] MSx a + b/c: 316 + 4/5
[DEBUG] MSx P1: 0x00009c66 (40038) P2: 0x00000002 (2) P3: 0x00000005 (5)
[DEBUG] Calculated samplerate: 1000000 + 0/1
[DEBUG] Writing MS2
[VERBOSE] usb_si5338_read: 0x26 0x00
[DEBUG] Wrote enable register: 0x03
[VERBOSE] usb_si5338_write: 0x26 0x03
[VERBOSE] usb_si5338_write: 0x4b 0x66
[DEBUG] Wrote regs[0]: 0x66
[VERBOSE] usb_si5338_write: 0x4c 0x9c
[DEBUG] Wrote regs[1]: 0x9c
[VERBOSE] usb_si5338_write: 0x4d 0x08
[DEBUG] Wrote regs[2]: 0x08
[VERBOSE] usb_si5338_write: 0x4e 0x00
[DEBUG] Wrote regs[3]: 0x00
[VERBOSE] usb_si5338_write: 0x4f 0x00
[DEBUG] Wrote regs[4]: 0x00
[VERBOSE] usb_si5338_write: 0x50 0x00
[DEBUG] Wrote regs[5]: 0x00
[VERBOSE] usb_si5338_write: 0x51 0x05
[DEBUG] Wrote regs[6]: 0x05
[VERBOSE] usb_si5338_write: 0x52 0x00
[DEBUG] Wrote regs[7]: 0x00
[VERBOSE] usb_si5338_write: 0x53 0x00
[DEBUG] Wrote regs[8]: 0x00
[VERBOSE] usb_si5338_write: 0x54 0x00
[DEBUG] Wrote regs[9]: 0x00
[DEBUG] Wrote r register: 0xc8
[VERBOSE] usb_si5338_write: 0x21 0xc8
[DEBUG] Set actual integer sample rate: 1000000
[DEBUG] Setting integer sample rate: 1000000
[DEBUG] Found r value of: 4
[DEBUG] MSx a + b/c: 316 + 4/5
[DEBUG] MSx a + b/c: 316 + 4/5
[DEBUG] MSx P1: 0x00009c66 (40038) P2: 0x00000002 (2) P3: 0x00000005 (5)
[DEBUG] Calculated samplerate: 1000000 + 0/1
[DEBUG] Writing MS1
[VERBOSE] usb_si5338_read: 0x25 0x00
[DEBUG] Wrote enable register: 0x01
[VERBOSE] usb_si5338_write: 0x25 0x01
[VERBOSE] usb_si5338_write: 0x40 0x66
[DEBUG] Wrote regs[0]: 0x66
[VERBOSE] usb_si5338_write: 0x41 0x9c
[DEBUG] Wrote regs[1]: 0x9c
[VERBOSE] usb_si5338_write: 0x42 0x08
[DEBUG] Wrote regs[2]: 0x08
[VERBOSE] usb_si5338_write: 0x43 0x00
[DEBUG] Wrote regs[3]: 0x00
[VERBOSE] usb_si5338_write: 0x44 0x00
[DEBUG] Wrote regs[4]: 0x00
[VERBOSE] usb_si5338_write: 0x45 0x00
[DEBUG] Wrote regs[5]: 0x00
[VERBOSE] usb_si5338_write: 0x46 0x05
[DEBUG] Wrote regs[6]: 0x05
[VERBOSE] usb_si5338_write: 0x47 0x00
[DEBUG] Wrote regs[7]: 0x00
[VERBOSE] usb_si5338_write: 0x48 0x00
[DEBUG] Wrote regs[8]: 0x00
[VERBOSE] usb_si5338_write: 0x49 0x00
[DEBUG] Wrote regs[9]: 0x00
[DEBUG] Wrote r register: 0xc8
[VERBOSE] usb_si5338_write: 0x20 0xc8
[DEBUG] Set actual integer sample rate: 1000000
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 4
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x25
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1000000000
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x15 0xb1
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x15 0x95
[VERBOSE] usb_lms_write: 0x10 0x34
[VERBOSE] usb_lms_write: 0x11 0x15
[VERBOSE] usb_lms_write: 0x12 0x55
[VERBOSE] usb_lms_write: 0x13 0x55
[VERBOSE] usb_lms_read: 0x16 0x8c
[VERBOSE] usb_lms_write: 0x16 0x8c
[VERBOSE] usb_lms_read: 0x17 0xe0
[VERBOSE] usb_lms_write: 0x17 0xe0
[VERBOSE] usb_lms_read: 0x18 0x40
[VERBOSE] usb_lms_write: 0x18 0x40
[VERBOSE] usb_lms_read: 0x19 0x94
[VERBOSE] usb_lms_write: 0x19 0xa0
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] Found normal at VCOCAP: 32
[VERBOSE] usb_lms_write: 0x19 0x9f
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9e
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9d
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9c
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9b
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9a
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x99
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x98
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x97
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x96
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x95
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x94
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x93
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x92
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x91
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x90
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8f
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8e
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8d
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8c
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8b
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8a
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x89
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x88
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x87
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x86
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x85
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x84
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x83
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x82
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x81
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x80
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] Found lower limit VCOCAP: 1
[VERBOSE] usb_lms_write: 0x19 0xa0
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa1
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa2
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa3
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa4
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa5
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa6
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa7
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa8
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa9
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xaa
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xab
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xac
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xad
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xae
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xaf
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb0
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb1
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb2
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb3
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb4
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb5
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb6
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb7
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb8
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xb9
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xba
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xbb
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xbc
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xbd
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xbe
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xbf
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xc0
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] Found upper limit VCOCAP: 63
[VERBOSE] Goldilocks VCOCAP: 32
[VERBOSE] usb_lms_write: 0x19 0xa0
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] VTUNE: 0
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x44 0x0b
[VERBOSE] usb_lms_write: 0x44 0x0b
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 4
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x25
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1000000000
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x25 0xb1
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x25 0x95
[VERBOSE] usb_lms_write: 0x20 0x34
[VERBOSE] usb_lms_write: 0x21 0x15
[VERBOSE] usb_lms_write: 0x22 0x55
[VERBOSE] usb_lms_write: 0x23 0x55
[VERBOSE] usb_lms_read: 0x26 0x8c
[VERBOSE] usb_lms_write: 0x26 0x8c
[VERBOSE] usb_lms_read: 0x27 0xe0
[VERBOSE] usb_lms_write: 0x27 0xe0
[VERBOSE] usb_lms_read: 0x28 0x40
[VERBOSE] usb_lms_write: 0x28 0x40
[VERBOSE] usb_lms_read: 0x29 0x94
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found normal at VCOCAP: 32
[VERBOSE] usb_lms_write: 0x29 0x9f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x99
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x98
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x97
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x96
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x95
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x94
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x93
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x92
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x90
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x89
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x88
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x87
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x86
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x85
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x84
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x83
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x82
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x81
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x80
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found lower limit VCOCAP: 1
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa1
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa2
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa3
[VERBOSE] usb_lms_read: 0x2a 0x43
[VERBOSE] Found upper limit VCOCAP: 34
[VERBOSE] Goldilocks VCOCAP: 17
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] VTUNE: 0
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_write: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x44 0x0b
[VERBOSE] usb_lms_write: 0x44 0x03
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_write: 0x75 0xc0
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_write: 0x46 0x00
[VERBOSE] usb_lms_write: 0x08 0x00
[VERBOSE] usb_lms_read: 0x54 0x02
[VERBOSE] usb_lms_read: 0x55 0x0c
[VERBOSE] usb_lms_read: 0x7d 0x00
[VERBOSE] usb_lms_write: 0x7d 0x00
[VERBOSE] usb_lms_read: 0x64 0x36
[VERBOSE] usb_lms_write: 0x64 0x36
[VERBOSE] usb_lms_read: 0x0b 0x08
[VERBOSE] usb_lms_write: 0x0b 0x08
[VERBOSE] usb_lms_read: 0x7d 0x00
[VERBOSE] usb_lms_write: 0x7d 0x00
[VERBOSE] usb_lms_read: 0x70 0x00
[VERBOSE] usb_lms_write: 0x70 0x00
[VERBOSE] usb_lms_read: 0x20 0x34
[VERBOSE] usb_lms_read: 0x21 0x15
[VERBOSE] usb_lms_read: 0x22 0x55
[VERBOSE] usb_lms_read: 0x23 0x55
[VERBOSE] usb_lms_read: 0x25 0x95
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 4
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x25
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1000000000
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x25 0x95
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x25 0x95
[VERBOSE] usb_lms_write: 0x20 0x34
[VERBOSE] usb_lms_write: 0x21 0x15
[VERBOSE] usb_lms_write: 0x22 0x55
[VERBOSE] usb_lms_write: 0x23 0x55
[VERBOSE] usb_lms_read: 0x26 0x8c
[VERBOSE] usb_lms_write: 0x26 0x8c
[VERBOSE] usb_lms_read: 0x27 0xe0
[VERBOSE] usb_lms_write: 0x27 0xe0
[VERBOSE] usb_lms_read: 0x28 0x40
[VERBOSE] usb_lms_write: 0x28 0x40
[VERBOSE] usb_lms_read: 0x29 0x91
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found normal at VCOCAP: 32
[VERBOSE] usb_lms_write: 0x29 0x9f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x99
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x98
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x97
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x96
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x95
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x94
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x93
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x92
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x90
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x89
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x88
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x87
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x86
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x85
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x84
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x83
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x82
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x81
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x80
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found lower limit VCOCAP: 1
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa1
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa2
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa3
[VERBOSE] usb_lms_read: 0x2a 0x43
[VERBOSE] Found upper limit VCOCAP: 34
[VERBOSE] Goldilocks VCOCAP: 17
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] VTUNE: 0
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x75 0xc0
[VERBOSE] usb_lms_write: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x10 0x34
[VERBOSE] usb_lms_read: 0x11 0x15
[VERBOSE] usb_lms_read: 0x12 0x55
[VERBOSE] usb_lms_read: 0x13 0x55
[VERBOSE] usb_lms_read: 0x15 0x95
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 4
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x25
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1000000000
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x15 0x95
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x15 0x95
[VERBOSE] usb_lms_write: 0x10 0x34
[VERBOSE] usb_lms_write: 0x11 0x15
[VERBOSE] usb_lms_write: 0x12 0x55
[VERBOSE] usb_lms_write: 0x13 0x55
[VERBOSE] usb_lms_read: 0x16 0x8c
[VERBOSE] usb_lms_write: 0x16 0x8c
[VERBOSE] usb_lms_read: 0x17 0xe0
[VERBOSE] usb_lms_write: 0x17 0xe0
[VERBOSE] usb_lms_read: 0x18 0x40
[VERBOSE] usb_lms_write: 0x18 0x40
[VERBOSE] usb_lms_read: 0x19 0xa0
[VERBOSE] usb_lms_write: 0x19 0xa0
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] Found normal at VCOCAP: 32
[VERBOSE] usb_lms_write: 0x19 0x9f
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9e
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9d
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9c
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9b
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x9a
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x99
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x98
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x97
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x96
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x95
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x94
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x93
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x92
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x91
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x90
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8f
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8e
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8d
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8c
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8b
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x8a
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x89
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x88
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x87
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x86
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x85
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x84
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x83
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x82
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x81
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0x80
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] Found lower limit VCOCAP: 1
[VERBOSE] usb_lms_write: 0x19 0xa0
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa1
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa2
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa3
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] usb_lms_write: 0x19 0xa4
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Found upper limit VCOCAP: 35
[VERBOSE] Goldilocks VCOCAP: 18
[VERBOSE] usb_lms_write: 0x19 0x92
[VERBOSE] usb_lms_read: 0x1a 0x03
[VERBOSE] VTUNE: 0
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x44 0x03
[VERBOSE] usb_lms_write: 0x44 0x0b
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_write: 0x46 0x00
[VERBOSE] usb_lms_write: 0x08 0x00
[bladeRF source] Using nuand LLC bladeRF #0 SN b054...95a6 FW v1.7.1 FPGA v0.0.6
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_write: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x20 0x34
[VERBOSE] usb_lms_read: 0x21 0x15
[VERBOSE] usb_lms_read: 0x22 0x55
[VERBOSE] usb_lms_read: 0x23 0x55
[VERBOSE] usb_lms_read: 0x25 0x95
[DEBUG] Found r value of: 16
[DEBUG] MSx a + b/c: 495 + 0/1
[DEBUG] MSx a + b/c: 495 + 0/1
[DEBUG] MSx P1: 0x0000f580 (62848) P2: 0x00000000 (0) P3: 0x00000001 (1)
[DEBUG] Calculated samplerate: 160000 + 0/1
[DEBUG] Writing MS1
[VERBOSE] usb_si5338_read: 0x25 0x01
[DEBUG] Wrote enable register: 0x01
[VERBOSE] usb_si5338_write: 0x25 0x01
[VERBOSE] usb_si5338_write: 0x40 0x80
[DEBUG] Wrote regs[0]: 0x80
[VERBOSE] usb_si5338_write: 0x41 0xf5
[DEBUG] Wrote regs[1]: 0xf5
[VERBOSE] usb_si5338_write: 0x42 0x00
[DEBUG] Wrote regs[2]: 0x00
[VERBOSE] usb_si5338_write: 0x43 0x00
[DEBUG] Wrote regs[3]: 0x00
[VERBOSE] usb_si5338_write: 0x44 0x00
[DEBUG] Wrote regs[4]: 0x00
[VERBOSE] usb_si5338_write: 0x45 0x00
[DEBUG] Wrote regs[5]: 0x00
[VERBOSE] usb_si5338_write: 0x46 0x01
[DEBUG] Wrote regs[6]: 0x01
[VERBOSE] usb_si5338_write: 0x47 0x00
[DEBUG] Wrote regs[7]: 0x00
[VERBOSE] usb_si5338_write: 0x48 0x00
[DEBUG] Wrote regs[8]: 0x00
[VERBOSE] usb_si5338_write: 0x49 0x00
[DEBUG] Wrote regs[9]: 0x00
[DEBUG] Wrote r register: 0xd0
[VERBOSE] usb_si5338_write: 0x20 0xd0
[INFO] Clamping bandwidth to 1500000Hz
[VERBOSE] usb_lms_read: 0x54 0x02
[VERBOSE] usb_lms_write: 0x54 0x02
[VERBOSE] usb_lms_read: 0x55 0x0c
[VERBOSE] usb_lms_read: 0x54 0x02
[VERBOSE] usb_lms_write: 0x54 0x3e
[VERBOSE] usb_lms_read: 0x54 0x3e
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x76 0x78
[VERBOSE] usb_lms_read: 0x76 0x78
[VERBOSE] usb_lms_read: 0x76 0x78
[VERBOSE] usb_lms_read: 0x65 0x01
[VERBOSE] usb_lms_read: 0x65 0x01
[VERBOSE] usb_lms_read: 0x65 0x01
[VERBOSE] usb_lms_read: 0x54 0x3e
[VERBOSE] usb_lms_read: 0x54 0x3e
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 4
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x25
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1000000000
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x25 0x95
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x25 0x95
[VERBOSE] usb_lms_write: 0x20 0x34
[VERBOSE] usb_lms_write: 0x21 0x15
[VERBOSE] usb_lms_write: 0x22 0x55
[VERBOSE] usb_lms_write: 0x23 0x55
[VERBOSE] usb_lms_read: 0x26 0x8c
[VERBOSE] usb_lms_write: 0x26 0x8c
[VERBOSE] usb_lms_read: 0x27 0xe0
[VERBOSE] usb_lms_write: 0x27 0xe0
[VERBOSE] usb_lms_read: 0x28 0x40
[VERBOSE] usb_lms_write: 0x28 0x40
[VERBOSE] usb_lms_read: 0x29 0x91
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found normal at VCOCAP: 32
[VERBOSE] usb_lms_write: 0x29 0x9f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x99
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x98
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x97
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x96
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x95
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x94
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x93
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x92
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x90
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x89
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x88
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x87
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x86
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x85
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x84
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x83
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x82
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x81
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x80
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found lower limit VCOCAP: 1
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa1
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa2
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa3
[VERBOSE] usb_lms_read: 0x2a 0x43
[VERBOSE] Found upper limit VCOCAP: 34
[VERBOSE] Goldilocks VCOCAP: 17
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] VTUNE: 0
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_write: 0x75 0xd0
[VERBOSE] usb_lms_read: 0x20 0x34
[VERBOSE] usb_lms_read: 0x21 0x15
[VERBOSE] usb_lms_read: 0x22 0x55
[VERBOSE] usb_lms_read: 0x23 0x55
[VERBOSE] usb_lms_read: 0x25 0x95
[DEBUG] Enable Module: RX - True
[VERBOSE] usb_lms_read: 0x70 0x00
[VERBOSE] usb_lms_write: 0x70 0x01
[DEBUG] sync_rx: Worker is idle. Going to reset buf mgmt.
[DEBUG] sync_rx: Reset buf_mgmt consumer index
[DEBUG] sync_rx: Worker is now running.
[DEBUG] Enable Module: RX - False
[VERBOSE] usb_lms_read: 0x70 0x01
[VERBOSE] usb_lms_write: 0x70 0x00
Using Volk machine: avx_32_mmx_orc
Many thanks for the help.
jldb
Posts: 8
Joined: Wed Aug 06, 2014 7:23 am

Re: Unable to run osmocom_fft

Post by jldb »

A bit more: when I say "powerup", that is not strictly true. What I am doing is disconnecting the USB3 cable and then replugging it. Since it is USB powered, this does cycle the power, but it also cycles the USB port connection.
jld
jldb
Posts: 8
Joined: Wed Aug 06, 2014 7:23 am

Re: Unable to run osmocom_fft

Post by jldb »

Still more ....
I realize now that the parameter quoting or not quoting is not relevant. The distinction is whether or not the blade unit has just been powered up. If it has just been powered up, then osmocom_fft runs regardless of whether or not the parameter string is quoted. After that, neither form runs.
jld
jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: Unable to run osmocom_fft

Post by jynik »

Hi jldb,

The quoting shouldn't make a difference, as you determined. I think you're fine there.

With respect to the CLI output, we should see some nice verbose output just by entering interactive mode, perferably the first time you run after plugging it in, so that we see the device initialization process. Once entering the CLI, doing a number of set frequency rx <value> calls may replicate the issue.

So the thing that jumps out at me is the message:

Code: Select all

[DEBUG] VTUNE is not locked at the end of initial loop
This indicates that the device's algorithm to tune the device frequency did not converge to a solution. Now the question is, "why?" I will bring your log to the attention of the the guy that wrote the VTUNE code and review it in more detail.

I've seen a couple of similar issues on the forums and on IRC recently. Given your log, I'm wondering if some variations in newly manufactured boards are exposing an edge-case in the VTUNE code (i.e., a libbladeRF bug). I'll get a couple pairs of eyes on this and touch base soon.

Sorry for the inconvenience, and thank for very much for your patience. We'll do our best to get you up and running with something soon.

- Jon
bpadalino
Posts: 303
Joined: Mon Mar 04, 2013 4:53 pm

Re: Unable to run osmocom_fft

Post by bpadalino »

Looking at the output, the registers we really care about are 0x2a and 0x1a which contain the VTUNE comparison for being too high or too low.

In your case, it looks like they start out changing but then stop changing later down the line.

Do you have a 5V supply you can run from instead of USB power? Do you have a USB3 port you can try from?

By the way, the minimum analog bandwidth the filters are setup for are 1.5MHz, so sampling at 160kHz is not a good idea since you will have a lot of noise folding into the passband. Try 2MHz or so for a samplerate, but I doubt that will change your current issue.

Let me know if you are already on a USB3 port and/or if you have a 5v supply to try.

Brian
jldb
Posts: 8
Joined: Wed Aug 06, 2014 7:23 am

Re: Unable to run osmocom_fft

Post by jldb »

Yes, I'm currently on a USB3 port (not a hub) with a 2ft. SS cable. Still, I'll try an external supply, I've also been wondering if power supply had something to do with this.
jldb
Posts: 8
Joined: Wed Aug 06, 2014 7:23 am

Re: Unable to run osmocom_fft

Post by jldb »

For a check, running with USB3 power only produces the same symptoms: osmocom_fft runs once the first time, then subsequently not, with the "loopback" error. Next, unplugging USB, connecting external +5.5VDC (regulated lab supply with 6A capacity) first, and then USB reconnected second results in exactly the same behavior.

(Minor question, not sure what to expect, but connecting the external 5VDC does not light the D1 LED on board. It doesn't light until USB is connected.)

jld
jldb
Posts: 8
Joined: Wed Aug 06, 2014 7:23 am

Re: Unable to run osmocom_fft

Post by jldb »

result of bladeRF-cli run in verbose mode:

Code: Select all

jld@Lab:~$ bladeRF-cli -i -v verbose 

[VERBOSE] Using libusb version: 1.0.17.10830
[VERBOSE] Found a bladeRF (based upon VID/PID)
[VERBOSE] Changing to USB alt setting 0
[VERBOSE] Changing to USB alt setting 1
[VERBOSE] Changing to USB alt setting 2
[VERBOSE] Changing to USB alt setting 1
[VERBOSE] Changing to USB alt setting 2
[VERBOSE] Changing to USB alt setting 1
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 2
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x24
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1999999999
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x25 0x95
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x25 0x92
[VERBOSE] usb_lms_write: 0x20 0x34
[VERBOSE] usb_lms_write: 0x21 0x15
[VERBOSE] usb_lms_write: 0x22 0x55
[VERBOSE] usb_lms_write: 0x23 0x55
[VERBOSE] usb_lms_read: 0x26 0x8c
[VERBOSE] usb_lms_write: 0x26 0x8c
[VERBOSE] usb_lms_read: 0x27 0xe0
[VERBOSE] usb_lms_write: 0x27 0xe0
[VERBOSE] usb_lms_read: 0x28 0x40
[VERBOSE] usb_lms_write: 0x28 0x40
[VERBOSE] usb_lms_read: 0x29 0x91
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found normal at VCOCAP: 32
[VERBOSE] usb_lms_write: 0x29 0x9f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x9a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x99
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x98
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x97
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x96
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x95
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x94
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x93
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x92
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x90
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8f
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8e
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8d
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8c
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8b
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x8a
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x89
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x88
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x87
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x86
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x85
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x84
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x83
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x82
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x81
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0x80
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] Found lower limit VCOCAP: 1
[VERBOSE] usb_lms_write: 0x29 0xa0
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa1
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa2
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] usb_lms_write: 0x29 0xa3
[VERBOSE] usb_lms_read: 0x2a 0x43
[VERBOSE] Found upper limit VCOCAP: 34
[VERBOSE] Goldilocks VCOCAP: 17
[VERBOSE] usb_lms_write: 0x29 0x91
[VERBOSE] usb_lms_read: 0x2a 0x03
[VERBOSE] VTUNE: 0
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_read: 0x75 0xd0
[VERBOSE] usb_lms_write: 0x75 0xe0
[VERBOSE] usb_lms_read: 0x20 0x34
[VERBOSE] usb_lms_read: 0x21 0x15
[VERBOSE] usb_lms_read: 0x22 0x55
[VERBOSE] usb_lms_read: 0x23 0x55
[VERBOSE] usb_lms_read: 0x25 0x92
[VERBOSE] ---- Frequency ----
[VERBOSE]   x        : 2
[VERBOSE]   nint     : 104
[VERBOSE]   nfrac    : 1398101
[VERBOSE]   freqsel  : 0x24
[VERBOSE]   reference: 38400000
[VERBOSE]   freq     : 1999999999
[VERBOSE] usb_lms_read: 0x09 0x40
[VERBOSE] usb_lms_write: 0x09 0x45
[VERBOSE] usb_lms_read: 0x15 0x95
[VERBOSE] usb_lms_read: 0x08 0x00
[VERBOSE] usb_lms_read: 0x46 0x00
[VERBOSE] usb_lms_write: 0x15 0x92
[VERBOSE] usb_lms_write: 0x10 0x34
[VERBOSE] usb_lms_write: 0x11 0x15
[VERBOSE] usb_lms_write: 0x12 0x55
[VERBOSE] usb_lms_write: 0x13 0x55
[VERBOSE] usb_lms_read: 0x16 0x8c
[VERBOSE] usb_lms_write: 0x16 0x8c
[VERBOSE] usb_lms_read: 0x17 0xe0
[VERBOSE] usb_lms_write: 0x17 0xe0
[VERBOSE] usb_lms_read: 0x18 0x40
[VERBOSE] usb_lms_write: 0x18 0x40
[VERBOSE] usb_lms_read: 0x19 0xa0
[VERBOSE] usb_lms_write: 0x19 0xa0
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 32 -> 16
[VERBOSE] usb_lms_write: 0x19 0x90
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 16 -> 8
[VERBOSE] usb_lms_write: 0x19 0x88
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 8 -> 4
[VERBOSE] usb_lms_write: 0x19 0x84
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 4 -> 2
[VERBOSE] usb_lms_write: 0x19 0x82
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 2 -> 1
[VERBOSE] usb_lms_write: 0x19 0x81
[VERBOSE] usb_lms_read: 0x1a 0x43
[VERBOSE] Too low: 1 -> 1
[DEBUG] VTUNE is not locked at the end of initial loop
[VERBOSE] usb_lms_read: 0x09 0x45
[VERBOSE] usb_lms_write: 0x09 0x40

bladeRF> Set RX frequency: 1999999999Hz
Error: An unexpected error occurred
bladeRF> print frequency

  RX Frequency: 1999999999Hz
  TX Frequency: 1999999999Hz

bladeRF> quit
We see the same "VTUNE not locked" symptom.

jld
jump
Posts: 58
Joined: Mon Mar 03, 2014 5:31 pm
Contact:

Re: Unable to run osmocom_fft

Post by jump »

jldb wrote:(Minor question, not sure what to expect, but connecting the external 5VDC does not light the D1 LED on board. It doesn't light until USB is connected.)
jld
The bladeRF does not have a built-in automatic power switching component. You have to move two jumpers to select between USB powered mode or external power.
jldb
Posts: 8
Joined: Wed Aug 06, 2014 7:23 am

Re: Unable to run osmocom_fft

Post by jldb »

Just looked at the schematic and saw that a jumper had to be changed to use 5VDC from the external jack. So, did that but still no joy. Same symptoms as before.
jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: Unable to run osmocom_fft

Post by jynik »

Hey there jldb, haven't forgotten about you. Still digging into this and trying to understand what's going on. Will touch base soon.

In the meantime, could you email [email protected] and quickly note the issue (link to this thread) so the guys can keep an eye on these VTUNE issues?

Thanks,
Jon
Post Reply