Problem with the Connecttion between Zybo Z7 20 and Matlab

4 views (last 30 days)
Hello Dear Everybody,
i have a new question about Zybo z7 20 with HDL Workflow Advisor. I use the Instruction for a Zybo:
I have done the Step 1-9 of Set up the Zybo Board. But as i try with step 10 with the code h = zynq(), i get a error message from Matlab, and after switsching the Board on and off, the same problem comes. This rpoblem leads to unsuccessful execution of step 4.4 in HDL Workflow Advisor
"Cannot connect to "Zynq hardware". Details: Could not connect to the hardware over Serial Port. Check that USB cable is plugged into 'USB-to-UART' port of the hardware and the power switch is turned on. If this error persists, switch off the hardware, wait for 10 seconds, switch on the hardware and then repeat this step."
Does anybody have some solution for this problem? Is the Zybo z7 20 not supported from Matlab? i will be very appreciative. Regards Qian
  1 Comment
佳禹
佳禹 on 16 Sep 2023
Edited: 佳禹 on 16 Sep 2023
After viewing several links provided in this page.
I found the point is that the 'h=zynq()' in step 10.
However, it seems that those links did not solve the problem of 'h = zynq()', which donot support zybo board.
Those links seem to form a 'loop'. LoL
Let me explain it.
1、 The 'zynq()', which is necessary in the HDL workflow, does not support zybo board originally. But you can do something to modify this condition as shown in the link https://www.mathworks.com/matlabcentral/answers/1700570
2、 in the aformentioned link, if you want to register your zybo board, you have to use 'h = zynq()' in step 10.
3、But, 'h = zynq()' is not support for zybo board before you register it?
That really makes me feel confused. LoL.
Whatever, thx for every guys providing any ideal about it.

Sign in to comment.

Answers (4)

Li Qian
Li Qian on 1 Aug 2018

Stefanie Schwarz
Stefanie Schwarz on 22 Aug 2018
Hello Li Qian,
I am not sure if the Linux Image that you downloaded in step 8 will work for this particular board; then again, this could just be a very basic connection problem between your PC and the board.
Please follow the troubeshooting steps here: Why can't I connect to my Xilinx Zynq or Intel SoC platform?
In particular, opening a serial connection using PUTTY would be helpful to see if the board boots Linux correctly.

Efkan Yilmaz
Efkan Yilmaz on 3 Jul 2019
Hi,
I have same problem in matlab. During step 10, same error appears. Do you have any method to solve this stiuaion?

Stefanie Schwarz
Stefanie Schwarz on 20 Jun 2022
Edited: Stefanie Schwarz on 20 Jun 2022
The MathWorks Zynq Workflow does not support ZYBO Z7-20 out of the box. The Linux image that you downloaded at the time was designed for the original ZYBO. In the meantime, we upgraded the example for ZYBO Z7-10, but there is still no support for ZYBO Z7-20.
See the following link for more information: https://www.mathworks.com/matlabcentral/answers/1700570

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!