Altera MAX 10 FPGA User Manual

Browse online or download User Manual for Measuring instruments Altera MAX 10 FPGA. Altera MAX 10 FPGA User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 56
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
MAX 10 FPGA Configuration User Guide
Subscribe
Send Feedback
UG-M10CONFIG
2015.05.04
101 Innovation Drive
San Jose, CA 95134
www.altera.com
Page view 0
1 2 3 4 5 6 ... 55 56

Summary of Contents

Page 1 - San Jose, CA 95134

MAX 10 FPGA Configuration User GuideSubscribeSend FeedbackUG-M10CONFIG2015.05.04101 Innovation DriveSan Jose, CA 95134www.altera.com

Page 2 - Contents

Instruction Instruction Code DescriptionISC_ENABLE_HIZ (1)10 1100 1100• Puts the device in ISP mode, tri-states all I/O pins,and drives all core drive

Page 3 - Altera Corporation

Instruction Instruction Code DescriptionBGP_ENABLE 01 1001 1001• Sets the device to the real-time ISP mode.• Allows access to the internal flash confi

Page 4 - Remote System

Configuration Settings Description Default State/ValueAllow encrypted POF only If enabled, configuration error will occur ifunencrypted .pof is used.D

Page 5 - Features

Remote System Upgrade FlowBoth the application configuration images, image 0 and image 1, are stored in the CFM. The MAX 10device loads either one of

Page 6 - Internal Configuration

