Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:start [2017/01/18 21:10] – [9. Programming FPGA with Bit File] jon peyron | learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| - | This guide will provide a step by step walk-through of creating a Microblaze | + | This guide will provide a step by step walk-through of creating a Zynq based hardware design using the Vivado IP Integrator that will build over the [[zybo: |
| - | At the end of this tutorial you will have a comprehensive hardware design for Nexys4 DDR that makes use of various Hardware ports on the Zybo which are managed by the Zynq Softcore Processor block. | + | At the end of this tutorial you will have a comprehensive hardware design for Zybo that makes use of various Hardware ports on the Zybo which are managed by the Zynq Softcore Processor block. |
| ----- | ----- | ||
| Line 92: | Line 92: | ||
| > | > | ||
| - | >3.2) The connection automation tool will add the required logic blocks for the demo. Select **Run Connection | + | >3.2) The connection automation tool will add the required logic blocks for the demo. Select **Run Block Automation** highlighted in blue. |
| > | > | ||
| - | > | ||
| >3.3) Click the **Run Block Automation** link | >3.3) Click the **Run Block Automation** link | ||
| Line 100: | Line 99: | ||
| > | > | ||
| > | > | ||
| - | >3.4) Connect FCLK_CLK0 to M_AXI_GPO_ACLK | + | >3.4) Connect FCLK_CLK0 to M_AXI_GP0_ACLK |
| > Your Zynq block should now look like the picture below. | > Your Zynq block should now look like the picture below. | ||
| Line 149: | Line 148: | ||
| > | > | ||
| >If for example, you also have another hardware design in the //Project Explorer// window, then you will also see this design name in the Target Hardware drop down selection list. | >If for example, you also have another hardware design in the //Project Explorer// window, then you will also see this design name in the Target Hardware drop down selection list. | ||
| - | > | + | |
| >Since we only have one hardware design | >Since we only have one hardware design | ||
| > | > | ||
| Line 159: | Line 158: | ||
| > | > | ||
| - | >8.3) After completing the previous step, you will see two new folders in the //Project Explorer// panel. **echo** which contains all the binaries, .C and .H (Header) files, and **echo_bsp** which is the board support folder. | + | >8.3) After completing the previous step, you will see two new folders in the //Project Explorer// panel. **echo** which contains all the binaries, .c and .h (Header) files, and **echo_bsp** which is the board support folder. **echo** is our main working source folder. This also contains an important file shown here in the src folder called // |
| - | **echo** is our main working source folder. This also contains an important file shown here in the src folder called // | + | |
| + | >8.4) Next expand the echo_bsp click on system.mss and select " | ||
| + | > | ||
| + | |||
| + | >8.5) Next select lwip141 and expand temac_adapter_options. Then in the phy_linkspeed parameter select 1000 Mbps(CONFIG_LINKSPEED1000), | ||
| + | > | ||
| + | <WRAP round tip 55%> | ||
| + | You may need set the phy_linkspeed parameter to 100 Mbps(CONFIG_LINKSPEED100) based on your router settings. | ||
| + | </ | ||
| ---- | ---- | ||
| Line 169: | Line 177: | ||
| >Make sure that the //Hardware Platform// is selected as **design_1_wrapper_hw_platform_0**. | >Make sure that the //Hardware Platform// is selected as **design_1_wrapper_hw_platform_0**. | ||
| > | > | ||
| - | >In the software configuration box, under //ELF File to Initialize in Block RAM// column, the row option must read **bootloop**. If not, click on the row and select **bootloop**. | + | >In the software configuration box, under //ELF File to Initialize in Block RAM// |
| > | > | ||
| >Now click on Program. | >Now click on Program. | ||
| Line 176: | Line 184: | ||
| ---- | ---- | ||
| + | ==== 10. Tera Term Terminal Emulator ==== | ||
| + | |||
| + | You can use the SDK concsole or other serial terminal. I typically use Tera Term. Refer to this link [[http:// | ||
| + | You can download and install Tera Term from this link [[http:// | ||
| + | |||
| + | >10.1) Before establishing a serial connection with Tera Term, make sure that in SDK, the **Connect STDIO** box under the //STDIO Connection// | ||
| + | > | ||
| + | |||
| + | > | ||
| + | |||
| + | |||
| + | > | ||
| + | |||
| + | |||
| + | >Tera Term will work as a Console by displaying the output. | ||
| + | |||
| + | |||
| + | > | ||
| + | |||
| + | >The serial setup is as shown below. | ||
| + | |||
| + | > | ||
| + | |||
| + | > right click on echo and select Launch on hardware(system debugger) | ||
| + | |||
| + | > | ||
| + | |||
| + | |||
| + | ==== 11. Running the Server ==== | ||
| + | |||
| + | >11.1) In the console window at the bottom of the screen the details of the connection will be displayed. | ||
| + | > | ||
| + | > | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== 12. Testing the Server with Tera Term ==== | ||
| + | |||
| + | >12.1) Connect your PC to your Zybo using an Ethernet cable. **If using a router, watch the UART console to find out the IP of the Zybo echo server, and connect to that IP address. Setting up the connection as static is unnecessary.** | ||
| + | |||
| + | >12.2) In order to connect to the echo server directly from your computer, you must set up your Ethernet connection with a static IP address. To do this: | ||
| + | |||
| + | >12.2.1) Right click your internet connection and click **Open Network and Sharing Center**. | ||
| + | > | ||
| + | > | ||
| + | |||
| + | >12.2.2) Find the Ethernet Connection to your Zybo. It should be an unidentified network. Click **Ethernet**. | ||
| + | > | ||
| + | > | ||
| + | |||
| + | >12.2.3) Click **Properties**. | ||
| + | > | ||
| + | > | ||
| + | |||
| + | >12.2.4) Select **Internet Protocol Version 4 (TCP/ | ||
| + | > | ||
| + | > | ||
| + | |||
| + | >12.2.5) Click the **Use the following IP address:** bullet and type in an IP address " | ||
| + | > | ||
| + | > | ||
| + | |||
| + | >12.3) Open Tera Term and type in the following info and click **Ok**. | ||
| + | > | ||
| + | > | ||
| + | |||
| + | >12.4) Type anything into the console and press your keyboard' | ||
| + | > | ||
| + | >//You can go to Setup-> | ||
| + | > | ||
| + | > | ||
| + | |||
| + | > Remember to go back into **Open Network and Sharing Center** | ||
| + | |||
| + | > Select **Internet Protocol Version 4 (TCP/ | ||
| + | |||
| + | > Select **obtain an IP address automatically** | ||
| + | {{tag> | ||

