1 / 12

Mass Data Management for Embedded Systems: Compact Flash

Mass Data Management for Embedded Systems: Compact Flash. Eric Ng, MSME EE281: ESDL December 4, 2002. Presentation Overview. Reasons for using Compact Flash Other Mass Storage Options Step-by-Step Guide to using CF FAT (File Allocation Table) Overview. Reasons for Using Compact Flash.

hea
Download Presentation

Mass Data Management for Embedded Systems: Compact Flash

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 • Portable+Low Power: Data management has become crucial in today’s 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: 10ms;10x 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

More Related