We are using PYNQ v3.01. The ZCU-216 was not included by default but we followed the procedure for adding our own board and it appears to work just fine. The procedure for building Pynq v3.01 required using Vivado version 2022.1. However, our customer requires Vivado 2021.2, not 2022.1.
Question: Can you use.bit and .hwh files created with Vivado 2021.2 on PYNQ v3.01 which was built using Vivado 2022.1?
We created a simple design which used GPIO to control the blue LEDs. We preloaded an output value of 0x55 to force a specific pattern. Here is the block diagram:
The first time we tried to execute Overlay(‘blink216.bit’), we got an error that the XRT environment was missing. So we added this line to ZCU216.spec:
STAGE4_PACKAGES := xrt
Question: We got errors building if we included all the packages in Pynq-Z2.spec. What else is required beyond xrt?
After doing this, when we execute:
Overlay(‘blink216.bit’)
The blue LEDs change which means it worked! But then we get the following errors:
root@pynq:/# python3
Python 3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
from pynq import Overlay
Overlay(‘blink216.bit’)
Load Xclbin Failed
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/overlay.py”, line 348, in init
self.download()
File “/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/overlay.py”, line 428, in download
super().download(self.parser)
File “/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/bitstream.py”, line 168, in download
self.device.download(self, parser)
File “/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/pl_server/embedded_device.py”, line 686, in download
self._xrt_download(parser.xclbin_data)
File “/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/pl_server/xrt_device.py”, line 529, in _xrt_download
raise RuntimeError(
RuntimeError: Programming Device failed: ENODEV (19) No such device
Hope someone can explain what this means.
Thank you!