Nuand / bladeRF

bladeRF USB 3.0 Superspeed Software Defined Radio Source Code
http://nuand.com
Other
1.15k stars 459 forks source link

Calibration issue: "cal: Invalid module provided (lms)" #325

Closed monkeyxite closed 10 years ago

monkeyxite commented 10 years ago

issues to start "cal", for start "cal lms".

bladeRF> version

  bladeRF-cli version:        0.10.7-git-a9ad36f
  libbladeRF version:         0.14.0-git-a9ad36f

  Firmware version:           1.7.1-git-ca697ee
  FPGA version:               0.0.6

bladeRF> info

  Serial #:                 ff80c52ccc7d038de739214300d978c8
  VCTCXO DAC calibration:   0x8c59
  FPGA size:                115 KLE
  FPGA loaded:              yes
  USB bus:                  2
  USB address:              12
  USB speed:                Hi-Speed
  Backend:                  libusb
  Instance:                 0
bladeRF> cal
[WARNING] Never converged - DC_CLBR_DONE: 0 DC_LOCK: 7
Error: An unexpected error occurred
bladeRF> cal lms
cal: Invalid module provided (lms)
jynik commented 10 years ago

Could you grab this failure with verbose input enabled (via the -v verbose command line option)? Thanks!

monkeyxite commented 10 years ago

verbose outputs

