background image

 

DE2-70 User Manual

 

1 1  

 

 
 

Chapter 3 

DE2-70 Control Panel

 

 

The DE2-70 board comes with a Control Panel facility that allows users to access various 

components on the board from a host computer. The host computer communicates with the board 

through an USB connection. The facility can be used to verify the functionality of components on 

the board or be used as a debug tool while developing RTL code. 

 

This chapter first presents some basic functions of the Control Panel, then describes its structure in 

block diagram form, and finally describes its capabilities. 

 

3.1

 

Control Panel Setup 

The Control Panel Software Utility is located in the “

DE2_70_control_pane/SW

” folder in the 

DE2-70 System CD-ROM

. To install it, just copy the whole folder to your host computer. Launch 

the control panel by executing the “

DE2_70_Control_Panel.exe

”.  

 

Specific control codes should be downloaded to your FPGA board before the control panel can 

request it to perform required tasks. The control codes include one 

.sof

 file and one 

.elf

 file. To 

download the codes, just click the “

Download Code

” button on the program. The program will call 

Quartus II and Nios II tools to download the control codes to the FPGA board through 

USB-Blaster[USB-0] connection. The 

.sof

 file is downloaded to FPGA. The 

.elf

 file is downloaded 

to either SDRAM-U2 or SSRAM, according to the user option.   

 

To activate the Control Panel, perform the following steps: 

1.

 

Make sure Quartus II and NIOS II are installed successfully on your PC. 

2.

 

Connect the supplied USB cable to the USB Blaster port, connect the 12V power supply, 

and turn the power switch ON 

3.

 

Set the RUN/PROG switch to the RUN position 

4.

 

Start the executable 

DE2_70_control_panel.exe

 on the host computer

The Control Panel 

user interface shown in Figure 3.1 will appear. 

5.

 

Select the target memory, 

SDRAM-U2

 or 

SSRAM

, on the control panel. Note. The 

.elf

 file 

will be downloaded to the target memory and the memory will be read-only in later 

memory access operation. 

6.

 

Click 

Download Code

 button. 

Note, the Control Panel will occupy the USB port until you 

Summary of Contents for Altera DE2-70

Page 1: ...ss mainly focus on the distribution of electronic components Line cards we deal with include Microchip ALPS ROHM Xilinx Pulse ON Everlight and Freescale Main products comprise IC Modules Potentiometer...

Page 2: ...Altera DE2 70 Board Version 1 03 Copyright 2008 Terasic Technologies...

Page 3: ...5 USB Monitoring 18 3 6 PS2 Device 19 3 7 SD CARD 20 3 8 Audio Playing and Recording 21 3 9 Overall Structure of the DE2 70 Control Panel 23 Chapter 4 DE2 70 Video Utility 25 4 1 Video Utility Setup 2...

Page 4: ...ons 66 6 1 DE2 70 Factory Configuration 66 6 2 TV Box Demonstration 67 6 3 TV Box Picture in Picture PIP Demonstration 69 6 4 USB Paintbrush 72 6 5 USB Device 74 6 6 A Karaoke Machine 76 6 7 Ethernet...

Page 5: ...2 70 package contains all components needed to use the DE2 70 board in conjunction with a computer that runs the Microsoft Windows software 1 1 Package Contents Figure 1 1 shows a photograph of the DE...

Page 6: ...software Bag of six rubber silicon covers for the DE2 70 board stands The bag also contains some extender pins which can be used to facilitate easier probing with testing equipment of the board s I O...

Page 7: ...can get help if you encounter problems Altera Corporation 101 Innovation Drive San Jose California 95134 USA Email university altera com Terasic Technologies No 356 Sec 1 Fusing E Rd Jhubei City Hsin...

Page 8: ...Supply Connector RUN PROG Switch for JTAG AS Modes 18 Red LEDs Expansion Header 1 Altera Cyclone II FPGA w ith 70K LEs VGA 10 bit DAC 28Mhz Oscillator 2Mbyte SSRAM 32Mbyte SDRAMx2 4 Push button Switch...

Page 9: ...for standard I O interfaces and a control panel facility for accessing various components Also software is provided for a number of demonstrations that illustrate the advanced capabilities of the DE2...

Page 10: ...II 2C70 FPGA 68 416 LEs 250 M4K RAM blocks 1 152 000 total RAM bits 150 embedded multipliers 4 PLLs 622 user I O pins FineLine BGA 896 pin package Serial Configuration device and USB Blaster circuit A...

Page 11: ...s Accessible as memory for the Nios II processor and by the DE2 70 Control Panel SD card socket Provides SPI and 1 bit SD mode for SD Card access Accessible as memory for the Nios II processor with th...

Page 12: ...ts 8 bit ITU R BT 656 YCrCb 4 2 2 output HS VS and FIELD Applications DVD recorders LCD TV Set top boxes Digital TV Portable video devices and TV PIP picture in picture display 10 100 Ethernet control...

Page 13: ...allows users to see quickly if the board is working properly To power up the board perform the following steps 1 Connect the provided USB cable from the host computer to the USB Blaster connector on t...

Page 14: ...ch SW17 to the DOWN position you should hear a 1 kHz sound Set the toggle switch SW17 to the UP position and connect the output of an audio player to the Line in connector on the DE2 70 board on your...

Page 15: ...it to perform required tasks The control codes include one sof file and one elf file To download the codes just click the Download Code button on the program The program will call Quartus II and Nios...

Page 16: ...board Figure 3 1 The DE2 70 Control Panel The concept of the DE2 70 Control Panel is illustrated in Figure 3 2 The Control Codes that performs the control functions is implemented in the FPGA board I...

Page 17: ...d read SD CARD specification information The feature of reading writing a word or an entire file from to the Flash Memory allows the user to develop multimedia applications Flash Audio Player Flash Pi...

Page 18: ...hoosing the 7 SEG tab leads to the window in Figure 3 4 In the tab sheet directly use the Up Down control and Dot Check box to specified desired patterns the 7 SEG patterns on the board will be update...

Page 19: ...unction is suspected Thus it can be used for troubleshooting purposes 3 3 Switches and Buttons Choosing the Button tab leads to the window in Figure 3 6 The function is designed to monitor the status...

Page 20: ...troubleshooting purposes 3 4 SDRAM SSRAM Flash Controller and Programmer The Control Panel can be used to write read data to from the SDRAM SSRAM and FLASH chips on the DE2 70 board We will describe h...

Page 21: ...ss box 2 Specify the number of bytes to be written in the Length box If the entire file is to be loaded then a checkmark may be placed in the File Length box instead of giving the number of bytes 3 To...

Page 22: ...efore writing data to it 3 5 USB Monitoring The Control Panel provides users a USB monitoring tool which monitors the real time status of a USB mouse connected to the DE2 70 board The movement of the...

Page 23: ...mplemented This function can be used to verify the functionality of the PS2 Interface Please follow the steps below to exercise the PS2 device 1 Choosing the PS2 tab leads to the window in Figure 3 9...

Page 24: ...access the SD card This function can be used to verify the functionality of SD CARD Interface Follow the steps below to exercise the SD card 1 Choosing the SD CARD tab leads to the window in Figure 3...

Page 25: ...play audio plug a headset or speaker to the LINE OUT port on the board 3 Select the Play Audio item in the com box as shown in Figure 3 11 4 Click Open Wave to select a WAVE file The waveform of the...

Page 26: ...esired sampling rate as shown in Figure 3 12 3 Click Start Record to start the record process The program will configure the audio chip for MIC recording retrieve audio signal from the MIC port and th...

Reviews: