....................... 12 NSTALLING THE LASTER RIVER 4.3 D FPGA SRAM O ......................13 OWNLOADING A BJECT RUNNING LINUX ON THE DE10-NANO BOARD VIA UART TERMINAL CHAPTER 5 ........19 5.1 I ................................. 19 NTRODUCTION 5.2 S UART T ..........................19...
Chapter 1 About this Guide The DE10-Nano Getting Started Guide contains a quick overview of the hardware and software setup including step-by-step procedures from installing the necessary software tools to using the DE10-Nano board. The main topics this guide covers are listed below: ...
Chapter 2 Development Board Setup 2.1 Introduction The instructions in this section explain how to set up the DE10-Nano development board. The following pictures are the board overview of DE10-Nano. 2.2 MSEL Settings FPPx32 Mode (Default) The FPGA Configuration Mode Switch (MSEL) shown in...
Figure 2-2 FPGA Configuration Mode Switch set in AS Mode 2.3 USB , HDMI Output and Power Cables Cable connections are shown in Figure 2-3, as below: Figure 2-3 USB, HDMI Output and Power Cables DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
4. Make sure the Factory SD Card is inserted in the SD Card socket. 5. Connect the supplied DE10-Nano power adapter to the power connector (J14) on the DE10-Nano board. At this point, you should see the 3.3V indicator LED (LED9) turned on.
Page 7
Figure 2-4 Setup for Xfce Desktop Figure 2-5 Xfce Desktop Environment DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Intel FPGAs. The Quartus II software is the primary FPGA development tool used to create reference designs along with the NIOS II soft-core embedded processor integrated development environment User can download the latest software from: https://www.altera.com/downloads/download-center.html DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Page 9
Please go to the following link for more information regarding the Standard Edition: https://www.altera.com/support/support-resources/download/licensing.html Download files from Standard or Lite edition page. You must download the Quartus II Software (includes NIOS II EDS) and Cyclone V device support (includes all variations). DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Page 10
After the file is downloaded, select the *.exe file, and install the software. All of the defaults are to be used. DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
FPGAs (license-managed). Please refer to the link list in below to get the comparison chart to compare both versions. After downloading the software, follow the corresponding guide in License Activation to activate your license. https://www.altera.com/products/design-software/embedded-software-developers/soc-eds/getting-sta rted.html DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
2. Power up the board and open the device manager in Windows. You will find an unknown device. Figure 4-1 Unknown device on device manager 3. Select the unknown device to update the driver software. The driver file is in the \<Quartus II installation directory>\drivers\ usb-blaster-ii directory. DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
If users would like to program their SRAM Object File (.sof) into the Cyclone V SOC FPGA device on the DE10-Nano board, there are two devices (FPGA and HPS) on the JTAG Chain. The configure flow is different from the one used with DE0-Nano. The section below shows the step-by-step procedure of programming flow with JTAG mode.
Page 14
Figure 4-3 Quartus Programer Click Hardware Setup. If DE-SoC [USB-1] does not appear under Currently Selected Hardware, select that option and click Close, as illustrated below. Figure 4-4 Hardware Setup DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Page 15
If the USB-Blaster II does not appear under hardware options list, please confirm if the USB-Blaster II driver has been correctly installed, and if the USB cable has been properly connected between the DE10-Nano board and host computer. 5. Click “Auto Detect”...
Page 16
Figure 4-7 JTAG Chain on DE10-nano board 8. Click the FPGA device, click “Change File..”, and then select .sof file for FPGA DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Page 18
Click “Program/Configure” check box, and then click “Start” button to download .sof file into FPGA Figure 4-10 Downaload .sof file DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
5.2 Setting Up UART Terminal This section presents how to install the drivers for the USB to UART chip on the DE10-Nano board and how to set up the UART terminal on your host PC. The DE10-Nano board communicates with the PC through the micro USB connector J4.
Page 20
Windows 7 are: 1. Connect your computer to the development board by plugging the USB cable into the micro USB connector (J4) of DE10-Nano. (connection shown in Figure 2-3 2. Power on the board and open the computer device manager in Windows. You will find an unrecognized FT232R USB UART.
Page 21
Figure 5-3 USB Serial Poet driver is installed correctly 4. Now you can power off the DE10-Nano board Configure UART terminal UART terminal spec: 115200 baud rate no parity 1 stop bit no flow control settings The following steps shows how to configure a PuTTY terminal window (can be downloaded from the link: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe)
Figure 5-4 Putty Window 5.3 Running Linux on DE10-Nano board This section presents how to run the pre-built Linux images on the DE10-Nano board. You can run the Linux by following the steps below: 1. Insert the factory microSD card with the pre-built image into the board (See Section 5.4 to prepare a microSD card) 2.
Pre-Built SD Card Image The pre-built binaries are delivered as an archive named DE10_Nano_XFCE.img. This SD card image file contains all the items that are needed to run Linux on DE10-Nano board. (You can download the compressed file from the link: http://www.terasic.com/downloads/cd-rom/de10-nano/linux_BSP/DE10_Nano_Xfce.zip...
Page 24
5. Click “write” to start writing the image file to the microSD card. Wait until the image is successfully written. 6. There is also a Linux console image file which do not have desktop feature; it can be download on the link below: http://www.terasic.com/downloads/cd-rom/de10-nano/linux_BSP/de10_nano_linux_console. Item Linux BSP (Board Support Package)/Click Descriptions to Download DE10_Nano_LXDE.zip...
MSEL[4:0] switch is set to “01010”. 2. Use the Micro USB cable to connect the USB connector on the DE10-Nano board to a USB port on a computer. Once they are connected, plug in the 5-volt power adapter to power up the board.
3. After they are connected, the DE10-Nano will display a USB Flash Drive feature in windows. The “DE10-Nano” will be shown in the Hard Disk Drives. The drivers and the web server related data will be used in the following steps.
Page 27
5. Right click unknown device, and select “Update Driver Software.” 6. Choose “Browse my computer for driver software.” DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Page 28
7. The driver for unknown devices is in the “DE10-Nano.” 8. Choose “Drivers\Windows” in DE10-Nano when browse for driver software in the installation location. DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Page 29
9. Choose “Install.” 10. Complete the “Gadget Serial” installation. DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
6.3 Using the Web Server 1. Users can use the web server after the drivers have been installed. Open the DE10-Nano and execute the start.html file. 2. This webpage provides step-by-step procedure to guide users to install driver for USB Ethernet/RNDIS Gadget just like section 6.1.
Page 31
3. Open the web server in the DE10-Nano; users can choose any pages to operate. The “Start” page provides hardware data of the DE10-Nano board, such as Circuit diagram, Block diagram, and pin assignments of the peripherals. DE10-Nano www.terasic.com.tw Getting Started Guide...
Page 32
Enter the “Play” page, users can interact with the board in this page. For example, control the LEDs lights (turning lights on and off). DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Page 33
5. The “Learn” page contains the related documents and tools of SoC FPGA. 6. The “Develop” page provides users the download location for the DE10-Nano software. DE10-Nano www.terasic.com.tw Getting Started Guide July 25, 2017...
Use can use the above features only when the USB Gadget function is enabled in the Xfce Desktop. When the USB gadget is enabled, the DE10-Nano acts as a USB storage after it is connected to a host PC.If it is unusable, please follow below steps to check if the USB Gadget is disabled: 1.
Additional Information Contact Terasic Users can refer to the following table for technical support and more information of Terasic and our product: Contact Address Contact Method Technical Support Email support@terasic.com Website www.terasic.com Address 9F., No.176, Sec.2, Gongdao 5th Rd, East Dist, Hsinchu City, 30070. Taiwan, 30070...
Need help?
Do you have a question about the DE10-Nano and is the answer not in the manual?
Questions and answers