PYNQ: PYTHON PRODUCTIVITY

Error no device found when loading overlay

I am following the step of from Overlay Tutorial — Python productivity for Zynq (Pynq) v1.0

Currently I’m using Jupyter Notebook on the Ultra96 v2 through ssh tunnel and I encountered the following error when trying to load the overlay.

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-4-6407a7cc4fde> in <module>()
      1 from pynq import Overlay
----> 2 ol = Overlay('/home/xilinx/pynq/overlays/adder/adder.bit')

/usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __init__(self, bitfile_name, dtbo, download, ignore_version, device)
    335 
    336         """
--> 337         super().__init__(bitfile_name, dtbo, partial=False, device=device)
    338 
    339         self._register_drivers()

/usr/local/lib/python3.6/dist-packages/pynq/bitstream.py in __init__(self, bitfile_name, dtbo, partial, device)
    109         if device is None:
    110             from .pl_server.device import Device
--> 111             device = Device.active_device
    112         self.device = device
    113 

/usr/local/lib/python3.6/dist-packages/pynq/pl_server/device.py in active_device(cls)
     94         if not hasattr(cls, '_active_device'):
     95             if len(cls.devices) == 0:
---> 96                 raise RuntimeError("No Devices Found")
     97             cls._active_device = cls.devices[0]
     98         return cls._active_device

RuntimeError: No Devices Found

Does anyone know how do I fix this?

This error is usually a result of /dev/xlnk not existing. Can you check if the device is there? What image are you running?

Peter

Hi peter,

I am facing the same issue as well, I have check and dev/xink is there, how do I proceed?