Remote access
This is a WiKi for those who would like to have remote access to Zedboard.
Introduction
This manual will give step by step instruction on how to access the zedboard for download over the network with all requirements and possible solutions to common issues.
Requirements
- Vivado 2016.2 (version specific) installed in the current system you are working on.
- System is within the campus network(IASTATE,ISUCARDINAL or eduroam) or using vpn when accessing from outside the network.
- .sh script(updated file will be posted in blackboard with this instruction) which mentions the location of the installed vivado 2016.2 on the campus server.
- An ssh program to remotely access any remote server(eg. PuTTy, ssh -from terminal).
Available tools
These are the following available tools on campus
- Three servers connected to zync Zedboards. Server access names are:
- xilinx-6.ece.iastate.edu
- xilinx-7.ece.iastate.edu
- xilinx-8.ece.iastate.edu
- Vivado 2016.2 installed in the redhat system. To be acces by running the setup.sh as source in Linux.
The hardware tools and servers are located in the following address on campus.
RCL,310, Durham Center
You can visit the lab incase you need to visually see the output like led blinking or so.
Instructions
- Open Vivado 2016.2 in your system and work on the project normally.
- Once you have generated the bitstream and need to upload the code onto the FPGA (Zync Zedboard to be specific). Note: please check if anyone else is running the same FPGA board before downloading the bitstream.
- Choose a server from the list in available tools. Remotely access the server using the ssh protocol.
- Go to the directory holding the setup.sh and use the command following.
- $ source setup.sh
- This will set the destination of where the vivado and other tools are installed in the server.
- Now run the hw_server as follows.
- $ hw_server -s TCP:xilinx-x.ece.iastate.edu:3121
- This will run the hardware server on the xilinx server and open port 3121 (also by default). x = 6,7,8
- Now in Vivado in your system open Hardware manager and select Open new Target in Open Target, instead of auto connect.
- In the following popup dialog box, click next.
- In the hardware server setting dialog box, select remote server in the connect to dropdown list. Fill the remote server host name as the server address on which the hw_server is running.Also fill the port no as 3121 in the port text box. Then click next.
- This will connect to the hardware server and show the available devices.Each of the server will be connected to a single FPGA board only.
- Select the target and then download the bitstream on to the FPGA.
- After the required work is done close the hw_server using Ctrl + C and log out of the server.
Common Issues
The most common issue that can occur in the process is as follows:
- The remote connection says port not opened or no host exists.
- This is due to either few of these reason
- Running wrong version of Vivado either on the remote server or user system.
- Port blocked by Firewall in the network
- hw_server not invoked properly
Precaution
While handling the Zedboard in the lab the following precautions should be as follows.
- Read the Zync Zedboard hardware manual and learn how the jumpers work,
- Before running the hw_server in the server please check if anyone else is running the hw_server or ping a request in the class group.
- Make sure to shut down (using Ctrl + C) the hw_server after our work with the FPGA is complete.
Note: The zedboard or servers are not to be touched or modified. Only the jumper pins and the buttons found on the Zedboard.