CompactFlash

CompactFlash

A 2 GB CompactFlash card
Media type Mass storage device format
Encoding Various file systems
Capacity 2 MB to 512 GB[1][2](CF5.0: up to 128 PB)[3]
Developed by SanDisk
Dimensions 43×36×3.3 mm (Type I) 43×36×5 mm (Type II)
Weight 10 gram (typical)
Usage Digital cameras and other mass storage devices
Extended from PCMCIA / PC Card

CompactFlash (CF) is a flash memory mass storage device used mainly in portable electronic devices. The format was specified and the devices were first manufactured by SanDisk in 1994.[4]

CompactFlash became the most successful of the early memory card formats, surpassing Miniature Card and SmartMedia. Subsequent formats, such as MMC/SD, various Memory Stick formats, and xD-Picture Card offered stiff competition. Most of these cards are smaller than CompactFlash while offering comparable capacity and speed. Proprietary memory card formats for use in professional audio and video, such as P2 and SxS, are faster, but physically larger and more costly.

CompactFlash remains popular and is supported by many professional devices and high end consumer devices. As of 2014, both Canon[5][6] and Nikon[7] use CompactFlash for their flagship digital still cameras. Canon also chose CompactFlash as the recording medium for its professional high-definition tapeless video cameras.[8] Ikegami professional video cameras can record digital video onto CompactFlash cards through an adaptor.[9]

In 2008, a variant of CompactFlash, CFast was announced. CFast (also known as CompactFast) is based on the Serial ATA interface rather than the Parallel ATA interface used by the original CompactFlash cards.

In November 2010, Sandisk, Sony, and Nikon presented a next generation card format to the CompactFlash Association. The new format has a similar form factor to CF/CFast but is based on the PCI Express interface instead of Parallel ATA or Serial ATA.[10][11] With potential read and write speeds of 1 Gbit/s (125 MByte/s) and storage capabilities beyond 2 TiB the new format is aimed at high-definition camcorders and high-resolution digital cameras, but the new cards are not backward compatible with either CompactFlash or CFast. The XQD card format was officially announced by the CompactFlash Association in December 2011.[12]

Description

A 16-GB CompactFlash card installed in a 2.5" IDE port with adapter

There are two main subdivisions of CF cards, 3.3 mm thick type I and 5 mm thick type II (CF2). The type II slot is used by miniature hard drives and some other devices, such as the Hasselblad CFV Digital Back for the Hasselblad series of medium format cameras. There are four main card speeds: original CF, CF High Speed (using CF+/CF2.0), faster CF 3.0 standard, yet faster CF 4.0 standard adopted as of 2007.

CompactFlash was originally built around Intel's NOR-based flash memory, but has switched to NAND technology.[13] CF is among the oldest and most successful formats, and has held a niche in the professional camera market especially well. It has benefited from both a better cost to memory-size ratio and, for much of the format's life, generally greater available capacity than other formats.

CF cards can be used directly in a PC Card slot with a plug adapter, used as an ATA (IDE) or PCMCIA storage device with a passive adapter or with a reader, or attached to other types of ports such as USB or FireWire. As some newer card types are smaller, they can be used directly in a CF card slot with an adapter. Formats that can be used this way include SD/MMC, Memory Stick Duo, xD-Picture Card in a Type I slot, and SmartMedia in a Type II slot, as of 2005. Some multi-card readers use CF for I/O as well.

Technical details

The CompactFlash interface is a 50-pin subset of the 68-pin PCMCIA[14] connector. "It can be easily slipped into a passive 68-pin PCMCIA Type II to CF Type I adapter that fully meets PCMCIA electrical and mechanical interface specifications", according to compactflash.org.[15] The interface operates, depending on the state of a mode pin on power-up, as either a 16-bit PC Card (0x7FF address limit) or as an IDE (PATA) interface.[16]

1 GB CF card in a Nikon D200 DSLR camera

Unlike the PC Card interface, no dedicated programming voltages (Vpp1 and Vpp2) are provided on the CompactFlash interface.[17]

CompactFlash IDE mode defines an interface that is smaller than, but electrically identical to, the ATA interface. The CF device contains an ATA controller and appears to the host device as if it were a hard disk. CF devices operate at 3.3 volts or 5 volts, and can be swapped from system to system. CompactFlash supports C-H-S and 28-bit Logical block addressing (CF 5.0 introduced support for LBA-48). CF cards with flash memory are able to cope with extremely rapid changes in temperature. Industrial versions of flash memory cards can operate at a range of −45° to +85 °C.

