EDK 7.1 Tutorial -- SystemACE and EthernetMAC on Avnet Virtex II pro Development Boards - PowerPoint PPT Presentation

Edk 7 1 tutorial systemace and ethernetmac on avnet virtex ii pro development boards l.jpg
Download
1 / 37

EDK 7.1 Tutorial -- SystemACE and EthernetMAC on Avnet Virtex II pro Development Boards. Chia-Tien Dan Lo Department of Computer Science University of Texas at San Antonio. Goals. Avnet Virtex II pro Development is equipped with compact flash memory and gigabit Ethernet interface.

Related searches for EDK 7.1 Tutorial -- SystemACE and EthernetMAC on Avnet Virtex II pro Development Boards

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

Download Presentation

EDK 7.1 Tutorial -- SystemACE and EthernetMAC on Avnet Virtex II pro Development Boards

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Edk 7 1 tutorial systemace and ethernetmac on avnet virtex ii pro development boards l.jpg

EDK 7.1 Tutorial -- SystemACE and EthernetMAC on Avnet Virtex II pro Development Boards

Chia-Tien Dan Lo

Department of Computer Science

University of Texas at San Antonio


Goals l.jpg

Goals

  • Avnet Virtex II pro Development is equipped with compact flash memory and gigabit Ethernet interface.

  • To build a working platform:

    • Store system in the compact flash

    • Configure FPGAs from compact flash

    • Retrieve network packets directly from the Ethernet interface

    • Store results back to compact flash

    • Use XMD to assist software development and test


Premise l.jpg

Premise

  • Software

    • Using EDK 7.1 and ISE 7.1

    • Download Avnet XBD file for EDK 7.1

    • Using Windows XP

  • Hardware

    • Using Avnet Virtex-II pro development board (XC2VP30-6)

    • Xilinx Parallel Cable IV (DLC7)

    • ADS-DB9-MD7 Cable


Setup l.jpg

Setup

  • Connect Xilinx Parallel Cable IV from PC’s printer port to JTAG4 on Avnet board

    • Omit this if using PCI interface

  • Connect ADS-DB9-MD6-Cable from PC’s Com1 port to JS1 on Avnet board

  • Connect J8 to a Ethernet router


Using edk7 1 bsb wizard l.jpg

Using EDK7.1 BSB Wizard

  • In case Base System Builder Wizard won’t create a new directory, manually create a project directory, say “c:\download\SysaceEthernetTest”

  • Start EDK 7.1 and check Base System Builder Wizard


Use base system builder wizard l.jpg

Use Base System Builder Wizard


Browse the directory systemaceethernettest created early l.jpg

Browse the directory “SystemaceEthernetTest” created early


Create a new design l.jpg

Create a new design


Select avnet virtex ii pro board l.jpg

Select Avnet Virtex-II pro Board

Note: the Avnet XBD file has to be stored in the directory:

C:\EDK7.1i\board\Xilinx\boards\Avnet_V2P30_FF896


Select powerpc l.jpg

Select PowerPC


Configure processor l.jpg

Configure Processor

  • Set processor clock to 300 MHz

  • Set FPGA JTAG

  • Enable cache

  • On-Chip Memory

    • Data: 64K

    • Instruction: 128K


Configure processor cont l.jpg

Configure Processor (cont.)


Set i o interface l.jpg

Set I/O Interface

  • Set RS232 to

    • OPB UARTLITE

    • 19200 bps

    • 8 data bits

    • No parity

    • Use interrupt

  • Uncheck

    • SDRAM_64Mx16

    • SRAM


Set i o interface cont l.jpg

Set I/O Interface (cont.)


Set system ace and ethernet l.jpg

Set System ACE and Ethernet

  • Uncheck

    • FLASH_4Mx32

  • Check

    • SysACE_CompactFlash

      • OPB SYSACE

      • Use Interrupt

    • Ethernet_MAC

      • PLB ETHERNET

      • No DMA

      • Use Interrupt


Set system ace and ethernet cont l.jpg

Set System ACE and Ethernet (cont.)


Set internal peripheral l.jpg

Set Internal Peripheral

  • Set PLB BRAM IF CNTLR

    • plb_bram_if_cntlr_1

    • 16K


Set internal peripheral cont l.jpg

Set Internal Peripheral (cont.)


Set internal peripheral cont19 l.jpg

Set Internal Peripheral (cont.)


Software setup l.jpg

Software Setup

  • Set standard I/O to RS232

  • Check

    • Memory Test

    • Peripheral SelfTest


Software setup cont l.jpg

Software Setup (cont.)


Configure memory for test applications l.jpg

Configure memory for test applications

  • Set instructions to on-chip instruction memory (iocm_cntlr)

  • Set data and stack/heap to on-chip data memory (docm_cntlr)


Configure memory for test applications cont l.jpg

Configure memory for test applications (cont.)


Configure memory for test applications cont24 l.jpg

Configure memory for test applications (cont.)


Create system l.jpg

Create System


Configure drivers and libraries l.jpg

Configure Drivers and Libraries


Check xilfatfs l.jpg

Check xilfatfs


Set proc instance to ppc405 0 for xilfatfs l.jpg

Set PROC_INSTANCE to ppc405_0 for xilfatfs


Build hardware toos update bitstream this step may take hours subject to the performance of the pc l.jpg

Build Hardware: Toos->Update BitstreamThis step may take hours subject to the performance of the PC!


Build software tools build all user applications l.jpg

Build Software: Tools -> Build All User Applications


Download hardware design to fpgas l.jpg

Download Hardware Design to FPGAs

  • Start iMPACT from XP’s start menu (EDK’s download function may not work!)

  • Assign implementation/download.bit to XC2VP30 device


Download hardware design to fpgas cont l.jpg

Download Hardware Design to FPGAs (cont.)


Download hardware design to fpgas cont33 l.jpg

Download Hardware Design to FPGAs (cont.)


Start a 19200 hyper terminal l.jpg

Start a 19200 hyper terminal


Start xmd tools xmd l.jpg

Start XMD: Tools -> XMD


Download test applications l.jpg

Download Test Applications

  • In XMD console

    • Change directory to applications

      • “cd TestApp_Peripheral”

    • Download the design

      • “dow executable.elf”

    • Run the application

      • “run”

  • Monitor the output in the hyper terminal

    • Some messages should be shown if everything is okay


References l.jpg

References

  • Xilinx Platform Studio User Guide, Embedded Development Kit EDK 7.1

  • Xilinx Embedded System Tools Reference Manual, Embedded Development Kit EDK 7.1i

  • Xilinx Platform Specification Format Reference Manual, Embedded Development Kit EDK 7.1i

  • Xilinx OS and Libraries Document Collection

  • Xilinx EDK PowerPC Tutorial

  • Avnet User’s Guide, Xilinx Virtex-II Pro Development Kit


  • Login