10. Replacing Serial EEPROMs with MAX
II User Flash Memory
MII51012-1.5
Introduction
Each MAX
®
II device has a user flash memory (UFM) block to store up to 8 Kbits of
user data. You can use the UFM block to replace on-board flash and EEPROM
memory devices which are used to store ASSP or processor configuration bits, or
electronic ID information for a board during manufacturing. MAX II device logic
capacity allows integration of system power-on reset (POR), interface bridging, and
I/O expansion designs in addition to these serial flash capabilities.
This chapter provides a comprehensive listing of 2-Kbit, 4-Kbit, and 8-Kbit, non-
volatile memory devices that could be potentially replaced by MAX II UFM devices.
shows the capacity for the UFM block for all MAX II devices.
Table 10–1.
MAX II UFM Array Size
Device
EPM240
EPM570
EPM1270
EPM2210
Total Bits
8,192
Sectors
2 (4096 bits per sector)
Address Bits
9
Data Width
16
This chapter contains the following sections:
■
■
Design Considerations
The MAX II UFM can be programmed, erased, and verified through the Joint Test
Action Group (JTAG) port or through connections to/from the logic array in
accordance with IEEE Std. 1532-2002. There are 13 interface signals to and from the
UFM block and logic array which allow the logic array to read or write to the UFM
during device user mode. A reference design or user logic can be used to interface the
UFM to many standard interface protocols such as Serial Communication Interface
(SCI), Serial Peripheral Interface (SPI), Inter-Integrated Circuit (I
2
C), Microwire, or
other proprietary protocols. Altera's Quartus
®
II altufm megafunction provides
interface logic for a subset of these interfaces (parallel and SPI). Any interfaces not
provided by the megafunction or design examples, require you to create user logic to
bridge the UFM block to your desired interface protocol.
f
For more information about programming and erasing the UFM block and/or the
altufm megafunction, refer to the
chapter
in the
MAX II Device Handbook.