Page 1
MAX 10 User Flash Memory User Guide Last updated for Quartus Prime Design Suite: 16.0 UG-M10UFM 101 Innovation Drive Subscribe 2016.05.02 San Jose, CA 95134 Send Feedback www.altera.com...
Altera On-Chip Flash IP Core References............5-1 Altera On-Chip Flash Parameters......................5-1 Altera On-Chip Flash Signals........................5-2 Altera On-Chip Flash Registers......................... 5-4 MAX 10 User Flash Memory User Guide Archive..........A-1 Document Revision History for MAX 10 User Flash Memory User Guide..B-1 Altera Corporation...
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.
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.
UFM Block Diagrams This figure shows the top level view of the Altera On-Chip Flash IP core block diagram. The Altera On- Chip Flash IP core supports both parallel and serial interfaces for MAX 10 FPGAs. MAX 10 UFM Architecture and Features...
Page 6
These figures show the detailed overview of the Avalon-MM interface during read and program (write) operation. Figure 2-2: Altera On-Chip Flash IP Core Avalon-MM Slave Read and Program (Write) Operation in Parallel Mode This figure shows the standard interface for MAX 10 devices in parallel mode.
Page 7
UG-M10UFM UFM Block Diagrams 2016.05.02 Figure 2-3: Altera On-Chip Flash IP Core Avalon-MM Slave Read and Program (Write) Operation in Serial Mode This figure shows the standard interface for MAX 10 devices in serial mode. altera_onchip_flash clock clock reset_n reset_n...
• Page erase • Sector write protection You can choose one of the following access modes in the Altera On-Chip Flash parameter editor to read and control the operations. • Read and program mode—this mode allows both data and control slave interface. This mode is applicable for both UFM and CFM sectors.
Page 9
• Hidden • Hidden Read Mode Incrementing burst read only • Incrementing burst read • Wrapping burst read Program (Write) Operation Single 32-bit parallel Single 32-bit serial program program operation operation MAX 10 UFM Architecture and Features Altera Corporation Send Feedback...
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.
You can initialize the UFM content using either one of the following ways: • Set the initial memory content through the Altera On-Chip Flash IP core. • Set the initial memory content through the Convert Programming File tool in the Quartus Prime software when you convert .sof...
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.
The flash IP core then sends address (control register) and (register value) to control the 0×01 writedata slave interface. UFM Program (Write) Operation The UFM offers a single 32-bit program (write) operation. MAX 10 UFM Implementation Guides Altera Corporation Send Feedback...
Page 14
The figure below shows the write data timing diagram in parallel mode. clock address addr write burstcount writedata data waitrequest UFM Programming Write UFM Reset Max 305 µs Typical 102 µs address Min 250 ns Min 34 µs to UFM MAX 10 UFM Implementation Guides Altera Corporation Send Feedback...
Note: Check the status register after each erase to make sure the erase operation is successful (erase successful). UFM Page Erase Operation The page erase operation allows the UFM to erase by pages. MAX 10 UFM Implementation Guides Altera Corporation Send Feedback...
1'b0 flash if you try to read from an illegal address or protected sector. The following figures show the timing diagrams for the read operations for the different MAX 10 devices in parallel and serial modes. MAX 10 UFM Implementation Guides...
Page 17
Figure 4-6: Read Operation for 10M40 and 10M50 Devices in Parallel Mode clock read write address addr burstcount waitrequest writedata readdatavalid readdata data0 MAX 10 UFM Implementation Guides Altera Corporation Send Feedback...
Standard Altera memory initializa‐ For flash initialization in actual hardware. .mif tion file—uses word addressing. 32-bit data width file—uses word For flash initialization in simulation model. .dat addressing. MAX 10 UFM Implementation Guides Altera Corporation Send Feedback...
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.
This option is only available if you turn on Enable non-default initialization file. Assign your own simulation simulation filename. Altera On-Chip Flash Signals The following table lists the signals for the Altera On-Chip Flash IP core. Altera On-Chip Flash IP Core References Altera Corporation Send Feedback...
Page 26
32 • Serial mode: 1 Output The IP core asserts this bus to pause the master avmm_data_ when the IP core is busy during read or write waitrequest operations. Altera On-Chip Flash IP Core References Altera Corporation Send Feedback...
10M04, and 10M08 1–2 10M16, 10M25, 1–4 10M40 and 10M50 Altera On-Chip Flash Registers The following table lists the address mapping and registers for the Altera On-Chip Flash IP core. Table 5-3: Altera On-Chip Flash Control Address Mapping Register Address Access Description Status Register 0×00...
Page 28
(CFM0 — protection bit) 31–10 dummy — All of these bits are set to 1. (padding) Table 5-5: Altera On-Chip Flash Control Register Bit Offset Field Default Value Description 19–0 pe (page erase All 1's Sets the page erase address to initiate a page address) erase operation.
Page 29
Disable write protected protection) 1'b0 mode wp (CFM1 write Enable write protected protection) 1'b1 mode wp (CFM0 write protection) 31–28 dummy — All of these bits are set to 1. (padding) Altera On-Chip Flash IP Core References Altera Corporation Send Feedback...
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.
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.
Page 32
UG-M10UFM Document Revision History for MAX 10 User Flash Memory User Guide 2016.05.02 Date Version Changes December 2014.12.15 • Added support for serial interface. 2014 • Added maximum operating frequency of 7.25 MHz for serial interface. • Updated the UFM block diagram to include serial interface.