Closed Recognition2 closed 2 years ago
Indeed I am facing the same error. Initially I found that adding an AXI interrupt controller between the PS7 and the AXI peripheral will solve this particular problem, however then a new error appears:
ValueError: Could not find UIO device for interrupt pin for IRQ number 0
Did you eventually find any workaround for the initial issue?
please check weather linux uio driver is setup and installed properly? $ls /dev/uio0 if its not present then you need to update the devicetree. or linux kernel module for uio driver etc.
For more than one interrupt you need to use an AXI Interrupt Controller
https://discuss.pynq.io/t/interrupt-error-on-using-two-vdma/2700/4
I'll close this older issue for now ... please reopen on discuss.pynq.io as needed.
For general questions, please use the PYNQ discussion forum. We actively monitor the forum and try to answer every question there.
Before submitting a pull request, you can also raise an issue that explains the problem the pull request is trying to resolve. Feel free to close the issue once the pull request has been merged.
If you still want to raise an issue here, please give us as much detail as possible to the issue you are seeing - we've listed some helpful fields below.
Given this setup, including the connection of the
s2mm_introut
andmm2s_introut
pins to theIRQ_F2P
using aConcat
block, the pynq library will refuse to transmit any data over the DMA channels with the following error:This is caused by the interrupt pin being created in the static method
_Interrupt.get_controller
, more specifically, theparent
of the interrupt being an empty string. This results in a lookup inip_dict
with an empty string as key, which fails. If I remove the interrupts from the block diagram (and from the ZYNQ7 PS) then this code does run, but does not do throughput. Instead, it always outputsdec0dee3
, and I have no clue why.This is using Vivado 2019.1, pynq 2.5, the PYNQ Z2 board, linux 4.14-xilinx-v2018.3.