Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:start [2017/01/18 22:16] – [3. Run the Connection Automation Tool] jon peyronlearn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:start [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 148: 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  **design_1_wrapper_hw_platform_0** this will be our target hardware.  Select **Create New** under **Board Support Package**. The tool will automatically populate the **Board Support Package** name to match with the give project name. Click **Next**. >Since we only have one hardware design  **design_1_wrapper_hw_platform_0** this will be our target hardware.  Select **Create New** under **Board Support Package**. The tool will automatically populate the **Board Support Package** name to match with the give project name. Click **Next**.
 > >
Line 158: Line 158:
 >{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_6.jpg?direct&600|}} >{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_6.jpg?direct&600|}}
  
->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 //lscript.ld//. This is a Xilinx auto generated linker script file.  
-**echo** is our main working source folder. This also contains an important file shown here in the src folder called //lscript.ld//. This is a Xilinx auto generated linker script file. + 
 +>8.4) Next expand the echo_bsp click on system.mss and select "modify this BSP's Settings" 
 +>{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:zybo_gswz_server_2.jpg?600|}} 
 + 
 +>8.5) Next select lwip141 and expand temac_adapter_options. Then in the phy_linkspeed parameter select 1000 Mbps(CONFIG_LINKSPEED1000), click ok. 
 +>{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:zybo_gswz_server.jpg?600|}} 
 +<WRAP round tip 55%> 
 +You may need set the phy_linkspeed parameter to 100 Mbps(CONFIG_LINKSPEED100) based on your router settings. 
 +</WRAP> 
  
 ---- ----
Line 177: Line 186:
 ==== 10. Tera Term Terminal Emulator ==== ==== 10. Tera Term Terminal Emulator ====
  
-You can use the SDK concole or other serial terminals as well. I typically use tera term. Refer to this link [[http://en.wikipedia.org/wiki/Tera_Term]] to know what Tera Term is.+You can use the SDK concsole or other serial terminal. I typically use Tera Term. Refer to this link [[http://en.wikipedia.org/wiki/Tera_Term]] to know what Tera Term is.
 You can download and install Tera Term from this link [[http://ttssh2.sourceforge.jp/index.html.en]]  You can download and install Tera Term from this link [[http://ttssh2.sourceforge.jp/index.html.en]] 
  
->25.1) Before establishing a serial connection with Tera Term,  make sure that in SDK, the **Connect STDIO** box under the //STDIO Connection// tab in //Run Configurations// is unchecked. +>10.1) Before establishing a serial connection with Tera Term,  make sure that in SDK, the **Connect STDIO** box under the //STDIO Connection// tab in //Run Configurations// is unchecked.  
 +>{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_14.jpg?direct&600|}} 
 + 
 +>{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_15.jpg?direct&600|}} 
 + 
 >Establish a serial connection with the correct communication port inside Tera Term.  >Establish a serial connection with the correct communication port inside Tera Term. 
 +
  
 >Tera Term will work as a Console by displaying the output.  >Tera Term will work as a Console by displaying the output. 
Line 192: Line 207:
 >{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_10.jpg?direct&600|}} >{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_10.jpg?direct&600|}}
  
->Go to //SDK Run Configurations// -> Apply and Run. +> right click on echo and select Launch on hardware(system debugger) 
 + 
 +>{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_13.jpg?direct&600|}} 
  
 ==== 11. Running the Server ==== ==== 11. Running the Server ====
Line 198: Line 216:
 >11.1) In the console window at the bottom of the screen the details of the connection will be displayed. >11.1) In the console window at the bottom of the screen the details of the connection will be displayed.
 > >
->{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_2.jpg?direct&600|}}+>{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:zybo_gswz_server_1.jpg?800|}}
  
 ---- ----
Line 216: Line 234:
 >{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_12.jpg?direct&600|}} >{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_12.jpg?direct&600|}}
  
->14.2.3) Click **Properties**. +>12.2.3) Click **Properties**. 
 > >
 >{{:nexys4-ddr:server_37.jpg?direct&500|}} >{{:nexys4-ddr:server_37.jpg?direct&500|}}
  
->14.2.4) Select **Internet Protocol Version 4 (TCP/IPv4)** and click **Properties**.+>12.2.4) Select **Internet Protocol Version 4 (TCP/IPv4)** and click **Properties**.
 > >
 >{{:nexys4-ddr:server_38.jpg?direct&500|}} >{{:nexys4-ddr:server_38.jpg?direct&500|}}
  
->14.2.5) Click the **Use the following IP address:** bullet and type in an IP address "192.168.1.XX", where XX is a value between 2 and 255, but not 10. **This IP must not be the same as another already on your network**. Make sure to click within the //Subnet mask// field to get the 255.255.255.0 mask to autofill. Click **Ok** and you will have a static IP address.+>12.2.5) Click the **Use the following IP address:** bullet and type in an IP address "192.168.1.XX", where XX is a value between 2 and 255, but not 10. **This IP must not be the same as another already on your network**. Make sure to click within the //Subnet mask// field to get the 255.255.255.0 mask to autofill. Click **Ok** and you will have a static IP address.
 > >
 >{{:nexys4-ddr:server_39.jpg?direct&500|}} >{{:nexys4-ddr:server_39.jpg?direct&500|}}
  
->14.3) Open Tera Term and type in the following info and click **Ok**.+>12.3) Open Tera Term and type in the following info and click **Ok**.
 > >
 >{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_4.jpg?direct&600|}} >{{:learn:programmable-logic:tutorials:zybo-getting-started-with-zynq-server:echo_server_zynq_4.jpg?direct&600|}}
  
->14.4) Type anything into the console and press your keyboard's Enter key. The echo server will echo back your input and display it in the console.+>12.4) Type anything into the console and press your keyboard's Enter key. The echo server will echo back your input and display it in the console.
 > >
 >//You can go to Setup->Terminal and change the settings below for a more traditional echo server format// >//You can go to Setup->Terminal and change the settings below for a more traditional echo server format//
 > >
 >{{:nexys4-ddr:11.jpg?direct&500|}} >{{:nexys4-ddr:11.jpg?direct&500|}}
 +
 +> Remember to go back into **Open Network and Sharing Center** 
 +
 +> Select **Internet Protocol Version 4 (TCP/IPv4)** and click **Properties**. 
 +
 +> Select **obtain an IP address automatically** 
  
 {{tag>learn programmable-logic tutorial zybo}} {{tag>learn programmable-logic tutorial zybo}}