I am using the PYNQ 3.0.1 image for the TySOM-3A-ZU1EG board provided by TySOM-PYNQ.
When using PYNQ, everything works flawlessly, but when I try to use XRT on its own through the C++ library, it doesn’t seem to detect any FPGA devices.
The problem arose while testing this project, which is a C++ version of the PYNQ-based FINN driver (https://github.com/Xilinx/finn
). Here is the resulting error :
xilinx@pynq:~$ ./build/src/FINNCppDriver/finn --configpath yolo_config.json
Error: Could not open device with index '0'
It seems to be a problem with XRT since xbutil examine
returns :
System Configuration
OS Name : Linux
Release : 5.15.19-xilinx-v2022.1
Version : #1 SMP Mon Apr 11 17:52:14 UTC 2022
Machine : aarch64
CPU Cores : 4
Memory : 7950 MB
Distribution : PynqLinux, based on Ubuntu 22.04
GLIBC : 2.35
Model : unknown
XRT
Version : 2.13.0
Branch : temp
Hash : f5505e402c2ca1ffe45eb6d3a9399b23a0dc8776
Hash Date : 2022-10-21 16:39:50
ZOCL : 2.13.0, f5505e402c2ca1ffe45eb6d3a9399b23a0dc8776
Devices present
0 devices found
BDF : Shell Platform UUID Device ID Device Ready*
* Devices that are not ready will have reduced functionality when using XRT tools
However, the fact that the PYNQ driver for FINN still works while the C++ one doesn’t puzzles me, and I hoped to have some insight from people more used to PYNQ’s inner workings than I am.