Rob, I'm not sure what the implications would be, but you could try recompiling UHD with an updated *trace_delay_offset* and/or *offset_error* threshold:
https://github.com/EttusResearch/uhd/blob/UHD-3.15.LTS/mpm/python/usrp_mpm/dboard_manager/mg_init.py#L212 I'm not sure why your custom RFNoC block would change the measured propagation delay though.... on the surface, it seems like that would strictly be a characteristic of the motherboard. Sam Reiter On Fri, Jan 31, 2020 at 4:28 PM Rob Kossler via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi, > I just successfully built an N310 rfnoc XG image (build rpt attached) with > some custom blocks using fpga-src version v3.15.0.0, but I can't load the > image successfully on the device. Below you will find four consecutive > commands (highlighted in yellow) where I do the following: > > 1. uhd_image_loader to load my custom image (results show "clock > synchronizer offset" error) > 2. uhd_usrp_probe (results show "'NoneType' object has no attribute > 'get'" error) > 3. uhd_image_loader to load default XG image (no errors) > 4. uhd_usrp_probe (no errors) > > I have tried multiple times but I am getting the same results each time. I > have tried rebooting the N310, but still the same results. Any suggestions? > Rob > > > $ uhd_image_loader --args="type=n3xx,addr=192.168.64.2" > --fpga-path=usrp_n310_fpga_RFNOC_XG.bit > [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; > UHD_3.15.0.HEAD-0-gaea0e2de > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.64.2,type=n3xx,product=n310,serial=318F043,claimed=False,skip_init=1 > [INFO] [MPMD] Claimed device without full initialization. > [WARNING] [MPMD IMAGE LOADER] RuntimeError: Component file does not exist: > /home/irisheyes1/uhd_nd/fpga_images/n310/v3.15.0.0/20200131_ddc-duc-txarb-radarfilter3-fifo/build/usrp_n310_fpga_RFNOC_XG.dts > [INFO] [MPMD IMAGE LOADER] Starting update. This may take a while. > [INFO] [MPM.PeriphManager] Updating component `fpga' > [INFO] [MPM.RPCServer] Resetting peripheral manager. > [INFO] [MPM.PeriphManager] Device serial number: 318F043 > [INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s). > [INFO] [MPM.PeriphManager] init() called with device args > `time_source=internal,clock_source=internal'. > [ERROR] [MPM.Magnesium-0.init] Clock synchronizer measured an offset of > 132.5 ps! > [INFO] [MPMD IMAGE LOADER] Update component function succeeded. > [WARNING] [MPM.PeriphManager] Failed to initialize device on boot: Clock > synchronizer measured an offset of 132.5 ps! > > $ uhd_usrp_probe --args="addr=192.168.64.2" > [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; > UHD_3.15.0.HEAD-0-gaea0e2de > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.64.2,type=n3xx,product=n310,serial=318F043,claimed=False,addr=192.168.64.2 > [ERROR] [RPC] 'NoneType' object has no attribute 'get' > [INFO] [MPM.PeriphManager] init() called with device args > `time_source=internal,clock_source=internal,product=n310,mgmt_addr=192.168.64.2'. > [ERROR] [MPM.RPCServer] init() failed with error: 'NoneType' object has no > attribute 'get' > Error: RuntimeError: Error during RPC call to `init'. Error message: > 'NoneType' object has no attribute 'get' > > $ uhd_image_loader --args="type=n3xx,addr=192.168.64.2,fpga=XG" > [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; > UHD_3.15.0.HEAD-0-gaea0e2de > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.64.2,type=n3xx,product=n310,serial=318F043,claimed=False,skip_init=1 > [INFO] [MPMD] Claimed device without full initialization. > [INFO] [MPMD IMAGE LOADER] Starting update. This may take a while. > [INFO] [MPM.PeriphManager] Updating component `fpga' > [INFO] [MPM.PeriphManager] Updating component `dts' > [INFO] [MPM.RPCServer] Resetting peripheral manager. > [INFO] [MPM.PeriphManager] Device serial number: 318F043 > [INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s). > [INFO] [MPM.PeriphManager] init() called with device args > `clock_source=internal,time_source=internal'. > [INFO] [MPMD IMAGE LOADER] Update component function succeeded. > > $ uhd_usrp_probe --args="addr=192.168.64.2" > [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; > UHD_3.15.0.HEAD-0-gaea0e2de > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.64.2,type=n3xx,product=n310,serial=318F043,claimed=False,addr=192.168.64.2 > [INFO] [MPM.PeriphManager] init() called with device args > `time_source=internal,clock_source=internal,product=n310,mgmt_addr=192.168.64.2'. > [INFO] [0/Replay_0] Initializing block control (NOC ID: 0x4E91A00000000004) > [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000011312) > [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000011312) > [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000) > [INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000) > [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002) > [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000002) > [INFO] [0/FIFO_0] Initializing block control (NOC ID: 0xF1F0000000000000) > [INFO] [0/FIFO_1] Initializing block control (NOC ID: 0xF1F0000000000000) > [INFO] [0/FIFO_2] Initializing block control (NOC ID: 0xF1F0000000000000) > [INFO] [0/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000) > _____________________________________________________ > / > | Device: N300-Series Device > | _____________________________________________________ > | / > | | Mboard: ni-n3xx-318F043 > | | eeprom_version: 2 > | | mpm_version: 3.15.0.0-gaea0e2de > | | pid: 16962 > | | product: n310 > | | rev: 7 > | | rpc_connection: remote > | | serial: 318F043 > | | type: n3xx > | | MPM Version: 1.2 > | | FPGA Version: 5.3 > | | FPGA git hash: fde2a94.clean > | | RFNoC capable: Yes > | | > | | Time sources: internal, external, gpsdo, sfp0 > | | Clock sources: external, internal, gpsdo > | | Sensors: gps_tpv, gps_locked, ref_locked, fan, gps_sky, temp, > gps_gpgga, gps_time > | | _____________________________________________________ > | | / > | | | RX Dboard: A > | | | _____________________________________________________ > | | | / > | | | | RX Frontend: 0 > | | | | Name: Magnesium > | | | | Antennas: TX/RX, RX2, CAL, LOCAL > | | | | Sensors: lo_locked, lowband_lo_locked, ad9371_lo_locked > | | | | Freq range: 1.000 to 6000.000 MHz > | | | | Gain range all: 0.0 to 75.0 step 0.5 dB > | | | | Gain range rfic: 0.0 to 0.0 step 0.0 dB > | | | | Gain range dsa: 0.0 to 0.0 step 0.0 dB > | | | | Gain range amp: 0.0 to 0.0 step 0.0 dB > | | | | Bandwidth range: 20000000.0 to 100000000.0 step 0.0 Hz > | | | | Connection Type: IQ > | | | | Uses LO offset: No > | | | _____________________________________________________ > | | | / > | | | | RX Frontend: 1 > | | | | Name: Magnesium > | | | | Antennas: TX/RX, RX2, CAL, LOCAL > | | | | Sensors: lo_locked, lowband_lo_locked, ad9371_lo_locked > | | | | Freq range: 1.000 to 6000.000 MHz > | | | | Gain range all: 0.0 to 75.0 step 0.5 dB > | | | | Gain range rfic: 0.0 to 0.0 step 0.0 dB > | | | | Gain range dsa: 0.0 to 0.0 step 0.0 dB > | | | | Gain range amp: 0.0 to 0.0 step 0.0 dB > | | | | Bandwidth range: 20000000.0 to 100000000.0 step 0.0 Hz > | | | | Connection Type: IQ > | | | | Uses LO offset: No > | | | _____________________________________________________ > | | | / > | | | | RX Codec: A > | | | | Name: AD9371 Dual ADC > | | | | Gain Elements: None > | | _____________________________________________________ > | | / > | | | RX Dboard: B > | | | _____________________________________________________ > | | | / > | | | | RX Frontend: 0 > | | | | Name: Magnesium > | | | | Antennas: TX/RX, RX2, CAL, LOCAL > | | | | Sensors: lo_locked, lowband_lo_locked, ad9371_lo_locked > | | | | Freq range: 1.000 to 6000.000 MHz > | | | | Gain range all: 0.0 to 75.0 step 0.5 dB > | | | | Gain range rfic: 0.0 to 0.0 step 0.0 dB > | | | | Gain range dsa: 0.0 to 0.0 step 0.0 dB > | | | | Gain range amp: 0.0 to 0.0 step 0.0 dB > | | | | Bandwidth range: 20000000.0 to 100000000.0 step 0.0 Hz > | | | | Connection Type: IQ > | | | | Uses LO offset: No > | | | _____________________________________________________ > | | | / > | | | | RX Frontend: 1 > | | | | Name: Magnesium > | | | | Antennas: TX/RX, RX2, CAL, LOCAL > | | | | Sensors: lo_locked, lowband_lo_locked, ad9371_lo_locked > | | | | Freq range: 1.000 to 6000.000 MHz > | | | | Gain range all: 0.0 to 75.0 step 0.5 dB > | | | | Gain range rfic: 0.0 to 0.0 step 0.0 dB > | | | | Gain range dsa: 0.0 to 0.0 step 0.0 dB > | | | | Gain range amp: 0.0 to 0.0 step 0.0 dB > | | | | Bandwidth range: 20000000.0 to 100000000.0 step 0.0 Hz > | | | | Connection Type: IQ > | | | | Uses LO offset: No > | | | _____________________________________________________ > | | | / > | | | | RX Codec: B > | | | | Name: AD9371 Dual ADC > | | | | Gain Elements: None > | | _____________________________________________________ > | | / > | | | TX Dboard: A > | | | _____________________________________________________ > | | | / > | | | | TX Frontend: 0 > | | | | Name: Magnesium > | | | | Antennas: TX/RX > | | | | Sensors: lo_locked, lowband_lo_locked, ad9371_lo_locked > | | | | Freq range: 1.000 to 6000.000 MHz > | | | | Gain range all: 0.0 to 65.0 step 0.5 dB > | | | | Gain range rfic: 0.0 to 0.0 step 0.0 dB > | | | | Gain range dsa: 0.0 to 0.0 step 0.0 dB > | | | | Gain range amp: 0.0 to 0.0 step 0.0 dB > | | | | Bandwidth range: 20000000.0 to 100000000.0 step 0.0 Hz > | | | | Connection Type: IQ > | | | | Uses LO offset: No > | | | _____________________________________________________ > | | | / > | | | | TX Frontend: 1 > | | | | Name: Magnesium > | | | | Antennas: TX/RX > | | | | Sensors: lo_locked, lowband_lo_locked, ad9371_lo_locked > | | | | Freq range: 1.000 to 6000.000 MHz > | | | | Gain range all: 0.0 to 65.0 step 0.5 dB > | | | | Gain range rfic: 0.0 to 0.0 step 0.0 dB > | | | | Gain range dsa: 0.0 to 0.0 step 0.0 dB > | | | | Gain range amp: 0.0 to 0.0 step 0.0 dB > | | | | Bandwidth range: 20000000.0 to 100000000.0 step 0.0 Hz > | | | | Connection Type: IQ > | | | | Uses LO offset: No > | | | _____________________________________________________ > | | | / > | | | | TX Codec: A > | | | | Name: AD9371 Dual DAC > | | | | Gain Elements: None > | | _____________________________________________________ > | | / > | | | TX Dboard: B > | | | _____________________________________________________ > | | | / > | | | | TX Frontend: 0 > | | | | Name: Magnesium > | | | | Antennas: TX/RX > | | | | Sensors: lo_locked, lowband_lo_locked, ad9371_lo_locked > | | | | Freq range: 1.000 to 6000.000 MHz > | | | | Gain range all: 0.0 to 65.0 step 0.5 dB > | | | | Gain range rfic: 0.0 to 0.0 step 0.0 dB > | | | | Gain range dsa: 0.0 to 0.0 step 0.0 dB > | | | | Gain range amp: 0.0 to 0.0 step 0.0 dB > | | | | Bandwidth range: 20000000.0 to 100000000.0 step 0.0 Hz > | | | | Connection Type: IQ > | | | | Uses LO offset: No > | | | _____________________________________________________ > | | | / > | | | | TX Frontend: 1 > | | | | Name: Magnesium > | | | | Antennas: TX/RX > | | | | Sensors: lo_locked, lowband_lo_locked, ad9371_lo_locked > | | | | Freq range: 1.000 to 6000.000 MHz > | | | | Gain range all: 0.0 to 65.0 step 0.5 dB > | | | | Gain range rfic: 0.0 to 0.0 step 0.0 dB > | | | | Gain range dsa: 0.0 to 0.0 step 0.0 dB > | | | | Gain range amp: 0.0 to 0.0 step 0.0 dB > | | | | Bandwidth range: 20000000.0 to 100000000.0 step 0.0 Hz > | | | | Connection Type: IQ > | | | | Uses LO offset: No > | | | _____________________________________________________ > | | | / > | | | | TX Codec: B > | | | | Name: AD9371 Dual DAC > | | | | Gain Elements: None > | | _____________________________________________________ > | | / > | | | RFNoC blocks on this device: > | | | > | | | * Replay_0 > | | | * Radio_0 > | | | * Radio_1 > | | | * DDC_0 > | | | * DDC_1 > | | | * DUC_0 > | | | * DUC_1 > | | | * FIFO_0 > | | | * FIFO_1 > | | | * FIFO_2 > | | | * FIFO_3 > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com