Hi, I am currently working on a project including a timer. When including the timer, I can generate the bitstream, and use the .tcl, .hwh and .bit files on the board. The timer is detected on the overlay, but the object is not detected. I can use my PWM analyzer just fine.
I see v2.6 removed support for .tcl file and is using .hwh file for the overlay, do you know if I can select to generate the overlay with .tcl or .hwh in v2.5?
Traceback (most recent call last):
File “/home/xilinx/jupyter_notebooks/E_CONTROL_2023_SP_EMULATOR/emulator.py”, line 16, in
timer = ol.axi_timer_0
File “/usr/local/lib/python3.6/dist-packages/pynq/overlay.py”, line 337, in __ getattr __
return getattr(self._ip_map, key)
File “/usr/local/lib/python3.6/dist-packages/pynq/overlay.py”, line 737, in __getattr __
driver = ipdescription’driver’
File “/usr/local/lib/python3.6/dist-packages/pynq/overlay.py”, line 602, in __init __
setattr(self, interrupt, Interrupt(details[‘fullpath’]))
File “/usr/local/lib/python3.6/dist-packages/pynq/interrupt.py”, line 98, in __init __
_InterruptController.get_controller(parentname))
File “/usr/local/lib/python3.6/dist-packages/pynq/interrupt.py”, line 159, in get_controller
ret = _InterruptController(name)
File “/usr/local/lib/python3.6/dist-packages/pynq/interrupt.py”, line 177, in __init __
self.mmio = MMIO(PL.ip_dict[name][‘phys_addr’], 32)
KeyError: ‘’
Hand it to @cathalmccabe or @marioruiz
I cannot see the reason behind the issue you are facing.
For 2.7 Image no issue found maybe older version is more unstable?
Can you repeat the same issue after removing the AXI-interrupt?
I am confused by adding additional AXI interrupt resolve the issue?
How about without interrupt connecting and ZYNQ interrupt is disable?
No there is no issue if I disable the interrupt (I just can not use the interrupt), I can apparently access the registers. The IP is loaded without interrupt.
Earlier versions of PYNQ required an interrupt controller, in the latest version a single interrupt can be connected directly to the IRQ pin. More than one interrupt, requires an interrupt controller.