[srslte-users] Error with USRP B210

Philipp Schach s0564590 at HTW-Berlin.de
Tue Jun 22 08:45:28 UTC 2021


Hi,
I am currently expenrenting with srsRAN, open5gs and USRP B210. 
Currently, the setup basically works. However, I always keep after a few 
minutes the following error message:

[ERROR] ./lib/src/phy/rf/rf_uhd_imp.cc.1228: Error ERROR_CODE_BAD_PACKET 
was returned during streaming. Aborting.
[STREAMER] The receive packet handler caught a value exception.
ValueError: bad vrt header or packet fragment
/lib/src/phy/rf/rf_uhd_imp.cc.272: UHD unhandled event code 226
/lib/src/phy/rf/rf_uhd_imp.cc.1219: Error timed out while receiving 
samples from UHD.
[ERROR] [B200] Got a ctrl packet with unknown SID 2687893528
./lib/src/phy/rf/rf_uhd_imp.cc.1219: Error timed out while receiving 
samples from UHD.
./lib/src/phy/rf/rf_uhd_imp.cc.1219: Error timed out while receiving 
samples from UHD.
./lib/src/phy/rf/rf_uhd_imp.cc.1219: Error timed out while receiving 
samples from UHD.

enb config:
/home/u1804/srsLTE_20_10/srsLTE/srsenb/src/enb_cfg_parser.cc.890: Force 
DL EARFCN for cell PCI=1 to 3300
Opening 1 channels in RF device=default with args=default
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; 
UHD_3.15.0.0-release
[INFO] [LOGGING] Fastpath logging disabled at runtime.
[INFO] [B200] Loading firmware image: 
/usr/share/uhd/images/usrp_b200_fw.hex...
Opening USRP channels=1, args: type=b200,master_clock_rate=23.04e6
[INFO] [B200] Detected Device: B210
[INFO] [B200] Loading FPGA image: 
/usr/share/uhd/images/usrp_b210_fpga.bin...
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Detecting internal GPSDO....
[INFO] [GPS] No GPSDO found
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Asking for clock rate 23.040000 MHz...
[INFO] [B200] Actually got clock rate 23.040000 MHz.
Setting frequency: DL=2675.0 Mhz, UL=2555.0 MHz for cc_idx=0
...


I work with different PCs and different versions of srsRAN. I also have 
two USRPs available and have tried different frequencies and parameters. 
However, the error comes most of the time.

Does anyone have an idea what I could try or where the error comes from?

Regards Philipp


[ERROR] [B200] Error parsing ctrl packet: ValueError: bad vrt header or 
invalid packet length



More information about the srsran-users mailing list