Skip to content
Update Lab 1: Vivado Design Flow for a Simple PS Design authored by Luis Garcia's avatar Luis Garcia
# Lab 1: Vivado Design Flow for a Simple PS Design
---
......@@ -278,20 +277,20 @@ While the application is being built, watch the messages in the Console window.
### Connecting to Remote UART window
For this lab activity we will need to connect to a remote UART window. Each remote setup is connected to a remote UART display using "SCREEN" and keep by a TMUX session for ease of access.
For this lab activity we will need to connect to a remote UART window. Each remote setup is connected to a remote UART display using "SCREEN" and keep by a TMUX session for ease of access.
1. Connect to the remote computer through SSH to the following address:
`uart@xxx.xxx.xxx.xxx`
where `xxx.xxx.xxx.xxx `is the ip address of your assigned computer.
where `xxx.xxx.xxx.xxx `is the ip address of your assigned computer.
![image](uploads/a3e11d6a1580ce18fc54ae36a427f289/image.png)
2. To attach to the serial terminal of your board you need to type the following:
`$ tmux a -t XX`
where `XX `are the last two characters (uppercase) corresponding to your assigned board. E.g. For a board called **210248A49BC2** `XX` corresponds to **C2.**
where `XX `are the last two characters (uppercase) corresponding to your assigned board. E.g. For a board called **210248A49BC2** `XX` corresponds to **C2.**
![image](uploads/d31391dfb9bf42fd4cc2e698036a3d01/image.png)
3. Your terminal should look like this:
......@@ -299,7 +298,7 @@ For this lab activity we will need to connect to a remote UART window. Each remo
![image](uploads/77ab080e8cfb2241f731922b54e487aa/image.png)
4. You are ready to continue with the next steps of your remote laboratory. However, **if you need to exit** of this window, you can close the window, or you can use the following key combination:
`Ctrl + b` and after the letter `d`. Please don't kill the screen process or the tmux window to avoid delays on re-openning them again.
`Ctrl + b` and after the letter `d`. Please don't kill the screen process or the tmux window to avoid delays on re-openning them again.
### Configuring SDK enviorement
......@@ -317,22 +316,23 @@ We will connect to the remote Zedboard setup through a Hardware Server. We need
|------|---------------|
| Target Name | SMR3557_ICTP |
| Type | Hardware Server |
| Host | <IP assigned to you> |
| Port | 3121 |
Leave the rest of the options by default. Click "Ok".
| Host | |
| Port | 3121 |
```plaintext
Leave the rest of the options by default. Click "Ok".
```
3. You may receive the following error message:
![image](uploads/1e668d5e82e53253581927ab08bc9980/image.png)
Dont panick, for security reasons "Ping" is disable of our hw_servers, and that is why you may see this error. Click Yes to save the connection settings.
```plaintext
Dont panick, for security reasons "Ping" is disable of our hw_servers, and that is why you may see this error. Click Yes to save the connection settings.
```
4. You should see the following window:
![image](uploads/7cae96048b04afb0544925eef96e8674/image.png)
5. Go to the top menu **Run>Run Configurations,** In the option Xilinx C/C++ application (System Debugger) right click to **New** as shown in the image below.
5. Go to the top menu **Run>Run Configurations,** In the option Xilinx C/C++ application (System Debugger) right click to **New** as shown in the image below.
![image](uploads/bf08e3a4651d0cdf7107daab31c2d13b/image.png)
6. In the tab **Target Setup** Fill the following fields:
......@@ -341,13 +341,13 @@ We will connect to the remote Zedboard setup through a Hardware Server. We need
| Debug Type | Standalone Application Debug |
| Connection | SMR3557_ICTP |
| Hardware Platform | lab1_hw_wrapper_hw_platform_0 |
| Bistream File: | <Empty for this example> |
| Bistream File: | |
| Initialization File | ps7_init.tcl |
| FPGA Device | <To be selected in the next step> |
| PS Device | <To be selected in the next step> |
| FPGA Device | |
| PS Device | |
![image](uploads/6567e3c6737ef85d6e1e22ff392a186b/image.png)
7. Click **Select** in the **_FPGA Device_** option and **unmark** the **Auto Detect** option to see the available list of FPGAs connected. Choose the one assigned to your group and select the **xc7z020** option, and click OK.
7. Click **Select** in the **_FPGA Device_** option and **unmark** the **Auto Detect** option to see the available list of FPGAs connected. Choose the one assigned to your group and select the **xc7z020** option, and click OK.
![image](uploads/7d9ca7e1e94b08dc5a883fe8cf8b93ef/image.png)
......@@ -357,7 +357,7 @@ We will connect to the remote Zedboard setup through a Hardware Server. We need
9. Tick the options **Reset entire system**, **Run ps7_init**, and Run **ps7_post_config,** the window will look like this:
![image](uploads/897bffbdb78cd7d8f4e28b2de5556c9d/image.png)
10. Go to Application tab and tick **ps7_cortexa9_0** in the **Download** column. Be sure that **Project Name:** displays hello_world_sdk. If not you can select it by clicking on Browse. the final window should look like this:
10. Go to Application tab and tick **ps7_cortexa9_0** in the **Download** column. Be sure that **Project Name:** displays hello_world_sdk. If not you can select it by clicking on Browse. the final window should look like this:
![image](uploads/3af5753c73a1a56cf84b695af94a204b/image.png)
11. Click **Apply** to save changes, and **Run** to Run it in the terminal. If everything is set up correctly, you should see a window like this:
......
......