Title: EDK 7.1 Tutorial SystemACE and EthernetMAC on Avnet Virtex II pro Development Boards
1EDK 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
2Goals
- 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
3Premise
- 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
4Setup
- Connect Xilinx Parallel Cable IV from PCs
printer port to JTAG4 on Avnet board - Omit this if using PCI interface
- Connect ADS-DB9-MD6-Cable from PCs Com1 port to
JS1 on Avnet board - Connect J8 to a Ethernet router
5Using EDK7.1 BSB Wizard
- In case Base System Builder Wizard wont create a
new directory, manually create a project
directory, say c\download\SysaceEthernetTest - Start EDK 7.1 and check Base System Builder
Wizard
6Use Base System Builder Wizard
7Browse the directory SystemaceEthernetTest
created early
8Create a new design
9Select Avnet Virtex-II pro Board
Note the Avnet XBD file has to be stored in the
directory C\EDK7.1i\board\Xilinx\boards\Avnet_V
2P30_FF896
10Select PowerPC
11Configure Processor
- Set processor clock to 300 MHz
- Set FPGA JTAG
- Enable cache
- On-Chip Memory
- Data 64K
- Instruction 128K
12Configure Processor (cont.)
13Set I/O Interface
- Set RS232 to
- OPB UARTLITE
- 19200 bps
- 8 data bits
- No parity
- Use interrupt
- Uncheck
- SDRAM_64Mx16
- SRAM
14Set I/O Interface (cont.)
15Set System ACE and Ethernet
- Uncheck
- FLASH_4Mx32
- Check
- SysACE_CompactFlash
- OPB SYSACE
- Use Interrupt
- Ethernet_MAC
- PLB ETHERNET
- No DMA
- Use Interrupt
16Set System ACE and Ethernet (cont.)
17Set Internal Peripheral
- Set PLB BRAM IF CNTLR
- plb_bram_if_cntlr_1
- 16K
18Set Internal Peripheral (cont.)
19Set Internal Peripheral (cont.)
20Software Setup
- Set standard I/O to RS232
- Check
- Memory Test
- Peripheral SelfTest
21Software Setup (cont.)
22Configure 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)
23Configure memory for test applications (cont.)
24Configure memory for test applications (cont.)
25Create System
26Configure Drivers and Libraries
27Check xilfatfs
28Set PROC_INSTANCE to ppc405_0 for xilfatfs
29Build Hardware Toos-Update BitstreamThis step
may take hours subject to the performance of the
PC!
30Build Software Tools - Build All User
Applications
31Download Hardware Design to FPGAs
- Start iMPACT from XPs start menu (EDKs download
function may not work!) - Assign implementation/download.bit to XC2VP30
device
32Download Hardware Design to FPGAs (cont.)
33Download Hardware Design to FPGAs (cont.)
34Start a 19200 hyper terminal
35Start XMD Tools - XMD
36Download 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
37References
- 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 Users Guide, Xilinx Virtex-II Pro
Development Kit