ROM Memory
ď§ ROMpermanently stores programs and data
ď§ Non-volatile memory
ď§ hold contents even if power supply is disconnected
3.
Mask ROM
ď§ ROMmeans read only memory
ď§ Mask ROM follows this definition
ď§ Hard wired
ď§ Cannot be changed electronically after manufacturing
ď§ Mask ROM is the oldest type of ROM
ď§ Mask ROM is factory programmed
ď§ Customer tells the manufacturer what the contents of the memory should be
ď§ Mask ROM has advantage in terms of cost
4.
Programmable ROM (PROM)
ď§Contents can be changed once after manufacture of the device
ď§ The data is then permanent and cannot be changed
ď§ In mask ROM data has to be written during manufacturing and in PROM data is
written after manufacturing
ď§ PROMs are used to store permanent data, e.g., firmware
ď§ PROM is programmed with a device called PROM programmer
ď§ This link shows you a PROM programmer:
https://www.advin.com/PROM-programmer.htm
5.
Erasable Programmable ROM(EPROM)
ď§ The main difference between EPROM and PROM is the data is erasable
ď§ EPROM can be reprogrammed
ď§ Data can be erased by exposure to strong ultraviolet light
ď§ EPROMs are easily recognizable by the transparent fused quartz window on the top
of the package
6.
M2716
NMOS 16K (2Kx 8) UV EPROM
ď§ 2048 x 8 organization
ď§ ACCESS TIME:
ď§ M2716-1 is 350ns
ď§ M2716 is 450ns
ď§ Single 5V supply voltage
ď§ No clocks required
ď§ Programming voltage: 25V
7.
M2716
NMOS 16K (2Kx 8) UV EPROM
ď§ A 16,384 bit UV erasable and electrically programmable memory EPROM
ď§ M2716 is housed in a 24 pin Window Ceramic Frit-Seal Dual-in-Line package
ď§ The transparent lid allows the user to expose the chip to ultraviolet light to erase
the bit pattern
ď§ A new pattern can then be written to the device by following the programming
procedure.
M2716
ď§ Read Mode:Read operation requires that G = 0, EP
= 0 and that addresses A0-A10 have been stabilized.
ď§ Deselect Mode: The M2716 is deselected by
making G = 1. This mode is independent of EP and
the condition of the addresses. The outputs are Hi-Z
when G = 1
ď§ Standby Mode (Power Down). The M2716 may be
powered down to the standby mode by making EP =
1. This is independent of G and automatically puts
the outputs in the Hi-Z state. The power is reduced
to 25%. VCC and VPP must be maintained at 5V.
M2716
Programming
ď§ The M2716is programmed by introducing â0"s into the desired locations
ď§ This is done 8 bits (a byte) at a time.
ď§ Any or all of the 8 bits associated with an address location may be programmed
with a single program pulse applied to the EP pin.
ď§ The programming sequence is: with VPP = 25V, VCC = 5V, G = 1 and EP = 0, an
address is selected and the desired data word is applied to the output pins
ď§ After the address and data signals are stable the program pin is pulsed from 0 to 1s
with a pulse width between 45ms and 55ms
12.
M2716
Erasure Operation
ď§ TheM2716 is erased by exposure to high intensity ultraviolet light through the
transparent window.
ď§ The M2716 to be erased should be placed 1 inch away from the lamp and no filters
should be used.
ď§ It is recommended that the M2716 be kept out of direct sunlight.
ď§ The UV content of sunlight may cause a partial erasure of some bits in a relatively
short period of time.
ď§ Watch this:
https://www.youtube.com/watch?v=_sSuzDg4ntA&t=2s
13.
M2732A
Features
ď§ The M2732Ais a 32,768 bit UV erasable and electrically programmable memory
EPROM.
ď§ It is organized as 4,096 words by 8 bits
ď§ A 24 pin Window Ceramic Frit-Seal Dual-in-Line package
ď§ The UV content of sunlight may cause a partial erasure of some bits in a relatively
short period of time.
Electrically Erasable ProgrammableROM (EEPROM)
ď§ EEPROM stands for electrically erasable programmable read-only memory
ď§ Difference between EEPROM and EPROM
ď§ EEPROM can be erased with electric signals
ď§ The EEPROM does not need to be removed to be erased
ď§ Can be used with embedded systems
ď§ In microcontrollers, EEPROM stores relatively small amounts of data by allowing
individual bytes to be erased and reprogrammed
ď§ states of input or output devices so they it can be retained even if the
microcontroller loses power
17.
Flash Memory
ď§ Somecall flash a read-mostly memory (RMM)
ď§ Its also called
ď§ EAROM (electrically alterable ROM)
ď§ NOVRAM (nonvolatile RAM)
ď§ It has replaced the EPROM memory in most computer systems
ď§ Has its biggest impact in memory card for digital cameras and memory in MP3
audio players
18.
Flash Memory
ď§ Similarto the EEPROM technology
ď§ Flash memory can also read and write at the byte level, but can only erase data
at the block level
ď§ Flash memory has speed advantage over non-flash EEPROM
ď§ Flash memory costs much less than byte-programmable EEPROM and had become
the dominant memory type wherever a system required a significant amount of
non-volatile data
ď§ Flash memory as a replacement for hard drives: solid state drives
19.
Floating Gate MOSFET
Materialfor Flash Memory
ď§ The floating-gate transistor is a kind of transistor that is commonly used for
nonvolatile storage such as flash, EPROM and EEPROM memory.
ď§ Floating-gate transistors are almost always floating-gate MOSFETs.
ď§ Floating-gate MOSFETs are useful because of their ability to store an electrical
charge for extended periods of time even without a connection to a power supply
ď§ The charge stored on the floating gate can be modified by applying voltages to the
source, drain, body and control gate terminals such that the fields result in
phenomena like Fowler-Nordheim tunneling and hot carrier injection.
20.
Types of Flash
ď§There are two types of Flash memory most commonly acknowledged: NAND and
NOR Flash
ď§ NOR Flash was the first of the two to be introduced in 1988 by Intel
ď§ NAND Flash was later introduced by Toshiba in 1989
ď§ Their main differences can be identified in their architecture
ď§ NOR and NAND are named for the way the floating gates of the memory cells
that hold data are interconnected in configurations that resemble a NOR or a
NAND logic gate
21.
NOR Flash
ď§ NORFlash is optimized for random access capabilities
ď§ It is able to access data in any order and doesnât
require following a sequence of storage locations
ď§ Each of NOR Flashâs memory cells are connected in
parallel
ď§ one end of the memory cell is connected to the
source line
ď§ the other end is connected to the bit line
22.
NAND Flash
ď§ NANDFlash is optimized for high-
density data storage and gives up the
ability for random access capabilities
ď§ NAND Flash cells are connected, usually
eight memory transistors at time, in a
series to the bit line called a string
ď§ This series connection reduces the
number of ground wires and bit lines
23.
NAND Flash
ď§ Datacan be read and programmed (written) in pages
ď§ but can only be erased at the level of entire blocks consisting of multiple pages
ď§ When a block is erased, all the cells are logically set to 1
ď§ Any cells that have been set to 0 by programming can only be reset to 1 by erasing
the entire block
ď§ This means that before new data can be programmed into a page that already
contains data, the current contents of the page plus the new data must be copied to
a new, erased page
24.
NOR Flash vsNAND Flash
NOR NAND
Capacity Moderate High
Cost-per-bit Higher Lower
Random Read Speed Faster Slower
Erase Speed Slower Faster
Bad blocks 0% 2%
Bad block handling Not Mandatory Mandatory
Application Code Storage and execution Data Storage
NumonyxÂŽ NAND SLCsmall page 70 nm Discrete
ď§ NAND structures where 16 cells are connected in series
ď§ The memory array is organized in blocks where each block contains 32 pages
ď§ The array is split into two areas
ď§ the main area
ď§ the spare area.
ď§ The main area of the array is used to store data
ď§ The spare area is typically used to store error correction codes, software flags or
bad block identification
30.
NumonyxÂŽ NAND SLCsmall page 70 nm Discrete
ď§ Chip enable (E): If CE is not asserted, the NAND device will remain in standby
mode and not respond to any control signals
ď§ Write enable (W): W is responsible for clocking data, address, or commands into
the NAND
ď§ Read enable (R): R will enable the output data buffers
ď§ Command latch enable (CL): When CLE is high, commands are latched into the
NAND command register on the rising edge of the WE# signal.
ď§ Address latch enable (AL): When ALE is high, addresses are latched into the
NAND address register on the rising edge of the WE# signal.
ď§ Ready/busy (RB): If the NAND device is busy, the R/B# signal will be asserted low
Editor's Notes
#1Â - Exam 1: Mark Breedwell
- Made a mistake in the maths
#3Â Mask ROM is a read-only memory whose contents are programmed by the integrated circuit manufacturer (rather than by the user). The customer tells the manufacturer what the content of the memory should be, lets say we go to Samsung
The main advantage of mask ROM is its cost. Per bit, mask ROM is more compact than any other kind of semiconductor memory. Since the cost of an integrated circuit strongly depends on its size, mask ROM is significantly cheaper than any other kind of semiconductor memory.
However, the one-time masking cost is high and there is a long turn-around time from design to product phase. Design errors are costly: if an error in the data or code is found, the mask ROM is useless and must be replaced in order to change the code or data.
#4Â PROMs are manufactured blank and, depending on the technology, can be programmed at wafer, final test, or in system
A polyfuse is a one-time-programmable memory component used in semiconductor circuits for storing unique data like chip identification numbers or memory repair data, but more usually small to medium volume production of read only memory devices or microcontroller chips.
#5Â quartz window
- can be expensive
Became OTP
OTP EPROM (whether separate or part of a larger chip) is being increasingly replaced by EEPROM for small sizes, where the cell cost isn't too important, and flash for larger sizes.
#7Â Glass frit bonding, also referred to as glass soldering or seal glass bonding, describes a wafer bonding technique with an intermediate glass layer.
#18Â Because erase cycles are slow, the large block sizes used in flash memory erasing give it a significant speed advantage over non-flash EEPROM
Flash memory costs much less than byte-programmable EEPROM and had become the dominant memory type wherever a system required a significant amount of non-volatile data
The Flash Memory is also called Flash ROM. In microcontrollers, the Flash stores the application code to be run. After we write an application, like blind LEDs for example, the application is compiled, the binary files are produced and they are stored in the flash of a microcontroller.
Flash can also have the bootloader. Â It loads the operating system within the computer memory when a computer is started or booted up. Take an example of the mobile.
#21Â - The NOR Flash architecture provides enough address lines to map the entire memory range.
- This gives the advantage of random access and short read times, which makes it ideal for code execution.
- Another advantage is 100% known good bits for the life of the part.
- Disadvantages include larger cell size resulting in a higher cost per bit and slower write and erase speeds
#22Â NAND-based Flash memory is ideal for high capacity data storage, while NOR-based Flash memory is best suited for code storage and execution, generally in small capacities
https://www.embedded.com/flash-101-nand-flash-vs-nor-flash/
#23Â If a suitable erased page is available, the data can be written to it immediately
If no erased page is available, a block must be erased before copying the data to a page in that block
#24Â NAND-based Flash memory is ideal for high capacity data storage, while NOR-based Flash memory is best suited for code storage and execution, generally in small capacities
https://www.embedded.com/flash-101-nand-flash-vs-nor-flash/
#25Â https://flashdba.com/2014/06/20/understanding-flash-blocks-pages-and-program-erases/
The package is the memory chip, i.e. the black rectangle with little electrical connectors sticking out of it.
Each package contains one or more dies (for example one, two, or four). The die is the smallest unit that can independently execute commands or report status.
Each die contains one or more planes (usually one or two). Identical, concurrent operations can take place on each plane, although with some restrictions.
Each plane contains a number of blocks, which are the smallest unit that can be erased. Remember that, itâs really important.
Each block contains a number of pages, which are the smallest unit that can be programmed (i.e. written to).
Read: Page
Write: Page
Erase: Block
Flash differs from EEPROM in that erasures are done in blocks, rather than individual bits. Because erasing is a relatively slow operation, and must be done before writing, performing the erase in a large block makes large write operations faster, by virtue of erasing a large number of bits in parallel.
Erasing in blocks also allows simplifications to the IC, reducing cost. Economies of scale further reduce cost of flash over EEPROM, as flash is used in great quantities these days for solid-state drives, while EEPROM is used in much smaller quantities.
It's by definition. A flash memory that allows writing individual bits is called EEPROM.
https://en.wikipedia.org/wiki/EEPROM
#26Â SLCs are the fastest type of SSD. Theyâre also more durable and less error-prone
TLC 500MB - 1GB
QLC NAND can pack a whole lot more data than other types, but, right now, QLC drives take a big hit on drive performance. This is especially true when the cache runs out during large file transfers (40 GB or higher). This might be a short-term problem, as manufacturers try to optimize QLCs.
#27Â Discrete means a discrete memory chip, separate or standalone memory chip