CompactFlash
This article needs additional citations for verification. (July 2019) |
Mass storage device format | |
Encoding | Various file systems |
---|---|
Capacity | |
Developed by | SanDisk |
Dimensions |
|
Weight | 10 grams (typical) |
Usage | Digital cameras and other mass storage devices |
Extended from | PCMCIA / PC Card |
CompactFlash (CF) is a
CompactFlash became one of the most successful of the early memory card formats, surpassing
CompactFlash's popularity is declining as CFexpress is taking over. As of 2022, both Canon[4] and Nikon's[5] newest high end cameras, e.g. the Canon EOS R5, Canon EOS R3, and Nikon Z 9 use CFexpress cards for the higher performance required to record 8K video.
Traditional CompactFlash cards use the
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
Description
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 and the 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.[9] 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
The first CompactFlash cards had capacities of 2 to 10 megabytes.[10] This increased to 64 MB in 1996, 128 MB in 1998, 256 MB in 1999, 512 MB in 2001, and 1 GB in 2002.[11][12]
Technical details
The CompactFlash interface is a 50-pin subset of the 68-pin
Unlike the PC Card interface, no dedicated programming voltages (Vpp1 and Vpp2) are provided on the CompactFlash interface.[16]
CompactFlash IDE mode defines an interface that is smaller than, but electrically identical to, the
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
where R = transfer rate, K = speed rating. For example, 133x rating means transfer rate of: 133 × 150 kB/s = 19,950 kB/s ≈ 20 MB/s.
These are manufacturer speed ratings. Actual transfer rate may be higher, or lower, than shown on the card[17] 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 MB/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 MB/s[18] and require USB 3.0 data transfer rates.[19]
A direct motherboard connection is often limited to 33 MB/s because IDE to CF adapters lack high speed ATA (66 MB/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[20] 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 MB/s read and write, and has an interface speed of 33 MB/s. Hitachi's 4 GB Microdrive is 12 ms seek, sustained 6 MB/s.
Capacities and compatibility
The CF 5.0 Specification supports capacities up to 128 PiB using 48-bit logical block addressing (LBA).[21] Prior to 2006, CF drives using magnetic media offered the highest capacities (up to 8 GiB). Now there are solid-state cards with higher capacities (up to 512 GB).[22]
As of 2011,
Solid state capacities
Magnetic media capacities
Seagate announced a 5 GB "1-inch hard drive" in June, 2004,[26] and an 8 GB version in June, 2005.[27]
Use in place of a hard disk drive
In early 2008, the CFA demonstrated CompactFlash cards with a built in
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.[30]
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 have not been adapted for memory card usage. Most mass storage usage flash are NAND based. As of 2015[update] NAND flash were being scaled down to 16 nm. They are usually rated for 500 to 3,000 write/erase cycles per block before hard failure.[31] This is less reliable than magnetic media.[32] Car PC Hacks[33] suggests disabling the Windows swap file and using its Enhanced Write Filter (EWF) to eliminate unnecessary writes to flash memory.[34] 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.[33] 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.
Power consumption and data transfer rate
Small cards consume around 5% of the power required by small disk drives and still have reasonable transfer rates of over 45 MB/s for the more expensive 'high-speed' cards.[35] 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
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.[36] 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 be formatted with any type of file system such as
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.
- CompactFlash Revision 1.0 (1995), 8.3 MB/s (PIO mode 2), support for up to 128 GB storage space.
- CompactFlash+ aka CompactFlash I/O (1997)
- CF+ and CompactFlash Revision 2.0 (2003) added an increase in speed to 16.6 MB/s data-transfer (PIO mode 4). At the end of 2003, DMA 33 transfers were added as well, available since mid-2004.
- CF+ and CompactFlash Revision 3.0 (2004) added support for up to a 66 MB/s data transfer rate (UDMA 66), 25 MB/s in PC Card mode, added password protection, along with a number of other features. CFA recommends usage of the FAT32 filesystem for storage cards larger than 2 GB.
- CF+ and CompactFlash Revision 4.0 (2006) added support for IDE Ultra DMA Mode 6 for a maximum data transfer rate of 133 MB/s (UDMA 133).
- CF+ and CompactFlash Revision 4.1 (2007) added support for Power Enhanced CF Storage Cards.
- CompactFlash Revision 5.0 (2010) added a number of features, including 48-bit addressing (supporting 128 petabyte of storage), larger block transfers of up to 32 megabytes, quality-of-service and video performance guarantees, and other enhancements[37]
- CompactFlash Revision 6.0 (November 2010) added UltraDMA Mode 7 (167 MB/s), ATA-8/ACS-2 sanitize command, TRIM and an optional card capability to report the operating temperature range of the card.[38]
CE-ATA
CE-ATA is a serial MMC-compatible interface based on the MultiMediaCard standard.[39][40]
CFast
A variant of CompactFlash known as CFast is based on the
CFast 1.0/1.1 supports a higher maximum transfer rate than current CompactFlash cards, using
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,[41] 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.[42] At CES 2009, Pretec showed a 32 GB CFast card and announced that they should reach the market within a few months.[43] Delock began distributing CFast cards in 2010, offering several card readers with USB 3.0 and eSATAp (power over eSATA) ports to support CFast cards.
Seeking higher performance and still keeping a compact storage format, some of the earliest adoptors of CFast cards were in the gaming industry (used in slot machines), as a natural evolution from the by then well-established CF cards. Current gaming industry supporters of the format include both specialist gaming companies (e.g. Aristocrat Leisure) and OEMs such as Innocore (now part of Advantech Co., Ltd.).
The CFast 2.0 specification was released in the second quarter of 2012, updating the electrical interface to
On 7 April 2014, Blackmagic Design announced the URSA cinema camera, which records to CFast media.[46]
On 8 April 2015,
As of October 2016, there are a growing number of cameras, video recorders, and audio recorders that use the faster data rates offered by CFast media.
As of 2017, in the wider embedded electronics industry, transition from CF to CFast is still relatively slow, probably due to hardware cost considerations and some inertia (familiarity with CF) and because a significant part of the industry is satisfied with the lower performance provided by CF cards, thus having no reason to change. A strong incentive to change to CFast for embedded electronics companies using designs based on Intel PC architecture is the fact that Intel has removed native support for the (P)ATA interface a few design platforms ago and the older CPU/PCH generations now have end-of-life status.
CFexpress
In September 2016, the CompactFlash Association announced a new standard based on PCIe 3.0 and NVMe, CFexpress.[48] In April 2017, the version 1.0 of the CFexpress specification was published, with support for two PCIe 3.0 lanes in an XQD form-factor for up to 2 GB/s.[49]
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.[50] 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
Microdrives
Microdrive was a brand of tiny
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. 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.[citation needed]
The
Compared to other portable storage
- CompactFlash cards that use flash memory are more rugged than some hard drive solutions because they are solid-state. (See also Reliability above.) Separately, CompactFlash cards are thicker than other card formats, which may render them less susceptible to breakage from harsh treatment.
- As CompactFlash cards support the IDE/ATA command protocol with the host device, a passive adapter lets them function as the hard disk drive of a personal computer, as described above.
- CompactFlash does not have any built in DRM or cryptographic features found on some USB flash drivesand other card formats. The absence of such features contributes to the openness of the standard, as card standards with such features may be subject to restrictive licensing agreements.
- The initial CompactFlash specification envisaged a higher maximum capacity than other card formats. For this reason, many early CompactFlash host devices are usable with modern multi-gigabyte memories, where users of other families such as Secure Digitalhave had to migrate to SDHC and SDXC.
- CompactFlash lacks the mechanical write protection switch that some other devices have, as seen in a comparison of memory cards.
- CompactFlash is physically larger than other card formats. This limits its use, especially in miniature consumer devices where internal space is limited, such as point-and-shootdigital cameras. (An offsetting benefit of larger size is that the card is easier to insert and remove, and harder to misplace.)
Counterfeiting
The marketplace for CompactFlash is extensive and includes
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:
- Barcode scanner
- Bluetooth
- Digital Camera
- Ethernet
- GPS
- Magnetic stripereader
- Microdrive
- EDGE
- Readers for various other Flash media
- RFID
- Sampler (musical instrument)
- USB 1.1host adapters
- Super VGA display adapter
- Wi-Fi
Pinout
Shown looking into card.
Function | Function | ||||||||
---|---|---|---|---|---|---|---|---|---|
Mem | I/O | True IDE Mode 4 |
Pin | Mem | I/O | True IDE Mode 4 | |||
GND | --- | 1 | 26 | --> | CD1 | ||||
D03 | <-> | 2 | 27 | <-> | D11 | ||||
D04 | <-> | 3 | 28 | <-> | D12 | ||||
D05 | <-> | 4 | 29 | <-> | D13 | ||||
D06 | <-> | 5 | 30 | <-> | D14 | ||||
D07 | <-> | 6 | 31 | <-> | D15 | ||||
CE1 | CS0 | --> | 7 | 32 | <-- | CE2 | CS1 | ||
A10 | L | --> | 8 | 33 | --> | VS1 | |||
OE | ATA_SEL | --> | 9 | 34 | <-- | NU | IORD | ||
A09 | L | --> | 10 | 35 | <-- | NU | IOWR | ||
A08 | L | --> | 11 | 36 | <-- | WE | |||
A07 | L | --> | 12 | 37 | --> | RDY/BSY | IREQ | INTRQ | |
VCC | --- | 13 | 38 | --- | VCC | ||||
A06 | L | --> | 14 | 39 | <-- | CSEL | |||
A05 | L | --> | 15 | 40 | --> | VS2 | |||
A04 | L | --> | 16 | 41 | <-- | RESET | RESET | ||
A03 | L | --> | 17 | 42 | --> | WAIT | IORDY | ||
A02 | --> | 18 | 43 | --> | NU | INPACK | NC | ||
A01 | --> | 19 | 44 | <-- | REG | H | |||
A00 | --> | 20 | 45 | <-> | BVD2(H) | SPKR | DASP | ||
D00 | <-> | 21 | 46 | <-> | BVD1(H) | STSCHG | PDIAG | ||
D01 | <-> | 22 | 47 | <-> | D08 | ||||
D02 | <-> | 23 | 48 | <-> | D09 | ||||
WP | IOIS16 | IOCS16 | --> | 24 | 49 | <-> | D10 | ||
CD2 | <-- | 25 | 50 | --- | GND |
Essential for 8-bit interface. |
Essential for 16-bit interface. |
NU = Not Used
L = tied Low (to 0V)
See also
- Comparison of memory cards
- ExpressCard
- SD Association
- Microdrive
- PC Card
- Random-access memory
- XQD card
References
- ^ Frank, Bill (March 2, 2003). "CompactFlash Specification Allows for the Addressing of up to 137 GB" (PDF) (Press release). CompactFlash Association. Archived from the original (PDF) on 2005-05-12.
- ^ MemberClicks. "Home". www.compactflash.org. Archived from the original on 18 March 2018. Retrieved 18 March 2018.
- ^ "History of the SanDisk brand". SanDisk. Retrieved 27 April 2018.
- ^ "Canon Announces the EOS R5 C 8K RAW Digital Cinema Camera, Capable of Both Cinema-quality Video and High-speed, High-quality Still Image Capture".
- ^ "Press Room".
- ^ "Sandisk, Sony, and Nikon propose 500MBps memory card with more than 2TB capacity". engadget.com. 30 November 2010. Retrieved 18 March 2018.
- ^ "CompactFlash allies rally against dominant SD". cnet.com. 14 December 2010. Archived from the original on 27 January 2012. Retrieved 18 March 2018.
- ^ "CompactFlash Association readies next-gen XQD format, promises write speeds of 125 MB/s and up". engadget.com. 8 December 2011. Retrieved 18 March 2018.
- ^ [1] [permanent dead link]
- ^ "25 Years of CompactFlash: A Look Back at the Pioneering Format". PCMAG.
- ^ "PC Mag". 13 November 2001.
- ^ "Liverpool and Manchester Photographic Journal". 2002.
- ^ "pcmcia.org". www.pcmcia.org. Retrieved 18 March 2018.
- ^ "CompactFlash Frequently Asked Questions". Archived from the original on 2010-03-01. Retrieved 2010-05-30.
- ^ "CompactFlash · AllPinouts". www.allpinouts.org. Retrieved 18 March 2018.
- ^ CF+ and CompactFlash Specification Revision 1.4, Section 4 Electrical Interface, Table 4
- ^ "Photofocus - Long-Term Test – UDMA Flash Memory – Lexar Won". photofocus.com. Archived from the original on 2018-03-18. Retrieved 18 March 2018.
- ^ "UDMA-7/UHS-1 Media Card Study". pietrzyk.us. 16 August 2013. Archived from the original on 11 February 2017. Retrieved 18 March 2018.
- ^ "USB 3.0 CF Card Reader Study". pietrzyk.us. 14 August 2013. Archived from the original on 29 December 2016. Retrieved 18 March 2018.
- ^ "Seagate - Benut al uw gegevens maximaal | Seagate Nederland".
- ^ "CompactFlash Association Announces Availability of the New CF5.0 Specification" (PDF). CompactFlash Association. February 22, 2010. Archived from the original (PDF) on Apr 13, 2021. Retrieved 2014-06-21.
- ^ "Lexar® Professional 800x CompactFlash® card | Lexar". Archived from the original on 2015-11-26. Retrieved 2015-11-25.
- ^ "SanDisk Introduces the World's Highest Capacity Card for Professional Photographers". Retrieved Oct 7, 2022.
- ^ "Samsung Announces First 40-nanometer Device 32 Gb NAND Flash with Revolutionary Charge Trap Technology". samsung.com. Retrieved 18 March 2018.
- ^ Administrator. "Pretec - Small size, Big impact". www.pretec.com. Retrieved 18 March 2018.
- ^ "The Leader in Mass Data Storage Solutions | Seagate US". Seagate.com. Archived from the original on March 9, 2012.
- ^ "The Leader in Mass Data Storage Solutions | Seagate US". Seagate.com. Archived from the original on December 7, 2009.
- ^ "Submerged camera holds functional memory card two years after accident". engadget.com. 17 November 2007. Retrieved 18 March 2018.
- ^ "Compact Flash and Secure Digital Adapters". Addonics. Archived from the original on 2008-05-09. Retrieved 2008-05-18.
- ^ "CompactFlash cards and DMA/UDMA support in True IDE (tm) mode". www.fccps.cz. Retrieved 18 March 2018.
- ^ "Application Note for NAND Flash Memory (Revision 2.0)" (PDF). Archived from the original (PDF) on June 16, 2011. Retrieved April 8, 2010.
- ^ The comparison is not in the same terms as for magnetic media, for which hours of operation and reads also impose wear.
- ^ ISBN 0-596-00871-6
- ^ EWF is available only in XP Embedded, not the XP Professional, Home, or Media Editions versions of Windows.
- ^ LetsGoDigital. "SanDisk Extreme IV review". www.photokina-show.com. Retrieved 18 March 2018.
- ^ "CompactFlash Performance Database updated". Rob Galbraith. March 22, 2004. Archived from the original on 2013-05-18.
- ^ "CFA Announces Availability of the New CF5.0 Specification". CompactFlash Association. February 22, 2010. Archived from the original on November 22, 2010.
- ^ "CF 6.0 Introduces Performance and Feature Enhancements". CompactFlash Association. November 18, 2010. Archived from the original on November 21, 2010.
- ^ Heybruck, William F. "Are You Ready for CE-ATA?" (PDF). Hitachi Global Storage Technologies. Archived from the original (PDF) on 2011-06-08.
- ^ "MMCA: Home" (PDF). www.mmca.org. Archived from the original (PDF) on 23 July 2011. Retrieved 15 January 2022.
- ^ "CFast – Evolution of the CompactFlash Interface" (PDF). CompactFlash Association. 2008-04-14. Archived from the original (PDF) on 2008-12-05. Retrieved 2010-01-22.
- ^ Donald Melanson (2008-02-25). "CFast CompactFlash cards now said to be coming in "18 to 24 months"". Engadget.
- DPReview. 2008-01-08.
- ^ "ARRI Group: AMIRA". ARRI Group. Retrieved 18 March 2018.
- ^ "ARRI Group: News". ARRI Group. Retrieved 18 March 2018.
- ^ Design, Blackmagic. "Blackmagic URSA Mini Pro - Blackmagic Design". www.blackmagicdesign.com. Retrieved 18 March 2018.
- ^ "Canon XC10 - Professional camcorder". Canon Europe. 2015-04-08.
- ^ "CFA 5.1 Press Release" (PDF). Archived from the original (PDF) on 2017-05-19. Retrieved 2017-02-23.
- ^ "CFexpress 1.0 Press Release" (PDF). Archived from the original (PDF) on 2017-12-12. Retrieved 2017-06-01.
- ^ MemberClicks. "Home". www.compactflash.org. Archived from the original on 18 March 2018. Retrieved 18 March 2018.
- ^ "Delkin Devices ship 224MB CF type II". dpreview.com. Retrieved 18 March 2018.
- ^ LetsGoDigital. "Lexar Media announces 8GB CompactFlash type II - LetsGoDigital". www.letsgodigital.org. Archived from the original on 21 August 2016. Retrieved 18 March 2018.
- ^ "Nikon D700 - see Tech Specs". nikonusa.com. Archived from the original on 30 August 2010. Retrieved 18 March 2018.
- ^ Rob, Galbraith. "Robgalbraith CF info". Rob Galbraith. Archived from the original on 10 April 2014. Retrieved 6 May 2014.
- ^ "eBay.ie Guides - FAKE SanDisk Extreme Compact Flash Cards Exposed". September 27, 2007. Archived from the original on 2007-09-27.
- ^ "July 2007 - Counterfeit SanDisk Cards". Archived from the original on December 8, 2008.