I also had that issue. None of calibration utility worked. At the end of the 
procedure they were all aborted.
As a workaround I replaced threads.interrupt_all() and 
boost::this_thread::interruption_requested() to just set/get  boolean flag. 
Perhaps it has something to do with boost.

thanks,
Dmitry

From: Louis Brown via USRP-users
Sent: 12 января 2018 г. 2:04
To: usrp-users@lists.ettus.com
Subject: [USRP-users] uhd_cal Aborted (core dump)

I have a UBX160 in an X310 I'm attempting to calibrate.  It crashes at the end 
and never writes the cal files in ~/.uhd.  Does this for all 3 cal routines; TX 
IQ, RX, IQ, and TX DC.  Does it on two separate X310 on two separate machines.

Any idea what's wrong?  For reference:

https://github.com/EttusResearch/uhd/blob/maint/host/utils/uhd_cal_rx_iq_balance.cpp

Thanks,
Lou

uhd_cal_rx_iq_balance --verbose --args "addr=192.168.40.2" --freq_start=1.60E9 
--freq_stop=1.61E9
linux; GNU C++ version 7.2.1 20170915 (Red Hat 7.2.1-2); Boost_106400; 
UHD_003.010.002.000-3-g122bfae1


Creating the usrp device with: addr=192.168.40.2...
-- X300 initialization sequence...
-- Determining maximum frame size... 8000 bytes.
-- Setup basic communication...
-- Loading values from EEPROM...
-- Setup RF frontend clocking...
-- Radio 1x clock:200
-- Detecting internal GPSDO.... Found an internal GPSDO: LC_XO, Firmware Rev 
0.929a
-- [DMA FIFO] Running BIST for FIFO 0... pass (Throughput: 1304.6MB/s)
-- [DMA FIFO] Running BIST for FIFO 1... pass (Throughput: 1304.5MB/s)
-- [RFNoC Radio] Performing register loopback test... pass
-- [RFNoC Radio] Performing register loopback test... pass
-- [RFNoC Radio] Performing register loopback test... pass
-- [RFNoC Radio] Performing register loopback test... pass
-- Performing timer loopback test... pass
-- Performing timer loopback test... pass
-- Running calibration for UBX TX
-- Daughterboard serial: 30891B2
-- Calibration frequency range: 1600 MHz -> 1610 MHz
RX IQ: 1600.000000 MHz: best suppression 87.490202 dB, corrected 37.821619 dB
RX IQ: 1607.301587 MHz: best suppression 93.060566 dB, corrected 43.052988 dB

terminate called without an active exception
Aborted (core dumped)

Last couple of entries in the /tmp/uhd.log:

--------------------------------------------------------------------------------
-- 2018-Jan-11 16:41:45.871915 - level 6
-- virtual void uhd::rfnoc::radio_ctrl_impl::issue_stream_cmd(const uhd::stream_
-- lib/rfnoc/radio_ctrl_impl.cpp:246
--------------------------------------------------------------------------------
[0/Radio_1] radio_ctrl_impl::issue_stream_cmd() 0 d


--------------------------------------------------------------------------------
-- 2018-Jan-11 16:41:45.871927 - level 6
-- virtual void uhd::rfnoc::radio_ctrl_impl::issue_stream_cmd(const uhd::stream_
-- lib/rfnoc/radio_ctrl_impl.cpp:248
--------------------------------------------------------------------------------
[0/Radio_1] radio_ctrl_impl::issue_stream_cmd() called on inactive channel. 
Skipping.

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to