[USRP-users] Bad CHDR or packet fragment when non default spp is used

Дмитрий Михайличенко mdmikh at gmail.com
Tue Oct 31 11:25:53 EDT 2017


I am trying to set "spp" parameter for rx stream to match some time period
but attached test program fails as following:

$ sudo ./test1
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.010.002.000-5-g4bbf0c20

-- X300 initialization sequence...
-- Connecting to niusrpriorpc at localhost:5444...
-- Using LVBITX bitfile
/usr/local/share/uhd/images/usrp_x310_fpga_HG.lvbitx...
-- Setup basic communication...
-- Loading values from EEPROM...
-- Setup RF frontend clocking...
-- Radio 1x clock:184.32
-- [DMA FIFO] Running BIST for FIFO 0... pass (Throughput: 1297.2MB/s)
-- [DMA FIFO] Running BIST for FIFO 1... pass (Throughput: 1302.0MB/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
Receive frequency: 2630MHz
Streaming...
100us = 1536
Max samples per packet = 1020

UHD Error:
    The receive packet handler caught a value exception.
    ValueError: Bad CHDR or packet fragment

I use X310 device connected through PCIe.
If I do not set "spp" the program runs as expected.


thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20171031/5511f157/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test1.cpp
Type: text/x-c++src
Size: 1770 bytes
Desc: not available
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20171031/5511f157/attachment.cpp>


More information about the USRP-users mailing list