I am going to run my USRP E320 in host mode. To make sure that the FPGA
images on my development host and E320 match, I am trying to upload 1G FPGA
image to the E320.

The following is the process I am following:

Network interfaces on the E320:

root@ni-e320-31BB638:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen
1000
    link/ether 00:80:2f:28:8d:7e brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever
3: sfp0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen
1000
    link/ether 00:80:2f:28:8d:7f brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.2/24 brd 192.168.10.255 scope global sfp0
       valid_lft forever preferred_lft forever

--------------------------------------------------------------
Trying to upload the 1G image to the E320:

gnuradio@nuc-qrc3 (UHD-3.15.LTS):/usr/local/src/uhd/fpga-src >>
uhd_image_loader --args
"type=e3xx,product=e320,mgmt_addr=192.168.1.2,fpga=1G"
[INFO] [UHD] linux; GNU C++ version 9.2.1 20191008; Boost_107100;
UHD_3.15.0.0-0-g4e06022c
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.1.2,type=e3xx,product=e320,serial=31BB638,claimed=False,skip_init=1
[INFO] [MPMD] Claimed device without full initialization.
[INFO] [MPMD IMAGE LOADER] Starting update. This may take a while.
[INFO] [MPM.PeriphManager] Updating component `fpga'
[INFO] [MPM.PeriphManager] Updating component `dts'
[ERROR] [MPM.PeriphManager] Error executing `dtc': Command '['dtc',
'--symbols', '-O', 'dtb', '-q', '-o', '/lib/firmware/e320.dtbo',
'/lib/firmware/e320.dts']' returned non-zero exit status 1
[INFO] [MPM.RPCServer] Resetting peripheral manager.
[INFO] [MPM.PeriphManager] Device serial number: 31BB638
[INFO] [MPMD IMAGE LOADER] Update component function succeeded.
[INFO] [MPM.PeriphManager] Found 1 daughterboard(s).
[WARNING] [MPM.PeriphManager] Actual minor compat ahead of expected compat
for component `FPGA'. Expected: 3.0 Actual: 3.1

-----------------------
Result of a probe:

gnuradio@nuc-qrc3 (UHD-3.15.LTS):/usr/local/src/uhd/fpga-src >>
uhd_usrp_probe --args "addr=192.168.10.2"
[INFO] [UHD] linux; GNU C++ version 9.2.1 20191008; Boost_107100;
UHD_3.15.0.0-0-g4e06022c
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.10.2,type=e3xx,product=e320,serial=31BB638,claimed=False,addr=192.168.10.2
[INFO] [MPM.main] Launching USRP/MPM, version: 3.13.0.2-gunknown
[INFO] [MPM.main] Spawning RPC process...
[INFO] [MPM.PeriphManager] Device serial number: 31BB638
[INFO] [MPM.PeriphManager] Found 1 daughterboard(s).
[WARNING] [MPM.PeriphManager] Actual minor compat ahead of expected compat
for component `FPGA'. Expected: 3.0 Actual: 3.1
[INFO] [MPM.RPCServer] RPC server ready!
[INFO] [MPM.RPCServer] Spawning watchdog task...
[WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
1.25e+08
[WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
1.25e+08
[INFO] [0/DmaFIFO_0] Initializing block control (NOC ID: 0xF1F0D00000000000)
[INFO] [MPM.PeriphManager] init() called with device args
`product=e320,mgmt_addr=192.168.10.2'.
[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1329 MB/s)
[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1336 MB/s)
[WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
1.25e+08
[WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
1.25e+08
[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000003320)
[WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
1.25e+08
[WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
1.25e+08
[INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
[WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
1.25e+08
[WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
1.25e+08
[INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
[ERROR] [UHD] Exception caught in safe-call.
  in uhd::mpmd::mpmd_mboard_impl::~mpmd_mboard_impl()
  at /usr/local/src/uhd/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp:308
dump_logs(); _claimer_task.reset(); _xport_mgr.reset(); if (not
rpc->request_with_token<bool>("unclaim")) {
uhd::_log::log(uhd::log::warning,
"/usr/local/src/uhd/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp", 310, "MPMD",
boost::this_thread::get_id()) << "Failure to ack unclaim!";; } ->
rpc::timeout: Timeout of 2000ms while calling RPC function 'unclaim'
Error: rpc::timeout: Timeout of 60000ms while calling RPC function
'db_0_catalina_tune'
.....

See that this still shows USRP 3.13 version:

[INFO] [MPM.main] Launching USRP/MPM, version: 3.13.0.2-gunknown

So, how do I get the uhd_image_loader command to run successfully to get
the 3.15 version on the E320?

Thank you
Subu
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to