Altera Parallel Flash Loader IP Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Instrumentos de medida Altera Parallel Flash Loader IP. Altera Parallel Flash Loader IP User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 57
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
Parallel Flash Loader IP Core User Guide
2015.01.23
UG-01082
Subscribe
Send Feedback
This document describes how to instantiate the Parallel Flash Loader (PFL) IP core in your design,
programming flash memory, and configuring your FPGA from the flash memory.
FPGAs’ increasing density requires larger configuration storage. If your system contains a flash memory
device, you can use your flash memory as the FPGA configuration storage as well. You can use the PFL IP
core in Altera
®
MAX
®
Series (MAX II, MAX V and MAX 10 devices) or all other FPGAs to program
flash memory devices efficiently through the JTAG interface and to control configuration from the flash
memory device to the Altera FPGA.
Features
Use the PFL IP core to:
Program Common Flash Interface (CFI) flash, quad Serial Peripheral Interface (SPI) flash, or NAND
flash memory devices with the device JTAG interface.
Control Altera FPGA configuration from a CFI flash, quad SPI flash, or NAND flash memory device
for Arria series, Cyclone series, and Stratix series FPGA devices.
Installing and Licensing IP Cores
The Altera IP Library provides many useful IP core functions for production use without purchasing an
additional license. You can evaluate any Altera
®
IP core in simulation and compilation in the Quartus
®
II
software using the OpenCore
®
evaluation feature. Some Altera IP cores, such as MegaCore
®
functions,
require that you purchase a separate license for production use. You can use the OpenCore Plus feature to
evaluate IP that requires purchase of an additional license until you are satisfied with the functionality and
performance. After you purchase a license, visit the Self Service Licensing Center to obtain a license
number for any Altera product.
Figure 1: IP Core Installation Path
acds
quartus - Contains the Quartus II software
ip - Contains the Altera IP Library and third-party IP cores
altera - Contains the Altera IP Library source code
<IP core name> - Contains the IP core source files
©
2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are
trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as
trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance
of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any
products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,
product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device
specifications before relying on any published information and before placing orders for products or services.
ISO
9001:2008
Registered
www.altera.com
101 Innovation Drive, San Jose, CA 95134
Vista de página 0
1 2 3 4 5 6 ... 56 57

Resumo do Conteúdo

Página 1 - Features

