Non-Volatile Configuration Scheme for the Stratix II EP2S60 DSP Development Board

Similar documents
DSP Development Kit, Stratix II Edition

Nios II Flash Programmer User Guide

Board Update Portal based on Nios II Processor with EPCQ (Arria 10 GX FPGA Development Kit)

Laboratory Exercise 5

CHAPTER 1 Introduction of the tnano Board CHAPTER 2 tnano Board Architecture CHAPTER 3 Using the tnano Board... 8

Nios II Flash Programmer User Guide

Introduction to the Qsys System Integration Tool

ERIKA Enterprise Multicore Tutorial

Edge Detection Reference Design

NIOS CPU Based Embedded Computer System on Programmable Chip

Using SOPC Builder & DSP Builder Tool Flow

Debugging Nios II Systems with the SignalTap II Logic Analyzer

Introduction to the Altera SOPC Builder Using Verilog Designs. 1 Introduction

10-Gbps Ethernet Hardware Demonstration Reference Design

Creating Multiprocessor Nios II Systems Tutorial

ERIKA Enterprise Multicore Tutorial. for the Altera Nios II platform

Nios II Embedded Design Suite 6.0 Service Pack 1 Release Notes

Nios Embedded Processor Development Board

9. Building Memory Subsystems Using SOPC Builder

Using NIOS 2 Embedded Design Suite 10

Digital Systems Design. System on a Programmable Chip

9. PIO Core. Core Overview. Functional Description

Introduction to the Altera SOPC Builder Using Verilog Design

NIOS CPU Based Embedded Computer System on Programmable Chip

NIOS CPU Based Embedded Computer System on Programmable Chip

Customizable Flash Programmer User Guide

Alternative Nios II Boot Methods

Embedded Design Handbook

openpowerlink FPGA Slave Reference Design Author: Zelenka Joerg Version: V1.0 Date: 27/10/2009 User Guide.doc

Terasic DE0 Field Programmable Gate Array (FPGA) Development Board

Graduate Institute of Electronics Engineering, NTU Advanced VLSI SOPC design flow

Arria GX Development Kit Getting Started User Guide

Nios II Embedded Evaluation Kit, Cyclone III Edition User Guide

Nios II Development Kit Getting Started User Guide

Edge Detection Using SOPC Builder & DSP Builder Tool Flow

Disassemble the machine code present in any memory region. Single step through each assembly language instruction in the Nios II application.

Designing with Nios II Processor for Hardware Engineers

PCI Express Development Kit, Stratix II GX Edition Getting Started User Guide

HyperBus Memory Controller (HBMC) Tutorial

Nios II Embedded Design Suite 7.1 Release Notes

Synaptic Labs. HyperFlash Programmer for the Nios II Ecosystem. Introduction

Contents. Version 1.01

1 Do not confuse the MPU with the Nios II memory management unit (MMU). The MPU does not provide memory mapping or management.

University of Massachusetts Amherst Computer Systems Lab 2 (ECE 354) Spring Lab 1: Using Nios 2 processor for code execution on FPGA

Active Serial Memory Interface

DSP Development Kit, Stratix II Edition Getting Started User Guide

Using the Parallel Flash Loader with the Quartus II Software

Microtronix Stratix III Broadcast IP Development Kit USER MANUAL REVISION Woodcock St. London, ON Canada N5H 5S1

Designing with Nios II. Exercise Manual

Nios II Embedded Design Suite 6.1 Release Notes

Guidelines for Developing a Nios II HAL Device Driver

AN 836: RapidIO II Reference Design for Avalon-ST Pass-Through Interface

AN 521: Cyclone III Active Parallel Remote System Upgrade Reference Design

AN 830: Intel FPGA Triple-Speed Ethernet and On-Board PHY Chip Reference Design

Designing with ALTERA SoC Hardware

SISTEMI EMBEDDED. Embedded Systems SOPC Design Flow. Federico Baronti Last version:

Instantiating the Core in SOPC Builder on page 2 2 Device Support on page 2 3 Software Programming Model on page 2 3

Using MicroC/OS-II RTOS with the Nios II Processor Tutorial Preliminary Information

Nios II Studio Help System

HyperBus Memory Controller (HBMC) Tutorial

Altera SoC Embedded Design Suite User Guide

Excellent for XIP applications"

Nios II Performance Benchmarks

Altera SoC Embedded Design Suite User Guide

3-D Accelerator on Chip

Ethernet Switch. WAN Gateway. Figure 1: Switched LAN Example

14. Using Altera Enhanced Configuration Devices

Generic Serial Flash Interface Intel FPGA IP Core User Guide

Remote Configuration Over Ethernet with the Nios II Processor

Profiling Nios II Systems

DOWNLOADING DESIGNS TO THE ALTERA DE10-LITE FPGA

October 11, 2018 DE5-Net OpenCL

System Console User Guide

Agilent Technologies InfiniiVision MSO N5434A FPGA Dynamic Probe for Altera

4. Configuring Cyclone II Devices

FPGA4U HowTo. 1 Introduction. 2 Minimum requirements. Recommended system. Operating systems

Intel SoC FPGA Embedded Development Suite User Guide

AN 819: Partial Reconfiguration over PCI Express* Reference Design for Intel Stratix 10 Devices

July 7, 2014 DE5-Net OpenCL

4K Format Conversion Reference Design

Chapter 1 Overview General Description Key Features Block Diagram... 6

Nios Development Kit, Stratix Edition

SOPC LAB1. I. Introduction. II. Lab contents. 4-bit count up counter. Advanced VLSI Due Wednesday, 01/08/2003

Intel Stratix 10 SoC FPGA Boot User Guide

10. SOPC Builder Component Development Walkthrough

