Altera DE2i-150 User Manual Download Page 11

 

 

 
 
 

 

10 

 

 

Chapter 2

 

DE2i-150 Control Panel 

 

The DE2i-150 board comes with a Control Panel program that allows users to access various 
components on the board from a host computer. The host computer communicates with the board 
through a USB connection. The program 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 
the block diagram form, and finally describes its capabilities. 

2

2

-

-

1

1

 

 

C

C

o

o

n

n

t

t

r

r

o

o

l

l

 

 

P

P

a

a

n

n

e

e

l

l

 

 

S

S

e

e

t

t

u

u

p

p

 

 

The Control Panel Software Utility is located in the directory 

Tools/

 

ControlPanel

 in the 

DE2i-150 

System CD

. It's free of installation, just copy the whole folder to your host computer and launch the 

control panel by executing the “

DE2i_150_ControlPanel.exe

”. 

 

Specific control circuits should be downloaded to your FPGA board before the control panel can 
request it to perform required tasks. The program will call Quartus II tools to download the control 
circuit to the FPGA board through the USB-Blaster[USB-0] connection.   

To activate the Control Panel, perform the following steps: 

1. 

Make sure Quartus II 12.1 or later version is installed successfully on your PC. 

2. 

Set the RUN/PROG switch to the RUN position. 

3. 

Connect the supplied USB cable to the USB Blaster port, connect the 12V power supply, and 
turn the power switch ON. 

4. 

Start the executable DE2i_150_ControlPanel.exe on the host computer. The Control Panel user 
interface shown in 

Figure 2-1 

will appear. 

5. 

The  DE2i_150_ControlPanel.sof  bit  stream  is  loaded  automatically  as  soon  as  the 
DE2i_150_control_panel.exe is launched.   

 

Summary of Contents for DE2i-150

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: ...1...

Page 3: ...RAM Flash Controller and Programmer 15 2 5 SD Card 17 2 6 RS 232 Communication 18 2 7 VGA 19 2 8 HSMC 20 2 9 IR Receiver 21 2 10 G Sensor 22 2 11 Overall Structure of the DE2i 150 Control Panel 23 Cha...

Page 4: ...xamples of Advanced Demonstrations 67 5 1 DE2i 150 Factory Configuration 67 5 2 TV Box Demonstration 68 5 3 SD Card Demonstration 70 5 4 IR Receiver Demonstration 73 5 5 Web Server Demonstration 77 Ch...

Page 5: ...4 7 2 Making HAL CFI Flash drivers to work with Spansion F lash 109 7 3 Revision History 110 7 4 Copyright Statement 110...

Page 6: ...acteristics of the DE2i 150 board 1 1 1 1 L La ay yo ou ut t a an nd d C Co om mp po on ne en nt ts s A photograph of the DE2i 150 board is shown in Figure 1 1 and Figure 1 2 It depicts the layout of...

Page 7: ...vice Altera Serial Configuration device EPCS64 USB Blaster on board for programming both JTAG and Active Serial AS programming modes are supported Two 2MB SSRAM Two 64MB SDRAM 64MB Flash memory SD Car...

Page 8: ...E2i 150 board the user has to be familiar with the Quartus II software The necessary knowledge can be acquired by reading the tutorials My_First_Fpga These tutorials are provided in the directory DE2i...

Page 9: ...em mo or ry y d de ev vi ic ce es s o 128MB 32Mx32bit SDRAM o 4MB 1Mx32 SSRAM o 64MB 4Mx16 Flash with 16 bit mode S SD D C Ca ar rd d s so oc ck ke et t o Provides SPI and 4 bit SD mode for SD Card ac...

Page 10: ...ic ca at to or rs s o 18 slide switches and 4 push buttons switches o 18 red and 9 green LEDs o 8 7 segment displays O Ot th he er r f fe ea at tu ur re es s o Infrared remote control receiver module...

Page 11: ...t copy the whole folder to your host computer and launch the control panel by executing the DE2i_150_ControlPanel exe Specific control circuits should be downloaded to your FPGA board before the contr...

Page 12: ...g the ON OFF status for some LEDs and observing the result on the DE2i 150 board Figure 2 1 The DE2i 150 Control Panel The concept of the DE2i 150 Control Panel is illustrated in Figure 2 2 The Contro...

Page 13: ...or 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 Picture Viewer without worrying about ho...

Page 14: ...ows to control the 7 SEG patterns on the DE2i 150 board which are updated immediately Note that the dots of the 7 SEGs are not enabled on DE2i 150 board Figure 2 4 Controlling 7 SEG display Choosing t...

Page 15: ...in case a malfunction is suspected Thus it can be used for troubleshooting purposes 2 2 3 3 S Sw wi it tc ch he es s a an nd d P Pu us sh h b bu ut tt to on ns s Choosing the Switches tab leads to th...

Page 16: ...can be used for troubleshooting purposes 2 2 4 4 S SD DR RA AM M S SS SR RA AM M F Fl la as sh h C Co on nt tr ro ol ll le er r a an nd d P Pr ro og gr ra am mm me er r The Control Panel can be used...

Page 17: ...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 initiate the wr...

Page 18: ...ed file in the usual manner Users can use the similar way to access the SSRAM and Flash Please note that users need to erase the Flash before writing data to it 2 2 5 5 S SD D C Ca ar rd d The functio...

Page 19: ...sh to use the PC to verify the test The Receive terminal window on the Control Panel monitors the serial communication status Follow the steps below to initiate the RS 232 communication 1 Choosing the...

Page 20: ...board Follow the steps below to generate the VGA pattern function 1 Choosing the Video tab leads to the window in Figure 2 10 2 Plug a D sub cable to VGA connector of the DE2i 150 board and LCD CRT mo...

Page 21: ...HSMC loopback verification test follow the instruction noted under the Loopback Installation section and click on Verify Please note to turn off the DE2i 150 board before the HSMC loopback adapter is...

Page 22: ...window when the IR tab is pressed When the scan code is received the information will be displayed on the IR Receiver window represented in hexadecimal Also the pressed button on the remote controller...

Page 23: ...onstrated by Spirit level The user can rotate the DE2i 150 board to different directions up or down left or right The bubble will travel quickly following your manners Meanwhile the control panel will...

Page 24: ...mplemented in C code the hardware part is implemented in Verilog HDL code with SOPC builder The source code is not available on the DE2i_150 System CD To run the Control Panel users should make the co...

Page 25: ...24 Figure 2 14 The block diagram of the DE2i 150 control panel...

Page 26: ...is complete the power up sequence will go to next state If the configuration is not complete the CPU will not initiate There is a 2 position dip switch SW20 as shown in Figure 3 1 on this circuit whi...

Reviews: