DPU-PYNQ Ultra96 v2 -- DPU Issue

Hello Everybody

We have an issue to be raised related to an AI Application on a ULTRA96-V2 IG board. As long as we use the GPIOs (axi_gpio_0) with the Overlay (design.bit), it works well. When we start an AI Application using the (DPUCZDX8G_0) DPU, that’s also a part of the design.bit, it does not run!

The example Jupyter DPU-resnet50.ipynb runs ok!


  • We generated the design.bit, design.hwh over Vivado 2021.1
  • design.xclbin generated after first run --overlay loading-- (to be found under /usr/lib/design.xclbin)
  • Transformed the CNN over Vitis-AI (arch.json) into a .xmodel
  • Board setup DPU-PYNQ 2.6

System INFO:

  • Welcome to PYNQ Linux, based on Ubuntu 18.04 (GNU/Linux 5.4.0-xilinx-v2020.1 aarch64)
  • (dict_keys([‘DPUCZDX8G_0’, ‘axi_gpio_0’]) after loading the Overlay
  • SD-Image from http://bit.ly/u96v2_v2_6 SD-Card 16GB

System outputs or messages:

xilinx@pynq:~$ show_dpu
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0917 17:46:36.644942 2660 dpu_controller.cpp:44] Check failed: !the_factory_methods.empty()

  • Check failure stack trace: *
    Aborted (core dumped)

xilinx@pynq:~$ lsmod
Module Size Used by
zocl 139264 0
uio_pdrv_genirq 16384 0
wilc_sdio 118784 0

xilinx@pynq:/home/beandetection$ sudo python3.6 -m App.Ops.dpu_testing
{‘_comment’: ‘Path pointers’, ‘grayscale_discriminator_model’: ‘TrainedModels/DiscriminationModels/0.88184_1609_conv2d.h5’, ‘rgb_discriminator_model’: ‘TrainedModels/DiscriminationModels/0.91466_2260_conv2d.h5’, ‘calibrated_speed_px_second’: 6000}
Starting DPU test. input counter: 5469x
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0917 16:41:55.588282 2288 xrt_cu.cpp:195] cu timeout! device_core_idx 0 handle=0xe6fa260 ENV_PARAM(XLNX_DPU_TIMEOUT) 10000 state 1 ERT_CMD_STATE_COMPLETED 4 ms 10010 bo=1 is_done 0
I0917 16:41:55.588663 2288 xrt_cu.cpp:105] Total: 10010749us ToDriver: 68us ToCU: 43us Complete: 18446740914299091us Done: 3169421097us
F0917 16:41:55.588742 2288 dpu_control_xrt_edge.cpp:172] dpu timeout! core_idx = 0
LSTART 0 LEND 0 CSTART 0 CEND 0 SSTART 0 SEND 0 MSTART 0 MEND 0 CYCLE_L 0 CYCLE_H 0

  • Check failure stack trace: *
    Aborted

Can you please advice me what else we need to provide you to find the solution.

1 Like

DPU-PYNQ is only tested against VAI 1.3.2 and 2020.2 tools.

OK, so we will downgrade vivado to 2020.

Thank you Schelleg.

Best regards
Roger