Wiki

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
resources:fpga:xilinx:fmc:fmc-imageon [02 Jul 2012 19:05] – [Running Demo (SDK) Program] rejeesh kuttyresources:fpga:xilinx:fmc:fmc-imageon [12 Feb 2013 17:42] – Added the ADV7511 Transmitter Demo sections. Dragos Bogdan
Line 59: Line 59:
  
 There should not be any errors reported by TPM. If you have not connected the loopback cable, the receive side will have errors. There should not be any errors reported by TPM. If you have not connected the loopback cable, the receive side will have errors.
 +
 +==== Running ADV7511 Transmitter Library Demo (SDK) Program ====
 +
 +To begin, connect the FMC-IMAGEON board to the FMC-HPC connector of ML605 board. Connect also an HDMI cable between FMC-IMAGEON board HDMI out and the HDMI monitor. After the hardware setup, turn the power on to the ML605.
 +
 +Run the **//download.bat//** script located in the "//SDK/SDK_Workspace/bin//" folder provided within the ADV7511 Transmitter Library Demo. This script uses XMD to program the FPGA with the HDL Reference Design and download the Software Reference Design into the DDR.
 +
 +**Note:** The //download.bat// script assumes that the //Xilinx ISE Design Suite 14.1// is installed at this path:  //C:/Xilinx/14.1//. If the installation path on your computer is different please modify the script accordingly.
 +
 +If programming was successful, you should be seeing messages appear on the terminal as shown in figure below. 
 +
 +{{:resources:fpga:xilinx:fmc:fmc-imageon:adv7511_lib_test.png?300|Terminal}}
 +
 +The ADV7511 Transmitter Library Demo is an example of how to:
 +  * Initialize the ADV7511 High-Definition Multimedia Interface (HDMI®) transmitter.
 +  * Check current AVR operating mode and depending on this result set the AV mute state.
 +  * Display an image and play a sound.
  
 ===== Using the reference design ===== ===== Using the reference design =====
Line 113: Line 130:
  
    
-===== Downloads =====+===== Using the ADV7511 Transmitter Library =====
  
 +The transmitter library is a collection of APIs that provide a consistent interface to ADV7511.
 +The library is a software layer that sits between the application and the TX hardware. The library is intended to serve two purposes:
 +  * Provide the application with a set of APIs that can be used to configure HDMI TX hardware without the need for low-level register access. This makes the application portable across different revisions of the hardware and even across different hardware modules.
 +  * Provide basic services to aid the application in controlling the TX module, such as interrupt service routine, HDCP high-level control and status information.
 +
 +The Demo project uses the ADV7511 Transmitter Library.
 +The project is an example of how to:
 +  * Initialize the ADV7511 High-Definition Multimedia Interface (HDMI®) transmitter.
 +  * Check current AVR operating mode and depending on this result set the AV mute state.
 +  * Display an image and play a sound.
 +
 +The project contains 2 components: the Demo project files and the ADV7511 Transmitter Library. All the components have to be downloaded from the links provided in the **Downloads** section.
 +
 +==== Software Setup ====
 +The **ADV7511 Transmitter Library Demo** contains a folder called //**SDK_Workspace**// which stores the Xilinx SDK project files needed to build the no-OS software and also the .bit files with the HDL design that must be programmed into the FPGA.
 +These are the steps that need to be followed to recreate the software project:
 +  * Copy the //**SDK_Workspace**// folder on your PC. Make sure that the path where it is stored does not contain any spaces.
 +  * Copy the library file to the //**SDK_Workspace/sw/lib**// folder.
 +{{:resources:fpga:xilinx:fmc:fmc-imageon:lib_files.png?600|Library file}}
 +  * Copy the library headers to the //**SDK_Workspace/sw/inc**// folder.
 +{{:resources:fpga:xilinx:fmc:fmc-imageon:inc_files.png?600|Library headers}}
 +  * Copy the ADV7511 Transmitter Library Demo files to the //**SDK_Workspace/sw/src**// folder.
 +{{:resources:fpga:xilinx:fmc:fmc-imageon:src_files.png?600|ADV7511 Transmitter Library Demo files}}
 +  * Open the Xilinx SDK. When the SDK starts it asks for a to provide a folder where to store the workspace. Any folder can be provided.
 +  * In the SDK select the //**File->Import**// menu option to import the software projects into the workspace.
 +{{:resources:fpga:xilinx:fmc:fmc-imageon:file_import.png?300|Import Projects}}
 +  * In the //Import// window select the //**General->Existing Projects into Workspace**// option.
 +{{:resources:fpga:xilinx:fmc:fmc-imageon:existing_project_import.png?300|Existing Projects Import}}
 +  * In the //Import Projects// window select the //**SDK_Workspace**// folder as root directory. After the root directory is chosen the projects that reside in that directory will appear in the //Projects// list. Press //Finish// to finalize the import process.
 +{{:resources:fpga:xilinx:fmc:fmc-imageon:projects_import.png?300|Projects Import}}
 +  * The //Project Explorer// window now shows the projects that exist in the workspace and the files for each project. The SDK should automatically build the projects and the //Console// window will display the the result of the build. If the build is not done automatically select the //**Project->Build Automatically**// menu option.
 +{{:resources:fpga:xilinx:fmc:fmc-imageon:project_explorer.png?300|Project Explorer}}
 +
 +===== Downloads =====
 +<WRAP round download 80%>
 {{.:cf_adv7x11.tar.gz|ML605 Reference Design Source Code}}\\ {{.:cf_adv7x11.tar.gz|ML605 Reference Design Source Code}}\\
 +ADV7511 Transmitter Library Demo\\
 +ADV7511 Transmitter Library
 +</WRAP>
 +
 +<WRAP round help 80%>
 +\\
 +  * Questions? [[http://ez.analog.com/post!input.jspa?containerType=14&container=2061|Ask Help & Support]].
 +</WRAP>
  
 ===== Notes ===== ===== Notes =====
Line 148: Line 208:
 | sw/         | Software (Xilinx SDK) & bit file(s). | | sw/         | Software (Xilinx SDK) & bit file(s). |
 | cf_lib/edk/pcores/     | Reference design core file(s) (Xilinx EDK). | | cf_lib/edk/pcores/     | Reference design core file(s) (Xilinx EDK). |
- 
  
 ===== More information ===== ===== More information =====
- +<WRAP round help 80%> 
-  [[ez>community/fpga|Ask questions about the FPGA reference design]] +\\ 
- +[[ez>community/fpga|Ask questions about the FPGA reference design]] 
- +</WRAP>
resources/fpga/xilinx/fmc/fmc-imageon.txt · Last modified: 20 Dec 2023 12:02 by Stefan-Robert Raus