I believe the CODEC loopback tests the connection between the FPGA and the
AD3961. Maybe the device is damaged? I would try putting a clean SD card
image on there and see if it's still happening. If so, I would try
different cables, power supplies, and host Ethernet device to rule those
out. If that still doesn't work then maybe you need to RMA.

You might get more insight by turning on verbose logging (debug or trace
levels) and looking at e3xx_radio_control_impl::loopback_self_test(). See
also https://kb.ettus.com/The_UHD_logging_facility and
https://files.ettus.com/manual/page_logging.html.

Wade

On Mon, Oct 10, 2022 at 5:42 AM Peter Featherstone (XENINT) <
[email protected]> wrote:

> Hi,
>
>
>
> I’m using an E320 with libuhd 4.2.0.1.
>
> I regularly get this error when running `uhd_usrp_probe` or starting a
> capture with libuhd where the CODEC loopback tests hangs for ever.
>
> The log is as follows:
>
>
>
> [INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; UHD_
>
> [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
> mgmt_addr=192.168.10.1,type=e3xx,product=e320,serial=31C8CC7,name=ni-e320-31C8CC7,fpga=1G,claimed=False,skip_init=1
>
> [INFO] [MPM.main] Launching USRP/MPM, version: 4.2.0.1-g321295fb
>
> [INFO] [MPM.main] Spawning RPC process...
>
> [INFO] [MPM.PeriphManager] Device serial number: 31C8CC7
>
> [INFO] [MPM.RPCServer] RPC server ready!
>
> [INFO] [MPM.RPCServer] Spawning watchdog task...
>
> [INFO] [MPMD] Claimed device without full initialization.
>
> [INFO] [MPMD IMAGE LOADER] Starting update. This may take a while.
>
> [INFO] [MPM.PeriphManager] Installing component `fpga'
>
> [INFO] [MPM.PeriphManager] Installing component `dts'
>
> [INFO] [MPMD IMAGE LOADER] Update component function succeeded.
>
> [INFO] [MPM.RPCServer] Resetting peripheral manager.
>
> [INFO] [MPM.PeriphManager] Device serial number: 31C8CC7
>
> [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
> mgmt_addr=192.168.10.1,type=e3xx,product=e320,serial=31C8CC7,name=ni-e320-31C8CC7,fpga=1G,claimed=False,find_all=1
>
> [INFO] [MPM.PeriphManager] init() called with device args
> `find_all=1,fpga=1G,mgmt_addr=192.168.10.1,name=ni-e320-31C8CC7,product=e320'.
>
> [WARNING] [UDP] The recv buffer could not be resized sufficiently.
>
> Target sock buff size: 2500000 bytes.
>
> Actual sock buff size: 212992 bytes.
>
> See the transport application notes on buffer resizing.
>
> Please run: sudo sysctl -w net.core.rmem_max=2500000
>
> [WARNING] [UDP] The send buffer could not be resized sufficiently.
>
> Target sock buff size: 2500000 bytes.
>
> Actual sock buff size: 212992 bytes.
>
> See the transport application notes on buffer resizing.
>
> Please run: sudo sysctl -w net.core.wmem_max=2500000
>
> [WARNING] [UDP] The current recv_buff_size of 212992 is less than the
> minimum recommended size of 816000 and may result in dropped packets on
> some NICs
>
> [WARNING] [UDP] The current send_buff_size of 212992 is less than the
> minimum recommended size of 307200 and may result in dropped packets on
> some NICs
>
> [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ...
>
>
>
> At which point it hangs for ever.
>
> The only way I can get out of this is continuously power cycle it and
> reload the image until it succeeds.
>
> Anybody seen this before and know how to fix it?
>
> Many thanks,
>
>
>
>
>
> *Peter Featherstone *
>
>
> _______________________________________________
> USRP-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to