Memory INTERFACING - PowerPoint PPT Presentation

1 / 25
About This Presentation
Title:

Memory INTERFACING

Description:

UV- light Erasable PROM (EPROM) Electrically Erased PROM: E2PROM. Flash Memory ... UV-light Erasable PROM (UV-EPROM): Programming (writing to) the EPROM ... – PowerPoint PPT presentation

Number of Views:89
Avg rating:3.0/5.0
Slides: 26
Provided by: howar167
Category:

less

Transcript and Presenter's Notes

Title: Memory INTERFACING


1
Memory INTERFACING
  • NOTE
  • Your text book covers memory interfacing in
    Chapter 10.
  • That chapter is the core of these slides,
  • However, these slides and the lectures contain
    some extra useful stuff.
  • So, BE FULLY alert in the class.

2
What, Why and How? ?
  • What is memory?
  • You now it very well !!
  • Why memory?
  • Whether simple or complex, every
    microprocessor-based system has a memory system.
    Basically, two main types are required ROM that
    contains system software and permanent system
    data, and RAM that contains temporary data and
    application software.
  • How We will talk a lot about HOW !! ?

3
Link to the previous material
  • The link is straightforward
  • All what we were doing is to Prepare the
    processor to be able generate the address, data
    and control Busses.
  • Now, how to connect these to the memory,
  • Looks simple, isnt it? !!

4
Prior to interfacing
  • Before attempting to interface memory, it is
    essential to understand the operation of memory
    components. And memory types
  • ROM
  • PROM
  • EEPROM
  • SRAM
  • DRAM

5
What differentiate between memory types
  • Memory characteristics
  • Access time.
  • Volatile or Nonvolatile.
  • Modifiable.
  • space (density).
  • current drain (power consumption).

6
Memory types1- ROM
  • Mask- programmable ROM
  • n address lines, 2n memory locations, m data
    lines.
  • programmed by placing diodes in the proper
    places.
  • programmed once at the factory according to the
    user truth table.
  • Should be mass production.

7
ROM
  • Mask- programmable ROM
  • n address lines, 2n memory locations, m data
    lines.
  • programmed by placing diodes in the proper
    places.
  • programmed once at the factory according to the
    user truth table.
  • Should be mass production.
  • Example in the next slide

8
(No Transcript)
9
Field-Programmable ROMs
  • One time programmable (OTP) ROM
  • UV- light Erasable PROM (EPROM)
  • Electrically Erased PROM E2PROM
  • Flash Memory

10
One time programmable (OTP) ROM
  • It is very similar to the previous one.
  • Fusible link in series with diode in every bit.
  • Selected fuses can be melted (blown) by the user
    giving logic 1.

11
UV-light Erasable PROM (UV-EPROM)
  • Can be erased-reprogrammed many times.
  • Should be erased entirely before reprogramming.
  • Quartz window is placed on the top of the ceramic
    package containing the EPROM( why).
  • Erased by subjecting it for 15 min. to UV light
    of 2537 angstroms wavelength produced by
    commercial erasers.
  • These erasers can erase many EPROMS in the same
    time.
  • According to Intel, fluorescent (three years) or
    direct sunlight of one weak could erase it.

12
Programming (writing to) the EPROM
  • Programmers send the address for location to be
    programmed, its data, and pulse the PGM pin low
    for 100 ms.

13
Comparison
  • EPROM
  • Should be removed from circuit board to be erased
  • long erasing time.
  • Byte eraser is not possible.
  • The quartz window is expensive.
  • E2PROM
  • Can be erased in its place.
  • Both byte and bulk eraser modes are possible.
  • It has a lifetime 10,000 to 1000,000 read/write
    cycles.

14
Flash Memory
  • as an EEPROM, it can be programmed and erased in
    its place
  • Simple cell compared to the traditional EEPROM.
    (then?)
  • - Lowering cost
  • - Improving reliability
  • -Very dense memory part (then?)
  • - small size
  • Where is it Used ?
  • Network cards, Laser printers , BIOS,

15
Flash disk example
  • Erase Cycles1,000,000 times
  • Data retention time 10 years
  • Read transfergt 750KB/second
  • Write transfergt 450KB/second

16
RAM
  • read write volatile memory
  • Workspace for the Microprocessor
  • Temporary storage keeps the operating system
    and the running applications, data and programs,
    while the power is on.
  • When a file is loaded into memory, a copy of the
    file is loaded from the hard disk.

17
Basic RAM Types
  • DRAM Dynamic RAM
  • INEXPENSIVE
  • MUST BE CONSTANTLY REFRESHED (recharged)
  • SLOW
  • Dense (high capacity) (hundreds of Mbytes)
  • SRAM Static RAM
  • CACHE
  • FAST
  • EXPENSIVE
  • Capacity is much less than DRAM (few Kbytes)

18
SRAM vs. DRAM Cells (for you information)
19
Memory pins
  • These are the basic pins.
  • There are some extra pins like
  • clk related pins (for synchronous).
  • RAS (Raw Address Select) and CAS (Column Address
    Select) in DRAM.
  • PGM for programming programmable chips.

20
Examples
21
Memory size and its relation to address and data
pins.
  • Address pins can tell the number of memory
    locations and visa versa.
  • If the address pins are A0, A1,..An which makes
    the number of memory locations 2n1
  • You should be able to relate the size, 1st
    address and last address wile written in HEX.

22
Continue
Section 10.1 in the text book.
23
Dram Size is an exception
  • number of the locations
  • 2x ? 2y
  • x and y are the number of row address bits
    and column address bits respectively.

24
Still about memory size
  • What about DATA pins? Do they affect the memory
    size?
  • Certainly, because the number of data pins
    reflects how many bit in that location.
  • One small note here some memories has one output
    pin and another input pin for the same data bit.
    Other memories has one I/O pin for each bit.

25
Still on the memory size
  • A 4K x 8 memory contains 4,096 (4K) memory
    locations that each contain 8-bits.
  • It is 32 Kbits or 4 KB
  • A 16M x 4 memory has 16M memory locations that
    are each 4-bits wide.
  • It is 64 Mbits or 8 MB
Write a Comment
User Comments (0)
About PowerShow.com