[VERBOSE] Using libusb version: <= 1.0.9
[VERBOSE] Non-bladeRF device found: VID 0424, PID 2514
[VERBOSE] Found a bladeRF (based upon VID/PID)
[VERBOSE] Claimed all inferfaces successfully
[VERBOSE] Change to alternate interface 0
[VERBOSE] Change to alternate interface 1
[VERBOSE] Changed into RF link mode: LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
[VERBOSE] Peripheral access: [ 0x4e, 0x81, 0x0c, 0xff ]
[VERBOSE] Peripheral access: [ 0x4e, 0x81, 0x0d, 0xff ]
[VERBOSE] Peripheral access: [ 0x4e, 0x81, 0x0e, 0xff ]
[VERBOSE] Peripheral access: [ 0x4e, 0x81, 0x0f, 0xff ]
[DEBUG] Raw FPGA Version: 0x00060000
[DEBUG] bladerf_open_with_devinfo: fw=v1.7.1-git-ca697ee serial=ff80c52ccc7d038de739214300d978c8 trim=0x8c59 fpga_size=115
[VERBOSE] Peripheral access: [ 0x4e, 0x81, 0x00, 0xff ]
[VERBOSE] Peripheral access: [ 0x4e, 0x81, 0x01, 0xff ]
[VERBOSE] Peripheral access: [ 0x4e, 0x81, 0x02, 0xff ]
[VERBOSE] Peripheral access: [ 0x4e, 0x81, 0x03, 0xff ]
bladeRF> cal
[DEBUG] Enable Module: TX - True
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x40, 0xff ]
[VERBOSE] lusb_lms_read: 0x40 0x02
[VERBOSE] lusb_lms_write: 0x40 0x02
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x40, 0x02 ]
[DEBUG] Enable Module: RX - True
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x70, 0xff ]
[VERBOSE] lusb_lms_read: 0x70 0x01
[VERBOSE] lusb_lms_write: 0x70 0x01
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x70, 0x01 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x09, 0xff ]
[VERBOSE] lusb_lms_read: 0x09 0x52
[VERBOSE] lusb_lms_write: 0x09 0x72
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x09, 0x72 ]
[DEBUG] Calibrating module 00:00
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x03, 0xff ]
[VERBOSE] lusb_lms_read: 0x03 0x08
[VERBOSE] lusb_lms_write: 0x03 0x08
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x03, 0x08 ]
[VERBOSE] lusb_lms_write: 0x03 0x28
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x03, 0x28 ]
[VERBOSE] lusb_lms_write: 0x03 0x08
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x03, 0x08 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x01, 0xff ]
[VERBOSE] lusb_lms_read: 0x01 0xe9
[DEBUG] Converged in 1 iterations for  0: 0
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x00, 0xff ]
[VERBOSE] lusb_lms_read: 0x00 0x17
[DEBUG] DC_REGVAL: 23
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x35, 0xff ]
[VERBOSE] lusb_lms_read: 0x35 0x17
[VERBOSE] lusb_lms_write: 0x35 0x17
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x35, 0x17 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x55, 0xff ]
[VERBOSE] lusb_lms_read: 0x55 0x17
[VERBOSE] lusb_lms_write: 0x55 0x17
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x55, 0x17 ]
[VERBOSE] lusb_lms_write: 0x09 0x52
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x09, 0x52 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x09, 0xff ]
[VERBOSE] lusb_lms_read: 0x09 0x52
[VERBOSE] lusb_lms_write: 0x09 0x52
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x09, 0x52 ]
[DEBUG] Calibrating module 30:00
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x33, 0xff ]
[VERBOSE] lusb_lms_read: 0x33 0x09
[VERBOSE] lusb_lms_write: 0x33 0x08
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x33, 0x08 ]
[VERBOSE] lusb_lms_write: 0x33 0x28
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x33, 0x28 ]
[VERBOSE] lusb_lms_write: 0x33 0x08
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x33, 0x08 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x31, 0xff ]
[VERBOSE] lusb_lms_read: 0x31 0x14
[DEBUG] Converged in 1 iterations for 30: 0
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x30, 0xff ]
[VERBOSE] lusb_lms_read: 0x30 0x1d
[DEBUG] DC_REGVAL: 29
[DEBUG] Calibrating module 30:01
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x33, 0xff ]
[VERBOSE] lusb_lms_read: 0x33 0x08
[VERBOSE] lusb_lms_write: 0x33 0x09
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x33, 0x09 ]
[VERBOSE] lusb_lms_write: 0x33 0x29
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x33, 0x29 ]
[VERBOSE] lusb_lms_write: 0x33 0x09
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x33, 0x09 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x31, 0xff ]
[VERBOSE] lusb_lms_read: 0x31 0x14
[DEBUG] Converged in 1 iterations for 30: 1
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x30, 0xff ]
[VERBOSE] lusb_lms_read: 0x30 0x29
[DEBUG] DC_REGVAL: 41
[VERBOSE] lusb_lms_write: 0x09 0x52
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x09, 0x52 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x09, 0xff ]
[VERBOSE] lusb_lms_read: 0x09 0x52
[VERBOSE] lusb_lms_write: 0x09 0x5a
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x09, 0x5a ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x71, 0xff ]
[VERBOSE] lusb_lms_read: 0x71 0x00
[VERBOSE] lusb_lms_write: 0x71 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x71, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x7c, 0xff ]
[VERBOSE] lusb_lms_read: 0x7c 0x1c
[VERBOSE] lusb_lms_write: 0x7c 0x1c
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x7c, 0x1c ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x75, 0xff ]
[VERBOSE] lusb_lms_read: 0x75 0xe0
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x75, 0xff ]
[VERBOSE] lusb_lms_read: 0x75 0xe0
[VERBOSE] lusb_lms_write: 0x75 0xe0
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x75, 0xe0 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x76, 0xff ]
[VERBOSE] lusb_lms_read: 0x76 0x78
[VERBOSE] lusb_lms_write: 0x76 0x78
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x76, 0x78 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x65, 0xff ]
[VERBOSE] lusb_lms_read: 0x65 0x08
[VERBOSE] lusb_lms_write: 0x65 0x0a
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x65, 0x0a ]
[DEBUG] Calibrating module 50:00
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x53, 0xff ]
[VERBOSE] lusb_lms_read: 0x53 0x09
[VERBOSE] lusb_lms_write: 0x53 0x08
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x53, 0x08 ]
[VERBOSE] lusb_lms_write: 0x53 0x28
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x53, 0x28 ]
[VERBOSE] lusb_lms_write: 0x53 0x08
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x53, 0x08 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x51, 0xff ]
[VERBOSE] lusb_lms_read: 0x51 0x14
[DEBUG] Converged in 1 iterations for 50: 0
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x50, 0xff ]
[VERBOSE] lusb_lms_read: 0x50 0x17
[DEBUG] DC_REGVAL: 23
[DEBUG] Calibrating module 50:01
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x53, 0xff ]
[VERBOSE] lusb_lms_read: 0x53 0x08
[VERBOSE] lusb_lms_write: 0x53 0x09
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x53, 0x09 ]
[VERBOSE] lusb_lms_write: 0x53 0x29
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x53, 0x29 ]
[VERBOSE] lusb_lms_write: 0x53 0x09
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x53, 0x09 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x51, 0xff ]
[VERBOSE] lusb_lms_read: 0x51 0x19
[DEBUG] Converged in 1 iterations for 50: 1
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x50, 0xff ]
[VERBOSE] lusb_lms_read: 0x50 0x15
[DEBUG] DC_REGVAL: 21
[VERBOSE] lusb_lms_write: 0x65 0x08
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x65, 0x08 ]
[VERBOSE] lusb_lms_write: 0x76 0x78
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x76, 0x78 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x75, 0xff ]
[VERBOSE] lusb_lms_read: 0x75 0xe0
[VERBOSE] lusb_lms_write: 0x75 0xe0
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x75, 0xe0 ]
[VERBOSE] lusb_lms_write: 0x71 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x71, 0x00 ]
[VERBOSE] lusb_lms_write: 0x7c 0x1c
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x7c, 0x1c ]
[VERBOSE] lusb_lms_write: 0x09 0x52
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x09, 0x52 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x09, 0xff ]
[VERBOSE] lusb_lms_read: 0x09 0x52
[VERBOSE] lusb_lms_write: 0x09 0x52
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x09, 0x52 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x71, 0xff ]
[VERBOSE] lusb_lms_read: 0x71 0x00
[VERBOSE] lusb_lms_write: 0x71 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x71, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x7c, 0xff ]
[VERBOSE] lusb_lms_read: 0x7c 0x1c
[VERBOSE] lusb_lms_write: 0x7c 0x1c
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x7c, 0x1c ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x75, 0xff ]
[VERBOSE] lusb_lms_read: 0x75 0xe0
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x75, 0xff ]
[VERBOSE] lusb_lms_read: 0x75 0xe0
[VERBOSE] lusb_lms_write: 0x75 0xe0
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x75, 0xe0 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x76, 0xff ]
[VERBOSE] lusb_lms_read: 0x76 0x78
[VERBOSE] lusb_lms_write: 0x76 0x78
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x76, 0x78 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x65, 0xff ]
[VERBOSE] lusb_lms_read: 0x65 0x08
[VERBOSE] lusb_lms_write: 0x65 0x0a
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x65, 0x0a ]
[DEBUG] Calibrating module 60:00
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x63, 0xff ]
[VERBOSE] lusb_lms_read: 0x63 0x00
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[VERBOSE] Peripheral access: [ 0x4e, 0x91, 0x61, 0xff ]
[VERBOSE] lusb_lms_read: 0x61 0x00
[DEBUG] DC_CLBR_DONE but no DC_LOCK - rekicking
[VERBOSE] lusb_lms_write: 0x63 0x20
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x20 ]
[VERBOSE] lusb_lms_write: 0x63 0x00
[VERBOSE] Peripheral access: [ 0x4e, 0x51, 0x63, 0x00 ]
[WARNING] Never converged - DC_CLBR_DONE: 0 DC_LOCK: 0
Error: An unexpected error occurred
bladeRF> [VERBOSE] Change to alternate interface 
bladeRF> cal lms
cal: Invalid module provided (lms)

Please let me know if further info is needed.

jynik commented 10 years ago

While reviewing your output, I noticed that some of the [VERBOSE] are indicative of older code. Your libbladeRF version confirms this.

Before I continue on my end, can you update your libbladeRF and reproduce it with the latest and greatest code? Again, a verbose log will be very helpful, since I haven't been able to replicate these particular symptoms.

monkeyxite commented 10 years ago

Hey Jon! Seems things go well with latest codes in git. I did not expect host lib would impact calibration.
Need to more diving into coding now ;)

