How to conned Xilinx Zedboard 7000 to matlab

5 views (last 30 days)
Daniel_M
Daniel_M on 31 May 2015
Answered: Örs on 12 Sep 2016
I use this code to connect Xilinx Zedboard to Matlab
h=zynq();
h.setupZynqHardware();
h.checkConnection
but at the second line it appears the following error :
C:\MATLAB\SupportPackages\R2013a\zynq\+zynq\+util\LinuxServices.p>LinuxServices.setupZynqHardware
(line 85)
Please how can I solve it.
  2 Comments
Walter Roberson
Walter Roberson on 31 May 2015
That does not tell us what the error is, just where it is. We need to know what it says the problem is. For example is it complaining about attempting to access the 5th element of an array that only has 3 elements? We need the entire message and traceback.
Daniel_M
Daniel_M on 1 Jun 2015
Edited: Walter Roberson on 26 Aug 2015
(mathlab cannot talk with my Zedboard) ,I am beginner to the rapid prototyping with Xilinx (Zedbord, Zynq 7000) and Matlab. In fact, I use Matlab 2013a and Zedboard of Xilinx. I had also installed Xilinx Vivado 2013.4.
So, when I connect the Zedboard on the Host PC, I use TeraTerm software to check the serial communication between the Host PC and ZedBoard using basic commands beforehand installed onto the flash of the Zedboard helping to check the functionality of the Zedboard such as communication between the Host PC and Zedboard. the results are Good, by seeing the led blinking (located on the Zedboard) this is obtained using the basic command (write_led 0xFF) on Teraterm !!! However, when I try to do communicate the Zedboard and Matlab using the command 'Z = Zynq' just to get information of my Zedboard , matlab return the following :
IPAddress: '10.10.10.1'
Username: 'root'
SerialPort: []
instead to :
IPAddress: '192.168.1.10'
Username: 'root'
SerialPort: [COM3]
which are the expected IP address and serialport of my zedboard. So I think , it's the main problem that I have " 'no communication , mathlab cannot talk with my Zedboard ', I don't know if it's well described now?

Sign in to comment.

Answers (2)

Manikandan
Manikandan on 26 Aug 2015
Communicate via JTAG.

Örs
Örs on 12 Sep 2016

Community Treasure Hunt

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

Start Hunting!