Hi Jonathon,

Thanks, you are right.
I am normally working with UHD 4.0 on both host and device.
But I forgot I had swapped the sd-card with a uhd 3.15 version for a test the previous day.
I put the UHD 4.0 back in and now it works.

Best regards,

Martin

On 22-06-2021 20:12, Jonathon Pendlum wrote:
Hi Martin,

From your logs, it looks like the E310 locally is running UHD 3.15, but your host computer is running UHD 4.0. You need to run the same version of UHD on both the host and device. You should image your SD card to UHD 4.0 using this file: https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v4.0.0.0/e3xx_e310_sg1_sdimg_default-v4.0.0.0.zip <https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v4.0.0.0/e3xx_e310_sg1_sdimg_default-v4.0.0.0.zip>.

Jonathon

On Mon, Jun 21, 2021 at 11:48 AM Martin <usrp-users-l...@olifantasia.com <mailto:usrp-users-l...@olifantasia.com>> wrote:

    Hi,

    I am trying to run the RFNoC example rfnoc_rx_to_file on a E310 sg1.

    When I run it directly on the E310 hardware it succeeds.
    But if I run it from a host-computer (connected to the E310 over
    ethernet) it fails with:

    Error: rpc::timeout: Timeout of 2000ms while calling RPC function
    'set_device_id'

    The only place I found that does set_device_id is in
    host/lib/usrp/mpmd/mpmd_mb_iface.cpp

    mpmd_mboard_impl::mpmd_mb_iface::mpmd_mb_iface(
          const uhd::device_addr_t& mb_args, uhd::rpc_client::sptr rpc)
          : _mb_args(mb_args), _rpc(rpc),
    _link_if_mgr(xport::mpmd_link_if_mgr::make(mb_args))
    {
          _remote_device_id = allocate_device_id();
          UHD_LOG_TRACE("MPMD::MB_IFACE", "Assigning device_id " <<
    _remote_device_id);
          _rpc->notify_with_token("set_device_id", _remote_device_id);
    }


    But I am not sure what this code does, or why it is run and fails here.

    Here is the output of the failing remote and succeeding local runs:

    Running from a host-computer fails:
    nldudok1@rojo:/opt/uhd40/src/uhd40/host/examples$
    /opt/uhd40/lib/uhd/examples/rfnoc_rx_to_file --duration 1.0

    Creating the RFNoC graph with args: ...
    [INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100;
    UHD_4.0.0.0-133-g7ec04886
    [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
    
mgmt_addr=192.168.1.102,type=e3xx,product=e310_sg1,serial=F661C4,claimed=False,addr=192.168.1.102
    [INFO] [MPM.PeriphManager] Found 1 daughterboard(s).
    Error: rpc::timeout: Timeout of 2000ms while calling RPC function
    'set_device_id'


    Running directly on the E310 succeeds:
    root@ni-e31x:~# /usr/lib/uhd/examples/rfnoc_rx_to_file --duration 1.0
    Creating the USRP device with: ...
    [INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106800;
    UHD_3.15.0.0-0-gaea0e2de
    [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
    mgmt_addr=127.0.0.1,type=e3xx,product=e310_sg1,serial=F661C4,claimed=False
    [INFO] [MPM.PeriphManager] Found 1 daughterboard(s).
    [INFO] [0/Radio_0] Initializing block control (NOC ID:
    0x12AD100000003310)
    [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
    [INFO] [MPM.PeriphManager] init() called with device args
    `product=e310_sg1,mgmt_addr=127.0.0.1'.
    [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
    [INFO] [0/Radio_0] Performing CODEC loopback test...
    [INFO] [0/Radio_0] CODEC loopback test passed
    [INFO] [0/Radio_0] Performing CODEC loopback test...
    [INFO] [0/Radio_0] CODEC loopback test passed
    Using radio 0, channel 0
    Setting RX Rate: 1.000000 Msps...
    Actual RX Rate: 1.000000 Msps...

    Setting RX Freq: 0.000000 MHz...
    Actual RX Freq: 70.000000 MHz...

    Samples per packet: 2044
    Using streamer args: block_id=0/Radio_0,block_port=0,spp=2044
    Press Ctrl + C to stop streaming...
    Issuing stream cmd
    Issuing stop stream cmd

    Done!

    Thanks in advance for any clue.

    Best regards,

    Martin
    _______________________________________________
    USRP-users mailing list -- usrp-users@lists.ettus.com
    <mailto:usrp-users@lists.ettus.com>
    To unsubscribe send an email to usrp-users-le...@lists.ettus.com
    <mailto:usrp-users-le...@lists.ettus.com>

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to