bladeRF-cli -i -v verbose
[VERBOSE @ libusb.c:333] Using libusb version: <= 1.0.9
[VERBOSE @ libusb.c:341] Found a bladeRF (based upon VID/PID)
[VERBOSE @ usb.c:251] Changing to USB alt setting 0
[VERBOSE @ usb.c:251] Changing to USB alt setting 1
[VERBOSE @ usb.c:251] Changing to USB alt setting 2
[VERBOSE @ usb.c:251] Changing to USB alt setting 1
[VERBOSE @ usb.c:251] Changing to USB alt setting 2
[VERBOSE @ usb.c:251] Changing to USB alt setting 1
bladeRF> version

  bladeRF-cli version:        0.11.1-git-34151f6-dirty
  libbladeRF version:         0.16.2-git-34151f6-dirty

  Firmware version:           1.7.1-git-ca697ee
  FPGA version:               0.0.6
bladeRF> cal

  Error: Invalid number of arguments provided

bladeRF> cal lms
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x36
[VERBOSE @ usb.c:989] usb_lms_read: 0x20 0x5d
[VERBOSE @ usb.c:989] usb_lms_read: 0x21 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x22 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x23 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x25 0xfd
[DEBUG @ si5338.c:275] Reading MS1
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x25 0x01
[DEBUG @ si5338.c:284] Read enable register: 0x01
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x40 0x70
[DEBUG @ si5338.c:293] Read regs[0]: 0x70
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x41 0xfb
[DEBUG @ si5338.c:293] Read regs[1]: 0xfb
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x42 0x40
[DEBUG @ si5338.c:293] Read regs[2]: 0x40
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x43 0x00
[DEBUG @ si5338.c:293] Read regs[3]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x44 0x00
[DEBUG @ si5338.c:293] Read regs[4]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x45 0x00
[DEBUG @ si5338.c:293] Read regs[5]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x46 0x19
[DEBUG @ si5338.c:293] Read regs[6]: 0x19
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x47 0x00
[DEBUG @ si5338.c:293] Read regs[7]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x48 0x00
[DEBUG @ si5338.c:293] Read regs[8]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x49 0x00
[DEBUG @ si5338.c:293] Read regs[9]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x20 0xc0
[DEBUG @ si5338.c:303] Read r register: 0xc0
[DEBUG @ si5338.c:145] Unpacked P1: 0x0000fb70 (64368) P2: 0x00000010 (16) P3: 0x00000019 (25)
[DEBUG @ si5338.c:163] Unpacked a + b/c: 506 + 22/25
[DEBUG @ si5338.c:164] Unpacked r: 1
[DEBUG @ si5338.c:325] Calculated samplerate: 2500000 + 0/1
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x36
[VERBOSE @ usb.c:968] usb_lms_write: 0x54 0x36
[VERBOSE @ usb.c:989] usb_lms_read: 0x55 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x36
[VERBOSE @ usb.c:968] usb_lms_write: 0x54 0x3e
[DEBUG @ si5338.c:464] Setting integer sample rate: 3000000
[DEBUG @ si5338.c:356] Found r value of: 1
[DEBUG @ si5338.c:365] MSx a + b/c: 422 + 2/5
[DEBUG @ si5338.c:393] MSx a + b/c: 422 + 2/5
[DEBUG @ si5338.c:199] MSx P1: 0x0000d133 (53555) P2: 0x00000001 (1) P3: 0x00000005 (5)
[DEBUG @ si5338.c:325] Calculated samplerate: 3000000 + 0/1
[DEBUG @ si5338.c:221] Writing MS1
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x25 0x01
[DEBUG @ si5338.c:231] Wrote enable register: 0x01
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x25 0x01
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x40 0x33
[DEBUG @ si5338.c:245] Wrote regs[0]: 0x33
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x41 0xd1
[DEBUG @ si5338.c:245] Wrote regs[1]: 0xd1
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x42 0x04
[DEBUG @ si5338.c:245] Wrote regs[2]: 0x04
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x43 0x00
[DEBUG @ si5338.c:245] Wrote regs[3]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x44 0x00
[DEBUG @ si5338.c:245] Wrote regs[4]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x45 0x00
[DEBUG @ si5338.c:245] Wrote regs[5]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x46 0x05
[DEBUG @ si5338.c:245] Wrote regs[6]: 0x05
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x47 0x00
[DEBUG @ si5338.c:245] Wrote regs[7]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x48 0x00
[DEBUG @ si5338.c:245] Wrote regs[8]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x49 0x00
[DEBUG @ si5338.c:245] Wrote regs[9]: 0x00
[DEBUG @ si5338.c:260] Wrote r register: 0xc0
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x20 0xc0
[DEBUG @ si5338.c:480] Set actual integer sample rate: 3000000
[VERBOSE @ usb.c:989] usb_lms_read: 0x34 0x36
[VERBOSE @ usb.c:989] usb_lms_read: 0x10 0x5d
[VERBOSE @ usb.c:989] usb_lms_read: 0x11 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x12 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x13 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x15 0xfd
[DEBUG @ si5338.c:275] Reading MS2
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x26 0x03
[DEBUG @ si5338.c:284] Read enable register: 0x03
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x4b 0x70
[DEBUG @ si5338.c:293] Read regs[0]: 0x70
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x4c 0xfb
[DEBUG @ si5338.c:293] Read regs[1]: 0xfb
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x4d 0x40
[DEBUG @ si5338.c:293] Read regs[2]: 0x40
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x4e 0x00
[DEBUG @ si5338.c:293] Read regs[3]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x4f 0x00
[DEBUG @ si5338.c:293] Read regs[4]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x50 0x00
[DEBUG @ si5338.c:293] Read regs[5]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x51 0x19
[DEBUG @ si5338.c:293] Read regs[6]: 0x19
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x52 0x00
[DEBUG @ si5338.c:293] Read regs[7]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x53 0x00
[DEBUG @ si5338.c:293] Read regs[8]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x54 0x00
[DEBUG @ si5338.c:293] Read regs[9]: 0x00
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x21 0xc0
[DEBUG @ si5338.c:303] Read r register: 0xc0
[DEBUG @ si5338.c:145] Unpacked P1: 0x0000fb70 (64368) P2: 0x00000010 (16) P3: 0x00000019 (25)
[DEBUG @ si5338.c:163] Unpacked a + b/c: 506 + 22/25
[DEBUG @ si5338.c:164] Unpacked r: 1
[DEBUG @ si5338.c:325] Calculated samplerate: 2500000 + 0/1
[VERBOSE @ usb.c:989] usb_lms_read: 0x34 0x36
[VERBOSE @ usb.c:968] usb_lms_write: 0x34 0x36
[VERBOSE @ usb.c:989] usb_lms_read: 0x35 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x34 0x36
[VERBOSE @ usb.c:968] usb_lms_write: 0x34 0x3e
[DEBUG @ si5338.c:464] Setting integer sample rate: 3000000
[DEBUG @ si5338.c:356] Found r value of: 1
[DEBUG @ si5338.c:365] MSx a + b/c: 422 + 2/5
[DEBUG @ si5338.c:393] MSx a + b/c: 422 + 2/5
[DEBUG @ si5338.c:199] MSx P1: 0x0000d133 (53555) P2: 0x00000001 (1) P3: 0x00000005 (5)
[DEBUG @ si5338.c:325] Calculated samplerate: 3000000 + 0/1
[DEBUG @ si5338.c:221] Writing MS2
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x26 0x03
[DEBUG @ si5338.c:231] Wrote enable register: 0x03
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x26 0x03
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4b 0x33
[DEBUG @ si5338.c:245] Wrote regs[0]: 0x33
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4c 0xd1
[DEBUG @ si5338.c:245] Wrote regs[1]: 0xd1
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4d 0x04
[DEBUG @ si5338.c:245] Wrote regs[2]: 0x04
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4e 0x00
[DEBUG @ si5338.c:245] Wrote regs[3]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4f 0x00
[DEBUG @ si5338.c:245] Wrote regs[4]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x50 0x00
[DEBUG @ si5338.c:245] Wrote regs[5]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x51 0x05
[DEBUG @ si5338.c:245] Wrote regs[6]: 0x05
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x52 0x00
[DEBUG @ si5338.c:245] Wrote regs[7]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x53 0x00
[DEBUG @ si5338.c:245] Wrote regs[8]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x54 0x00
[DEBUG @ si5338.c:245] Wrote regs[9]: 0x00
[DEBUG @ si5338.c:260] Wrote r register: 0xc0
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x21 0xc0
[DEBUG @ si5338.c:480] Set actual integer sample rate: 3000000
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x71 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x71 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x72 0x80
[VERBOSE @ usb.c:968] usb_lms_write: 0x72 0x80
[DEBUG @ bladerf.c:256] Enable Module: RX - True
[VERBOSE @ usb.c:989] usb_lms_read: 0x70 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x70 0x01
[DEBUG @ bladerf.c:256] Enable Module: RX - True
[VERBOSE @ usb.c:989] usb_lms_read: 0x70 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x70 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x44 0x0b
[VERBOSE @ usb.c:968] usb_lms_write: 0x44 0x03
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x3e
[VERBOSE @ usb.c:989] usb_lms_read: 0x55 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x64 0x16
[VERBOSE @ usb.c:968] usb_lms_write: 0x64 0x16
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x3e
[VERBOSE @ usb.c:989] usb_lms_read: 0x55 0x17
[VERBOSE @ usb.c:968] usb_lms_write: 0x54 0x3c
[VERBOSE @ usb.c:968] usb_lms_write: 0x55 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x46 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x08 0x20
[DEBUG @ bladerf.c:256] Enable Module: TX - True
[VERBOSE @ usb.c:989] usb_lms_read: 0x40 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x40 0x02
[DEBUG @ sync.c:412] sync_tx: Worker is now running.
[DEBUG @ bladerf.c:256] Enable Module: TX - False
[VERBOSE @ usb.c:989] usb_lms_read: 0x40 0x02
[VERBOSE @ usb.c:968] usb_lms_write: 0x40 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x44 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x44 0x03
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x20
[VERBOSE @ usb.c:968] usb_lms_write: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x3c
[VERBOSE @ usb.c:989] usb_lms_read: 0x55 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x7d 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x7d 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x3c
[VERBOSE @ usb.c:989] usb_lms_read: 0x55 0x17
[VERBOSE @ usb.c:968] usb_lms_write: 0x54 0x3e
[VERBOSE @ usb.c:968] usb_lms_write: 0x55 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x64 0x06
[VERBOSE @ usb.c:968] usb_lms_write: 0x64 0x06
[VERBOSE @ usb.c:989] usb_lms_read: 0x0b 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x0b 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x7d 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x7d 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x70 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x70 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x20 0x5d
[VERBOSE @ usb.c:989] usb_lms_read: 0x21 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x22 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x23 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x25 0xfd
[VERBOSE @ lms.c:1448] ---- Frequency ----
[VERBOSE @ lms.c:1449]   x        : 16
[VERBOSE @ lms.c:1450]   nint     : 187
[VERBOSE @ lms.c:1451]   nfrac    : 4194304
[VERBOSE @ lms.c:1452]   freqsel  : 0x3f
[VERBOSE @ lms.c:1453]   reference: 38400000
[VERBOSE @ lms.c:1454]   freq     : 450000000
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x57
[VERBOSE @ usb.c:989] usb_lms_read: 0x25 0xfd
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x25 0xfd
[VERBOSE @ usb.c:968] usb_lms_write: 0x20 0x5d
[VERBOSE @ usb.c:968] usb_lms_write: 0x21 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x22 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x23 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x26 0x8c
[VERBOSE @ usb.c:968] usb_lms_write: 0x26 0x8c
[VERBOSE @ usb.c:989] usb_lms_read: 0x27 0xe0
[VERBOSE @ usb.c:968] usb_lms_write: 0x27 0xe0
[VERBOSE @ usb.c:989] usb_lms_read: 0x28 0x40
[VERBOSE @ usb.c:968] usb_lms_write: 0x28 0x40
[VERBOSE @ usb.c:989] usb_lms_read: 0x29 0xab
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa0
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1541] Too high: 32 -> 48
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xb0
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x43
[VERBOSE @ lms.c:1544] Too low: 48 -> 40
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1541] Too high: 40 -> 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ lms.c:1538] Found normal at VCOCAP: 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xaa
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa9
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1577] Found lower limit VCOCAP: 41
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xad
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xae
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xaf
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x43
[VERBOSE @ lms.c:1608] Found upper limit VCOCAP: 46
[VERBOSE @ lms.c:1612] Goldilocks VCOCAP: 43
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ lms.c:1625] VTUNE: 0
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x57
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x10 0x5d
[VERBOSE @ usb.c:989] usb_lms_read: 0x11 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x12 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x13 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x15 0xfd
[VERBOSE @ lms.c:1448] ---- Frequency ----
[VERBOSE @ lms.c:1449]   x        : 16
[VERBOSE @ lms.c:1450]   nint     : 187
[VERBOSE @ lms.c:1451]   nfrac    : 4194304
[VERBOSE @ lms.c:1452]   freqsel  : 0x3f
[VERBOSE @ lms.c:1453]   reference: 38400000
[VERBOSE @ lms.c:1454]   freq     : 450000000
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x57
[VERBOSE @ usb.c:989] usb_lms_read: 0x15 0xfd
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x15 0xfd
[VERBOSE @ usb.c:968] usb_lms_write: 0x10 0x5d
[VERBOSE @ usb.c:968] usb_lms_write: 0x11 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x12 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x13 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x16 0x8c
[VERBOSE @ usb.c:968] usb_lms_write: 0x16 0x8c
[VERBOSE @ usb.c:989] usb_lms_read: 0x17 0xe0
[VERBOSE @ usb.c:968] usb_lms_write: 0x17 0xe0
[VERBOSE @ usb.c:989] usb_lms_read: 0x18 0x40
[VERBOSE @ usb.c:968] usb_lms_write: 0x18 0x40
[VERBOSE @ usb.c:989] usb_lms_read: 0x19 0xab
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa0
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1541] Too high: 32 -> 48
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xb0
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x43
[VERBOSE @ lms.c:1544] Too low: 48 -> 40
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1541] Too high: 40 -> 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ lms.c:1538] Found normal at VCOCAP: 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xaa
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa9
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1577] Found lower limit VCOCAP: 41
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xad
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xae
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xaf
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x43
[VERBOSE @ lms.c:1608] Found upper limit VCOCAP: 46
[VERBOSE @ lms.c:1612] Goldilocks VCOCAP: 43
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ lms.c:1625] VTUNE: 0
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x57
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x44 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x44 0x0b
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x08 0x00

  Calibrating LMS LPF tuning module...
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x72
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[DEBUG @ lms.c:1814] Calibrating module 00:00
[VERBOSE @ usb.c:989] usb_lms_read: 0x03 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x02 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x18
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x28
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x01 0xe9
[VERBOSE @ usb.c:989] usb_lms_read: 0x00 0x17
[DEBUG @ lms.c:1886] DC_REGVAL: 23
[VERBOSE @ usb.c:989] usb_lms_read: 0x35 0x17
[VERBOSE @ usb.c:968] usb_lms_write: 0x35 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x55 0x17
[VERBOSE @ usb.c:968] usb_lms_write: 0x55 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x00 0x17
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x1d
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x29
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x1d
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1b
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0a
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0b
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0c
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x21
    LPF tuning module: 23

  Calibrating LMS TX LPF modules...
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x36 0x30
[VERBOSE @ usb.c:968] usb_lms_write: 0x36 0xb0
[DEBUG @ lms.c:1814] Calibrating module 30:00
[VERBOSE @ usb.c:989] usb_lms_read: 0x33 0x09
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x32 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x18
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x28
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x31 0x14
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x1d
[DEBUG @ lms.c:1886] DC_REGVAL: 29
[DEBUG @ lms.c:1814] Calibrating module 30:01
[VERBOSE @ usb.c:989] usb_lms_read: 0x33 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x09
[VERBOSE @ usb.c:968] usb_lms_write: 0x32 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x19
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x09
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x29
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x31 0x14
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x29
[DEBUG @ lms.c:1886] DC_REGVAL: 41
[VERBOSE @ usb.c:989] usb_lms_read: 0x36 0xb0
[VERBOSE @ usb.c:968] usb_lms_write: 0x36 0x30
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x00 0x17
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x1d
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x29
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x1d
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x0b
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0a
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x23
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0b
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0c
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x21
    TX LPF I filter: 29
    TX LPF Q filter: 41

  Calibrating LMS RX LPF modules...
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x5a
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x5f 0x9f
[VERBOSE @ usb.c:968] usb_lms_write: 0x5f 0x1f
[VERBOSE @ usb.c:989] usb_lms_read: 0x71 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x71 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x7c 0x1c
[VERBOSE @ usb.c:968] usb_lms_write: 0x7c 0x1c
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x76 0x78
[VERBOSE @ usb.c:968] usb_lms_write: 0x76 0x78
[VERBOSE @ usb.c:989] usb_lms_read: 0x65 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x65 0x0a
[DEBUG @ lms.c:1814] Calibrating module 50:00
[VERBOSE @ usb.c:989] usb_lms_read: 0x53 0x09
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x52 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x18
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x28
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x51 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x1d
[DEBUG @ lms.c:1886] DC_REGVAL: 29
[DEBUG @ lms.c:1814] Calibrating module 50:01
[VERBOSE @ usb.c:989] usb_lms_read: 0x53 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x09
[VERBOSE @ usb.c:968] usb_lms_write: 0x52 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x19
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x09
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x29
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x51 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x21
[DEBUG @ lms.c:1886] DC_REGVAL: 33
[VERBOSE @ usb.c:989] usb_lms_read: 0x5f 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x5f 0x9f
[VERBOSE @ usb.c:968] usb_lms_write: 0x65 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x76 0x78
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x71 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x7c 0x1c
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x00 0x17
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x1d
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x29
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x1d
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1b
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0a
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x23
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0b
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x20
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0c
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x21
    RX LPF I filter: 29
    RX LPF Q filter: 33

  Calibrating LMS RXVGA2 modules...
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x6e 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x6e 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x71 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x71 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x7c 0x1c
[VERBOSE @ usb.c:968] usb_lms_write: 0x7c 0x1c
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x76 0x78
[VERBOSE @ usb.c:968] usb_lms_write: 0x76 0x78
[VERBOSE @ usb.c:989] usb_lms_read: 0x65 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x65 0x0a
[DEBUG @ lms.c:1814] Calibrating module 60:00
[VERBOSE @ usb.c:989] usb_lms_read: 0x63 0x04
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x62 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x10
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x20
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x61 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x0f
[DEBUG @ lms.c:1886] DC_REGVAL: 15
[VERBOSE @ usb.c:989] usb_lms_read: 0x64 0x02
[VERBOSE @ usb.c:968] usb_lms_write: 0x64 0x37
[VERBOSE @ usb.c:968] usb_lms_write: 0x68 0x06
[DEBUG @ lms.c:1814] Calibrating module 60:01
[VERBOSE @ usb.c:989] usb_lms_read: 0x63 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x62 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x11
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x61 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[DEBUG @ lms.c:1886] DC_REGVAL: 31
[DEBUG @ lms.c:2079] DC_REGVAL suboptimal value - retrying DC cal loop.
[DEBUG @ lms.c:1814] Calibrating module 60:01
[VERBOSE @ usb.c:989] usb_lms_read: 0x63 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x62 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x11
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x61 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[DEBUG @ lms.c:1886] DC_REGVAL: 31
[DEBUG @ lms.c:1814] Calibrating module 60:02
[VERBOSE @ usb.c:989] usb_lms_read: 0x63 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x02
[VERBOSE @ usb.c:968] usb_lms_write: 0x62 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x12
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x02
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x22
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x02
[VERBOSE @ usb.c:989] usb_lms_read: 0x61 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x0f
[DEBUG @ lms.c:1886] DC_REGVAL: 15
[VERBOSE @ usb.c:968] usb_lms_write: 0x68 0x60
[DEBUG @ lms.c:1814] Calibrating module 60:03
[VERBOSE @ usb.c:989] usb_lms_read: 0x63 0x02
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x62 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x13
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x23
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x03
[VERBOSE @ usb.c:989] usb_lms_read: 0x61 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[DEBUG @ lms.c:1886] DC_REGVAL: 31
[DEBUG @ lms.c:2079] DC_REGVAL suboptimal value - retrying DC cal loop.
[DEBUG @ lms.c:1814] Calibrating module 60:03
[VERBOSE @ usb.c:989] usb_lms_read: 0x63 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x62 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x13
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x23
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x03
[VERBOSE @ usb.c:989] usb_lms_read: 0x61 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[DEBUG @ lms.c:1886] DC_REGVAL: 31
[DEBUG @ lms.c:1814] Calibrating module 60:04
[VERBOSE @ usb.c:989] usb_lms_read: 0x63 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x04
[VERBOSE @ usb.c:968] usb_lms_write: 0x62 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x14
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x04
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x24
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x04
[VERBOSE @ usb.c:989] usb_lms_read: 0x61 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[DEBUG @ lms.c:1886] DC_REGVAL: 31
[DEBUG @ lms.c:2079] DC_REGVAL suboptimal value - retrying DC cal loop.
[DEBUG @ lms.c:1814] Calibrating module 60:04
[VERBOSE @ usb.c:989] usb_lms_read: 0x63 0x04
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x04
[VERBOSE @ usb.c:968] usb_lms_write: 0x62 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x14
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x04
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x24
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x04
[VERBOSE @ usb.c:989] usb_lms_read: 0x61 0x01
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[DEBUG @ lms.c:1886] DC_REGVAL: 31
[VERBOSE @ usb.c:989] usb_lms_read: 0x64 0x37
[VERBOSE @ usb.c:968] usb_lms_write: 0x64 0x36
[VERBOSE @ usb.c:989] usb_lms_read: 0x6e 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x6e 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x65 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x76 0x78
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x71 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x7c 0x1c
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x03 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x00 0x17
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x1d
[VERBOSE @ usb.c:968] usb_lms_write: 0x33 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x30 0x29
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x1d
[VERBOSE @ usb.c:968] usb_lms_write: 0x53 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x50 0x21
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x09
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0a
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0b
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
[VERBOSE @ usb.c:968] usb_lms_write: 0x63 0x0c
[VERBOSE @ usb.c:989] usb_lms_read: 0x60 0x1f
    RX VGA2 DC reference module: 31
    RX VGA2 stage 1, I channel: 31
    RX VGA2 stage 1, Q channel: 31
    RX VGA2 stage 2, I channel: 31
    RX VGA2 stage 2, Q channel: 31