NOR-based flash has lower density than newer NAND-based systems, and CompactFlash is therefore the physically largest of the three memory card formats introduced in the early 1990s, being derived from the JEIDA/PCMCIA Memory Card formats. The other two are Miniature Card (MiniCard) and SmartMedia (SSFDC). However, CF did switch to NAND type memory later. The IBM Microdrive format, later made by Hitachi, implements the CF Type II interface, but is a hard disk drive (HDD) as opposed to solid-state memory. Seagate also made CF HDDs.

Speed

CompactFlash IDE (ATA) emulation speed is usually specified in "x" ratings, e.g. 8x, 20x, 133x. This is the same system used for CD-ROMs and indicates the maximum transfer rate in the form of a multiplier based on the original audio CD data transfer rate, which is 150 kByte/s.

R = {K \cdot 150}\ \text{kByte/s}

where R = transfer rate, K = speed rating. For example, 133x rating means transfer speed of: 133 × 150 kByte/s = 19,950 kByte/s ≈ 20 MB/s.

These are manufacturer speed ratings. Actual transfer speed may be higher, or lower, than shown on the card[18] depending on several factors. The speed rating quoted is almost always the read speed, while write speed is often slower.

Solid state

For reads, the onboard controller first powers up the memory chips from standby. Reads are usually in parallel, error correction is done on the data, then transferred through the interface 16 bits at a time. Error checking is required due to soft read errors. Writes require powerup from standby, wear leveling calculation, a block erase of the area to be written to, ECC calculation, write itself (an individual memory cell read takes around 100 ns, a write to the chip takes 1ms+ or 10,000 times longer).

Because the USB 2.0 interface is limited to 35 MByte/s and lacks bus mastering hardware, USB 2.0 implementation results in slower access.

Modern UDMA-7 CompactFlash Cards provide data rates up to 145 Mbytes/sec[19] and require USB 3.0 data transfer rates.[20]

A direct motherboard connection is often limited to 33 MByte/s because IDE to CF adapters lack high speed ATA (66 MByte/s plus) cable support. Power on from sleep/off takes longer than power up from standby.

Magnetic media

Many 1-inch (25 mm) hard drives (often referred to by the trademarked name "Microdrive") typically spin at 3600 rpm so rotational latency is a consideration, as is spin-up from standby or idle. Seagate's 8 GB ST68022CF drive[21] spins up fully within a few revolutions but current drawn can reach up to 350 milliamps and runs at 40-50 mA mean current. Its average seek time is 8 ms and can sustain 9 MByte/s read and write, and has an interface speed of 33 MByte/s. Hitachi's 4 GB Microdrive is 12 ms seek, sustained 6 MByte/s.

Capacities and compatibility

The CF 5.0 Specification supports capacities up to 128 PB using 48-bit logical block addressing (LBA).[22] Prior to 2006, CF drives using magnetic media offered the highest capacities (up to 8 GB). Now there are solid-state cards with higher capacities (up to 512 GB).[23]

As of 2011, solid-state drives (SSDs) have supplanted both kinds of CF drive for large capacity requirements.

Solid state capacities

SanDisk announced its 16 GB Extreme III card at the photokina trade fair, in September, 2006.[24] That same month, Samsung announced 16, 32 and 64 GB CF cards.[25] Two years later, in September, 2008, PRETEC announced 100GB cards.[26]

Magnetic media capacities

Seagate announced a 5 GB "1-inch hard drive" in June, 2004,[27] and an 8 GB version in June, 2005.[28]

Use in place of a hard disk drive

CompactFlash to SATA adapter with a card inserted

In early 2008 the CFA demonstrated CompactFlash cards with a built in SATA interface.[29] Several companies make adapters to allow CF cards to be connected to PCI, PCMCIA, IDE, 44-pin laptop mini-IDE, and SATA connections,[30] allowing a CF card to act as a solid-state drive with virtually any operating system or BIOS, and even in a RAID configuration.

CF cards may perform the function of the master or slave drive on the IDE bus, but have issues sharing the bus. Moreover, late-model cards that provide DMA (using UDMA or MWDMA) may present problems when used through a passive adapter that does not support DMA.[31]

Reliability

