Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupt not working #2

Open
magjoh242 opened this issue Aug 12, 2022 · 0 comments
Open

Interrupt not working #2

magjoh242 opened this issue Aug 12, 2022 · 0 comments

Comments

@magjoh242
Copy link

Hi,

Thanks for this Pynq image for the Cora Z7 07S. I've been trying to make it work with interrupts, e.g. using AXI GPIO or AXI Timer blocks following examples in the Pynq docs and other simple examples elsewhere, but without any success on this board.

During these tests I noticed that in the Pynq source in interrupt.py the function get_uio_irq it is hardcoded that /proc/interrupts has 7 columns: https://github.com/Xilinx/PYNQ/blob/master/pynq/interrupt.py

However, since the 07S only has one single CPU, /proc/interrupts only has 6 columns so get_uio_irq will not work on the 07S. Now it's not so easy to fix this by just changing the hardcoded 7 to 6, interrupt will still not work on the 07S. The fact that Pynq has a hardcoded 7 in the code makes me suspect that no one has ever used a single CPU board with interrupts.

Any ideas if/how it would be somehow possible to get interrupts to work in Pynq on the 07S?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant