Phillip,

I cannot say much about the MXI issue in newer ubuntu versions but if you 
concern is that you cannot download bitfiles using network images without power 
cycle you should consider using the openFPGAloader. You will need a USB cable 
to access the JTAG interface of the X310. Then you can download the images 
within a few seconds without power cycling the X310. As the openFPGAloader does 
use the JTAG interface to download the bitfile, the bitfile will be lost after 
power cycle and you have to reload it. The openFPGAloader is available via apt 
on Ubuntu.

First, connect the USB to the JTAG frontpanel on your X310. Then do a

lamsel@DRE-S178:~$ openFPGALoader --scan-usb
empty
Bus device vid:pid       probe type      manufacturer serial               
product
001 003    0x0403:0x6011 ft4232          Digilent     25163520B2FC         
Digilent USB Device
001 012    0x0403:0x6011 ft4232          Digilent     2516351DDCC8         
Digilent USB Device
001 006    0x0403:0x6011 ft4232          Digilent     2516352430A4         
Digilent USB Device
001 008    0x0403:0x6010 FTDI2232        Digilent     2516351DCD3E         
Digilent USB Device

It should tell you which interface are available (if you have only one you 
might skip this step).

You can download a bitfile using

openFPGALoader -b usrpx310 usrp_x310_fpga_XG.bit

If you have multiple JTAG's connected to the same host. You can tell 
openFPGALoader the correct one with -c or -d.

Documentation https://umarcor.github.io/openFPGALoader/index.html

HTH

Lars

[NI]



Lars Amsel
Principal Software Engineer
SDR
Test & Measurement Group
+49351206931427 | ni.com<https://www.ni.com/>


From: Philipp Niedermayer <[email protected]>
Sent: Thursday, 15 January, 2026 14:40
To: [email protected]
Subject: [EXTERNAL] [USRP-users] NI-RIO error using USRP X310 over MXI with 
PCIe-8371 adapter on Ubuntu 24.04 LTS


Dear all,

we are using the USRP X310 connected over MXI with a PCIe-8371 card. This used 
to work well up to including Ubuntu 22.04 LTS. Now after updating to Ubuntu 
24.04 LTS we are experiencing the connecting issue described in the following. 
I am aware that 10G Ethernet is the recommended alternative, but the PCIe 
connection is beneficial for us, as it allows to quickly switch between FPGA 
images for different applications on-the-fly without having to power cycling 
the X310 (remote operation). According to NI, RIO is fully supported on Ubuntu 
24.04 LTS so it should work.

Does anyone have experience with this on Ubuntu 24.04 LTS or any suggestions 
how to identify and fix the issue would be welcome!



Issue description:

The USRP X310 is discoverable using "uhd_find_devices" and shows up correctly 
as resource RIO0. It's correctly enumerated in lspcie using niusrpriok drivers 
and the niusrpriopc service is running. However, everything beyond that does 
not work, i.e. any flowgraph fails. Even the "uhd_usrp_probe" fails with the 
following after a clean reboot:

$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 13.3.0; Boost_108300; 
UHD_4.9.0.0+ds1-1~noble2
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile 
/usr/share/uhd/4.9.0/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session. Unknown 
error. (Error code -63150)

$ uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 13.3.0; Boost_108300; 
UHD_4.9.0.0+ds1-1~noble2
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
[INFO] [X300] Using LVBITX bitfile 
/usr/share/uhd/4.9.0/images/usrp_x310_fpga_HG.lvbitx
Error: RuntimeError: x300_impl: Could not initialize RIO session. A fault on 
the network caused the RPC operation to fail. (Error code -63042)

And every subsequent try results in the same network fault error.



Setup:

  *   USRP X310 connected over MXI with a PCIe-8371 card. Ubuntu 24.04 LTS 
x86_64 with Kernel 6.8.0-90-generic
  *   UHD 4.9.0.0+ds1-1~noble2 and GNU Radio 3.10.12 stack installed via the 
ppa:gnuradio/gnuradio-releases repository
  *   NI drivers 2025 Q4 installed as described here: 
https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_hw_pcie



Does anyone have experience with this on Ubuntu 24.04 LTS or any suggestions 
how to identify and fix the issue would be welcome!



Best regards
Philipp


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

Reply via email to