Original PC Card memory cards used an internal battery to maintain data when power was removed. The rated life of the battery was the only reliability issue. CompactFlash cards that use flash memory, like other flash-memory devices, are rated for a limited number of erase/write cycles for any "block." While NOR flash has higher endurance, ranging from 10,000 to 1,000,000, they haven't been adapted for memory card usage. Most mass storage usage flash are NAND based. At the time of this update (2015), NAND flash are being scaled down to 16 nm. They are usually rated for 500 to 3,000 write/erase cycles per block before hard failure.[32] This is less reliable than magnetic media.[33] Car PC Hacks[34] suggests disabling the Windows swap file and using its Enhanced Write Filter (EWF) to eliminate unnecessary writes to flash memory.[35] Additionally, when formatting a flash-memory drive, the Quick Format method should be used, to write as little as possible to the device.

Most CompactFlash flash-memory devices limit wear on blocks by varying the physical location to which a block is written. This process is called wear leveling. When using CompactFlash in ATA mode to take the place of the hard disk drive, wear leveling becomes critical because low-numbered blocks contain tables whose contents change frequently. Current CompactFlash cards spread the wear-leveling across the entire drive. The more advanced CompactFlash cards will move data that rarely changes to ensure all blocks wear evenly.

NAND flash memory is prone to frequent soft read errors.[34] The CompactFlash card includes error checking and correcting (ECC) that detects the error and re-reads the block. The process is transparent to the user, although it may slow data access.

As a flash memory device is solid-state, it is less affected by shock than a spinning disk.

The possibility for electrical damage from upside-down insertion is prevented by asymmetrical side slots, assuming that the host device uses a suitable connector.

Small cards consume around 5% of the power required by small disk drives and still have reasonable transfer rates of over 45 MByte/s for the more expensive 'high-speed' cards.[36] However, the manufacturer's warning on the flash memory used for ReadyBoost indicates a current draw in excess of 500 mA.

File systems

CompactFlash cards for use in consumer devices are typically formatted as FAT12 (for media up to 16 MB), FAT16 (for media up to 2 GB, sometimes up to 4 GB) and FAT32 (for media larger than 2 GB). This lets the devices be read by personal computers but also suits the limited processing ability of some consumer devices such as cameras.

There are varying levels of compatibility among FAT32-compatible cameras, MP3 players, PDAs, and other devices. While any device that claims FAT32-capability should read and write to a FAT32-formatted card without problems, some devices are tripped up by cards larger than 2 GB that are completely unformatted, while others may take longer to apply a FAT32 format.

The way many digital cameras update the file system as they write to the card creates a FAT32 bottleneck. Writing to a FAT32-formatted card generally takes a little longer than writing to a FAT16-formatted card with similar performance capabilities. For instance, the Canon EOS 10D writes the same photo to a FAT16-formatted 2 GB CompactFlash card somewhat faster than to a same speed 4 GB FAT32-formatted CompactFlash card, although the memory chips in both cards have the same write speed specification.[37] Although FAT16 is more wasteful of disk space with its larger clusters, it works better with the write strategy that flash memory chips require.

The cards themselves can of course be formatted with any type of file system such as Ext, JFS, NTFS, or by one of the dedicated flash file systems. It can be divided into partitions as long as the host device can read them. CompactFlash cards are often used instead of hard drives in embedded systems, dumb terminals and various small form-factor PCs that are built for low noise output or power consumption. CompactFlash cards are often more readily available and smaller than purpose-built solid-state drives and often have faster seek times than hard drives.

CF+ and CompactFlash specification revisions

When CompactFlash was first being standardized, even full-sized hard disks were rarely larger than 4 GB in size, and so the limitations of the ATA standard were considered acceptable. However, CF cards manufactured after the original Revision 1.0 specification are available in capacities up to 512 GB. While the current revision 6.0 works in [P]ATA mode, future revisions are expected to implement SATA mode.

CE-ATA

Main article: CE-ATA

CE-ATA is a Serial ATA interface based on the MultiMediaCard standard.[40][41]

CFast

Pins of a CFast card

A variant of CompactFlash known as CFast is based on the Serial ATA bus, rather than the Parallel ATA/IDE bus for which all previous versions of CompactFlash are designed. CFast is also known as CompactFast.

CFast supports a higher maximum transfer rate than current CompactFlash cards. As of 2011, SATA supports transfer rates up to 600 MByte/s while PATA is limited to 167 MByte/s using UDMA 7.

CFast cards are not physically or electrically compatible with CompactFlash cards. However, since SATA can emulate the PATA command protocol, existing CompactFlash software drivers can be used, although writing new drivers to use AHCI instead of PATA emulation will almost always result in significant performance gains. CFast cards use a female 7-pin SATA data connector, and a female 17-pin power connector,[42] so an adaptor is required to connect CFast cards in place of standard SATA hard drives which use male connectors.

