Hi all, I've the same problem with libuhd 3.14. I've not a solution yet, but I'm trying ti figure out the problem and I want to share my observations related with this issue.
In my case the problem appears only when I use my custom noc_block (2 inputs - 2 outputs) and only when I'm going to stop the streaming form the device. Line 52 of ctrl_iface.cpp is the destructor ctrl_iface_impl the try to send a packet to the zpu (I'm not really shure about that). So, for some reason, I think, the zpu became unresponsive. Because if I convert my noc_block in a pass through the problem seems to disappear I thought it could be realted with my logic inside the noc_block itself (may be a logical bug just hang the communication bus or something like that). Using ILA I've traced back what happen when my program start and stop the samples streaming. As far as I can see the commands are received from the noc_block_radio, but, from my noc_block I can see that ont valid coming from the noc_shell remains high. In the next days I will perform a regression test with libuhd 10.3. If more information are necessary please let me know. Any help is welcome. Regards Paolo On 28/06/19 10:43, Saimanoj Katta via USRP-users wrote: > Hi all, > > I have been using USRP X310 for almost more than a month. I had no > problems until two days ago. USRP detects only when it is powered on. > It gives various errors when I tried to execute it with srsLTE or OAI > codes. */Each time, I have to use it, I tend to restart it. I am > concerned about this erratic behaviour./* uhd_find_devices and > uhd_images_downloader works fine. *When I restart the USRP, these > errors vanish apparently. * > > Sometimes, with uhd_usrp_probe, this is occured. > > ubuntu@ubuntu-Zephyrus-GX501GI:~$ sudo uhd_usrp_probe > [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; > UHD_3.15.0.git-1-gf83faf28 > [INFO] [X300] X300 initialization sequence... > [INFO] [X300] Maximum frame size: 1472 bytes. > [INFO] [X300] Radio 1x clock: 200 MHz > [INFO] [GPS] Found an internal GPSDO: LC_XO, Firmware Rev 0.929a > [ERROR] [UHD] Exception caught in safe-call. > in ctrl_iface_impl<_endianness>::~ctrl_iface_impl() [with > uhd::endianness_t _endianness = (uhd::endianness_t)0] > at /home/ubuntu/uhd/host/lib/rfnoc/ctrl_iface.cpp:52 > this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block > ctrl (CE_00_Port_30) no response packet - AssertionError: bool(buff) > in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double) > [with uhd::endianness_t _endianness = (uhd::endianness_t)0; uint64_t = > long unsigned int] > at /home/ubuntu/uhd/host/lib/rfnoc/ctrl_iface.cpp:142 > > Error: EnvironmentError: IOError: Block ctrl (CE_00_Port_30) no > response packet - AssertionError: bool(buff) > in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double) > [with uhd::endianness_t _endianness = (uhd::endianness_t)0; uint64_t = > long unsigned int] > at /home/ubuntu/uhd/host/lib/rfnoc/ctrl_iface.cpp:142 > > *Any suggestions would be appreciated. * > * > * > *The errors are described as follows below*. This is either of the > following reasons: Exception caught in safe call, Failed to find > device auto with args auto, An unexpected exception was caught in a > task loop. > > 1) [ERROR] [UHD] Exception caught in safe-call. > in ctrl_iface_impl<_endianness>::~ctrl_iface_impl() [with > uhd::endianness_t _endianness = (uhd::endianness_t)0] > at /home/ubuntu/uhd/host/lib/rfnoc/ctrl_iface.cpp:52 > this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block > ctrl (CE_01_Port_40) no response packet - AssertionError: bool(buff) > in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double) > [with uhd::endianness_t _endianness = (uhd::endianness_t)0; uint64_t = > long unsigned int] > at /home/ubuntu/uhd/host/lib/rfnoc/ctrl_iface.cpp:142 > > Error opening UHD: code 30 > /home/ubuntu/srsLTE-issuefix_format1c/lib/src/phy/rf/rf_imp.c.126: No > compatible RF frontend found > > /home/ubuntu/srsLTE-issuefix_format1c/lib/src/radio/radio.cc.38: Error > opening RF device > > Failed to find device auto with args auto > > 2) Failed to Attach > /home/ubuntu/srsLTE-issuefix_format1c/lib/src/phy/rf/rf_uhd_imp.c.839: > Error timed out while receiving samples from UHD. > > /home/ubuntu/srsLTE-issuefix_format1c/lib/src/phy/ue/ue_sync.c.727: > Error receiving samples > > /home/ubuntu/srsLTE-issuefix_format1c/lib/src/phy/rf/rf_uhd_imp.c.839: > Error timed out while receiving samples from UHD. > > /home/ubuntu/srsLTE-issuefix_format1c/lib/src/phy/ue/ue_sync.c.727: > Error receiving samples > > ^CStopping srsUE... Press Ctrl+C 9 more times to force stop > > 3) [ERROR] [X300] 192.168.50.2 <http://192.168.50.2>: x300 fw > communication failure #1 > EnvironmentError: IOError: x300 fw poke32 - reply timed out > [ERROR] [X300] 192.168.50.2 <http://192.168.50.2>: x300 fw > communication failure #2 > EnvironmentError: IOError: x300 fw poke32 - reply timed out > [ERROR] [X300] 192.168.50.2 <http://192.168.50.2>: x300 fw > communication failure #3 > EnvironmentError: IOError: x300 fw poke32 - reply timed out > [ERROR] [UHD] An unexpected exception was caught in a task loop.The > task loop will now exit, things may not work.EnvironmentError: > IOError: 192.168.50.2 <http://192.168.50.2>: x300 fw communication > failure #3 > EnvironmentError: IOError: x300 fw poke32 - reply timed out > ^Z > > > Regards, > Saimanoj > > _______________________________________________ > 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