PYNQ: PYTHON PRODUCTIVITY

Keyerror in pynq with microZed board

Hi all,

I am facing a “keyerror” problem (see bellow

) when I am trying to load an overlay to a uZed board. The code is trivial so I don’t understand what is exactly the problem.

I tried also with overlays that work fine with pynq-Z2 (same FPGA) but I am getting a key error with uZed.

Thanks,

Panos

Which version of PYNQ are you using?
The Overlay class is trying to determine the clock settings and apply them. It is having a problem with the clock divisor. Are you providing the .hwh with the .bit? If so, could you post the .hwh file?

Cathal

Dear Cathal,

thanks for your answer and sorry for omitting all the necessary information. RS485_testing.zip (146.3 KB)

The version of the pynq is 2.0.
I used also the command :

sudo pip3.6 install --upgrade git+https://github.com/ticktronaut/PYNQ.git

from the:

and tried also the base_overlay from getting started and now I am getting another error (File not found - see attached picture).

Finally I installed the pynq 2.5.1 using the command:

sudo pip3.6 install --upgrade git+https://github.com/Xilinx/PYNQ.git

and now I am getting the error "ImportError: cannot import name ‘ZU_ARCH’

Thank you in advance,

Panos

Yes, I am providing also the .hwh file.

I think there are a few problems here. One problem is that your PYNQ version 2.0 is old.

Are you getting this error when you are trying to upgrade?

and now I am getting the error "ImportError: cannot import name ‘ZU_ARCH’

Can you get a new PYNQ 2.5 image for the uZed?

Cathal

Dear Cathal,

apart from the version I am using, found here :

Cannot find any other image. Probably I have to build it from scratch?
I am not getting any error during the upgrade but I ma getting some strange messages when I am running pynq -v.

Thanks again,

Panos