The first CFast cards reached the market in late 2009.[43] At CES 2009, Pretec showed a 32 GB CFast and announced that they should reach the market within a few months.[44] Delock began distributing CFast cards in 2010 and offers several card readers with USB3.0 port and eSATAp (power over eSATA) port to support CFast cards.

The CFast 2.0 specification was released in the second quarter of 2012. As of 2014, the only product employing CFast 2.0 cards was the Arri Amira digital production camera,[45] allowing frame rates of up to 200 fps; a CFast 2.0 adapter for the Arri Alexa/XT camera was also released.[46]

On 7 April 2014 Blackmagic Design announced the URSA cinema camera which records to CFast media.[47]

On 8 April 2015 Canon Inc. announced the XC10 video camera which also makes use of the CFast cards and Black Magic Design announced the URSA Mini will using CFast 2.0[48]

Type I and Type II

The only physical difference between the two types is that Type I devices are 3.3 mm thick while Type II devices are 5 mm thick.[49] Electrically, the two interfaces are the same except that Type I devices are permitted to draw up to 70 mA supply current from the interface, while type II devices may draw up to 500 mA.

Most Type II devices are Microdrive devices (see below), other miniature hard drives, and adapters, such as a popular adapter that takes Secure Digital cards.[50][51] A few flash-based Type II devices were manufactured, but Type I cards are now available in capacities that exceed CF HDDs. Manufacturers of CompactFlash cards such as Sandisk, Toshiba, Alcotek and Hynix offer devices with Type I slots only. Some of the latest DSLR cameras, like the Nikon D800, have also dropped Type II support.[52]

Microdrives

IBM 1 GB Microdrive
Main article: Microdrive

Microdrive was a brand of tiny hard disks—about 25 mm (1 inch) wide—in a CompactFlash Type II package. The first was developed and released in 1999 by IBM, with a capacity of 170 MByte. IBM sold its disk drive division, including the Microdrive trademark, to Hitachi in 2002. Comparable hard disks were also made by other vendors, such as Seagate and Sony. They were available in capacities of up to 8 GB but have been superseded by flash memory in cost, capacity, and reliability, and are no longer manufactured.[53]

As mechanical devices, CF HDDs drew more current than flash memory's 100 mA maximum. Early versions drew up to 500 mA, but more recent ones drew under 200 mA for reads and under 300 mA for writes. (Some devices used for high speed—such as Readyboost, which had no low-power standby mode—exceeded the 500 mA maximum of the Type II standard.) CF HDDs were also susceptible to damage from physical shock or temperature changes. However, CF HDDs had a longer lifespan of write cycles than early flash memories.

The iPod mini, Nokia N91, iriver H10 (5 or 6 GB model), PalmOne LifeDrive, and Rio Carbon used a Microdrive to store data.

Compared to other portable storage

Counterfeiting

The marketplace for CompactFlash is extensive and includes counterfeits. Off-brand or counterfeit cards may be mislabeled, might not contain the actual amount of memory their controllers report to the host device, and may use types of memory that are not rated for the number of erase/rewrite cycles that the purchaser expects.[54][55]

Other devices in the CF form factor

Since CompactFlash interface is electrically identical to the 16-bit PC Card, the CompactFlash form factor is also used for a variety of Input/Output and interface devices. Many standard PC cards have CF counterparts, some examples include:

Card manufacturers

See also