Remote System Upgrade CircuitryFigure 2-4: Remote System Upgrade CircuitryStatus Register (SR)PreviousStateRegister 2Bit[31..0]StateRegister 1Bit[31..

Page 7 - Configuration Flash Memory

Core Signal Name LogicalSignalNameInput/OutputDescriptionRU_DOUT regout OutputUse this signal to get output data from the shift register. Datais clock

Page 8 - In-System Programming

Table 2-7: Control Inputs to the Remote System Upgrade CircuitryRemote System Upgrade Circuitry Control InputsOperationModeInput Settings for Register

Page 9

Bits Name Description11:0 Reserved Reserved—set to 0.Remote System Upgrade Status RegistersTable 2-9: Remote System Upgrade Status Register—Current St

Page 10 - 2015.05.04

User Watchdog TimerThe user watchdog timer prevents a faulty application configuration from stalling the device indefinitely.You can use the timer to

Page 11

Related Information• Altera Dual Configuration IP Core Avalon-MM Address Map on page 5-1• Avalon Interface SpecificationsProvides more information abo

Page 12 - Configuration Features

ContentsMAX 10 FPGA Configuration Overview...1-1MAX 10 FPGA Configuration Schemes and Feature

Page 13 - Remote System Upgrade Flow

Unique Chip IDUnique chip ID provides the following features:• Identifies your device in your design as part of a security feature to protect your des

Page 14

Related Information• JTAG Instruction Availability on page 2-17• Configuration Flash Memory Permissions on page 2-18• .pof Generation through Convert

Page 15

• Encryption and Decryption on page 2-15Configuration Flash Memory PermissionsThe JTAG secure mode and verify protect features determines the CFM oper

Page 16

Configuration Error DetectionIn configuration mode, a frame-based CRC is stored in the configuration data and contains the CRC valuefor each data fram

Page 17 - Values State Description

Table 2-15: Error Detection Registers for MAX 10 DevicesRegister Description32-bit signature registerThis register contains the CRC signature. The sig

Page 18 - User Watchdog Timer

Table 2-17: Minimum and Maximum Error Detection Frequencies for MAX 10 Devices—PreliminaryDevice Error Detection Frequency Maximum ErrorDetectionFrequ

Page 19 - Configuration Design Security

Recovering from CRC ErrorsThe system that MAX 10 resides in must control device reconfiguration. After detecting an error on theCRC_ERROR pin, strobin

Page 20 - JTAG Secure Mode

Configuration DetailsConfiguration SequenceFigure 2-10: Configuration Sequence for MAX 10 DevicesPower supplies including VCCIO, VCCA and VCCreach rec

Page 21 - JTAG Instruction Availability

Related Information.pof Generation through Convert Programming Files on page 3-6Provides more information about how to set th weak pull-up during conf

Page 22

Table 2-21: POR Requirements and Timing for MAX 10 DevicesInstant-On POR Delay Setting Ramp Rate Requirement (tRAMP) POR Delay (tPOR)Enabled Don’t Car

Page 23 - User Mode Error Detection

MAX 10 FPGA Configuration IP Core Implementation Guides... 4-1Altera Unique Chip ID IP Core...

Page 24 - Error Detection Timing

Configuration Pin Input/Output Configuration SchemeDEV_OE Input only Optional, JTAG and internal configurationsCONF_DONE Bidirectional, open-drain JTA

Page 25

MAX 10 FPGA Configuration Design Guidelines32015.05.04UG-M10CONFIGSubscribeSend FeedbackDual-Purpose Configuration PinsGuidelines: Dual-Purpose Config

Page 26 - Recovering from CRC Errors

Pins GuidelinesTDO• If you intend to switch back and forth between user I/O pins and JTAG pin functionsusing the JTAGEN pin, all JTAG pins must be ass

Page 27 - Configuration Details

• AN 425: Using the Command-Line Jam STAPL Solution for Device ProgrammingJTAG Configuration SetupTo configure MAX 10 device using a download cable, c

Page 28 - Power Up

JTAGENIf you use the JTAGEN pin, Altera recommends the following settings:• Once you entered user mode and JTAG pins are regular I/O pins—connect the

Page 29 - MAX 10 Configuration Pins

• Select the internal configuration scheme• Generate the .pof with ICB settings• Program the .pof the internal flashRelated Information• Internal Conf

Page 30 - JTAG Pin Sharing Behavior

Internal ConfigurationMode.pof Generation and ICBSetting MethodDescriptionSingle CompressedImage with MemoryInitialization.Convert ProgrammingFiles• U

Page 31 - Pins Guidelines

Note: The JTAG Secure feature will be disabled by default in Quartus II. If you are interested inusing the JTAG Secure feature, contact Altera for sup

Page 32 - Enabling Dual-purpose Pin

• To program any of the CFM0/CFM1/CFM2 only, select the corresponding CFM in the Program/Configure column.• To program the UFM only, select the UFM in

Page 33 - JTAG Configuration Setup

In user mode, MAX 10 devices support the CHANGE_EDREG JTAG instruction, which allows you to write tothe 32-bit storage register. You can use .jam to a

Page 34 - Related Information

MAX 10 FPGA Configuration Overview12015.05.04UG-M10CONFIGSubscribeSend FeedbackYou can configure MAX® 10 configuration RAM (CRAM) using the following

Page 35 - .pof and ICB Settings

Figure 3-2: Error Detection Block Diagram with Interfaces for MAX 10 DevicesClock Divider(1 to 256 Factor)Pre-Computed CRC(Saved in the Option Registe

Page 36 - Auto-Generated .pof

• Before design compilation—using the Compiler Settings menu.• After design compilation—using the Convert Programming Files option.Enabling Compressio

Page 37

Generating .ekp File and Encrypt Configuration FileTo generate the .ekp file and encrypt your configuration file, follow these steps:1. On the File me

Page 38 - Error Detection

• Adding key with a .key file.The .key file is a plain text file in which each line represents a key unless the line starts with "#". The&qu

Page 39 - Enabling Error Detection

• JEDEC STAPL Format (.jam)• Jam STAPL Byte Code (.jbc)• Serial Vector Format (.svf)10.Type the file name in the File name field, or browse to and sel

Page 40 - Enabling Data Compression

Once the .ekp is integrated into the .pof, you can to save the integrated .pof into a new .pof. This newlysaved file will have original .pof integrate

Page 41 - AES Encryption

Configura‐tion ImageModeCFM0 (image 0)Encryption KeyCFM1 (image 1)Encryption KeyKey Storedin the DeviceAllowEncryptedPOF OnlyCONFIG_SELpinDesign Loade

Page 42

CFM0 (image 0)Encryption KeyKey Stored in theDeviceAllow Encrypted POFOnlyDesign Loaded After Power-upKey Y No key Enabled Configuration FailKey Y Key

Page 43

MAX 10 FPGA Configuration IP CoreImplementation Guides42015.05.04UG-M10CONFIGSubscribeSend FeedbackAltera Unique Chip ID IP CoreThis section provides

Page 44

Instantiating the Altera Dual Configuration IP CoreTo instantiate the Altera Dual Configuration IP Core, follow these steps:1. On the Tools menu of th

Page 45

MAX 10 FPGA Configuration Schemes andFeatures22015.05.04UG-M10CONFIGSubscribeSend FeedbackConfiguration SchemesFigure 2-1: High-Level Overview of JTAG

Page 46 - Send Feedback

Altera Dual Configuration IP Core References52015.05.04UG-M10CONFIGSubscribeSend FeedbackAltera Dual Configuration IP Core Avalon-MM Address MapTable

Page 47 - Key Y Key Y Enabled image 0

Offset R/W Width(Bits)Description2 W 32• Bit 0—trigger read operation from the user watchdog.• Bit 1—trigger read operation from the previous state ap

Page 48 - Implementation Guides

• Avalon Interface SpecificationsProvides more information about the Avalon-MM interface specifications applied in Altera DualConfiguration IP Core.•

Page 49

Altera Unique Chip ID IP Core References62015.05.04UG-M10CONFIGSubscribeSend FeedbackAltera Unique Chip ID IP Core PortsTable 6-1: Altera Unique Chip

Page 50 - Description

Additional Information for MAX 10 FPGAConfiguration User GuideA2015.05.04UG-M10CONFIGSubscribeSend Feedback© 2015 Altera Corporation. All rights reser

Page 51

Document Revision History for MAX 10 FPGA Configuration User GuideDate Version ChangesMay 2015 2015.05.04• Rearranged and updated Configuration Settin

Page 52 - Parameter Value Description

Date Version ChangesDecember 2014 2014.12.15• Rename BOOT_SEL pin to CONFIG_SEL pin.• Update Altera IP Core name from Dual Boot IP Core to AlteraDual

Page 53

JTAG PinsTable 2-1: JTAG PinPin Function DescriptionTDI Serial input pin for:• instructions• test data• programming data• TDI is sampled on the rising

Page 54 - Configuration User Guide

The internal configuration scheme for 10M02 device supports the following mode:• Single Compressed Image• Single Uncompressed ImageRelated Information

Page 55 - Date Version Changes

Figure 2-2: Configuration Flash Memory Sectors Utilization for all MAX 10 Devices Except for the10M02 DeviceUnutilized CFM1 and CFM2 sectors can be us

Page 56

The following are the generic flow of an ISP operation:1. Check ID—the JTAG ID is checked before any program or verify process. The time required to r

Comments to this Manuals

No comments