Mass Data Management for Embedded Systems: Compact Flash - PowerPoint PPT Presentation

About This Presentation
Title:

Mass Data Management for Embedded Systems: Compact Flash

Description:

Reasons for using Compact Flash. Other Mass Storage Options. Step-by-Step Guide to using CF ... Compact Flash has HDD interface. PC AT Attachment (ATA) ... – PowerPoint PPT presentation

Number of Views:86
Avg rating:3.0/5.0
Slides: 13
Provided by: eri3
Learn more at: https://web.stanford.edu
Category:

less

Transcript and Presenter's Notes

Title: Mass Data Management for Embedded Systems: Compact Flash


1
Mass Data Management for Embedded Systems
Compact Flash
  • Eric Ng, MSME
  • EE281 ESDL
  • December 4, 2002

2
Presentation Overview
  • Reasons for using Compact Flash
  • Other Mass Storage Options
  • Step-by-Step Guide to using CF
  • FAT (File Allocation Table) Overview

3
Reasons for Using Compact Flash
  • PortableLow Power Data management has become
    crucial in todays embedded systems.
  • Data loggers, MP3 Players, Digital Cameras, PDAs
  • No Mechanical Parts withstands higher shock
    impacts compared to HDDs.1000Gs vs 200Gs
    (Operating Condition)
  • Relatively Inexpensive 512MB 120
  • Fast avg seek time 10ms10x faster than floppy
  • Nonvolatile Memory 10 yr retention

4
Other Mass Storage Options
  • Sony Memory Stick
  • IBM Microdrive
  • MultiMedia Card (MMC) or Secure Digital Card
    (SD)
  • SmartMedia Card (SMC)

5
Introduction to UsingCompact Flash
  • Lots of literature, but straight forward.
    Compact Flash has HDD interface.
  • PC AT Attachment (ATA)
  • Its compact nature may be difficult to interface
    without adapter.
  • IDE to Compact Flash Adapter
  • Step-by-Step Guide

6
Step 1 IDE to CF Adapter
http//www.acscontrol.com 19.99
7
Step 2 ?controller Interface
  • CF has 50 pin outs, but requires only following
    connections
  • Data Port (8-bit or 16-bit)
  • Address Lines (5)
  • Read/Write Lines (2)

8
Step 3 Accessing the Registers
9
Example Reading Data
  • Initialization Sequence
  • (1) Set Features to Enable 8-bit transfers
  • (2) Enable Logical Block Addressing (LBA)
  • Identify sector by writing to LBA registers
  • Call command Read Sectors
  • Retrieve data from Data Register

10
Summary
  • Compact Flash is EASY to use!
  • (1) Get adapter
  • (2) Interface with u-controller
  • (3) Learn to use the registers
  • File Organization in the CF
  • File Allocation Table (FAT)

11
Resources
  • CompactFlash Association
  • http//www.compactflash.org
  • Microsoft
  • File Allocation Table (FAT) White Paper
  • IDE to CF Adapter
  • http//www.acscontrol.com

12
Memory Comparison
Write a Comment
User Comments (0)
About PowerShow.com