References

  1. Bill Frank (March 2, 2003). "COMPACTFLASH® SPECIFICATION ALLOWS FOR THE ADDRESSING OF UP TO 137GB." (PDF) (Press release). CompactFlash Association.
  2. CompactFlash Frequently Asked Questions
  3. Eric Reagan (January 6, 2012). "Lexar Introduces 256GB CF Card in Pro Line Refresh" (Press release). Lexar. The card referenced is described as supporting UDMA 7, which indicates conformance to the CF6.0 spec.
  4. Digiprint Uk
  5. "Canon U.S.A. Introduces The New Canon EOS-1D X Digital SLR Camera, Re-Designed From The Inside Out" (Press release). Canon. 18 October 2011.
  6. "Canon U.S.A. Introduces EOS-1D C Digital SLR Camera Featuring 4K High-Resolution Video Capture" (Press release). Canon. 12 April 2012.
  7. "Digital SLR Camera Nikon D4". Nikon Corporation. January 6, 2012. Retrieved January 7, 2012.
  8. File-based video recording onto CF cards: features and benefits, by Canon Inc.
  9. Ikegami at Government Video EXPO 2010, press-release by Ikegami Ltd.
  10. Engadget: Sandisk, Sony, and Nikon propose 500MBps memory card with more than 2TB capacity
  11. CNET: CompactFlash allies rally against dominant SD
  12. Engadget: CompactFlash Association readies next-gen XQD format, promises write speeds of 125 MB/s and up
  13. http://www.karlfoster.com/text/DP_flashmemory.doc
  14. http://www.pcmcia.org/pccard.htm
  15. http://www.compactflash.org/faqs/faq.php
  16. http://www.allpinouts.org/index.php/CompactFlash
  17. CF+ and CompactFlash Specification Revision 1.4, Section 4 Electrical Interface, Table 4
  18. http://photofocus.com/2009/06/30/long-term-test-udma-flash-memory-lexar-won/
  19. http://pietrzyk.us/media-card-study/
  20. http://pietrzyk.us/usb-3-0-cf-card-reader-study/
  21. http://www.seagate.com/ww/v/index.jsp?name=ST1.2-Series_8-GB_CompactFlash_ST68022CF&vgnextoid=5ddc44ab7cffd010VgnVCM100000dd04090aRCRD&locale=en-US#tTabContentSpecifications
  22. "COMPACTFLASH ASSOCIATION ANNOUNCES AVAILABILITY OF THE NEW CF5.0 SPECIFICATION" (PDF). CompactFlash Association. Retrieved 2014-06-21.
  23. http://www.lexar.com/products/lexar-professional-800x-compactflash-cf-card
  24. SanDisk Introduces the World's Highest Capacity Card for Professional Photographers
  25. Samsung Announces First 40-nanometer Device 32 Gb NAND Flash with Revolutionary Charge Trap Technology
  26. Pretec Releases 64GB and 100GB CF Card - Highest Capacity in the World
  27. Seagate Expands Consumer Electronics Leadership with First 5GB 1-Inch Hard Drive, First 5GB Compact Flash Hard Drive, and New 400GB DVR Hard Drive
  28. Seagate Does it Again: Drives Innovation with 10 New, Groundbreaking Hard Disc Drives
  29. Submerged camera holds functional memory card two years after accident - Engadget
  30. "Compact Flash and Secure Digital Adapters". Addonics. Retrieved 2008-05-18.
  31. http://www.fccps.cz/download/adv/frr/cf.html
  32. http://www.samsung.com/global/business/semiconductor/products/flash/downloads/applicationnote/app_nand.pdf[]
  33. The comparison is not in the same terms as for magnetic media, for which hours of operation and reads also impose wear.
  34. 1 2 Car PC hacks, Damien Stolarz, 2005, Farnham:O’Reilly Media, Sebastopol, CA, USA, ISBN 0-596-00871-6
  35. EWF is available only in XP Embedded, not the XP Professional, Home, or Media Editions versions of Windows.
  36. SanDisk Extreme IV review
  37. Rob Galbraith CompactFlash Performance Database
  38. CFA Announces Availability of the New CF5.0 Specification
  39. CompactFlash 6.0
  40. http://www.hitachigst.com/tech/techlib.nsf/techdocs/98ABCD658D41637A8625706700616161/$file/Ready_for_CE-ATA.pdf
  41. http://www.mmca.org/tech/MMCA_System_summaryV41.pdf
  42. "CFast – Evolution of the CompactFlash Interface" (PDF). CompactFlash Association. 2008-04-14. Retrieved 2010-01-22.
  43. Donald Melanson (2008-02-25). "CFast CompactFlash cards now said to be coming in "18 to 24 months"". Engadget.
  44. "Pretec release CFast card with SATA interface". DPReview. 2008-01-08.
  45. http://www.arri.com/amira/
  46. http://www.arri.com/camera/alexa/news/news/in-camera-cfast-20-for-alexa/
  47. http://www.blackmagicdesign.com/products/blackmagicursa
  48. "Canon XC10 - Professional camcorder". Canon Europe. 2015-04-08.
  49. CompactFlash Frequently Asked Questions
  50. Delkin Devices ship 224MB CF type II: Digital Photography Review
  51. Lexar Media announces 8 GB CompactFlash type II
  52. Nikon D700 - see Tech Specs
  53. Rob, Galbraith. "Robgalbraith CF info". Rob Galbraith. Retrieved 6 May 2014.
  54. eBay.ie Guides - FAKE SanDisk Extreme Compact Flash Cards Exposed
  55. July 2007 - Counterfeit SanDisk Cards

External links

Wikimedia Commons has media related to CompactFlash.
This article is issued from Wikipedia - version of the Tuesday, February 02, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.