Marcus,
This could be a distraction, however, while continuing an effort to
understand the problem I used the utility
usrp_burn_db_eeprom to read the eeproms on both RFX900s in the USRP1.
The results follow in the transcript.  Note that the values obtained from
the slot A daughter cards yield the slot B values as specified in
AN315.
See:
https://kb.ettus.com/About_the_Motherboard_and_Daughtercard_EEPROM_on_USRP_Devices

Please let me know if I need to provide you with better debug info.  Is
there a uhd log file that I should send to you?
Thanks again for your time,
Bob


Transcript
----------------------------
conley@Ubuntu64-16-4-3Q5LHC2Inc:/usr/local/lib/uhd/utils$
./usrp_burn_mb_eeprom --read-all
Creating USRP device from address:
[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_4.0.0.rfnoc-devel-702-geec24d7b
[INFO] [USRP1] Opening a USRP1 device...
[INFO] [USRP1] Using FPGA clock rate of 64.000000MHz...

Fetching current settings from EEPROM...
    EEPROM ["serial"] is "4bcc9e4b"
    EEPROM ["name"] is ""
    EEPROM ["mcr"] is ""

Power-cycle the USRP device for the changes to take effect.

Done

conley@Ubuntu64-16-4-3Q5LHC2Inc:/usr/local/lib/uhd/utils$
./usrp_burn_db_eeprom  --slot A --unit rx
[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_4.0.0.rfnoc-devel-702-geec24d7b
[INFO] [USRP1] Opening a USRP1 device...
[INFO] [USRP1] Using FPGA clock rate of 64.000000MHz...
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
Reading rx EEPROM on A dboard...
  Current ID: RFX900 (0x0025)  This should be 0x0015 according to Ettus
AN315
  Current serial: ""
  Current revision: ""
  Done



conley@Ubuntu64-16-4-3Q5LHC2Inc:/usr/local/lib/uhd/utils$
./usrp_burn_db_eeprom  --slot B --unit rx
[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_4.0.0.rfnoc-devel-702-geec24d7b
[INFO] [USRP1] Opening a USRP1 device...
[INFO] [USRP1] Using FPGA clock rate of 64.000000MHz...
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
Reading rx EEPROM on B dboard...
  Current ID: RFX900 (0x0025)
  Current serial: ""
  Current revision: ""
  Done

conley@Ubuntu64-16-4-3Q5LHC2Inc:/usr/local/lib/uhd/utils$
./usrp_burn_db_eeprom  --slot B --unit tx
[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_4.0.0.rfnoc-devel-702-geec24d7b
[INFO] [USRP1] Opening a USRP1 device...
[INFO] [USRP1] Using FPGA clock rate of 64.000000MHz...
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
Reading tx EEPROM on B dboard...
  Current ID: RFX900 (0x0029)
  Current serial: ""
  Current revision: ""
  Done

conley@Ubuntu64-16-4-3Q5LHC2Inc:/usr/local/lib/uhd/utils$
./usrp_burn_db_eeprom  --slot A --unit tx
[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_4.0.0.rfnoc-devel-702-geec24d7b
[INFO] [USRP1] Opening a USRP1 device...
[INFO] [USRP1] Using FPGA clock rate of 64.000000MHz...
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
[ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
in init.
Loading the "unknown" daughterboard implementations to continue.
The daughterboard cannot operate until this error is resolved.
LookupError: KeyError: key "0" not found in dict(i,
N14adf4360_regs_t17prescaler_value_tE)
Reading tx EEPROM on A dboard...
  Current ID: RFX900 (0x0029)  This should be 0x0019
  Current serial: ""
  Current revision: ""
  Done

conley@Ubuntu64-16-4-3Q5LHC2Inc:/usr/local/lib/uhd/utils$


On Mon, Aug 20, 2018 at 4:07 PM, Bob Conley <[email protected]> wrote:

> Marcus,
> I set the UHD_LOG_LEVEL to 0 and ran uhd_usrp_probe as requested with the
> same results.  see transcript.
>
> The uhd install was accomplished using the PyBOMBS method specified in
> Ettus AN-823.  As a result I did not explicitly run cmake for this
> environment.
> I can re-install uhd with the options you specify.
> Is there a Ettus App Note that you recommend I follow to rebuild the uhd
> from source?
> Thanks again,
> Bob
>
>
>
>
> Transcript
> ________________________-
> conley@Ubuntu64-16-4-3Q5LHC2Inc:~$ cd rfnoc/
> conley@Ubuntu64-16-4-3Q5LHC2Inc:~/rfnoc$ source ./setup_env.sh
> conley@Ubuntu64-16-4-3Q5LHC2Inc:~/rfnoc$ export UHD_LOG_LEVEL=0
> conley@Ubuntu64-16-4-3Q5LHC2Inc:~/rfnoc$ echo $UHD_LOG_LEVEL
> 0
> conley@Ubuntu64-16-4-3Q5LHC2Inc:~/rfnoc$ uhd_usrp_probe
> [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
> UHD_4.0.0.rfnoc-devel-702-geec24d7b
> [INFO] [USRP1] Opening a USRP1 device...
> [INFO] [USRP1] Using FPGA clock rate of 64.000000MHz...
> [ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
> in init.
> Loading the "unknown" daughterboard implementations to continue.
> The daughterboard cannot operate until this error is resolved.
> LookupError: KeyError: key "0" not found in dict(i,
> N14adf4360_regs_t17prescaler_value_tE)
> [ERROR] [DBMGR] The daughterboard manager encountered a recoverable error
> in init.
> Loading the "unknown" daughterboard implementations to continue.
> The daughterboard cannot operate until this error is resolved.
> LookupError: KeyError: key "0" not found in dict(i,
> N14adf4360_regs_t17prescaler_value_tE)
>   _____________________________________________________
>  /
> |       Device: USRP1 Device
> |     _____________________________________________________
> |    /
> |   |       Mboard: USRP1
> |   |   serial: 4d76b228
> |   |
> |   |   Time sources:  none
> |   |   Clock sources: internal
> |   |   Sensors:
> |   |     _____________________________________________________
> |   |    /
> |   |   |       RX DSP: 0
> |   |   |
> |   |   |   Freq range: -32.000 to 32.000 MHz
> |   |     _____________________________________________________
> |   |    /
> |   |   |       RX DSP: 1
> |   |   |
> |   |   |   Freq range: -32.000 to 32.000 MHz
> |   |     _____________________________________________________
> |   |    /
> |   |   |       RX Dboard: A
> |   |   |   ID: RFX900 (0x0025)
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       RX Frontend: 0
> |   |   |   |   Name: Unknown (0xffff) - 0
> |   |   |   |   Antennas:
> |   |   |   |   Sensors:
> |   |   |   |   Freq range: 0.000 to 0.000 MHz
> |   |   |   |   Gain Elements: None
> |   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
> |   |   |   |   Connection Type: IQ
> |   |   |   |   Uses LO offset: No
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       RX Codec: A
> |   |   |   |   Name: ad9522
> |   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
> |   |     _____________________________________________________
> |   |    /
> |   |   |       RX Dboard: B
> |   |   |   ID: RFX900 (0x0025)
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       RX Frontend: 0
> |   |   |   |   Name: Unknown (0xffff) - 0
> |   |   |   |   Antennas:
> |   |   |   |   Sensors:
> |   |   |   |   Freq range: 0.000 to 0.000 MHz
> |   |   |   |   Gain Elements: None
> |   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
> |   |   |   |   Connection Type: IQ
> |   |   |   |   Uses LO offset: No
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       RX Codec: B
> |   |   |   |   Name: ad9522
> |   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
> |   |     _____________________________________________________
> |   |    /
> |   |   |       TX DSP: 0
> |   |   |
> |   |   |   Freq range: -44.000 to 44.000 MHz
> |   |     _____________________________________________________
> |   |    /
> |   |   |       TX DSP: 1
> |   |   |
> |   |   |   Freq range: -44.000 to 44.000 MHz
> |   |     _____________________________________________________
> |   |    /
> |   |   |       TX Dboard: A
> |   |   |   ID: RFX900 (0x0029)
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       TX Frontend: 0
> |   |   |   |   Name: Unknown (0xffff) - 0
> |   |   |   |   Antennas:
> |   |   |   |   Sensors:
> |   |   |   |   Freq range: 0.000 to 0.000 MHz
> |   |   |   |   Gain Elements: None
> |   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
> |   |   |   |   Connection Type: IQ
> |   |   |   |   Uses LO offset: No
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       TX Codec: A
> |   |   |   |   Name: ad9522
> |   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB
> |   |     _____________________________________________________
> |   |    /
> |   |   |       TX Dboard: B
> |   |   |   ID: RFX900 (0x0029)
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       TX Frontend: 0
> |   |   |   |   Name: Unknown (0xffff) - 0
> |   |   |   |   Antennas:
> |   |   |   |   Sensors:
> |   |   |   |   Freq range: 0.000 to 0.000 MHz
> |   |   |   |   Gain Elements: None
> |   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
> |   |   |   |   Connection Type: IQ
> |   |   |   |   Uses LO offset: No
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       TX Codec: B
> |   |   |   |   Name: ad9522
> |   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB
>
> conley@Ubuntu64-16-4-3Q5LHC2Inc:~/rfnoc$
>
>
> On Sun, Aug 19, 2018 at 10:08 AM, Marcus Müller <[email protected]>
> wrote:
>
>> Hi Bob,
>>
>> I'm not ruling out we actually are dealing with a software bug here; I
>> remember that exact dict from somewhere else, but I can't find it
>> anymore :( We might cooperate to figure this one out, however!
>>
>> Since this looks like a UHD built from git, we have a lot of options.
>>
>> first of all, try
>>
>> export UHD_LOG_LEVEL=0 ### 0 is the most verbose mode, "trace"
>> uhd_usrp_probe
>>
>> if that doesn't give you a line like
>> "RFX tune: R=%d, BS=%d, P=%d, B=%d, A=%d, DIV2=%d"
>> we'll have to look deeper.
>>
>> Run your source build's CMake step again with
>>
>> cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUHD_LOG_MIN_LEVEL=0
>>       -your_OTHER_cmake_OPTIONS ..
>>
>> build and install the new shiny UHD. You should be getting the above
>> debug line. My hypothesis is that P=0. Is that right?
>>
>> Best regards,
>> Marcus
>>
>> On Sat, 2018-08-18 at 18:16 -0700, Bob Conley via USRP-users wrote:
>> > I realize these are old USRP-1s with 2 RFX900 daughterboards (DBs)
>> > but I would like to keep them running and appreciate any help.  It
>> > may also point to more current issues as outlined below.
>> >
>> > As in the following cases the uhd_usrp_probe command returns the
>> > correct DB ID but fails to return the name and operational parameters
>> > for the DB. See: transcript below.
>> >
>> > If I replace the RFX900 with the BasicRX DB, as Riccardo did in the
>> > second thread below, the probe command returns the expected results
>> > with all parameters populated and the USRP functions perfectly.
>> >
>> > As stated above, this error is similar to the apparently unresolved
>> > errors encountered in the January 2018 thread "[X300] UBX-40 v1
>> > compatibility issues." and the May 2017 "Daugther Board Manager Error
>> > - USRP2 - N210"
>> > see:
>> > http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2018-Janu
>> > ary/055334.html
>> > and
>> > http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-May/
>> > 052779.html
>> >
>> > I have a fresh install of the tool set on Ubuntu 16.04.3.
>> > conley@Ubuntu-16-4-3Dell:~/rfnoc$ uhd_config_info --version
>> > UHD 4.0.0.rfnoc-devel-702-geec24d7b
>> >
>> > I also ran the uhd_images_downloader which included the usrp-1 code.
>> > The error is repeatable on other similarly configured USRP-1s and on
>> > another development PC.
>> >
>> > Again, any help is greatly appreciated.
>> >
>> >
>> > Transcript
>> > _________________________________________
>> > conley@Ubuntu-16-4-3Dell:~/workarea-uhd/uhd/host/utils$
>> > uhd_usrp_probe
>> > [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
>> > UHD_3.13.0.HEAD-0-g5b236772
>> > [INFO] [USRP1] Opening a USRP1 device...
>> > [INFO] [FX2] Loading FPGA image:
>> > /usr/local/share/uhd/images/usrp1_fpga.rbf...
>> > [INFO] [FX2] FPGA image loaded
>> > [INFO] [USRP1] Using FPGA clock rate of 64.000000MHz...
>> > [ERROR] [DBMGR] The daughterboard manager encountered a recoverable
>> > error in init.
>> > Loading the "unknown" daughterboard implementations to continue.
>> > The daughterboard cannot operate until this error is resolved.
>> > LookupError: KeyError: key "0" not found in dict(i,
>> > N14adf4360_regs_t17prescaler_value_tE)
>> > [ERROR] [DBMGR] The daughterboard manager encountered a recoverable
>> > error in init.
>> > Loading the "unknown" daughterboard implementations to continue.
>> > The daughterboard cannot operate until this error is resolved.
>> > LookupError: KeyError: key "0" not found in dict(i,
>> > N14adf4360_regs_t17prescaler_value_tE)
>> >   _____________________________________________________
>> >  /
>> > |       Device: USRP1 Device
>> > |     _____________________________________________________
>> > |    /
>> > |   |       Mboard: USRP1
>> > |   |   serial: 4d76b228
>> > |   |
>> > |   |   Time sources:  none
>> > |   |   Clock sources: internal
>> > |   |   Sensors:
>> > |   |     _____________________________________________________
>> > |   |    /
>> > |   |   |       RX DSP: 0
>> > |   |   |
>> > |   |   |   Freq range: -32.000 to 32.000 MHz
>> > |   |     _____________________________________________________
>> > |   |    /
>> > |   |   |       RX DSP: 1
>> > |   |   |
>> > |   |   |   Freq range: -32.000 to 32.000 MHz
>> > |   |     _____________________________________________________
>> > |   |    /
>> > |   |   |       RX Dboard: A
>> > |   |   |   ID: RFX900 (0x0025)
>> > |   |   |     _____________________________________________________
>> > |   |   |    /
>> > |   |   |   |       RX Frontend: 0
>> > |   |   |   |   Name: Unknown (0xffff) - 0
>> > |   |   |   |   Antennas:
>> > |   |   |   |   Sensors:
>> > |   |   |   |   Freq range: 0.000 to 0.000 MHz
>> > |   |   |   |   Gain Elements: None
>> > |   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
>> > |   |   |   |   Connection Type: IQ
>> > |   |   |   |   Uses LO offset: No
>> > |   |   |     _____________________________________________________
>> > |   |   |    /
>> > |   |   |   |       RX Codec: A
>> > |   |   |   |   Name: ad9522
>> > |   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
>> > |   |     _____________________________________________________
>> > |   |    /
>> > |   |   |       RX Dboard: B
>> > |   |   |   ID: RFX900 (0x0025)
>> > |   |   |     _____________________________________________________
>> > |   |   |    /
>> > |   |   |   |       RX Frontend: 0
>> > |   |   |   |   Name: Unknown (0xffff) - 0
>> > |   |   |   |   Antennas:
>> > |   |   |   |   Sensors:
>> > |   |   |   |   Freq range: 0.000 to 0.000 MHz
>> > |   |   |   |   Gain Elements: None
>> > |   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
>> > |   |   |   |   Connection Type: IQ
>> > |   |   |   |   Uses LO offset: No
>> > |   |   |     _____________________________________________________
>> > |   |   |    /
>> > |   |   |   |       RX Codec: B
>> > |   |   |   |   Name: ad9522
>> > |   |   |   |   Gain range pga: 0.0 to 20.0 step 1.0 dB
>> > |   |     _____________________________________________________
>> > |   |    /
>> > |   |   |       TX DSP: 0
>> > |   |   |
>> > |   |   |   Freq range: -44.000 to 44.000 MHz
>> > |   |     _____________________________________________________
>> > |   |    /
>> > |   |   |       TX DSP: 1
>> > |   |   |
>> > |   |   |   Freq range: -44.000 to 44.000 MHz
>> > |   |     _____________________________________________________
>> > |   |    /
>> > |   |   |       TX Dboard: A
>> > |   |   |   ID: RFX900 (0x0029)
>> > |   |   |     _____________________________________________________
>> > |   |   |    /
>> > |   |   |   |       TX Frontend: 0
>> > |   |   |   |   Name: Unknown (0xffff) - 0
>> > |   |   |   |   Antennas:
>> > |   |   |   |   Sensors:
>> > |   |   |   |   Freq range: 0.000 to 0.000 MHz
>> > |   |   |   |   Gain Elements: None
>> > |   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
>> > |   |   |   |   Connection Type: IQ
>> > |   |   |   |   Uses LO offset: No
>> > |   |   |     _____________________________________________________
>> > |   |   |    /
>> > |   |   |   |       TX Codec: A
>> > |   |   |   |   Name: ad9522
>> > |   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB
>> > |   |     _____________________________________________________
>> > |   |    /
>> > |   |   |       TX Dboard: B
>> > |   |   |   ID: RFX900 (0x0029)
>> > |   |   |     _____________________________________________________
>> > |   |   |    /
>> > |   |   |   |       TX Frontend: 0
>> > |   |   |   |   Name: Unknown (0xffff) - 0
>> > |   |   |   |   Antennas:
>> > |   |   |   |   Sensors:
>> > |   |   |   |   Freq range: 0.000 to 0.000 MHz
>> > |   |   |   |   Gain Elements: None
>> > |   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
>> > |   |   |   |   Connection Type: IQ
>> > |   |   |   |   Uses LO offset: No
>> > |   |   |     _____________________________________________________
>> > |   |   |    /
>> > |   |   |   |       TX Codec: B
>> > |   |   |   |   Name: ad9522
>> > |   |   |   |   Gain range pga: -20.0 to 0.0 step 0.1 dB
>> >
>> >
>> >
>> > _______________________________________________
>> > USRP-users mailing list
>> > [email protected]
>> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>
>
>
>
> --
> --
> Bob Conley
> [email protected]
> 509-953-2182
>
>


-- 
--
Bob Conley
[email protected]
509-953-2182
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to