Hello Marcus,

yes, uhd_usrp_probe runs normally now. The source of the problem was that I 
originally used the wrong RJ45 port on my host server. I don’t know why 
uhd_usrp_probe worked before loading the image onto the USRP. The error
[ERROR] [UHD] An unexpected exception was caught in a task loop. The task loop 
will now exit, things may not work.rpc::timeout: Timeout of 10000ms while 
calling RPC function 'get_log_buf'

persists, but loading the image seems to work anyway:
[ERROR] [UHD] An unexpected exception was caught in a task loop.The task loop 
will now exit, things may not work.rpc::timeout: Timeout of 10000ms while 
calling RPC function 'reclaim'
[INFO] [MPMD IMAGE LOADER] Update component function succeeded.
[INFO] [MPM.RPCServer] Resetting peripheral manager.
[INFO] [MPM.PeriphManager] Device serial number: 31E9FA6
[INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s).
…
[INFO] [0/FFT#0] Setting default MTU forward policy.

When running uhd_usrp_probe, it correctly displays the RFNoC blocks that are 
part of my image_core.yml.

Von: Marcus D. Leech <[email protected]>
Gesendet: Donnerstag, 10. August 2023 15:03
An: Bachmaier, Luca <[email protected]>; 
[email protected]
Betreff: Re: AW: [USRP-users] Re: N310 uhd_image_loader: two errors

On 10/08/2023 03:44, Bachmaier, Luca wrote:
Thanks for your quick reply.

I should’ve mentioned that I’ve already done that. At the time when the first 
error occured, there was a factory image on the uSD card in the device.
[ERROR] [UHD] An unexpected exception was caught in a task loop. The task loop 
will now exit, things may not work.rpc::timeout: Timeout of 10000ms while 
calling RPC function 'get_log_buf'
Is there anything you can tell me about this problem? I was not able to find 
anything closely related in the mailing list here.

Regards
Luca
SO, with a factory uSD image in the device, can we get back to a point where  
'uhd_usrp_probe' runs normally?




Von: Marcus D. Leech <[email protected]><mailto:[email protected]>
Gesendet: Dienstag, 8. August 2023 16:37
An: [email protected]<mailto:[email protected]>
Betreff: [USRP-users] Re: N310 uhd_image_loader: two errors

On 08/08/2023 10:29, Bachmaier, Luca wrote:
Hi all,

I’m currently building an image for the USRP N310 and while using 
uhd_image_loader I ran into the following error (see below for entire output):
             [INFO] [MPM.PeriphManager] Installing component `dts'
[ERROR] [UHD] An unexpected exception was caught in a task loop.The task loop 
will now exit, things may not work.rpc::timeout: Timeout of 10000ms while 
calling RPC function 'get_log_buf'

After this happened, the RJ45 connection with the USRP seems to have stopped 
working. Running uhd_usrp_find_devices can’t find any devices. However I can 
still log in to the USRP over the Console JTAG interface through screen. When 
calling “ip a” on my host device and the USRP the Ethernet interfaces seem to 
be down, even after rebooting the USRP.

When I tried executing uhd_image_loader again I received this error:
             [ERROR] [MPMD IMAGE LOADER] mpmd_image_loader only supports a 
single device.

Unfortunately I wasn’t able to find a lot of information about these errors 
online or in this mailing list. I’d be happy to hear any input about both of 
these errors.

Thank you and regards
Luca


Full ouput:
$ uhd_image_loader --args "type=n3xx,addr=192.168.10.2" --fpga-path 
./build/usrp_n310_fpga_XG.bit
[INFO] [UHD] linux; GNU C++ version 12.2.0; Boost_107400; UHD_4.3.0.0+ds1-5
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: 
mgmt_addr=192.168.10.2,type=n3xx,product=n310,serial=31E9FA6,name=ni-n3xx-31E9FA6,fpga=HG,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] Installing component `fpga'
[INFO] [MPM.PeriphManager] Installing component `dts'
[ERROR] [UHD] An unexpected exception was caught in a task loop.The task loop 
will now exit, things may not work.rpc::timeout: Timeout of 10000ms while 
calling RPC function 'get_log_buf'
[ERROR] [UHD] Exception caught in safe-call.
  in ~mpmd_mboard_impl
 at ./host/lib/usrp/mpmd/mpmd_mboard_impl.cpp:320
dump_logs(); _claimer_task.reset(); if (not 
rpc->request_with_token<bool>("unclaim")) { uhd::_log::log(uhd::log::warning, 
"./host/lib/usrp/mpmd/mpmd_mboard_impl.cpp", 322, "MPMD", 
std::this_thread::get_id()) << "Failure to ack unclaim!";; } -> rpc::timeout: 
Timeout of 10000ms while calling RPC function 'get_log_buf'
Error: rpc::timeout: Timeout of 120000ms while calling RPC function 
'update_component'




_______________________________________________

USRP-users mailing list -- 
[email protected]<mailto:[email protected]>

To unsubscribe send an email to 
[email protected]<mailto:[email protected]>
Well, I guess the first thing to do is to run a factory system image on the 
device and make sure that it is sane--just program
  an uSD card with the factory image and run that to make sure it is sane.



_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to