[DEBUG @ bladerf.c:256] Enable Module: RX - False
[VERBOSE @ usb.c:989] usb_lms_read: 0x70 0x01
[VERBOSE @ usb.c:968] usb_lms_write: 0x70 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x3e
[VERBOSE @ usb.c:968] usb_lms_write: 0x54 0x3e
[VERBOSE @ usb.c:989] usb_lms_read: 0x55 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x3e
[VERBOSE @ usb.c:968] usb_lms_write: 0x54 0x36
[VERBOSE @ lms.c:1448] ---- Frequency ----
[VERBOSE @ lms.c:1449]   x        : 16
[VERBOSE @ lms.c:1450]   nint     : 187
[VERBOSE @ lms.c:1451]   nfrac    : 4194304
[VERBOSE @ lms.c:1452]   freqsel  : 0x3f
[VERBOSE @ lms.c:1453]   reference: 38400000
[VERBOSE @ lms.c:1454]   freq     : 450000000
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x57
[VERBOSE @ usb.c:989] usb_lms_read: 0x25 0xfd
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x25 0xfd
[VERBOSE @ usb.c:968] usb_lms_write: 0x20 0x5d
[VERBOSE @ usb.c:968] usb_lms_write: 0x21 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x22 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x23 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x26 0x8c
[VERBOSE @ usb.c:968] usb_lms_write: 0x26 0x8c
[VERBOSE @ usb.c:989] usb_lms_read: 0x27 0xe0
[VERBOSE @ usb.c:968] usb_lms_write: 0x27 0xe0
[VERBOSE @ usb.c:989] usb_lms_read: 0x28 0x40
[VERBOSE @ usb.c:968] usb_lms_write: 0x28 0x40
[VERBOSE @ usb.c:989] usb_lms_read: 0x29 0xab
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa0
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1541] Too high: 32 -> 48
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xb0
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x43
[VERBOSE @ lms.c:1544] Too low: 48 -> 40
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1541] Too high: 40 -> 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ lms.c:1538] Found normal at VCOCAP: 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xaa
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa9
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1577] Found lower limit VCOCAP: 41
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xad
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xae
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xaf
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x43
[VERBOSE @ lms.c:1608] Found upper limit VCOCAP: 46
[VERBOSE @ lms.c:1612] Goldilocks VCOCAP: 43
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ lms.c:1625] VTUNE: 0
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x57
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[DEBUG @ si5338.c:356] Found r value of: 1
[DEBUG @ si5338.c:365] MSx a + b/c: 506 + 22/25
[DEBUG @ si5338.c:393] MSx a + b/c: 506 + 22/25
[DEBUG @ si5338.c:199] MSx P1: 0x0000fb70 (64368) P2: 0x00000010 (16) P3: 0x00000019 (25)
[DEBUG @ si5338.c:325] Calculated samplerate: 2500000 + 0/1
[DEBUG @ si5338.c:221] Writing MS1
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x25 0x01
[DEBUG @ si5338.c:231] Wrote enable register: 0x01
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x25 0x01
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x40 0x70
[DEBUG @ si5338.c:245] Wrote regs[0]: 0x70
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x41 0xfb
[DEBUG @ si5338.c:245] Wrote regs[1]: 0xfb
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x42 0x40
[DEBUG @ si5338.c:245] Wrote regs[2]: 0x40
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x43 0x00
[DEBUG @ si5338.c:245] Wrote regs[3]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x44 0x00
[DEBUG @ si5338.c:245] Wrote regs[4]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x45 0x00
[DEBUG @ si5338.c:245] Wrote regs[5]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x46 0x19
[DEBUG @ si5338.c:245] Wrote regs[6]: 0x19
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x47 0x00
[DEBUG @ si5338.c:245] Wrote regs[7]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x48 0x00
[DEBUG @ si5338.c:245] Wrote regs[8]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x49 0x00
[DEBUG @ si5338.c:245] Wrote regs[9]: 0x00
[DEBUG @ si5338.c:260] Wrote r register: 0xc0
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x20 0xc0
[DEBUG @ bladerf.c:256] Enable Module: RX - False
[VERBOSE @ usb.c:989] usb_lms_read: 0x70 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x70 0x00
[DEBUG @ bladerf.c:256] Enable Module: TX - False
[VERBOSE @ usb.c:989] usb_lms_read: 0x40 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x40 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x34 0x3e
[VERBOSE @ usb.c:968] usb_lms_write: 0x34 0x3e
[VERBOSE @ usb.c:989] usb_lms_read: 0x35 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x34 0x3e
[VERBOSE @ usb.c:968] usb_lms_write: 0x34 0x36
[VERBOSE @ lms.c:1448] ---- Frequency ----
[VERBOSE @ lms.c:1449]   x        : 16
[VERBOSE @ lms.c:1450]   nint     : 187
[VERBOSE @ lms.c:1451]   nfrac    : 4194304
[VERBOSE @ lms.c:1452]   freqsel  : 0x3f
[VERBOSE @ lms.c:1453]   reference: 38400000
[VERBOSE @ lms.c:1454]   freq     : 450000000
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x57
[VERBOSE @ usb.c:989] usb_lms_read: 0x15 0xfd
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x15 0xfd
[VERBOSE @ usb.c:968] usb_lms_write: 0x10 0x5d
[VERBOSE @ usb.c:968] usb_lms_write: 0x11 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x12 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x13 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x16 0x8c
[VERBOSE @ usb.c:968] usb_lms_write: 0x16 0x8c
[VERBOSE @ usb.c:989] usb_lms_read: 0x17 0xe0
[VERBOSE @ usb.c:968] usb_lms_write: 0x17 0xe0
[VERBOSE @ usb.c:989] usb_lms_read: 0x18 0x40
[VERBOSE @ usb.c:968] usb_lms_write: 0x18 0x40
[VERBOSE @ usb.c:989] usb_lms_read: 0x19 0xab
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa0
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1541] Too high: 32 -> 48
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xb0
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x43
[VERBOSE @ lms.c:1544] Too low: 48 -> 40
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1541] Too high: 40 -> 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ lms.c:1538] Found normal at VCOCAP: 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xaa
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa9
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1577] Found lower limit VCOCAP: 41
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xad
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xae
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xaf
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x43
[VERBOSE @ lms.c:1608] Found upper limit VCOCAP: 46
[VERBOSE @ lms.c:1612] Goldilocks VCOCAP: 43
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ lms.c:1625] VTUNE: 0
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x57
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x44 0x0b
[VERBOSE @ usb.c:968] usb_lms_write: 0x44 0x0b
[DEBUG @ si5338.c:356] Found r value of: 1
[DEBUG @ si5338.c:365] MSx a + b/c: 506 + 22/25
[DEBUG @ si5338.c:393] MSx a + b/c: 506 + 22/25
[DEBUG @ si5338.c:199] MSx P1: 0x0000fb70 (64368) P2: 0x00000010 (16) P3: 0x00000019 (25)
[DEBUG @ si5338.c:325] Calculated samplerate: 2500000 + 0/1
[DEBUG @ si5338.c:221] Writing MS2
[VERBOSE @ usb.c:1226] usb_si5338_read: 0x26 0x03
[DEBUG @ si5338.c:231] Wrote enable register: 0x03
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x26 0x03
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4b 0x70
[DEBUG @ si5338.c:245] Wrote regs[0]: 0x70
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4c 0xfb
[DEBUG @ si5338.c:245] Wrote regs[1]: 0xfb
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4d 0x40
[DEBUG @ si5338.c:245] Wrote regs[2]: 0x40
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4e 0x00
[DEBUG @ si5338.c:245] Wrote regs[3]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x4f 0x00
[DEBUG @ si5338.c:245] Wrote regs[4]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x50 0x00
[DEBUG @ si5338.c:245] Wrote regs[5]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x51 0x19
[DEBUG @ si5338.c:245] Wrote regs[6]: 0x19
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x52 0x00
[DEBUG @ si5338.c:245] Wrote regs[7]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x53 0x00
[DEBUG @ si5338.c:245] Wrote regs[8]: 0x00
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x54 0x00
[DEBUG @ si5338.c:245] Wrote regs[9]: 0x00
[DEBUG @ si5338.c:260] Wrote r register: 0xc0
[VERBOSE @ usb.c:1207] usb_si5338_write: 0x21 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x44 0x0b
[VERBOSE @ usb.c:968] usb_lms_write: 0x44 0x03
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xd0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x54 0x36
[VERBOSE @ usb.c:989] usb_lms_read: 0x55 0x17
[VERBOSE @ usb.c:989] usb_lms_read: 0x7d 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x7d 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x64 0x36
[VERBOSE @ usb.c:968] usb_lms_write: 0x64 0x36
[VERBOSE @ usb.c:989] usb_lms_read: 0x0b 0x08
[VERBOSE @ usb.c:968] usb_lms_write: 0x0b 0x08
[VERBOSE @ usb.c:989] usb_lms_read: 0x7d 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x7d 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x70 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x70 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x20 0x5d
[VERBOSE @ usb.c:989] usb_lms_read: 0x21 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x22 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x23 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x25 0xfd
[VERBOSE @ lms.c:1448] ---- Frequency ----
[VERBOSE @ lms.c:1449]   x        : 16
[VERBOSE @ lms.c:1450]   nint     : 187
[VERBOSE @ lms.c:1451]   nfrac    : 4194304
[VERBOSE @ lms.c:1452]   freqsel  : 0x3f
[VERBOSE @ lms.c:1453]   reference: 38400000
[VERBOSE @ lms.c:1454]   freq     : 450000000
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x57
[VERBOSE @ usb.c:989] usb_lms_read: 0x25 0xfd
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x25 0xfd
[VERBOSE @ usb.c:968] usb_lms_write: 0x20 0x5d
[VERBOSE @ usb.c:968] usb_lms_write: 0x21 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x22 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x23 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x26 0x8c
[VERBOSE @ usb.c:968] usb_lms_write: 0x26 0x8c
[VERBOSE @ usb.c:989] usb_lms_read: 0x27 0xe0
[VERBOSE @ usb.c:968] usb_lms_write: 0x27 0xe0
[VERBOSE @ usb.c:989] usb_lms_read: 0x28 0x40
[VERBOSE @ usb.c:968] usb_lms_write: 0x28 0x40
[VERBOSE @ usb.c:989] usb_lms_read: 0x29 0xab
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa0
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1541] Too high: 32 -> 48
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xb0
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x43
[VERBOSE @ lms.c:1544] Too low: 48 -> 40
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1541] Too high: 40 -> 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ lms.c:1538] Found normal at VCOCAP: 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xaa
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa9
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x83
[VERBOSE @ lms.c:1577] Found lower limit VCOCAP: 41
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xad
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xae
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xaf
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x43
[VERBOSE @ lms.c:1608] Found upper limit VCOCAP: 46
[VERBOSE @ lms.c:1612] Goldilocks VCOCAP: 43
[VERBOSE @ usb.c:968] usb_lms_write: 0x29 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x2a 0x03
[VERBOSE @ lms.c:1625] VTUNE: 0
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x57
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x75 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x75 0xd0
[VERBOSE @ usb.c:989] usb_lms_read: 0x10 0x5d
[VERBOSE @ usb.c:989] usb_lms_read: 0x11 0xc0
[VERBOSE @ usb.c:989] usb_lms_read: 0x12 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x13 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x15 0xfd
[VERBOSE @ lms.c:1448] ---- Frequency ----
[VERBOSE @ lms.c:1449]   x        : 16
[VERBOSE @ lms.c:1450]   nint     : 187
[VERBOSE @ lms.c:1451]   nfrac    : 4194304
[VERBOSE @ lms.c:1452]   freqsel  : 0x3f
[VERBOSE @ lms.c:1453]   reference: 38400000
[VERBOSE @ lms.c:1454]   freq     : 450000000
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x52
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x57
[VERBOSE @ usb.c:989] usb_lms_read: 0x15 0xfd
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x15 0xfd
[VERBOSE @ usb.c:968] usb_lms_write: 0x10 0x5d
[VERBOSE @ usb.c:968] usb_lms_write: 0x11 0xc0
[VERBOSE @ usb.c:968] usb_lms_write: 0x12 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x13 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x16 0x8c
[VERBOSE @ usb.c:968] usb_lms_write: 0x16 0x8c
[VERBOSE @ usb.c:989] usb_lms_read: 0x17 0xe0
[VERBOSE @ usb.c:968] usb_lms_write: 0x17 0xe0
[VERBOSE @ usb.c:989] usb_lms_read: 0x18 0x40
[VERBOSE @ usb.c:968] usb_lms_write: 0x18 0x40
[VERBOSE @ usb.c:989] usb_lms_read: 0x19 0xab
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa0
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1541] Too high: 32 -> 48
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xb0
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x43
[VERBOSE @ lms.c:1544] Too low: 48 -> 40
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1541] Too high: 40 -> 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ lms.c:1538] Found normal at VCOCAP: 44
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xaa
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa9
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xa8
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x83
[VERBOSE @ lms.c:1577] Found lower limit VCOCAP: 41
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xac
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xad
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xae
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xaf
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x43
[VERBOSE @ lms.c:1608] Found upper limit VCOCAP: 46
[VERBOSE @ lms.c:1612] Goldilocks VCOCAP: 43
[VERBOSE @ usb.c:968] usb_lms_write: 0x19 0xab
[VERBOSE @ usb.c:989] usb_lms_read: 0x1a 0x03
[VERBOSE @ lms.c:1625] VTUNE: 0
[VERBOSE @ usb.c:989] usb_lms_read: 0x09 0x57
[VERBOSE @ usb.c:968] usb_lms_write: 0x09 0x52
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x44 0x03
[VERBOSE @ usb.c:968] usb_lms_write: 0x44 0x0b
[VERBOSE @ usb.c:989] usb_lms_read: 0x46 0x00
[VERBOSE @ usb.c:989] usb_lms_read: 0x08 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x46 0x00
[VERBOSE @ usb.c:968] usb_lms_write: 0x08 0x00
jynik commented 10 years ago

The reason why the new lib works is that between the version you had and the latest and greatest, we changed the condition by which we deem the DC calibration to be complete, per section 4.7 of the LMS6002D FAQ.

Essentially, the FAQ states that the DC_LOCK value in a calibration register is not a reliable indicator of the calibration completing, and suggests using another method.

If I remember correctly, there was an additional fix in the CLI here that addressed an error value being interpreted correctly, hence the rather obscure error message you get.