Parallel Flash Loader IP Core User Guide2015.01.23UG-01082SubscribeSend FeedbackThis document describes how to instantiate the Parallel Flash Loader (

Página 2 - Device Support

The PFL IP core provides JTAG interface logic to convert the JTAG stream provided by the Quartus IIsoftware and to program the CFI flash memory device

Página 3

The PFL IP core instantiated in the Altera CPLD functions as a bridge between the CPLD JTAG program‐ming interface and the quad SPI flash memory devic

Página 4

Programming NAND FlashYou can use the JTAG interface in Altera CPLDs to program the NAND flash memory device with thePFL IP core. The NAND flash memor

Página 5

You can use the PFL IP core to either program the flash memory devices, configure your FPGA, or both;however, to perform both functions, create separa

Página 6

Figure 9: Micron J3 Flash Memory in 8-Bit ModeThe address connection between the PFL IP core and the flash memory device are the same.232221---210PFLa

Página 7

Figure 12: Spansion and Micron M28, M29 Flash Memory in 16-Bit ModeThe address bit numbers in the PFL IP core and the flash memory device are the same

Página 8 - Using the Parameter Editor

Table 4: Option Bits Sector FormatOffset address 0x80 stores the .pof version required for programming flash memory. This .pof version applies to alle

Página 9 - Functional Description

Figure 13: Implementing Page Mode and Option Bits in the CFI Flash Memory Device• The end address depends on the density of the flash memory device. F

Página 10 - Programming Quad SPI Flash

CFI Device (Megabit) Address Range16 0x0000000–0x01FFFFF32 0x0000000–0x03FFFFF64 0x0000000–0x07FFFFF128 0x0000000–0x0FFFFFF256 0x0000000–0x1FFFFFF512

Página 11 - Related Information

For the FPP configuration scheme, the enhanced bitstream compression feature helps achieve higherconfiguration data compression ratio and faster confi

Página 12 - Programming NAND Flash

Note: The default IP installation directory on Windows is <drive>:\altera\<version number>; on Linux it is<home directory>/altera/ &

Página 13 - Mapping PFL and Flash Address

Using Remote System UpgradeWhen you instantiate the PFL IP core in the Altera CPLD for FPP or PS configuration, you can use thefeatures in the PFL IP

Página 14

Figure 18: Transitions Between Different Configurations in Remote System Upgrade• The remote system upgrade feature in the PFL IP core does not restri

Página 15 - Storing Option Bits

image address. Altera recommends that you write-protect the factory image blocks in the flashmemory device.Implementing Remote System Upgrade with the

Página 16 - Sector Offset Value

period. You must periodically reset this timer by asserting the pfl_reset_watchdog pin before thewatchdog time-out period. If the timer does not reset

Página 17

Related InformationAN478: Using FPGA-Based Parallel Flash Loader with the Quartus II SoftwareProvides more information about using the FPGA-based PFL

Página 18 - 2015.01.23

To convert the .sof files to a .pof, follow these steps:1. On the File menu, click Convert Programming Files.2. For Programming file type, specify Pro

Página 19 - Send Feedback

• Typical bitstream compression feature1. Select .sof under SOF Data.2. Click Properties, and then turn on the Compression option.3. Click OK.• Enhanc

Página 20 - Using Remote System Upgrade

The clock signal on the TCK pins is internally constrained to the maximum frequency supported by theselected JTAG programming hardware. It is not nece

Página 21

To constrain the synchronous input and output signals in the TimeQuest analyzer, follow these steps:1.Run full compilation for the PFL design. Ensure

Página 22 - User Watchdog Timer

Type Port Constraint Type Delay ValueOutput asynchro‐nousfpga_nconfig set_false_path —pfl_flash_access_request set_false_path —flash_nce set_false_pat

Página 23 - Using the PFL IP Core

Manufacturer Product Family Data Width Density (Megabit) Device Name(1)(2)P30 1664 28F640P30128 28F128P30256 28F256P30512 28F512P301000 28F00AP302000

Página 24

Related Information• ModelSim-Altera Software SupportProvides more information about simulation setup in ModelSim-Altera software.• Altera Knowledge C

Página 25

Related Information• Simulating PFL Design on page 29• About Using the ModelSim Software with the Quartus II SoftwareProvides more information about o

Página 26 - Constraining PFL Timing

After reading the option bits for page 0, the PFL IP core waits for a period of time before the configurationstarts. The flash_data remains at 0×ZZ wi

Página 27

5. Select the .pof generated for the flash memory device. The .pof for the flash memory device is attachedto the .pof of the CPLD.6. Add other program

Página 28

To add a new CFI flash memory device to the database or update a CFI flash device in the database, followthese steps:1. In the Programmer window, on t

Página 29 - Simulating PFL Design

Related InformationSupported Flash Memory Devices on page 2Programming Multiple Flash Memory DevicesThe PFL IP core supports multiple-flash programmin

Página 30

Figure 23: Single-Device Configuration Using the PFL With the Controllerpfl_nresetpfl_flash_access_grantedflash_addrflash_dataflash_nweflash_nceflash_

Página 31

intend to program, do not overwrite the Nios II processor image when you program the flash memorydevice with other user data.If you do not want to sto

Página 32

Figure 25: Nios II Processor and PFL Accessing the Flash Memory Device SequenceNios II processor connectsto the flash deviceThe PFL megafunction pulls

Página 33 - Defining New CFI Flash Device

Third-party Programmer SupportYou can program the flash memory using a third-party programmer instead of using Parallel Flash LoaderIP core. To progra

Página 34 - Parameter Description

Manufacturer Product Family Data Width Density (Megabit) Device Name(1)(2)G18 16512 MT28GU512AAA1EGC-0SIT1024 MT28GU01GAAA1EGC-0SITM58BW3216M58BW16FTM

Página 35

Options Value DescriptionNumber of flashdevices used• CFI Parallel Flash: 1–16• Altera Active Serial ×4: 1,2,4• Quad SPI Flash: 1,2,4• NAND Flash: 1,2

Página 36

Options Value DescriptionByte address forreserved block area—Specifies the start address of the reserved blockarea for bad block management.NAND flash

Página 37 - Pin Description

Options Value DescriptionFlash access time —Specifies the access time of the flash. You can getthe maximum access time that a flash memorydevice requi

Página 38

Options Value DescriptionTime period beforethe watchdog timertimes out— Specifies the time out period of the watchdogtimer. The default time out perio

Página 39 - Parameters

SignalsThis section contains information about the PFL IP core input and output signals.Table 14: PFL SignalsFor maximum FPGA configuration DCLK frequ

Página 40 - Options Value Description

Pin Description Weak Pull-UpFunctionfpga_nstatus Input 10-kW Pull-Up ResistorConnects to the nSTATUS pin of the FPGA.This pin must be released high be

Página 41

Pin Description Weak Pull-UpFunctionflash_nce[] Output — Connects to the nCE pin of the flash memorydevice. A low signal enables the flashmemory devic

Página 42

Pin Description Weak Pull-UpFunctionfpga_dclk Output — Connects to the DCLK pin of the FPGA.Clock input data to the FPGA device duringconfiguration. T

Página 43

Pin Description Weak Pull-UpFunctionflash_io3[] Output — The fourth bit of the data bus to or from thequad SPI flash. If you use more than onequad SPI

Página 44 - Function

Table 15: FPP and PS Mode Equations for the PFLFlash Access ModeConfigura‐tion DataOptionFlash DataWidth (bits)DCLK Ratio = 1, 2, 4, or 8 (9)FPP Mode

Página 45

Manufacturer Product Family Data Width Density (Megabit) Device Name(1)(2)Eon SiliconSolutionEN29LV 16 16 EN29LV160BEN29GL 1632 EN29LV320B128 EN29GL12

Página 46

Flash Access ModeConfigura‐tion DataOptionFlash DataWidth (bits)DCLK Ratio = 1, 2, 4, or 8 (9)FPP Mode PS ModeBurst ModeNormal4Cflash = 4Ccfg = DCLK R

Página 47

Flash Access ModeConfigura‐tion DataOptionFlash DataWidth (bits)DCLK Ratio = 1, 2, 4, or 8 (9)FPP Mode PS Mode• For Normal Mode and Burst Mode:Caccess

Página 48 - Specifications

Example 2: Normal Mode• Normal mode configuration time calculation:.rbf size for EP2S15 = 577KB = 590,848 BytesConfiguration mode = FPP without data c

Página 49

Example 3: Page Mode• Page mode configuration time calculation:.rbf size for EP2S15 = 577 KB = 590,848 BytesConfiguration mode = FPP without data comp

Página 50

Example 4: Burst Mode• Burst mode configuration time calculation:.rbf size for EP2S15 = 577KB = 590,848 BytesConfiguration mode = FPP without data com

Página 51

Example 5: Single Quad SPI Flash• Single quad SPI flash configuration time calcualtion.rbf size for EP2S15 = 577KB = 590,848 BytesConfiguration mode =

Página 52

Document Revision HistoryDate Version ChangesJanuary 2015 2015.01.23• Corrected DATA width in PFL IP core With Dual P30 or P33 CFIFlash Memory Devices

Página 53

Date Version ChangesJuly 2010 1.0 Converted from AN386: Using the Parallel Flash Loader With theQuartus II Software.UG-010822015.01.23Document Revisio

Página 54

Manufacturer Product Family Density (Megabit) Device NameMacronixMX25L8MX25L8035EMX25L8036E16MX25L1635DMX25L1635EMX25L1636DMX25L1636E32MX25L3225DMX25L

Página 55

Related InformationSpansion WebsiteSupported Schemes and FeaturesThe PFL IP core allows you to configure the FPGA in passive serial (PS) or fast passi

Página 56 - Document Revision History

Figure 2: Quartus II IP CatalogSearch and filter IP for your target deviceDouble-click to customize, right-click for informationNote: The IP Catalog i

Página 57 - Quartus II Software

Figure 3: IP Parameter EditorsView IP portand parameter detailsApply preset parameters forspecific applicationsSpecify your IP variation nameand targe

Comentários a estes Manuais

Sem comentários