Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| programmable-logic:genesys-zu:demos:hdmi [2022/03/28 21:04] – Update xilinx links Arthur Brown | programmable-logic:genesys-zu:demos:hdmi [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| ---- | ---- | ||
| - | ===== Download and Usage Instructions ===== | + | ===== Download/ |
| - | First and foremost, | + | First and foremost, |
| + | |||
| + | **Note:** // | ||
| The latest release version for this demo is highlighted in green. | The latest release version for this demo is highlighted in green. | ||
| - | **Note:** //Releases for FPGA demos from before 2020.1 used a different git structure, and used a different release tag naming scheme.// | + | **Important:** //Releases for FPGA demos from before 2020.1 used a different git structure, and used a different release tag naming scheme.// |
| ^ Board Variant | ^ Board Variant | ||
| | Genesys ZU-5EV | | Genesys ZU-5EV | ||
| - | **Note for Advanced Users:** //All demos for the Genesys ZU are provided through the [[https:// | ||
| ---- | ---- | ||
| Instructions on the use of the latest release can be found in this dropdown: | Instructions on the use of the latest release can be found in this dropdown: | ||
| Line 55: | Line 56: | ||
| {{page> | {{page> | ||
| + | |||
| + | --> Set up the Genesys ZU-5EV # | ||
| + | |||
| + | --> Set up the Genesys ZU-5EV for Standalone Mode# | ||
| + | Plug the HDMI cable into the HDMI TX port of the Genesys ZU. Connect one end of the cable to the HDMI TX port, and the other one to a DVI or HDMI port of your monitor. This cable does not need to be connected until the demo is running, but it is recommended to set it up now. Please see image bellow. | ||
| + | |||
| + | {{ : | ||
| + | < | ||
| + | //Figure 1: HDMI Cable Connections in standalone mode // | ||
| + | < | ||
| + | Plug the microUSB programming cable into the Genesys ZU-5EV' | ||
| + | <-- | ||
| + | |||
| + | |||
| + | --> Set up the Genesys ZU-5EV for Pass-Through Mode# | ||
| + | Connect the HDMI cables to the HDMI ports of the Genesys ZU. Connect one end of the first cable to the HDMI TX port, and the other one to a DVI or HDMI port of your monitor. Then, connect one end of the second cable to the HDMI RX port, and the other end to your HDMI source. These cables do not need to be connected until the demo is running, but it is recommended to set them up now. Please see image bellow. | ||
| + | |||
| + | {{ : | ||
| + | < | ||
| + | //Figure 2: HDMI Cable Connections in pass-through mode // | ||
| + | < | ||
| + | Plug the microUSB programming cable into the Genesys ZU-5EV' | ||
| + | <-- | ||
| + | <-- | ||
| + | --> Launch the Vitis Baremetal Software Application# | ||
| + | |||
| + | <WRAP group> <WRAP column half> | ||
| + | First, many applications require that a serial console is connected to the board, so that standard output (from print statements) can be viewed. For this purpose, a serial terminal should be used. Use a serial terminal application to connect to the board' | ||
| + | |||
| + | **Note:** //While Vitis has a built in serial terminal included in its Debug view, it sends characters to a board on a line-by-line basis. Some software examples require the use of character-by-character reception of data. [[https:// | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP column half> | ||
| + | Browse for the // | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP column half> | ||
| + | Click on //Project// and select //Build Project//, or simply press //CTRL+B//. The build should take a couple of seconds. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP column half> | ||
| + | In the // | ||
| + | |||
| + | **Note:** //Once the project has been run at least once, you can use the green run button ({{: | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | <-- | ||
| + | ---- | ||
| + | At this point, the demo is now running on your board. Refer to the [[# | ||
| + | ---- | ||
| + | Additional steps beyond here present how you can use the other archive provided in the release, containing the hardware project, to rebuild the Vivado project, and use a newly exported XSA file to update the platform in Vitis. | ||
| + | ---- | ||
| + | In order to modify and switch out the hardware platform for a baremetal demo, you should first open the Vivado project from the release. Extract the previously downloaded ' | ||
| + | ---- | ||
| + | |||
| + | {{page> | ||
| + | </ | ||
| + | <-- | ||
| + | |||
| + | ---- | ||
| + | Instructions on the cloning and the use of the latest git project can be found in this dropdown: | ||
| + | |||
| + | --> Using the Genesys ZU repository# | ||
| + | <WRAP group> | ||
| + | |||
| + | **Important: | ||
| + | |||
| + | **Note for Advanced Users:** //Further documentation on the structure of the [[https:// | ||
| + | ---- | ||
| + | |||
| + | --> Git for Windows# | ||
| + | |||
| + | <WRAP group> <WRAP column half> | ||
| + | For Windows OS we need to emulate Git from command line. For this please download and install [[https:// | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | <-- | ||
| + | --> Clone the project repository and initialize all the submodules.# | ||
| + | |||
| + | <WRAP group> <WRAP column half> | ||
| + | First, copy the https or ssh URL from [[https:// | ||
| + | |||
| + | |||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP column half> | ||
| + | Create a folder, in a location of your choice on the computer. Right-click from within and select ''// | ||
| + | |||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP column half> | ||
| + | First, we have to clone the root repository. For this, please run the fallowing command. | ||
| + | < | ||
| + | Navigate inside the repository. | ||
| + | < | ||
| + | |||
| + | We use se the following commands within the root repository to check out the " | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | Navigate to the " | ||
| + | < | ||
| + | Initialize and update the embeddedsw submodule. | ||
| + | < | ||
| + | < | ||
| + | |||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <-- | ||
| + | --> Recreate a Vitis Workspace from Source # | ||
| + | <WRAP group> | ||
| + | **Important: | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | <WRAP group> <WRAP column half> | ||
| + | With Vitis open, in the menu bar at the top of the window, use the **Xilinx -> XSCT Console** option to launch the Xilinx Software Command-line Tool. | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP column half> | ||
| + | In the XSCT Console, if you used the software archive' | ||
| + | < | ||
| + | |||
| + | If you did not use the ws folder, find the path to the extracted archive, and enter the commands below. Note that all slashes in the path must be forward slashes ("/" | ||
| + | < | ||
| + | |||
| + | The checkout process may some time, though not more than a few minutes, as the projects are recreated and built. When complete, the " | ||
| + | </ | ||
| + | {{ : | ||
| + | </ | ||
| + | ---- | ||
| + | </ | ||
| + | <-- | ||
| --> Set up the Genesys ZU-5EV # | --> Set up the Genesys ZU-5EV # | ||

