Memory Technology MCU Systems Applica�Ons Memory - Overview

Memory Technology MCU Systems Applica�Ons Memory - Overview

Memory Technology MCU Systems Applicaons Memory - Overview • Memory = Data Storage – HDD, Op7cal, Electronic (on-chip) • Many Variants: – Non-Volale vs Volale – Read-Only vs Write-Once vs Write-Many – Random Access vs Sequen7al Access • Two Cri7cal proper7es: – Capacity – Speed Memory – Historical Magne7cs • Drum Memory • Magne7c Core – Precursor to modern HDD – Fast-Access Non-Volale Memory – Historical Electrics • CRT-based Memory • Delay-Based Memory – Williams Tube – Electrical or Accous7c Memory - ROM • Read Only Memory • ROM used for storing programs and constant tables • Conflic7ng requirements – non-volality – (re)-programability • ROM is also RAM… ROM Types • (UV) EPROM – charge on a “floang gate” – erased by UV light • OTP PROM – fusible nichrome/polysilicon links – programmed by blowing fuses • ROM – mask-programmed • Emulated ROM ≡ NVRAM ≡ RAM-with-a-baery ROM • Three inputs: – up to 16+ address bits 16 A0-A15 – chip select 8 OE D0-D7 – output enable CS • One output: – typically 8 bits of tristate data output • Access 7me (7me from stable address to stable data) 450 ns - 70 ns EPROM • EPROM’s may be wriUen to many 7mes • Erased by using UV light – there is typically a small quartz window in the chip • Each EPROM cell contains two transistors controlled by the ‘floang gate’ and the ‘control gate’ • Charge is stored in a thin oxide layer between the gates • The charge (and therefore the logic value) is normally logic 1 and is changed to 0 by applying voltage to the ‘floang gate’ 2716 EPROM (2k x 8bits) EEPROM • Electrically Erasable Programmable Read-Only Memory • Two main types: – Serial programmable and – Parallel programmable • The chip does not have to removed to be rewriUen. • The en7re chip does not have to be completely erased to change a specific por7on of it. • Changing the contents does not require addi7onal dedicated equipment EEPROM • Instead of using UV light to erase the data, a localised electrical field is applied to the gate • Data is erased (and programmed) 1 byte at a 7me = Slow! FLASH Memory • Very similar to EEPROM • Currently very popular in consumer applicaons • Typically, data is wriUen in blocks (usually 512 bytes) making it faster than EEPROM (at least 512x?) • Limited Re-Write Cycles (~100000) Memory - RAM • “Random Access” (Read-Write) Memory • RAM used for storage of transient objects – global and stac variables in C – the stack (auto variables) – the heap (unallocated memory) • RAM types: – SRAM (Stac RAM) – DRAM (Dynamic RAM) SRAM • bit stored as the state of a flip-flop • selected by AND-ed inputs: address+CS+OE+R/W • retains contents as long as power applied - no refresh • access 7me 12 ns to 200 ns • faster, but less dense than DRAM • NVRAM: usually baery backed CMOS SRAM A0-A15 6264 SRAM D0-D7 R/W OE (8k x 8bits) CS ? DRAM • each bit stored as a charge on a storage capacitor • must be “refreshed” (write accessed) periodically - at intervals typically less than 8 ms • many µPs, all SIMMS have built-in refresh • less power, denser, but slower than SRAM • PC RAM = SDRAM(?!?) = Synchronous Dynamic Random Access Memory Sample Applicaons • ROM - Storage of Program on deployed system • EEPROM - Storage of calibraon constants • FLASH - Storage of Data (SSD’s) • SRAM - Caching, low-capacity fast-access • DRAM - Generic Storage .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    20 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us