Hi Rob,

Thanks again for the feedback.  I'm glad to hear the issue is resolved on
the N310.  We will dig in further on the X310 and let you know what we
find.  I did notice the error seems to occur when the number of total
samples received (including those flushed) is aligned to 1996.  A possible
workaround in the meantime may be to use STREAM_MODE_NUM_SAMPS_AND_DONE
with a number of samples not aligned to 1996 or to time the stop command
such that it does not land on a multiple of 1996 samples.

Regards,
Michael

On Tue, Sep 18, 2018 at 8:22 AM, Rob Kossler <rkoss...@nd.edu> wrote:

> Michael,
> I got a chance to test the latest 3.13 changes with regard to the Rx
> timeouts discussed in this thread.  On my N310, the timeouts seem to be
> fixed - I did not experience any in my testing.  However, on the X310, I
> still occasionally get a timeout using the same
> "txrx_loopback_to_file_repeat" program I attached earlier in this thread.
>
> Rob
>
> A few remarks
>
>    - Below you will find the console output for
>    txrx_loopback_to_file_repeat followed by the output for uhd_usrp_probe
>    - Note below the error (timeout) on iterations 8 and 14
>    - Previously, after an error occurred, all subsequent iterations would
>    fail, but this is not the case anymore.  In fact, for all iterations, the
>    desired data capture completed successfully - the timeout happened during
>    the "flush" operation.
>    - The error does not always occur in this program which is hardcoded
>    for 50 iterations.  So, if no error occurs, simply run again and likely
>    there will be at least one error.
>    - Note that I changed some of the command line parameters (such as
>    tx-rate and rx-rate) in an attempt to make the error occur more often, but
>    I really don't know if it matters
>
>
> $ txrx_loopback_to_file_repeat --tx-args="addr=192.168.46.2"
> --rx-args="addr=192.168.46.2" --nsamps=1000000 --tx-rate=50e6
> --rx-rate=100e6 --tx-channels=0,1 --rx-channels=0,1 --tx-freq=2500e6
> --rx-freq=2500e6 --file=/media/ramfolder/usrp_samples
>
> Creating the transmit usrp device with: addr=192.168.46.2...
> [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
> UHD_3.13.0.3-0-g85347b89
> [INFO] [X300] X300 initialization sequence...
> [INFO] [X300] Maximum frame size: 8000 bytes.
> [INFO] [X300] Radio 1x clock: 200 MHz
> [INFO] [0/DmaFIFO_0] Initializing block control (NOC ID:
> 0xF1F0D00000000000)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1296 MB/s)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1306 MB/s)
> [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001)
> [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001)
> [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: 0xD0C0000000000000)
> [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000)
>
> Creating the receive usrp device with: addr=192.168.46.2...
> Using TX Device: Single USRP:
>   Device: X-Series Device
>   Mboard 0: X310
>   RX Channel: 0
>     RX DSP: 0
>     RX Dboard: A
>     RX Subdev: UBX RX
>   RX Channel: 1
>     RX DSP: 0
>     RX Dboard: B
>     RX Subdev: UBX RX
>   TX Channel: 0
>     TX DSP: 0
>     TX Dboard: A
>     TX Subdev: UBX TX
>   TX Channel: 1
>     TX DSP: 0
>     TX Dboard: B
>     TX Subdev: UBX TX
>
> Using RX Device: Single USRP:
>   Device: X-Series Device
>   Mboard 0: X310
>   RX Channel: 0
>     RX DSP: 0
>     RX Dboard: A
>     RX Subdev: UBX RX
>   RX Channel: 1
>     RX DSP: 0
>     RX Dboard: B
>     RX Subdev: UBX RX
>   TX Channel: 0
>     TX DSP: 0
>     TX Dboard: A
>     TX Subdev: UBX TX
>   TX Channel: 1
>     TX DSP: 0
>     TX Dboard: B
>     TX Subdev: UBX TX
>
> Setting TX Rate: 50.000000 Msps...
> Actual TX Rate: 50.000000 Msps...
>
> Setting RX Rate: 100.000000 Msps...
> Actual RX Rate: 100.000000 Msps...
>
> Configuring TX Channel 0
> Setting TX Freq: 2500.000000 MHz...
> Actual TX Freq: 2500.000000 MHz...
>
> Configuring TX Channel 1
> Setting TX Freq: 2500.000000 MHz...
> Actual TX Freq: 2500.000000 MHz...
>
> Configuring RX Channel 0
> Setting RX Freq: 2500.000000 MHz...
> Actual RX Freq: 2500.000000 MHz...
>
> Configuring RX Channel 1
> Setting RX Freq: 2500.000000 MHz...
> Actual RX Freq: 2500.000000 MHz...
>
> Checking TX: TXLO: locked ...
> Checking RX: RXLO: locked ...
> Setting device timestamp to 0...
> Iteration 0 at time 0.212949
>   Num samples received: 1017960
>   Flush samps received: 19393; EOB: 1; ERR: 0
> Iteration 1 at time 0.434254
>   Num samples received: 1017960
>   Flush samps received: 11682; EOB: 1; ERR: 0
> Iteration 2 at time 0.655387
>   Num samples received: 1017960
>   Flush samps received: 15294; EOB: 1; ERR: 0
> Iteration 3 at time 0.87674
>   Num samples received: 1017960
>   Flush samps received: 12270; EOB: 1; ERR: 0
> Iteration 4 at time 1.09799
>   Num samples received: 1017960
>   Flush samps received: 15745; EOB: 1; ERR: 0
> Iteration 5 at time 1.31925
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 3214; EOB: 1; ERR: 0
> Iteration 6 at time 1.54068
>   Num samples received: 1017960
>   Flush samps received: 16435; EOB: 1; ERR: 0
> Iteration 7 at time 1.7619
>   Num samples received: 1017960
>   Flush samps received: 19339; EOB: 1; ERR: 0
> Iteration 8 at time 1.98327
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 1996; EOB: 0; ERR: 0
>   Flush samps received: 0; EOB: 0; ERR: 1
> Iteration 9 at time 2.40473
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 1870; EOB: 1; ERR: 0
> Iteration 10 at time 2.62615
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 3659; EOB: 1; ERR: 0
> Iteration 11 at time 2.84743
>   Num samples received: 1017960
>   Flush samps received: 19019; EOB: 1; ERR: 0
> Iteration 12 at time 3.06864
>   Num samples received: 1017960
>   Flush samps received: 16446; EOB: 1; ERR: 0
> Iteration 13 at time 3.28997
>   Num samples received: 1017960
>   Flush samps received: 11355; EOB: 1; ERR: 0
> Iteration 14 at time 3.51127
>   Num samples received: 1017960
>   Flush samps received: 17964; EOB: 0; ERR: 0
>   Flush samps received: 0; EOB: 0; ERR: 1
> Iteration 15 at time 3.93273
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 1100; EOB: 1; ERR: 0
> Iteration 16 at time 4.15405
>   Num samples received: 1017960
>   Flush samps received: 19630; EOB: 1; ERR: 0
> Iteration 17 at time 4.37537
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 555; EOB: 1; ERR: 0
> Iteration 18 at time 4.59675
>   Num samples received: 1017960
>   Flush samps received: 11456; EOB: 1; ERR: 0
> Iteration 19 at time 4.81791
>   Num samples received: 1017960
>   Flush samps received: 12014; EOB: 1; ERR: 0
> Iteration 20 at time 5.0393
>   Num samples received: 1017960
>   Flush samps received: 17758; EOB: 1; ERR: 0
> Iteration 21 at time 5.26061
>   Num samples received: 1017960
>   Flush samps received: 11894; EOB: 1; ERR: 0
> Iteration 22 at time 5.48183
>   Num samples received: 1017960
>   Flush samps received: 17742; EOB: 1; ERR: 0
> Iteration 23 at time 5.70304
>   Num samples received: 1017960
>   Flush samps received: 13635; EOB: 1; ERR: 0
> Iteration 24 at time 5.92424
>   Num samples received: 1017960
>   Flush samps received: 13918; EOB: 1; ERR: 0
> Iteration 25 at time 6.14547
>   Num samples received: 1017960
>   Flush samps received: 13891; EOB: 1; ERR: 0
> Iteration 26 at time 6.36667
>   Num samples received: 1017960
>   Flush samps received: 16441; EOB: 1; ERR: 0
> Iteration 27 at time 6.58795
>   Num samples received: 1017960
>   Flush samps received: 12009; EOB: 1; ERR: 0
> Iteration 28 at time 6.80918
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 4065; EOB: 1; ERR: 0
> Iteration 29 at time 7.03052
>   Num samples received: 1017960
>   Flush samps received: 18035; EOB: 1; ERR: 0
> Iteration 30 at time 7.25181
>   Num samples received: 1017960
>   Flush samps received: 18619; EOB: 1; ERR: 0
> Iteration 31 at time 7.47297
>   Num samples received: 1017960
>   Flush samps received: 15896; EOB: 1; ERR: 0
> Iteration 32 at time 7.69416
>   Num samples received: 1017960
>   Flush samps received: 19854; EOB: 1; ERR: 0
> Iteration 33 at time 7.91547
>   Num samples received: 1017960
>   Flush samps received: 18318; EOB: 1; ERR: 0
> Iteration 34 at time 8.13672
>   Num samples received: 1017960
>   Flush samps received: 16676; EOB: 1; ERR: 0
> Iteration 35 at time 8.35796
>   Num samples received: 1017960
>   Flush samps received: 16083; EOB: 1; ERR: 0
> Iteration 36 at time 8.57916
>   Num samples received: 1017960
>   Flush samps received: 15737; EOB: 1; ERR: 0
> Iteration 37 at time 8.80039
>   Num samples received: 1017960
>   Flush samps received: 17694; EOB: 1; ERR: 0
> Iteration 38 at time 9.02171
>   Num samples received: 1017960
>   Flush samps received: 12233; EOB: 1; ERR: 0
> Iteration 39 at time 9.24293
>   Num samples received: 1017960
>   Flush samps received: 13635; EOB: 1; ERR: 0
> Iteration 40 at time 9.46412
>   Num samples received: 1017960
>   Flush samps received: 14291; EOB: 1; ERR: 0
> Iteration 41 at time 9.68535
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 161; EOB: 1; ERR: 0
> Iteration 42 at time 9.90668
>   Num samples received: 1017960
>   Flush samps received: 15625; EOB: 1; ERR: 0
> Iteration 43 at time 10.1279
>   Num samples received: 1017960
>   Flush samps received: 17891; EOB: 1; ERR: 0
> Iteration 44 at time 10.3491
>   Num samples received: 1017960
>   Flush samps received: 19960; EOB: 0; ERR: 0
>   Flush samps received: 5097; EOB: 1; ERR: 0
> Iteration 45 at time 10.5706
>   Num samples received: 1017960
>   Flush samps received: 11640; EOB: 1; ERR: 0
> Iteration 46 at time 10.7917
>   Num samples received: 1017960
>   Flush samps received: 13350; EOB: 1; ERR: 0
> Iteration 47 at time 11.013
>   Num samples received: 1017960
>   Flush samps received: 18625; EOB: 1; ERR: 0
> Iteration 48 at time 11.2342
>   Num samples received: 1017960
>   Flush samps received: 13630; EOB: 1; ERR: 0
> Iteration 49 at time 11.4554
>   Num samples received: 1017960
>   Flush samps received: 15897; EOB: 1; ERR: 0
>
> Done!
>
> $ uhd_usrp_probe
> [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
> UHD_3.13.0.3-0-g85347b89
> [INFO] [X300] X300 initialization sequence...
> [INFO] [X300] Maximum frame size: 8000 bytes.
> [INFO] [X300] Radio 1x clock: 200 MHz
> [INFO] [0/DmaFIFO_0] Initializing block control (NOC ID:
> 0xF1F0D00000000000)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1317 MB/s)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1317 MB/s)
> [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001)
> [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001)
> [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: 0xD0C0000000000000)
> [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000)
>   _____________________________________________________
>  /
> |       Device: X-Series Device
> |     _____________________________________________________
> |    /
> |   |       Mboard: X310
> |   |   revision: 8
> |   |   revision_compat: 7
> |   |   product: 30818
> |   |   mac-addr0: 00:80:2f:25:85:bf
> |   |   mac-addr1: 00:80:2f:25:85:c0
> |   |   gateway: 192.168.10.1
> |   |   ip-addr0: 192.168.10.2
> |   |   subnet0: 255.255.255.0
> |   |   ip-addr1: 192.168.20.2
> |   |   subnet1: 255.255.255.0
> |   |   ip-addr2: 192.168.146.2
> |   |   subnet2: 255.255.255.0
> |   |   ip-addr3: 192.168.46.2
> |   |   subnet3: 255.255.255.0
> |   |   serial: 30DF0D1
> |   |   FW Version: 6.0
> |   |   FPGA Version: 35.1
> |   |   FPGA git hash: c429b31
> |   |   RFNoC capable: Yes
> |   |
> |   |   Time sources:  internal, external, gpsdo
> |   |   Clock sources: internal, external, gpsdo
> |   |   Sensors: ref_locked
> |   |     _____________________________________________________
> |   |    /
> |   |   |       RX Dboard: A
> |   |   |   ID: UBX-160 v1 (0x007a)
> |   |   |   Serial: 30B6D2A
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       RX Frontend: 0
> |   |   |   |   Name: UBX RX
> |   |   |   |   Antennas: TX/RX, RX2, CAL
> |   |   |   |   Sensors: lo_locked
> |   |   |   |   Freq range: 10.000 to 6000.000 MHz
> |   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
> |   |   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
> |   |   |   |   Connection Type: IQ
> |   |   |   |   Uses LO offset: No
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       RX Codec: A
> |   |   |   |   Name: ads62p48
> |   |   |   |   Gain range digital: 0.0 to 6.0 step 0.5 dB
> |   |     _____________________________________________________
> |   |    /
> |   |   |       RX Dboard: B
> |   |   |   ID: UBX-160 v1 (0x007a)
> |   |   |   Serial: 30B6D1D
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       RX Frontend: 0
> |   |   |   |   Name: UBX RX
> |   |   |   |   Antennas: TX/RX, RX2, CAL
> |   |   |   |   Sensors: lo_locked
> |   |   |   |   Freq range: 10.000 to 6000.000 MHz
> |   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
> |   |   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
> |   |   |   |   Connection Type: IQ
> |   |   |   |   Uses LO offset: No
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       RX Codec: B
> |   |   |   |   Name: ads62p48
> |   |   |   |   Gain range digital: 0.0 to 6.0 step 0.5 dB
> |   |     _____________________________________________________
> |   |    /
> |   |   |       TX Dboard: A
> |   |   |   ID: UBX-160 v1 (0x0079)
> |   |   |   Serial: 30B6D2A
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       TX Frontend: 0
> |   |   |   |   Name: UBX TX
> |   |   |   |   Antennas: TX/RX, CAL
> |   |   |   |   Sensors: lo_locked
> |   |   |   |   Freq range: 10.000 to 6000.000 MHz
> |   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
> |   |   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
> |   |   |   |   Connection Type: QI
> |   |   |   |   Uses LO offset: No
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       TX Codec: A
> |   |   |   |   Name: ad9146
> |   |   |   |   Gain Elements: None
> |   |     _____________________________________________________
> |   |    /
> |   |   |       TX Dboard: B
> |   |   |   ID: UBX-160 v1 (0x0079)
> |   |   |   Serial: 30B6D1D
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       TX Frontend: 0
> |   |   |   |   Name: UBX TX
> |   |   |   |   Antennas: TX/RX, CAL
> |   |   |   |   Sensors: lo_locked
> |   |   |   |   Freq range: 10.000 to 6000.000 MHz
> |   |   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
> |   |   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
> |   |   |   |   Connection Type: QI
> |   |   |   |   Uses LO offset: No
> |   |   |     _____________________________________________________
> |   |   |    /
> |   |   |   |       TX Codec: B
> |   |   |   |   Name: ad9146
> |   |   |   |   Gain Elements: None
> |   |     _____________________________________________________
> |   |    /
> |   |   |       RFNoC blocks on this device:
> |   |   |
> |   |   |   * DmaFIFO_0
> |   |   |   * Radio_0
> |   |   |   * Radio_1
> |   |   |   * DDC_0
> |   |   |   * DDC_1
> |   |   |   * DUC_0
> |   |   |   * DUC_1
>
>
>
>
> On Mon, Sep 17, 2018 at 11:12 AM Rob Kossler <rkoss...@nd.edu> wrote:
>
>> Hi Michael,
>> Were these issues resolved in a recent commit (included in 3.13.0.3 RC)?
>> Rob
>>
>> On Thu, Sep 6, 2018 at 2:12 PM Michael West <michael.w...@ettus.com>
>> wrote:
>>
>>> Update:  The issue is included on the head of the UHD-3.12 branch, but
>>> is not included in the v3.12.0.0 release.  So, be sure to checkout the
>>> v3.12.0.0 tag.
>>>
>>> The issue we replicated is the STREAM_CMD_NUM_SAMPS_AND_DONE.  The
>>> continuous streaming issue is still outstanding, but may be related.
>>>
>>> Regards,
>>> Michael
>>>
>>> On Thu, Sep 6, 2018 at 10:57 AM, Rob Kossler <rkoss...@nd.edu> wrote:
>>>
>>>> OK. I will give it a shot.  Which issue did you duplicate (the
>>>> confusion is my fault for discussing two different issues in the same
>>>> thread): Issue #1 (NUM_SAMPS_AND_DONE) or Issue #2 (CONTINUOUS)?
>>>>
>>>> Rob
>>>>
>>>> On Thu, Sep 6, 2018 at 1:52 PM Michael West <michael.w...@ettus.com>
>>>> wrote:
>>>>
>>>>> Hi Rob,
>>>>>
>>>>> Thank you once again.  We have reproduced the issue and are working on
>>>>> tracing down the root cause and fixing the issue.  We have confirmed that
>>>>> the issue exists on 3.13, but we have also confirmed it does not exist on
>>>>> 3.12.0.0.  So, you can use v3.12.0.0 in the meantime.  To be sure you are
>>>>> using the correct FPGA image for v3.12.0.0, be sure to run
>>>>> 'uhd_images_downloader --refetch'.
>>>>>
>>>>> Regards,
>>>>> Michael
>>>>>
>>>>> On Tue, Sep 4, 2018 at 3:21 PM, Rob Kossler via USRP-users <
>>>>> usrp-users@lists.ettus.com> wrote:
>>>>>
>>>>>> Today, I confirmed that this issue exists on the head of 3.13 and
>>>>>> 3.12, but not 3.11.  The example program provided with my previous post 
>>>>>> can
>>>>>> be compiled with any of these versions.
>>>>>>
>>>>>> Rob
>>>>>>
>>>>>> On Fri, Aug 31, 2018 at 12:33 PM Rob Kossler <rkoss...@nd.edu> wrote:
>>>>>>
>>>>>>> In this post and one other post, I mentioned two issues I am having
>>>>>>> related to N310 streaming:
>>>>>>>
>>>>>>>    1. With STREAM_MODE_NUM_SAMPS_AND_DONE, sometimes I get a
>>>>>>>    timeout prior to receiving the requested number of samples (this is 
>>>>>>> the
>>>>>>>    issue identified in this post). This may be simply dependent upon the
>>>>>>>    number of samples requested.
>>>>>>>    2. With STREAM_MODE_START_CONTINUOUS, I get errors with repeated
>>>>>>>    captures such that after several successful captures, I eventually 
>>>>>>> get a
>>>>>>>    streaming timeout and all subsequent captures fail.
>>>>>>>
>>>>>>> So, turns out that this issue is bigger for me than I realized.  I
>>>>>>> had a bunch of trouble yesterday while doing some research 
>>>>>>> experimentation.
>>>>>>> I had selected to go with X310 devices rather than N310 devices because 
>>>>>>> of
>>>>>>> their relative maturity.  Today, I confirmed that my issues yesterday 
>>>>>>> with
>>>>>>> the X310 are the same as I previously mentioned for the N310 (#2 above).
>>>>>>> So, perhaps it is an issue with UHD-3.13 (I did not check any other 
>>>>>>> branch).
>>>>>>>
>>>>>>> I modified the Ettus "txrx_loopback_to_file.cpp" code to include a
>>>>>>> "for loop of 50 iterations" and changed the streaming mode to be
>>>>>>> continuous.  The modified source is included as an attachment (a 'diff' 
>>>>>>> of
>>>>>>> my code to the original with show the minor changes I made).  I 
>>>>>>> attached a
>>>>>>> console log of the output messages when run with my X310 which shows 
>>>>>>> both
>>>>>>> the command line parameters I used as well as the resulting errors.  
>>>>>>> Note
>>>>>>> that everything is going as expected through Iteration 5, but starting 
>>>>>>> at
>>>>>>> Iteration 6, there is no end-of-burst (EOB) and starting at Iteration 
>>>>>>> 8, a
>>>>>>> timeout occurs prior to receiving any samples.
>>>>>>>
>>>>>>> Please let me know if you have any questions.  This is a pretty big
>>>>>>> issue for me and will prevent me from using 3.13 until addressed.
>>>>>>>
>>>>>>> Rob
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Aug 24, 2018 at 2:46 PM Rob Kossler <rkoss...@nd.edu> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> This post is perhaps a continuation of a previous post "Problems
>>>>>>>> with MPM 3.13 on N310", but I wanted to change the subject to reflect 
>>>>>>>> this
>>>>>>>> current issue.
>>>>>>>>
>>>>>>>> The issue is an Rx streaming timeout.  It can be easily duplicated
>>>>>>>> with a stock Ettus example.  Below you will find the console log which
>>>>>>>> includes the command line parameters.  Note the following:
>>>>>>>>
>>>>>>>>    - I requested 31250 samples
>>>>>>>>    - There is a error "Timeout while streaming" indicated at the
>>>>>>>>    end
>>>>>>>>    - The final file size of 119340 indicates that 29835 samples
>>>>>>>>    were received
>>>>>>>>    - I do not have any reason to believe that the specific command
>>>>>>>>    line arguments below are needed to duplicate the issue.  I just 
>>>>>>>> didn't
>>>>>>>>    bother to try other ones.
>>>>>>>>
>>>>>>>> In the other thread, I mentioned that my Rx timeout issue had gone
>>>>>>>> away after switching to streaming mode STREAM_MODE_NUM_SAMPS_AND_DONE.
>>>>>>>> However, the issue below occurs when using that mode so it will be a
>>>>>>>> problem for me.
>>>>>>>>
>>>>>>>> Let me know if you have any questions.
>>>>>>>>
>>>>>>>> Rob
>>>>>>>>
>>>>>>>>
>>>>>>>> irisheyes9@irisheyes9-Z240-SFF:/media/SSD_RAID/multi_pol$
>>>>>>>> txrx_loopback_to_file --tx-args="addr=192.168.61.2"
>>>>>>>> --rx-args="addr=192.168.61.2" --nsamps=31250 --tx-rate=31.25e6
>>>>>>>> --rx-rate=31.25e6 --tx-channels=0,1 --rx-channels=2,3 --tx-freq=2500e6
>>>>>>>> --rx-freq=2500e6
>>>>>>>>
>>>>>>>> Creating the transmit usrp device with: addr=192.168.61.2...
>>>>>>>> [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
>>>>>>>> UHD_3.13.0.2-0-g0ddc19e5
>>>>>>>> [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
>>>>>>>> mgmt_addr=192.168.61.2,type=n3xx,product=n310,serial=
>>>>>>>> 315A34B,claimed=False,addr=192.168.61.2
>>>>>>>> [INFO] [MPM.PeriphManager] init() called with device args
>>>>>>>> `mgmt_addr=192.168.61.2,product=n310'.
>>>>>>>> [INFO] [0/DmaFIFO_0] Initializing block control (NOC ID:
>>>>>>>> 0xF1F0D00000000004)
>>>>>>>> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1320 MB/s)
>>>>>>>> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1336 MB/s)
>>>>>>>> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1331 MB/s)
>>>>>>>> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1349 MB/s)
>>>>>>>> [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)
>>>>>>>>
>>>>>>>> Creating the receive usrp device with: addr=192.168.61.2...
>>>>>>>> Using TX Device: Single USRP:
>>>>>>>>   Device: N300-Series Device
>>>>>>>>   Mboard 0: ni-n3xx-315A34B
>>>>>>>>   RX Channel: 0
>>>>>>>>     RX DSP: 0
>>>>>>>>     RX Dboard: A
>>>>>>>>     RX Subdev: Magnesium
>>>>>>>>   RX Channel: 1
>>>>>>>>     RX DSP: 1
>>>>>>>>     RX Dboard: A
>>>>>>>>     RX Subdev: Magnesium
>>>>>>>>   RX Channel: 2
>>>>>>>>     RX DSP: 0
>>>>>>>>     RX Dboard: B
>>>>>>>>     RX Subdev: Magnesium
>>>>>>>>   RX Channel: 3
>>>>>>>>     RX DSP: 1
>>>>>>>>     RX Dboard: B
>>>>>>>>     RX Subdev: Magnesium
>>>>>>>>   TX Channel: 0
>>>>>>>>     TX DSP: 0
>>>>>>>>     TX Dboard: A
>>>>>>>>     TX Subdev: Magnesium
>>>>>>>>   TX Channel: 1
>>>>>>>>     TX DSP: 1
>>>>>>>>     TX Dboard: A
>>>>>>>>     TX Subdev: Magnesium
>>>>>>>>   TX Channel: 2
>>>>>>>>     TX DSP: 0
>>>>>>>>     TX Dboard: B
>>>>>>>>     TX Subdev: Magnesium
>>>>>>>>   TX Channel: 3
>>>>>>>>     TX DSP: 1
>>>>>>>>     TX Dboard: B
>>>>>>>>     TX Subdev: Magnesium
>>>>>>>>
>>>>>>>> Using RX Device: Single USRP:
>>>>>>>>   Device: N300-Series Device
>>>>>>>>   Mboard 0: ni-n3xx-315A34B
>>>>>>>>   RX Channel: 0
>>>>>>>>     RX DSP: 0
>>>>>>>>     RX Dboard: A
>>>>>>>>     RX Subdev: Magnesium
>>>>>>>>   RX Channel: 1
>>>>>>>>     RX DSP: 1
>>>>>>>>     RX Dboard: A
>>>>>>>>     RX Subdev: Magnesium
>>>>>>>>   RX Channel: 2
>>>>>>>>     RX DSP: 0
>>>>>>>>     RX Dboard: B
>>>>>>>>     RX Subdev: Magnesium
>>>>>>>>   RX Channel: 3
>>>>>>>>     RX DSP: 1
>>>>>>>>     RX Dboard: B
>>>>>>>>     RX Subdev: Magnesium
>>>>>>>>   TX Channel: 0
>>>>>>>>     TX DSP: 0
>>>>>>>>     TX Dboard: A
>>>>>>>>     TX Subdev: Magnesium
>>>>>>>>   TX Channel: 1
>>>>>>>>     TX DSP: 1
>>>>>>>>     TX Dboard: A
>>>>>>>>     TX Subdev: Magnesium
>>>>>>>>   TX Channel: 2
>>>>>>>>     TX DSP: 0
>>>>>>>>     TX Dboard: B
>>>>>>>>     TX Subdev: Magnesium
>>>>>>>>   TX Channel: 3
>>>>>>>>     TX DSP: 1
>>>>>>>>     TX Dboard: B
>>>>>>>>     TX Subdev: Magnesium
>>>>>>>>
>>>>>>>> Setting TX Rate: 31.250000 Msps...
>>>>>>>> Actual TX Rate: 31.250000 Msps...
>>>>>>>>
>>>>>>>> Setting RX Rate: 31.250000 Msps...
>>>>>>>> Actual RX Rate: 31.250000 Msps...
>>>>>>>>
>>>>>>>> Configuring TX Channel 0
>>>>>>>> Setting TX Freq: 2500.000000 MHz...
>>>>>>>> Actual TX Freq: 2500.000000 MHz...
>>>>>>>>
>>>>>>>> Configuring TX Channel 1
>>>>>>>> Setting TX Freq: 2500.000000 MHz...
>>>>>>>> Actual TX Freq: 2500.000000 MHz...
>>>>>>>>
>>>>>>>> Configuring RX Channel 2
>>>>>>>> Setting RX Freq: 2500.000000 MHz...
>>>>>>>> Actual RX Freq: 2500.000000 MHz...
>>>>>>>>
>>>>>>>> Configuring RX Channel 3
>>>>>>>> Setting RX Freq: 2500.000000 MHz...
>>>>>>>> Actual RX Freq: 2500.000000 MHz...
>>>>>>>>
>>>>>>>> Checking TX: all_los: locked ...
>>>>>>>> Checking RX: all_los: locked ...
>>>>>>>> Setting device timestamp to 0...
>>>>>>>> Timeout while streaming
>>>>>>>>
>>>>>>>> Done!
>>>>>>>>
>>>>>>>> irisheyes9@irisheyes9-Z240-SFF:/media/SSD_RAID/multi_pol$ ls -l
>>>>>>>> *.dat
>>>>>>>> -rw-rw-r-- 1 irisheyes9 irisheyes9 119340 Aug 24 14:33
>>>>>>>> usrp_samples.00.dat
>>>>>>>> -rw-rw-r-- 1 irisheyes9 irisheyes9 119340 Aug 24 14:33
>>>>>>>> usrp_samples.01.dat
>>>>>>>> irisheyes9@irisheyes9-Z240-SFF:/media/SSD_RAID/multi_pol$
>>>>>>>>
>>>>>>>>
>>>>>> _______________________________________________
>>>>>> 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

Reply via email to