4FM Get Started Guide

  • Published on
    02-Dec-2015

  • View
    233

  • Download
    42

Embed Size (px)

DESCRIPTION

4FM DSP

Transcript

<ul><li><p>4FM GETTING STARTED GUIDE V4.2 </p><p>4FM </p><p>Getting Started Guide </p><p>Microsoft Windows </p><p>4DSP LLC </p><p>Email: support@4dsp.com </p><p>This document is the property of 4DSP LLC and may not be copied nor communicated to a third party </p><p>without the written permission of 4DSP LLC. </p><p> 4DSP Inc. 2006-2012 </p></li><li><p>4FM GETTING STARTED GUIDE V4.2 </p><p> 4FM Get Started Guide </p><p>April 2012 www.4dsp.com - 2 - </p><p>Table of Contents 1 Introduction ......................................................................................................................... 5 </p><p>2 Requirements and handling instructions ............................................................................... 6 </p><p>2.1 Hardware requirements and handling instructions ................................................................ 6 </p><p>2.2 Software requirements ........................................................................................................... 6 </p><p>2.3 Software requirements (Visual Studio 2008 SP1) ................................................................... 7 </p><p>2.4 Software requirements (Modelsim Xilinx Simulation Library) ............................................. 8 </p><p>2.5 Software requirements (Modelsim Various Configuration) ................................................. 9 </p><p>3 Software Installation .......................................................................................................... 10 </p><p>4 Development kit components description ........................................................................... 11 </p><p>4.1 Software Overview ................................................................................................................ 11 </p><p>4.1.1 PCI/PCI Express installation ........................................................................................... 11 </p><p>4.1.2 Ethernet installation ...................................................................................................... 12 </p><p>4.2 StellarIP overview .................................................................................................................. 13 </p><p>4.4 Firmware overview ................................................................................................................ 15 </p><p>4.5 Documentation ...................................................................................................................... 16 </p><p>4.6 4FM Firmware (Design Files) ................................................................................................. 16 </p><p>4.7 4FM Firmware (Recovery Files) ............................................................................................. 16 </p><p>4.8 4DSP Drivers .......................................................................................................................... 17 </p><p>4.8.1 4FM PCI/PCI(e) driver .................................................................................................... 17 </p><p>4.8.2 4DSPNET NDIS Protocol driver ...................................................................................... 17 </p><p>4.9 4DSP APIs ............................................................................................................................... 18 </p><p>4.9.1 4FM (PCI API) ................................................................................................................. 18 </p><p>4.9.2 ETHAPI API (Ethernet API) ............................................................................................. 18 </p><p>4.10 4FM GUI Control application ................................................................................................ 19 </p><p>4.10.1 4FM Diagnostics/Information plug-in (PCI/PCIe hardware) ......................................... 20 </p><p>4.10.2 4FM Registers/Update plug-in (PCI/PCIe hardware) .................................................... 22 </p><p>4.10.3 4FM Memory Test plug-ins (PCI/PCIe hardware) ......................................................... 24 </p><p>4.10.4 4FM Firmware Installer Plug-in .................................................................................... 25 </p><p>5 StellarIP ............................................................................................................................. 26 </p><p>5.1 Firmware project creation ..................................................................................................... 26 </p><p>5.1.1 StellarIP plug-in configuration ....................................................................................... 27 </p><p>5.1.2 Launch StellarIP ............................................................................................................. 27 </p><p>5.1.3 Examine StellarIP results ............................................................................................... 28 </p></li><li><p>4FM GETTING STARTED GUIDE V4.2 </p><p> 4FM Get Started Guide </p><p>April 2012 www.4dsp.com - 3 - </p><p>5.2 Simulating StellarIP results .................................................................................................... 29 </p><p>5.3 Modifying simulation behaviour ........................................................................................... 30 </p><p>5.4 Open and compile the project in Xilinx ISE ........................................................................... 31 </p><p>6 StellarIP Star Creation ........................................................................................................ 32 </p><p>6.1 Preparation ............................................................................................................................ 33 </p><p>6.2 Adding a custom star ............................................................................................................. 34 </p><p>6.3 Configuring the custom star .................................................................................................. 35 </p><p>6.4 Generate support code for the custom star ......................................................................... 36 </p><p>6.5 Incorporating our new star into the definition file ............................................................... 37 </p><p>6.6 Compile the new design ........................................................................................................ 38 </p><p>6.7 Verifying our modifications ................................................................................................... 38 </p><p>6.8 Uploading a firmware (PCI/PCIe hardware) ......................................................................... 38 </p><p>6.8.1 Convert the .bit file into a .hex file (bit2hex) ................................................................ 38 </p><p>6.8.2 Convert the .bit file into a .hex file (shell extension) .................................................... 38 </p><p>6.8.3 Upload the firmware into hardware ............................................................................. 39 </p><p>6.9 Test the firmware using StellarIPs Script Parser (PCI/PCIe hardware) ................................ 39 </p><p>6.10 Test the firmware using training materials reference application ....................................... 41 </p><p>7 Training materials .............................................................................................................. 42 </p><p>7.1 Step 1 ..................................................................................................................................... 42 </p><p>7.2 Step 2 ..................................................................................................................................... 44 </p><p>7.3 Step 3 ..................................................................................................................................... 46 </p><p>7.4 Step 4 ..................................................................................................................................... 46 </p><p>8 Evaluating FMC AD/DA product using Xilinx Development kits (ML605, SP601, SP605) ......... 47 </p><p>8.1 Documentation ...................................................................................................................... 49 </p><p>8.2 Reference Firmware Matrix .................................................................................................. 49 </p><p>9 Evaluating FMC DSP product using Xilinx Development kits (ML605) ................................... 51 </p><p>9.1 Quick start ............................................................................................................................. 51 </p><p>9.1.1 Prepare the host computer ........................................................................................... 52 </p><p>9.1.2 Prepare and connect ML605 to the host computer ...................................................... 53 </p><p>9.1.3 Programming ML605 FPGA device (Virtex 6 LX240T) ................................................... 53 </p><p>9.1.4 Programming ML605 Flash device (Optional) ............................................................... 53 </p><p>9.1.5 Verify FPGA firmware initialization ............................................................................... 54 </p><p>9.1.6 Check which virtual COM (UART) port is featured by the device driver ....................... 55 </p><p>9.1.7 Description of the FMC645 Test Peripheral Application ............................................... 56 </p><p>9.1.8 Executing the FMC645 Test Peripheral Application ...................................................... 56 </p></li><li><p>4FM GETTING STARTED GUIDE V4.2 </p><p> 4FM Get Started Guide </p><p>April 2012 www.4dsp.com - 4 - </p><p>9.1.9 Obtaining more information, technical support ........................................................... 56 </p><p>10 Annex 1 Manual Firmware Installation ............................................................................. 58 </p><p>10.1 Select a input firmware package file ..................................................................................... 59 </p><p>10.2 Select an output folder .......................................................................................................... 60 </p><p>10.3 Install the firmware ............................................................................................................... 61 </p><p>10.4 In case of trouble ................................................................................................................... 62 </p><p>11 Annex 2 License File details .............................................................................................. 63 </p><p>11.1 Introduction ........................................................................................................................... 63 </p><p>11.2 License format ....................................................................................................................... 64 </p><p>11.2.1 The NOTICE= field .......................................................................................................... 64 </p><p>11.2.2 The HOSTID= field .......................................................................................................... 64 </p><p>11.2.3 The EXPIRY= field ........................................................................................................... 64 </p><p>12 Annex 3 - Compiling the 4FM Core Example ........................................................................ 65 </p><p>12.1 SDK Integration in Visual Studio 2008 ................................................................................... 65 </p><p>12.2 Compiling ............................................................................................................................... 65 </p><p>13 Annex 4 - Firmware .4FF file ............................................................................................... 66 </p><p>13.1 4FF content ............................................................................................................................ 66 </p><p>13.2 4FF content (Hierarchical view) ............................................................................................. 67 </p><p>14 Annex 5 fmc645 test peripherals log ................................................................................. 68 </p></li><li><p>4FM GETTING STARTED GUIDE V4.2 </p><p> 4FM Get Started Guide </p><p>April 2012 www.4dsp.com - 5 - </p><p>1 Introduction The 4FM Getting Started Guide describes the steps that a user must perform in order to use the </p><p>4FM V2.0 development kit. </p><p>Windows 7 is required in order to install/use the development kit. The BSP is not tested by 4DSP </p><p>under Windows 2000 and Windows XP anymore as most of our customers are already using </p><p>Windows 7. </p><p>The 4FM SDK is a set of tools and interfaces, and its main purpose is communicating with the various </p><p>hardware manufactured by 4DSP. Additionally, Xilinx firmware projects can be created from the </p><p>4DSP firmware packages using the StellarIP software. </p><p>The 4FM SDK also includes support for the FMC product line and a specific chapter is dedicated to its </p><p>description </p></li><li><p>4FM GETTING STARTED GUIDE V4.2 </p><p> 4FM Get Started Guide </p><p>April 2012 www.4dsp.com - 6 - </p><p>2 Requirements and handling instructions 2.1 Hardware requirements and handling instructions </p><p>Please refer to the user manual shipped along with the hardware you have purchased and strictly </p><p>follow the handling instructions. Faulty handling might yield into destroying the card and void the </p><p>warranty. The most important is the temperatures. The devices should not be used at a temperature </p><p>exceeding the device specifications. </p><p>2.2 Software requirements </p><p> StellarIP relies on Xilinx software tools to prepare and compile Xilinx projects. An operating </p><p>Xilinx ISE design suite is required. Xilinx ISE tools need to be referenced by the PATH </p><p>environment variable. Recent Xilinx ISE installers do not set this folder in the PATH </p><p>environment variable anymore. </p><p>Note : Typical path for ISE v13.1 is C:\Xilinx\13.1\ISE_DS\ISE\bin\nt. </p><p> Modelsim is required in order to simulate projects created by StellarIP and compiled using </p><p>Xilinx tools. Different simulators can be used to simulate the design, but the various </p><p>Modelsim macros (compile.do) should be rewritten in consequence. </p><p> Xilinx simulation libraries for Modelsim should be compiled using Xilinxs Simulation Library </p><p>Compilation Wizard </p><p> 4FM SDK requires Windows 7. </p><p> 4FM API requires Visual Studio 2008 SP1 to be properly installed and configured. </p><p> The documentation is provided as a set of PDF documents. There are no hardcopies of the </p><p>documentation. </p></li><li><p>4FM GETTING STARTED GUIDE V4.2 </p><p> 4FM Get Started Guide </p><p>April 2012 www.4dsp.com - 7 - </p><p>2.3 Software requirements (Visual Studio 2008 SP1) </p><p>In order to compile an application using 4DSP APIs you have to integrate the API into Visual Studio. </p><p>To do so, launch Visual Studio and select Tools (from the menu bar) then Options. </p><p>Navigate to Projects and Solutions and then VC ++ Directories. You have to define a new folder in </p><p>the Include files as well as in the Library Files by clicking the folder icon in the upper right corner </p><p>of the dialog. </p><p>The 4FM SDK Core installer installs these two folders at the following path (for a 32-bit...</p></li></ul>

Recommended

View more >