DE1-SoC Getting Started Guide
DE1-SoC Getting Started Guide
tw
February 18, 2014
CONTENTS
Software Installation
2.1 Introduction
This section explains how to install the following software:
Select the latest software version for Subscription Edition or web Edition will into
"myAltera Account Sign-In" page
Download files from subscription or web edition page. You must download the Quartus II
Software (includes Nios II EDS) and Cyclone V device support (includes all variations).
The Altera SoC Embedded Design Suite (EDS) contains development tools, utility programs,
run-time software, and application examples to enable embedded development on the Altera SoC
hardware platform. User can use the Altera SoC EDS to develop firmware and application software.
Users can download the software from the Altera webpage:
https://www.altera.com/download/software/soc-eds
After you have installed the SoC Embedded Design Suite (EDS), you can start the ARM®
Development Studio 5 (DS-5TM) Altera Edition software. If this is your first time using the DS-5, a
popup dialog will automatically ask if you wish to open the license manager.
For the free SoC EDS Web Edition, you will be able to use the DS-5 Altera Edition perpetually to
debug Linux applications over an Ethernet connection. If you have purchased the SoC EDS
Subscription Edition, you would have received an ARM license serial number. Or you can obtain a
30-day evaluation license. The following steps show how to obtain a web edition license or a 30-day
evaluation license for subscription edition. If the user does not need to design in the ARM DS-5,
please skip the section below.
In the section, we will introduce how to get a serial number from Altera website to active the ARM
development Studio 5 (DS-5) Toolkit.
After recording this Activation code, we will continue to introduce how to active DS-5 by using this
code. The steps are as follows:
Launch DS-5. Start --> All Programs --> ARM DS-5 --> Eclipse for DS-5
A Workspace Launcher window will ask you to select a workspace.
Press OK to select the default
You will see a "No Licenses Found" Window. Select Open License Manager
Press the Add License Button in the ARM License Manager and Enter the activation code
Use the pull down menu to select a host ID. Press the Next button.
A web edition license or 30-day evaluation license for subscription edition is now
successfully installed.
3.1 Introduction
The instructions in this section explain how to set up the DE1-SoC development board. The
following pictures show the board overview of DE1-SoC board.
1. Connect the provided power cord to the power supply and plug the cord into a power outlet (verify
the voltage supplied is the same as the specification on the power supply).
2. Connect the supplied DE1-SoC power adapter to the power connector (J14) on the DE1-SoC
board. Press the power button (SW11). At this point, you should see the 12V indicator LED (D14)
turned on.
4.1 Introduction
This chapter shows how to install the USB-Blaster II driver and download a FPGA SRAM Object
(.sof) file to your FPGA board.
3. Select the unknown device to update the driver software. The driver file is in the \<Quartus II
If users would like to program their SRAM Object File (.sof) into the Cyclone V SOC FPGA device
on the DE1-SoC board, There are two devices (FPGA and HPS) on the JTAG Chain, the configure
flow is different from the one used with DE1. The following shows the programming flow with
JTAG mode step by step.
1. Connect your computer to the DE1-SoC board by plugging the USB cable into the USB
connector (J13) of DE1-SoC and power up the board (details shown in Chapter 3)
2. Open the Quartus II software and select Tools > Programmer. The Programmer window will
appear.
7. FPGA and HPS devices are all show in the jtag chain.
8. Click the FPGA device, right click mouse to popup the menu, and then select .sof file for FPGA
5.1 Introduction
This chapter demonstrates how to create a Micro SD card image, set up a UART Terminal, and run
Linux on DE1-SoC Board. User can download the latest SD Card image file from Terasic’s website
(Choose Linux Console in Linux BSP (Board Support Package)): http://cd_de1-soc.terasic.com.
MicroSD Specification
Capacity: 4GB minimum
Speed: Class 4 (at least)
SPL Pre-loader
U-boot
Device Tree Blob
Linux Kernel
Linux Root File system
5. Click “write” to start writing the image file to the microSD card. Wait until the image is
written successfully.
Select the FT232R USB UART to update the driver software. The driver can be downloaded from
http://www.ftdichip.com/Drivers/VCP.htm.
3. After the driver has been installed correctly, the USB Serial Port is recognized as a port such
as COM3 (Open the device manager to know which COM port assigned in your computer)
The following steps present how to configure a PuTTY terminal window (can be downloaded from
the link: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe)
1. Open putty.exe, click Serial go to a serial configure interface.
2. Configure the window like the flowing picture and click save button to save the
configuration.
6.1 Introduction
This chapter presents how to boot LXDE Desktop on DE1-SOC board. LXDE is short for
Lightweight X11 Desktop Environment. It is an extremely fast-performing and energy-saving
desktop environment. LXDE uses less CPU and less RAM than other desktop environments. For
further information about LXDE, you can visit the website: http://LXDE.org.
Figure 6-1 shows the hardware setup for booting LXDE Desktop on DE1-SOC. The requirement
peripherals are list below:
A VGA monitor
A USB keyboard
A USB mouse
A Micro SD with minimum 8GB capacity
Connect your USB mouse and keyboard to the USB connector (J7 and J8) on DE1-SoC board.
Connect your VGA monitor to the VGA connector (J9).
Insert the micro SD card with LXDE image into the DE1-SoC board.
Power up the DE1-SoC board.
You should find two penguins show on the VGA monitor when the Linux is booting.
Getting Help
Here are the addresses where you can get help if you encounter problems:
Terasic Technologies
9F., No.176, Sec.2, Gongdao 5th Rd, East Dist, Hsinchu City, 30070. Taiwan, 30070
Email: support@terasic.com
46H
Web: www.terasic.com
47H
Revision History
Date Version Changes
2014.01.03 V1.0 First Version
2014.01.12 V1.1 Update ch5 for modify board rate