Using the Nios Development Board Configuration Controller Reference Designs

Nios II Embedded Design Suite Release Notes

Estimating Nios Resource Usage & Performance

Synaptic Labs HyperBus Memory Controller (HBMC) Tutorial for Intel FPGA devices

Arria 10 SoC Development Kit User Guide

HyperBus Memory Controller (HBMC) Tutorial

Transceiver Signal Integrity Development Kit, Stratix IV GT Edition User Guide

CoreCommander. User Guide. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408)

4. Serial Configuration Devices (EPCS1, EPCS4, EPCS16, & EPCS64) Features

System Cache (CMS-T002/CMS-T003) Tutorial

ootbrobotics.com Electronics and Robotics LLC

9. Verification and Board Bring-Up

2.5G Reed-Solomon II MegaCore Function Reference Design

Avnet Zynq Mini Module Plus Embedded Design

GigE Vision Reference Design

Transcription:

Non-Volatile Configuration Scheme for the Stratix II EP2S60 DSP Development Board Qian Liu and S.W. Ellingson October 21, 2008 The Stratix II DSP development board (DSP board) has provided a non-volatile configuration scheme, using 16 MBytes of flash memory and an Altera R EPM7256 MAX R device, to have a design immediately present in the Stratix II device when powering up the DSP board. Upon power-up, the configuration controller begins reading data from the flash memory and transfers the data into the Stratix II FPGA. The Nios II flash programmer, part of the Nios II development tools, is a convenient tool to program data into a flash memory device connected to an Altera R FPGA through an Altera download cable, such as the USB Blaster R. 1 Configuration Setting The configuration controller on the DSP board can manage four separate Stratix II device configurations stored in the flash memory: three user designs and a factory design. The user can select which design the Stratix II device is programmed with by setting the DIP switches on SW2. Table 1 shows the DIP switch combinations used to select the available images. Note that switch 4 must be set to OPEN to enable the configuration controller. The configuration controller is connected to four status LEDs to show the configuration status of the DSP board at a glance. Table 2 shows the behavior of the configuration-status LEDs. 1

Table 1: Configuration DIP Switch (SW2) Combinations[1] Image Switch 1 Switch 2 Switch 3 Switch 4 User0 Closed Closed Closed User1 Open Closed Closed User2 Closed Open Closed Open Factory Open Open Open Table 2: Configuration-Status LED Indicators[1] LED LED Name Color Description LED3 Loading Green The configuration controller is transferring data from flash memory into the Stratix II FPGA. LED4 Error Red The flash memory contains neither a valid user or factory configuration. LED1 User Green The user configuration data is successfully loaded into the Stratix II device. LED2 Factory Amber The factory configuration data is successfully loaded into the Stratix II device. 2

2 Flash Programming 2.1 Flash Programmer Target Design To use the Nios II flash programmer with the DSP board, an SOPC Builder setting that locates a board description file for the DSP board must be specified. The minimum component set of the SOPC Builder should include Nios II Processor with Joint Test Action Group (JTAG) debug module level 1 or greater, Avalon-MM Tristate Bridge, flash memory (common flash interface) and system ID peripheral. The standard hardware example design (provided in <installation directory>/stratixii DSP Kit-v6.0.1/Examples/StratixII DSP 2S60/ NiosII/example designs/verilog/standard directory) included with Nios development tools is a ready-made target design that works with the DSP board. Since we are using the custom board, this example design can be used as a starting point in creating our target design. 2.2 Using the Flash Programmer to Write Flash The Nios II flash programmer can be run in two modes: IDE mode and command-line mode[2]. In IDE mode, the programming parameters can be easily controlled with the graphical interface. As Figure 1 shown, check the box titled Program FPGA configuration data into hardware-image region of flash memory and complete the following steps: 1. In the FPGA Configuration (SOF) field, type or brows to the SRAM object file blinky.sof. 2. In the Hardware Image filed, select the preset location at which we will program the SRAM object file, or select Custom. In Figure 1, we select Custom and specify a memory name ext flash, and an offset address 0x800000 within the memory. Then click on the button Program Flash to write the configuration file into the flash memory ext flash which has been specified in the standard hardware example design. The command-line mode can give the designer more control than IDE mode, but it is also more complex. To write flash using the flash program- 3

Figure 1: Flash Programmer Dialog Box 4

mer in command-line mode, carry out the following steps: 1. Launch the Quartus II programmer to run the firmware of the standard hardware example design standard.sof on the Stratix II FPGA. 2. Launch the Nios II Command Shell and input the following commands to program the flash: sof2flash --offset=0x800000 --input=blinky.sof --output=blinky.flash nios2-flash-programmer --cable= USB-Blaster [USB-0] --base=0x0 blinky.flash The first command translates an SRAM object file blinky.sof to an S- record file blinky.flash, suitable for programming into flash memory, and the parameter offset=0x800000 specifies the offset within the flash memory device where the FPGA configuration is to be programmed. The second command programs the preformatted file blinky.flash into a specified flash memory whose base address is given by the parameter base=0x0. Note that this parameter is the absolute address in the target design s address space. When flash programming completed in either IDE mode or command-line mode, the configuration file has been written into the on-board flash memory at the address 0x800000, which corresponds to User1 s image. Set switches 2 and 3 to Closed and switches 1 and 4 to Open, then push down the onboard button SW1 to reset the DSP board, we will see that the DSP board boot from user1 s hardware image and configuration-status LED1 turns on. References [1] Altera Corporation, Stratix II DSP Development Board Reference Manual, 6.0.1 ed., August 2006. [2] Altera Corporation, Nios II Flash Programmer User Guide, 1.6 ed., May 2008. 5