From b9eb25bafc03ec18cbb6a122c5107774c365620c Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Mon, 11 Jan 2016 16:12:23 -0800 Subject: bugfix#366: X300: PCIe: Live load of firmware fails --- host/lib/usrp/x300/x300_impl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host') diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 37461e2e5..9a31ac98e 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -363,6 +363,8 @@ static void x300_load_fw(wb_iface::sptr fw_reg_ctrl, const std::string &file_nam if ((i & 0x1fff) == 0) UHD_MSG(status) << "." << std::flush; } + //Wait for fimrware to reboot. 3s is an upper bound + boost::this_thread::sleep(boost::posix_time::milliseconds(3000)); UHD_MSG(status) << " done!" << std::endl; } -- cgit v1.2.3