US20100082892A1 - Flash Memory Controller For Electronic Data Flash Card - Google Patents

Flash Memory Controller For Electronic Data Flash Card Download PDF

Info

Publication number
US20100082892A1
US20100082892A1 US12/631,748 US63174809A US2010082892A1 US 20100082892 A1 US20100082892 A1 US 20100082892A1 US 63174809 A US63174809 A US 63174809A US 2010082892 A1 US2010082892 A1 US 2010082892A1
Authority
US
United States
Prior art keywords
flash memory
memory device
data
memory controller
interface circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/631,748
Inventor
Abraham C. Ma
Charles C. Lee
I-Kang Yu
Edward W. Lee
Ming-Shiang Shen
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Super Talent Electronics Inc
Original Assignee
Super Talent Electronics Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US09/478,720 external-priority patent/US7257714B1/en
Priority claimed from US10/761,853 external-priority patent/US20050160218A1/en
Priority claimed from US10/789,333 external-priority patent/US7318117B2/en
Priority claimed from US11/458,987 external-priority patent/US7690030B1/en
Application filed by Super Talent Electronics Inc filed Critical Super Talent Electronics Inc
Priority to US12/631,748 priority Critical patent/US20100082892A1/en
Publication of US20100082892A1 publication Critical patent/US20100082892A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1416Protection against unauthorised use of memory or access to memory by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/073Special arrangements for circuits, e.g. for protecting identification code in memory
    • G06K19/07309Means for preventing undesired reading or writing from or onto record carriers
    • G06K19/07345Means for preventing undesired reading or writing from or onto record carriers by activating or deactivating at least a part of the circuit on the record carrier, e.g. ON/OFF switches
    • G06K19/07354Means for preventing undesired reading or writing from or onto record carriers by activating or deactivating at least a part of the circuit on the record carrier, e.g. ON/OFF switches by biometrically sensitive means, e.g. fingerprint sensitive
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • G07C9/25Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder using biometric data, e.g. fingerprints, iris scans or voice recognition
    • G07C9/257Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder using biometric data, e.g. fingerprints, iris scans or voice recognition electronically

Definitions

  • the invention relates to electronic data flash cards, more particularly to a system and method for controlling flash memory in an electronic data flash card.
  • Confidential data files are often stored in floppy disks or are delivered via networks that require passwords or that use encryption coding for security. Confidential documents are sent by adding safety seals and impressions during delivery. However, confidential data files and documents are exposed to the danger that the passwords, encryption codes, safety seals and impressions may be broken (deciphered), thereby resulting in unauthorized access to the confidential information.
  • Flash memory As flash memory technology becomes more advanced, flash memory is replacing traditional magnetic disks as storage media for mobile systems. Flash memory has significant advantages over floppy disks or magnetic hard disks such as having high-G resistance and low power dissipation. Because of the smaller physical size of flash memory, they are also more conducive to mobile systems. Accordingly, the flash memory trend has been growing because of its compatibility with mobile systems and low-power feature. However, advances in flash technology have created a greater variety of flash memory device types that vary for reasons of performance, cost and capacity. As such, a problem arises when mobile systems that are designed for one type of flash memory are constructed using another, incompatible type of flash memory.
  • PC personal computer
  • USB Universal Serial Bus
  • flash memory is also replacing floppy disks because flash memory provides higher storage capacity and faster access speeds than floppy drives.
  • USB standard has several features that require additional processing resources. These features include fixed-frame times, transaction packets, and enumeration processes. For better optimization, these features have been implemented in application-specific integrated circuits (ASICs).
  • ASICs application-specific integrated circuits
  • USB mass-storage devices are slow.
  • the USB interface is significantly slower than IDE (Integrated Drive Electronics) interface in particular. This is because of the overhead associated with the USB standard, which include additional resources required for managing USB commands and handshake packets. Bulk-only transactions introduced by the USB standard have relieved some resources but only if the USB traffic is not too busy.
  • flash memory sectors that have already been programmed must be erased before being reprogrammed. Also, flash memory sectors have a limited life span; i.e., they can be erased only a limited number of times before failure. Accordingly, flash memory access is slow due to the erase-before-write nature and ongoing erasing will damage the flash memory sectors over time.
  • USB-standard flash memory To address the speed problems with USB-standard flash memory, hardware and firmware utilize existing small computer systems interface (SCSI) protocols so that flash memory can function as mass-storage devices similarly to magnetic hard disks. SCSI protocols have been used in USB-standard mass-storage devices long before flash memory devices have been widely adopted as storage media. Accordingly, the USB standard has incorporated traditional SCSI protocols to manage flash memory.
  • SCSI small computer systems interface
  • a problem with SCSI protocols is that they do not include an erase command to address the erase-before-write nature of flash memory. Accordingly, the erase operation is handled by the host system, which further ties up the host system resources.
  • USB packet definitions such as write flash, read flash, and erase flash definitions.
  • write flash read flash
  • erase flash definitions are not an efficient way to handle flash memory because they introduce additional protocols that require additional computing resources at the host system. They also do not address the sector-wear issues.
  • Another solution provides a driver procedure for flash memory write transactions.
  • This procedure has three different sub-procedures. Generally, the data of a requested flash memory address is first read. If there is data already written to that address, the firmware executes an erase command. Then, if the erase command executes correctly, the firmware executes a write request.
  • this driver procedure utilizes protocols that require additional computing resources at the host system.
  • Another solution provides a flash sector format that has two fields: a data field and a spare field.
  • the spare field contains control data that include flags that facilitate in the management of the sectors.
  • the flags introduce ASIC complexity when the host system writes to the sectors.
  • an electronic data flash card that includes an intelligent processing unit for flexible flash memory type support.
  • the system and method should be able to comply with the USB standard, should be suitable for ASIC hardware implementation, and should be simple, cost effective and capable of being easily adapted to existing technology.
  • the present invention is generally directed to an electronic data flash card including a flash memory device, a fingerprint sensor, an input-output interface circuit and a processing unit.
  • the electronic data flash card is adapted to be accessed by a host (external) computer such as a personal computer, notebook computer or other electronic host device.
  • a host external
  • personal data can be stored inside the flash memory device in an encrypted form such that it can only be accessed, for example, by way of a fingerprint sensor associated with card body to make sure unauthorized person cannot misuse the card.
  • a flash memory controller is part of the processing unit to control the operation of the flash memory device.
  • the processing unit is connected to the flash memory device and the input/output interface circuit.
  • the flash memory controller logic includes a flash type algorithm for detecting whether the flash memory device is of a flash type that is supported by the flash memory controller logic.
  • the processing unit of an electronic data flash card is operable selectively in a programming mode, a data retrieving mode, and a resetting mode.
  • the processing unit When the processing unit is in the programming mode, the processing unit activates the input/output interface circuit to receive the confidential data file from the host computer, and to store the data file in the flash memory device.
  • the processing unit When the processing unit is in the data retrieving mode, the processing unit activates the input/output interface circuit to transmit the data file to the host computer.
  • the data resetting mode the data file (and the reference fingerprint data) is/are erased from the flash memory device.
  • the processing unit is a microprocessor including one of an 8051, 8052, 80286, RISC, ARM, MIPS or digital signal processor.
  • the input/output (I/O) interface circuit is a USB interface circuit.
  • a USB flash device transfers high-speed data between computers using only the Bulk-Only Transfer (BOT) protocol.
  • BOT is a more efficient and faster transfer protocol than command/bulk/interrupt (CBI) protocol because BOT transport of command, data, status rely on Bulk endpoints in addition to default Control endpoints.
  • CBI command/bulk/interrupt
  • the flash memory controller includes a processor for receiving at least one request from a host system.
  • the flash memory controller further includes an index including information regarding sectors of a flash memory.
  • the processor utilizes the index to determine the sectors of the flash memory that are available for programming, reprogramming, or reading.
  • the flash memory controller further includes a first-in-first-out unit (FIFO) for recycling obsolete sectors so that they are available for reprogramming.
  • FIFO first-in-first-out unit
  • the host system interacts with the flash memory controller without the host system having information regarding the configuration of the flash memory. Consequently, speeds at which data is written to and read from flash memory is significantly increased while the flash memory remains compatible with the USB standard and ASIC architecture.
  • FIG. 1 is a block diagram showing an electronic data flash card with fingerprint verification capability in accordance with an embodiment of the present invention.
  • FIG. 2 is a schematic circuit block diagram illustrating an electronic data flash card according to another embodiment of the present invention.
  • FIG. 3 is a block diagram of a processing unit utilized in an electronic data flash card in accordance with another embodiment of the present invention.
  • FIG. 4A is a flow chart showing a process for detecting a flash memory type in accordance with an embodiment of the present invention.
  • FIG. 4B is a block diagram showing a portion of an electronic data flash card according to another embodiment of the present invention.
  • FIG. 5A is a block diagram illustrating an 8-bit access with 8-bit data flash memory.
  • FIG. 5B is a block diagram illustrating a 16-bit access with 16-bit data flash memory.
  • FIG. 5C is a block diagram illustrating a 16-bit dual channel access with two 8-bit data flash memories via a single control.
  • FIG. 5D is a block diagram illustrating a 16-bit interleave channel access with two 8-bit data flash memories via separate controls according to an embodiment of the present invention.
  • FIG. 6 is a schematic circuit block diagram illustrating an electronic data flash card according to another embodiment of the present invention.
  • FIG. 7 is a block diagram of a flash memory system including a flash memory controller and a flash memory in accordance with the present invention.
  • FIG. 8 is a block diagram showing in more detail the write look-up table, the read look-up table, the physical usage table, and the recycling first-in-first-out unit of FIG. 7 in accordance with the present invention.
  • FIG. 9 is a block diagram showing in more detail the flash memory of FIG. 7 in accordance with the present invention.
  • FIG. 10 is a high-level flow chart showing a method for managing flash memory in accordance with the present invention.
  • FIG. 11 is a flow chart showing a method for transmitting USB mass-storage class service requests in accordance with the present invention.
  • FIGS. 12A , 12 B and 12 C are block diagrams showing a command block wrapper, a reduced block command read format, and a command status wrapper in accordance with the present invention.
  • FIG. 13 is a flow chart showing a method for reading, writing, and erasing in accordance with the present invention.
  • FIG. 14 is a high-level flow chart showing a method including a first phase of a write transaction, a second phase of the write transaction, a read transaction, and a recycling operation in accordance with the present invention.
  • FIGS. 15A , 15 B, 15 C and 15 D are block diagrams illustrating exemplary results from first and second phases of a write transaction in accordance with the present invention.
  • FIG. 16 is a flow chart showing a method for implementing the first phase of the write transaction of FIG. 14 in accordance with the present invention.
  • FIG. 17 is a flow chart showing a method for implementing the second phase of the write transaction of FIG. 14 in accordance with the present invention.
  • FIG. 18 is a flow chart showing a method for implementing the read transaction of FIG. 14 in accordance with the present invention.
  • FIG. 19 is a flow chart showing a method for implementing the recycling operation of FIG. 14 in accordance with the present invention.
  • an electronic data flash card 10 is adapted to be accessed by an external (host) computer 9 either via an interface bus 13 or a card reader 12 or other interface mechanism (not shown), and includes a card body 1 , a processing unit 2 , one or more flash memory devices 3 , a fingerprint sensor 4 , an input/output interface circuit 5 , an optional display unit 6 , an optional power source (e.g., battery) 7 , and an optional function key set 8 .
  • an external (host) computer 9 either via an interface bus 13 or a card reader 12 or other interface mechanism (not shown)
  • a card body 1 includes a card body 1 , a processing unit 2 , one or more flash memory devices 3 , a fingerprint sensor 4 , an input/output interface circuit 5 , an optional display unit 6 , an optional power source (e.g., battery) 7 , and an optional function key set 8 .
  • an optional power source e.g., battery
  • Flash memory device 3 is mounted on the card body 1 , stores in a known manner therein one or more data files, a reference password, and the reference fingerprint data obtained by scanning a fingerprint of one or more authorized users of the electronic data flash card 10 . Only authorized users can access the stored data files.
  • the data file can be a picture file or a text file.
  • the fingerprint sensor 4 is mounted on the card body 1 , and is adapted to scan a fingerprint of a user of electronic data flash card 10 to generate fingerprint scan data.
  • One example of the fingerprint sensor 4 that can be used in the present invention is that disclosed in a co-owned U.S. Pat. No. 6,547,130, entitled “INTEGRATED CIRCUIT CARD WITH FINGERPRINT VERIFICATION CAPABILITY”, the entire disclosure of which is incorporated herein by reference.
  • the fingerprint sensor described in the above patent includes an array of scan cells that defines a fingerprint scanning area.
  • the fingerprint scan data includes a plurality of scan line data obtained by scanning corresponding lines of array of scan cells.
  • the lines of array of scan cells are scanned in a row direction as well as column direction of said array.
  • Each of the scan cells generates a first logic signal upon detection of a ridge in the fingerprint of the holder of card body, and a second logic signal upon detection of a valley in the fingerprint of the holder of card body.
  • the input/output interface circuit 5 is mounted on the card body 1 , and can be activated so as to establish communication with the host computer 9 by way of an appropriate socket via an interface bus 13 or a card reader 12 .
  • input/output interface circuit 5 includes circuits and control logic associated with a Universal Serial Bus (USB), PCMCIA or RS232 interface structure that is connectable to an associated socket connected to or mounted on the host computer 9 .
  • USB Universal Serial Bus
  • PCMCIA PCMCIA
  • RS232 interface structure that is connectable to an associated socket connected to or mounted on the host computer 9 .
  • the input/output interface circuit 5 may include one of a Secure Digital (SD) interface circuit, a Multi-Media Card (MMC) interface circuit, a Compact Flash (CF) interface circuit, a Memory Stick (MS) interface circuit, a PCI-Express interface circuit, a Integrated Drive Electronics (IDE) interface circuit, and a Serial Advanced Technology Attachment (SATA) interface circuit, which interface with the host computer 9 via an interface bus 13 or a card reader 12 .
  • SD Secure Digital
  • MMC Multi-Media Card
  • CF Compact Flash
  • MS Memory Stick
  • PCI-Express interface circuit a PCI-Express interface circuit
  • IDE Integrated Drive Electronics
  • SATA Serial Advanced Technology Attachment
  • the processing unit 2 is mounted on the card body 1 , and is connected to the flash memory device 3 , the fingerprint sensor 4 and the input/output interface circuit 5 by way of associated conductive traces or wires disposed on card body 1 .
  • processing unit 2 is one of an 8051, 8052, 80286 microprocessors available, for example, from Intel Corporation.
  • processing unit 2 includes a RISC, ARM, MIPS or other digital signal processors (DSP).
  • processing unit 2 is controlled by a program stored at least partially in flash memory device 3 such that processing unit 2 is operable selectively in: (1) a programming mode, where the processing unit 2 activates the input/output interface circuit 5 to receive the data file and the reference fingerprint data from the host computer 9 , and to store the data file and the reference fingerprint data in flash memory device 3 ; (2) a data retrieving mode, where the processing unit 2 activates the input/output interface circuit 5 to transmit the data file stored in flash memory device 3 to the host computer 9 ; and (3) a data resetting mode, where the data file and the reference finger data are erased from the flash memory device 3 .
  • host computer 9 sends write and read requests to electronic data flash card 10 via interface bus 13 or a card reader 12 and input/output interface circuit 5 to the processing unit 2 , which in turn utilizes a flash memory controller (not shown) to read from or write to the associated one or more flash memory devices 3 .
  • the processing unit 2 automatically initiates operation in the data resetting mode upon detecting that a preset time period has elapsed since the last authorized access of the data file stored in the flash memory device 3 .
  • the optional power source 7 is mounted on the card body 1 , and is connected to the processing unit 2 and other associated units on card body 1 for supplying electrical power thereto.
  • the optional function key set 8 which is mounted on the card body 1 , is connected to the processing unit 2 , and is operable so as to initiate operation of processing unit 2 in a selected one of the programming, data retrieving and data resetting modes.
  • the function key set 8 is operable to provide an input password to the processing unit 2 .
  • the processing unit 2 compares the input password with the reference password stored in the flash memory device 3 , and initiates authorized operation of electronic data flash card 10 upon verifying that the input password corresponds with the reference password.
  • the optional display unit 6 is mounted on the card body 1 , and is connected to and controlled by the processing unit 2 for showing the data file exchanged with the host computer 9 and for displaying the operating status of the electronic data flash card 10 .
  • the electronic data flash card has a small volume but a large storage capability, thereby resulting in convenience during data transfer; and second, because everyone has a unique fingerprint, the electronic data flash card only permits authorized persons to access the data files stored therein, thereby resulting in enhanced security.
  • FIG. 2 is a block diagram of an electronic data flash card 10 A in accordance with an alternative embodiment of the present invention that omits the fingerprint sensor and the associated user identification process.
  • the electronic data flash card 10 A includes a highly integrated processing unit 2 A including an input/output interface circuit 5 A and a flash memory controller 21 for integration cost reduction reasons.
  • Input/output interface circuit 5 A includes a transceiver block, a serial interface engine block, data buffers, registers and interrupt logic.
  • Input/output interface circuit 5 A is coupled to an internal bus to allow for the various elements of input/output interface circuit 5 A to communicate with the elements of flash memory controller 21 .
  • Flash memory controller 21 includes a microprocessor unit, a ROM, a RAM, flash memory controller logic, error correction code logic, and general purpose input/output (GPIO) logic.
  • the GPIO logic is coupled to a plurality of LEDs for status indication such as power good, read/write flash activity, etc., and other I/O devices. Flash memory controller 21 is coupled to one or more flash memory devices 3 .
  • host computer 9 A includes a function key set 8 A, is connected to the processing unit 2 A via an interface bus or a card reader when electronic data flash card 10 A is in operation.
  • Function key set 8 A is used to selectively set electronic data flash card 10 A in one of the programming, data retrieving and data resetting modes.
  • the function key set 8 A is also operable to provide an input password to the host computer 9 A.
  • the processing unit 2 A compares the input password with the reference password stored in the flash memory device 3 , and initiates authorized operation of electronic data flash card 10 A upon verifying that the input password corresponds with the reference password.
  • a host computer 9 A includes display unit 6 A, is connected to the processing unit 2 A when electronic data flash card 10 A is in operation via an interface bus or a card reader.
  • Display unit 6 A is used for showing the data file exchanged with the host computer 9 A, and for showing the operating status of the electronic data flash card 10 A.
  • FIG. 3 shows processing unit 2 A in additional detail.
  • Electronic data flash card 10 A includes a power regulator 22 for providing one or more power supplies to processing unit 2 A. The power supplies provide different voltages to associated units of electronic data flash card 10 A according to the power requirements. Capacitors (not shown) may be required for power stability.
  • Electronic data flash card 10 A includes a reset circuit 23 for providing a reset signal to processing unit 2 A. Upon power up, reset circuit 23 asserts reset signal to all units. After internal voltages reach a stable level, the reset signal is then de-asserted, and resisters and capacitors (not shown) are provided for adequate reset timing adjustment.
  • Electronic data flash card 10 A also includes a quartz crystal oscillator (not shown) to provide the fundamental frequency to a PLL within processing unit 2 A.
  • input/output interface circuit 5 A, reset circuit 23 , and power regulator 22 are integrated or partially integrated within processing unit 2 A.
  • the high integration substantially reduces the overall space needed, the complexity, and the cost of manufacturing.
  • the input/output interface circuit is analog and digital mixed circuitry, which can be integrated into the MCP (Multi-Chip Package) package with the processing unit.
  • the reset circuit and power regulator are analog circuitry, which can also be integrated into the MCP (Multi-Chip Package) package with the processing unit.
  • processing unit 2 A which includes input/output interface circuit 5 A, flash memory controller 21 , reset circuit 23 and power regulator 22 .
  • a processing unit 2 , input/output interface circuit 5 , and power regulator 22 and a reset circuit 23 are integrated or partially integrated using Multi-Chip Package technology or mixed signal IC technology.
  • Multi Bit Cell (MBC) Flash memory devices have higher capacity than Single Bit Cell (SBC) flash memory devices for the same form factor.
  • SBC Single Bit Cell
  • AND or Super-AND flash memory have been created to circumvent intellectual property issues associated with NAND flash memory.
  • a large page size (2K Bytes) flash memory has better write performance against a small page size (512 Bytes) flash memory.
  • the rapid development of flash memory has resulted in devices with higher capacities. To support these various flash memory types, the flash memory controller must be able to detect and access them accordingly.
  • Typical flash memory devices contains ID code which identifies the flash type, the manufacturer, and the features of the flash memory such as page size, block size organization, capacity, etc.
  • the processing unit of an electronic data flash card performs a flash detection operation at system power up to determine whether the one or more flash memory devices of the electronic data flash card are supported by the existing flash memory controller.
  • FIG. 4A illustrates a flash detection algorithm in accordance with the present invention.
  • the processing unit is reset (block 410 ).
  • the ID of the flash memory is read to identify the flash memory type (block 420 ).
  • the read ID is then compared against the table of flash types that are supported by the existing flash memory controller (block 430 ). If the flash type is not supported (block 435 ), the flash memory controller will not be able to access the flash memory, and the incompatibility can be indicated by LED via an output port of the controller. If the flash type is supported, the flash memory controller will be configured to the access mode corresponding to that detected flash type (block 440 ), and then the flash memory controller begins accessing the flash memory (block 450 ).
  • Electronic data flash cards are flash memory systems using flash memories for data storage.
  • electronic data flash card 10 A includes processing unit 2 A, flash memory 3 A, random-access memory (RAM) 24 , and read-only memory (ROM) 25 , with the boot code (BC) and operating system (OS) code residing in ROM 25 .
  • processing unit 2 A fetches and executes the boot code from ROM 25 , which initializes the system components and loads the OS code from ROM 25 into RAM 24 .
  • the OS code is loaded into the RAM 24 , it takes control of the system.
  • the OS includes drivers to perform basic tasks such as controlling and allocating memory, prioritizing the processing of instructions, controlling input and output ports etc.
  • the OS code also includes the flash detection algorithm code and the flash parametric data.
  • electronic data flash card 10 A includes a flash detection algorithm code that is separated into a static portion 26 and a dynamic portion 27 , with the static portion 26 handling contemporary flash memories, and the dynamic portion 27 taking control of the detection process after the static portion fails to identify the particular flash memory device implemented in the electronic data flash card. That is, when electronic data flash card 10 A is manufactured using an “old” type flash memory device, then the flash detection algorithm code recognizes the flash device ID during the power up process, and utilizes static portion 26 to execute read and write the “old” type flash memory device. Conversely, when a particular electronic data flash card having the novel configuration is manufactured using a “new” type flash memory device (e.g., 3 A, shown in FIG.
  • a “new” type flash memory device e.g., 3 A, shown in FIG.
  • the flash detection algorithm code recognizes the flash device ID during the power up process, and utilizes dynamic portion 27 to execute read and write operations to “new” type flash memory device 3 A.
  • static portion 26 of the flash detection algorithm code is stored in ROM 25
  • dynamic portion 27 of the flash detection algorithm code is stored in at least one flash memory device 3 A of electronic data flash card 10 A.
  • the process simply requires storing a suitable dynamic portion of the flash algorithm code in the one or more flash memory device. Because the default access and reading of the dynamic portion is already incorporated into execution of the flash detection algorithm code, the content of the dynamic portion can be altered without affecting operation of the flash detection algorithm code. Thus, overall manufacturing costs are reduced, and unnecessary development time is also eliminated.
  • a method of dual-channel parallel and interleave access flash is implemented in an electronic data flash card for faster performance than is possible using conventional methods.
  • a typical electronic data flash card uses a flash memory with single-channel (8-bit) data bus, as shown in FIG. 5A .
  • 8-bit 8-bit
  • multiple-channel data bus more data bits can be read from or write to the flash memories simultaneously, thereby the access speed is enhanced.
  • dual-channel (16-bit) data bus can double the access speed to the flash memory
  • quad-channel (32-bit) data can increase the access speed by 4 times, and so on.
  • Electronic data flash card with dual-channel data width can be realized by one 16-bit wide flash memory as illustrated in FIG. 5B , by two 8-bit wide flash memories via a single control as illustrated in FIG. 5C , or by two 8-bit wide flash memories via separate controls as illustrated in FIG. 5D .
  • Electronic data flash card 10 B which is depicted in FIG. 5D , includes separate control and I/O connections for each flash memory device 3 B 1 and 3 B 2 , thereby enabling interleaved programming that enhances system speed and avoids peak power consumption. Flash memory devices consume higher power in the programming (writing) mode, in which data is transferred from page register into the flash cells of the memory array, than in any other operating mode (e.g., reading data from the flash cells, or writing memory to the page register from an external source).
  • interleaved programming of flash memory devices 3 B 1 and 3 B 2 involves “write staggering”, wherein flash memory controller 21 B enables one flash memory device (e.g., flash memory device 3 B 1 ) to program (write) data from its page register into its flash memory array while the other flash memory devices (e.g., flash memory device 3 B 2 ) are limited to non-programming operations (e.g., enabled to receive data from flash memory controller 21 B to the page register (i.e., no writing is performed in flash memory device 3 B 2 while a write operation is being performed by flash memory device 3 B 1 ).
  • non-programming operations e.g., enabled to receive data from flash memory controller 21 B to the page register (i.e., no writing is performed in flash memory device 3 B 2 while a write operation is being performed by flash memory device 3 B 1 ).
  • this interleave access approach allows the system to avoid peak power consumption that can be caused by writing multiple flash devices at the same time.
  • FIG. 6 shows an electronic data flash card (or electronic data storage medium, or integrated circuit card) 10 C according to yet another embodiment of the present invention.
  • Electronic data flash card 10 C is adapted to be accessed by a host computer 9 A via an interface bus or card reader (i.e., communication link), and includes a card body 1 C, a processing unit 2 C including a flash memory controller 21 C and an input/output interface circuit 5 C, and one or more flash memory devices 3 C in according to one or more of the embodiments described above.
  • Electronic data flash card 10 C could be the functional subsystem for electronic data flash card 10 A (described above), and also could be a functional subsystem for other applications.
  • Flash memory device 3 C is controlled through commands generated by flash memory controller 21 C, and stores a data file in the flash memory device.
  • Processing unit 2 C is connected to flash memory device, said input/output interface circuit.
  • Flash memory controller 21 C inside processing unit 2 C controls flash memory device 3 C utilizing one or more of the methods described above.
  • flash memory controller 21 C executes a flash type algorithm that determines if flash memory device 3 C is supported by the static portion of the flash memory controller logic stored in ROM (not shown), and reads a dynamic portion of flash memory controller logic stored in flash memory device 3 C if the flash type is “new”.
  • USB Bulk Only Transport BOT
  • USB software communication data flow between a host computer and the USB interface circuit of the flash memory device (also referred to as a “USB device” below): control, interrupt, bulk, and isochronous.
  • Control transfer is the data flow over the control pipe from the host computer to the USB device to provide configuration and control information to a USB device.
  • Interrupt transfers are small-data, non-periodic, guaranteed-latency, device-initiated communication typically used to notify the host computer of service needed by the USB device. Movement of large blocks of data across the USB interface circuit that is not time critical relies on Bulk transfers.
  • Isochronous transfers are used when working with isochronous data. Isochronous transfers provide periodic, continuous communication between the host computer and the USB device. There are two data transfer protocols generally supported by USB interface circuits: Control/Bulk/Interrupt (CBI) protocol and Bulk-Only Transfer (BOT) protocol.
  • CBI Control/Bulk/Interrupt
  • BOT Bulk-Only Transfer
  • the mass storage class CBI transport specification is approved for use with full-speed floppy disk drives, but is not used in high-speed capable devices, or in devices other than floppy disk drives (according to USB specifications).
  • a USB flash device transfers high-speed data between computers using only the Bulk-Only Transfer (BOT) protocol.
  • BOT is a more efficient and faster transfer protocol than CBI protocol because BOT transport of command, data, status rely on Bulk endpoints in addition to default Control endpoints.
  • processing unit 2 C is selectively operable in a programming mode, where processing unit 2 C causes input/output interface circuit 5 C to receive the data file from host computer 9 A, and to store the data file in flash memory device 3 C through write commands issued from host computer 9 A to flash memory controller 21 C, a data retrieving mode, where processing unit 2 C receives the data in flash memory device 3 C through read command issued from host computer 9 A to flash memory controller 21 C and to access the data file stored in flash memory device 3 C, and activates input/output interface circuit 5 C to transmit the data file to host computer 9 A, and a data resetting mode where the data file is erased from flash memory device 3 C.
  • inventions of the intelligent processing unit 2 C in accordance with the present invention include:
  • a system and method for controlling flash memory in an electronic data flash card.
  • the system and method provide a flash memory controller including a processor for receiving at least one request from a host system, and an index, which comprises look-up tables (LUTs) and a physical usage table (PUT).
  • the index translates logical block addresses (LBAs) provided by the host system to physical block addresses (PBAs) in the flash memory.
  • LBAs logical block addresses
  • PBAs physical block addresses
  • the index also contains information regarding the flash memory configuration.
  • the processor selectively utilizes the index to determine the sectors of the flash memory that are available for programming, reprogramming, or reading.
  • the flash memory controller further comprises a recycling first-in-first-out (FIFO) that recycles blocks of obsolete sectors so that they are available for reprogramming.
  • FIFO recycling first-in-first-out
  • the recycling operation involves copy and erase operations, and is performed in the background and thus hidden from the host system. Accordingly, the management of the flash memory and related intelligence resides in the flash memory controller instead of in the host system. As a result, the host system interacts with the flash memory controller without the host system having information regarding the physical configuration of the flash memory. Consequently, speeds at which data is written to and read from the flash memory is significantly increased while the flash memory remains compatible with the USB standard and ASIC architecture.
  • Block A basic memory erase unit. Each block contains numerous sectors, e.g., 16, 32, 64, etc. If any sector encounters write error, the whole block is declared a bad block and all valid sectors within the block are relocated to another block.
  • Sector A sub-unit of a block. Each sector typically has two fields—a data field and a spare field.
  • Obsolete sector A sector that is programmed with data but the data has been subsequently updated. When the data is updated, the obsolete data remains in the obsolete sector and the updated data is written to new sectors, which become valid sectors.
  • Non-valid blocks Blocks that contain obsolete sectors.
  • Valid sector A sector that has been programmed with data and the data is current, i.e., not obsolete.
  • Flash memory can be block erased only a limited number of times. For example, one million is a typical maximum number of erases for NAND flash memory.
  • Spare blocks Reserved space in flash memory. Spare blocks enable flash memory systems to prepare for bad blocks.
  • Cluster Multiple data sectors used as file access pointers by an operating system to improve memory performance. In small mass-storage memory operation, a cluster normally is a combination of two data sectors, which is a minimum file size unit.
  • FAT File allocation table having file address-linked pointers.
  • a cluster is the unit for a FAT.
  • FAT16 means that a cluster address can be 16 bits.
  • Directory and subdirectory File pointers as defined by an operating system.
  • Master boot record (MBR) A fixed location to store a root directory pointer and associated boot file if bootable. This fixed location can be the last sector of the first block, or the last sector of the second block if first block is bad.
  • Packet A variable length format for a USB basic transaction unit.
  • a normal transaction in the USB specification typically consists of three packets—a token packet, a data packet, and a handshake packet.
  • a token packet has IN, OUT, and SETUP formats.
  • a data packet size can be varying in size, e.g., 64 bytes in USB revision 1.1, and 512 bytes in USB revision 2.0.
  • a handshake packet has ACK or NAK formats to inform host of the completion of a transaction.
  • Frame A bulk transaction that is used that has a high priority for occupying a frame if USB traffic is low. A bulk transaction can also wait for a later frame if USB traffic is high.
  • Endpoint Three endpoints include control, bulk-in, and bulk-out. The control endpoint is dedicated to system initial enumeration.
  • the bulk-in endpoint is dedicated to host system read data pipe.
  • the bulk-out endpoint is dedicated to a host system write data pipe.
  • Command block wrapper CBW: A packet contains a command block and associated information, such as Data Transfer Length (512 bytes for example from byte 8 - 11 ). A CBW always starts at the packet boundary, and ends as short packet with exactly 31 bytes transferred. All CBW transfers shall be ordered with LSB (byte 0 ) first.
  • Command Status Wrapper (CSW) A CSW starts at packet boundary.
  • Reduced block command (RBC) SCSI protocol a 10 byte command descriptor.
  • FIG. 7 is a block diagram showing a electronic data flash card (memory system) 100 including a flash memory controller 110 and a flash memory device 112 in accordance with the present invention.
  • the host system 52 provides resources to process write and read transactions, and erase operations via the flash memory controller 110 .
  • the flash memory controller 110 is coupled to a host system 52 via a host system interface 116 .
  • the host system 52 can be a personal computer or other type of computer system.
  • the operating system of the host system 52 can be Windows or MacOS but is not limited to these operating systems.
  • the flash memory system 100 complies with the USB mass-storage class standard and the host system interface 116 is a USB connection.
  • the USB specification can be revision 1.1 or 2.0 and above.
  • the flash memory controller 110 and the flash memory 112 can be either bus-powered or self-powered, and can be used as a mass storage device.
  • the advantage of being used as a mass storage device is that it is a low-power device, it is easy to carry, and it has storage capacity larger than a traditional floppy disk.
  • the flash memory controller 110 includes a device transceiver 120 , which converts analog signals to digital streams and provides a phase lock loop (PLL) circuit for generating precision clocks for internal data latching.
  • PLL phase lock loop
  • the flash memory controller 110 also includes a serial interface engine (SIE) 122 , which provides serial and parallel data conversion, packet decoding/generation, cyclic redundancy code (CRC) generation/checking, non-return-to-zero (NRZI) encoding/decoding, and bit stuffing according to the USB standard.
  • SIE serial interface engine
  • Endpoints 124 and 125 receive information from the host system 52 regarding class type (e.g., mass-storage class), flash memory configuration information, and default control information.
  • An Endpoint 126 receives information from the host system 52 regarding read transactions, and an endpoint 128 receives information from the host system 52 regarding write transactions.
  • a bulk-only transport (BOT) unit 130 receives command block wrappers (CBW) and includes a data transfer length register 132 and a logical block address (LBA) register 134 .
  • CBW command block wrappers
  • LBA logical block address
  • the allocation of PBAs to LBAs is performed entirely by flash memory controller 110 , thus allowing host system 52 to interact with flash memory device 110 (i.e., perform read, write and erase operations) without host system 52 having information regarding the actual physical location (configuration) of the data stored in flash memory device 112 . That is, flash memory controller 110 utilizes arbitration logic and data that is entirely stored in electronic data flash card 100 (i.e., not received from host system 52 ) to identify bad blocks of memory cells in flash memory device 112 , to assign LBAs to the PBAs associated with good blocks of memory cells, to recycle non-valid blocks, and to perform wear leveling. Because each of these operations is performed independent of host system 52 , the operation of host system 52 is enhanced.
  • a sector FIFO 140 provides a caching feature when the host system 52 attempts to write data to the flash memory 112 .
  • a FIFO-not-empty interrupt signal 142 triggers an interrupt routine at an interrupt handler 148 of a processor 150 .
  • the interrupt routine responds to the host system 52 confirming that data was written to the flash memory 112 .
  • the processor 150 executes a write transaction.
  • a write look-up table (LUT) 170 , a read LUT 172 , and a physical usage table (PUT) 180 provide an index showing the configuration of the flash memory 112 .
  • the data stored in write and read LUTs 170 and 172 and PUT 180 is controlled by the arbitration logic (discussed above) utilized by flash memory controller 110 .
  • the write and read LUTs 170 and 172 facilitate write and read transactions, respectively, between the host system 52 and the flash memory 112 .
  • the write and read LUTs 170 and 172 translate logical block addresses (LBAs) provided by the host system 52 to physical block addresses (PBAs) of the flash memory 112 .
  • the PUT 180 performs physical sector mapping and provides a bitmap indicating programmed sectors, i.e., sectors to which data has already been written.
  • a flash interface controller 186 interfaces with the flash memory 112 to carry out commands from the processor 150 .
  • the flash interface controller 186 receives PBAs from the write and read LUTs 170 and 172 to service write and read requests.
  • a recycling FIFO 190 recycles blocks having obsolete sectors so that they can be reprogrammed, i.e., written to with new data.
  • the recycling operations are executed immediately after and independently from write transactions so as to not interfere with the servicing of write transactions by the flash memory controller 110 .
  • the write and read LUTs 170 and 172 , the PUT 180 , and the recycling FIFO 190 are implemented with volatile random access memory (RAM), such as synchronous RAM (SRAM).
  • RAM volatile random access memory
  • SRAM synchronous RAM
  • the flash memory 112 can be implemented using one or more devices, each having one or more flash arrays.
  • FIG. 8 is a block diagram showing in more detail the write LUT 170 , the read LUT 172 , the PUT 180 , and the recycling FIFO 190 of FIG. 7 in accordance with the present invention.
  • the write LUT 170 provides an index for the flash memory during write transactions and translates LBAs provided by the host system to PBAs of the flash memory.
  • the write LUT 170 contains LBAs 302 a , 302 b , 302 c , and 302 d . For ease of illustration, only four LBAs per LUT are shown.
  • Each of the LBAs 302 a - d includes optional block-offset bits (bit 5 to bit 0 ). The block-offset bits correspond to particular sectors in a block.
  • Each LBA 302 a - d is associated with a PBA 304 a - d . Accordingly, each LBAa-d points to an associated PBAa-d, respectively.
  • a PBA is 32-bits long.
  • a sector field 306 contains a string of bits indicating programmed sectors within a block.
  • the write LUT 170 records only the starting LBA for a particular write transaction. For example, if a particular write transaction requires two or more consecutive blocks, the write LUT 170 records the starting LBA.
  • the read LUT 172 provides an index for the flash memory during read transactions and translates LBAs provided by the host system to PBAs of the flash memory.
  • the read LUT 172 contains LBAs 302 ′ a , 302 ′ b , 302 ′ c , and 302 ′ d .
  • the read LUT 172 has the same fields as the write LUT 170 .
  • the read LUT 172 is updated to reflect the changes to the write LUT 170 such that the write and read LUTs 170 and 172 become identical. Once the read LUT is updated, it can be used as an index for read transactions.
  • the PUT 180 performs physical sector mapping and provides a bitmap indicating programmed sectors, i.e., sectors to which data has already been written. Whenever a write transaction occurs, the PUT 180 records the usage information indicating the programmed sectors. This facilitates write transactions in that the processor of the flash memory controller can determine from the PUT 180 which sectors are available for programming or reprogramming.
  • the recycling FIFO 190 recycles non-valid blocks and the recycling process occurs after each successful write transaction. Whenever a block having an obsolete sector is encountered, information regarding that block's physical address is placed in the recycling FIFO 190 indicating it's a non-valid block. After finishing the valid sector copy-relocate operations, recycling FIFO 190 provides address information for performing non-valid block erase operations.
  • the recycling FIFO 190 uses a write pointer 192 as updating FIFO address pointer for non-valid blocks and read pointers 194 and 196 as two read address reference pointers. Read pointer 2 196 is used for background recycling reading reference and read pointer 1 194 is a reference for valid block if the erase-recycling is successful.
  • Read pointer 1 194 should never exceed read pointer 2 196 . Both read pointers 194 and 196 should not overtake write pointer 192 .
  • the copy-relocate (for remaining valid sectors within non-valid blocks) and erase-recycling operations are performed in the background, i.e., independently from write transactions so as to not interfere with the write transactions.
  • FIG. 9 is a block diagram showing in more detail the flash memory 112 of FIG. 7 in accordance with the present invention.
  • the flash memory 112 has a data structure that comprises a data field 402 and a spare field 404 for each PBA.
  • Each field holds a certain number of bytes and the specific number will depend on the application. For example, a data field may have 512 bytes, 2,112, or more bytes, and the spare field can have 16, 64, or more bytes.
  • the data field 402 stores raw data and the spare field 404 stores information related to memory management.
  • the spare field 404 includes a bad block indicator field 406 , an error correction code (ECC) field 408 , an erase count field 410 , and an LBA field 412 . Because the LUT and PUT tables 170 , 172 , and 180 are stored volatile memory and thus do not preserve the valid sector information, the LBA field 412 is used to reconstruct the write and read LUTs 170 , 172 and the PUT 180 during system initialization and power failure.
  • ECC error correction code
  • the bad block indicator field 406 indicates bad blocks.
  • a bad block occurs when an attempt to write to a particular sector or to erase a particular block fails.
  • a special bad block indicator field 414 is located at the last block, a location, which is easier for the firmware to read, especially where there is one bit per sector.
  • four copies of bad block indicators are saved in the last block of the flash memory. Of course fewer or more copies can be utilized.
  • the need for flags in the flash memory is eliminated by the present invention.
  • the only flag used is the valid sector flag used in the LUTs to assist in firmware decision making. This minimizes the complexity with regard to write and read transactions.
  • FIG. 10 is a high-level flow chart showing a method for managing flash memory in accordance with the present invention.
  • a host system receives utilizing a processor within a memory controller, in a step 502 .
  • the request can be a write or read request.
  • the sectors of the flash memory that are available for programming, reprogramming, or reading are determined utilizing the processor and an index within the memory controller, in a step 504 .
  • the host system interacts with the flash memory controller without the host system having information regarding the configuration of the flash memory.
  • the flash memory controller receives a request from the host system in compliance with the USB mass-storage class.
  • the flash memory controller receives a request from the host system in compliance with the USB mass-storage class.
  • FIG. 11 is a flow chart showing a method for transmitting USB mass-storage class service requests in accordance with the present invention.
  • the memory controller receives a request from the host system, in a step 602 .
  • This step can be referred to as a command transport step 602 .
  • the request can be a write or read request. If the request is a write request, a write transaction is performed, in a step 604 . This step can be referred to as a data-out step 604 . If the request is a read request, a read transaction is performed, in a step 606 . This step can be referred to as a data-in step 606 .
  • an acknowledge packet is sent to the host system by the memory controller to confirm completion of the transaction, in a step 608 . This step can be referred to as a status transport step 608 .
  • the command transport step 602 and the data-out step 604 are generally referred to as bulk-out transport steps since data packets are sent out from the host system.
  • the data-in step 606 and the status transport step 608 are generally referred to as bulk-in transport steps since data packets are sent into the host system.
  • FIGS. 12A-C are block diagrams showing a command block wrapper (CBW) 702 , a reduced block command read format (RBC) 704 , and a command status wrapper (CSW) 706 in accordance with the present invention.
  • the USB standard involves three packets per request, which include the CBW 702 , the RBC 704 , and the CSW 706 .
  • the CBW 702 , the RBC 704 , and the CSW 706 packets are also generally referred to as token, data, and acknowledge handshake packets, respectively, and are utilized in the command transport, data-in/out, and status transport steps 602 - 608 of FIG. 11 , respectively.
  • the CBW 702 contains information regarding what data from the host system is to follow.
  • the CBW 702 is 31 bytes long and includes command decoding and direction, and a unique LBA.
  • the LBA in the CBW 702 can include information regarding the file allocation table (FAT) and directory pointers.
  • the CBW 702 also contains the read/write direction in byte 15 as part of the RBC command.
  • the RBC 704 contains information such as data to be written to the flash memory.
  • the RBC 704 is a SCSI RBC.
  • the length of the data can vary and is defined by different USB standard versions, e.g., 64 bytes in USB 1.1, 512 bytes in USB 2.0.
  • the CSW 706 contains information regarding acknowledge procedures and information for terminating a transaction.
  • Byte 12 is a status byte.
  • FIG. 13 is a flow chart showing a method for reading, writing, and erasing in accordance with the present invention.
  • a request is received from the host system, in a step 802 .
  • the request includes the CBW 702 , the RBC 704 , and the CSW 706 .
  • the type of command, whether a write or read request is determined, in a step 804 .
  • registers for the CBW and CSW are initialized, in a step 806 .
  • the sector data FIFO in the flash memory controller is filled, and when 512 bytes of data are ready, a write pointer for the sector data FIFO is incremented and an interrupt is sent to the processor in the flash memory controller, in a step 810 .
  • the write transaction is executed, in a step 812 .
  • an acknowledge packet is sent to the host system confirming that the write transaction was successfully completed, in a step 814 .
  • the firmware of the flash memory controller checks the recycling FIFO status, in a step 820 . If the recycling FIFO is not empty, the recycling FIFO recycles obsolete sectors, in a step 822 .
  • the LBA in the CBW is compared with all existing entries of the sector FIFO, in a step 828 . If there is a match, the requested data is returned to the host system, in a step 830 . Next, an acknowledge packet is sent to the host system confirming that the read transaction was successfully completed, in a step 832 . If there is no match, the requested data is read from the flash memory, in a step 834 . Finally, a status/acknowledge packet is sent to the host system confirming that the read transaction was successfully completed, in a step 836 .
  • FIG. 14 is a high-level flow chart showing a method including a first phase of a write transaction, a second phase of the write transaction, a read transaction, and a recycling operation in accordance with the present invention.
  • a CBW is received, in a step 902 .
  • it is determined whether the request is a write request in a step 904 .
  • the sector FIFO is checked, in a step 906 . If the sector FIFO is not empty, the write transaction is then initiated.
  • the write transaction has two phases.
  • data is written to a particular number of sectors and an acknowledge packet is then sent to the processor of the flash memory controller and to the host system indicating that the write transaction has been completed, in a step 910 .
  • the second phase of the write transaction is initiated. Accordingly, valid sectors are copied from a non-valid block to a new address in another block, in a step 920 .
  • the copy step 920 is accomplished in the background to maintain data coherency.
  • the requested data is fetched from the flash memory using the PBA in the read LUT, in a step 930 .
  • the second phase is executed, in the step 920 .
  • Obsolete sectors are recycled by the recycling FIFO, in a step 940 , when there are no requests being serviced.
  • the firmware of the flash memory controller can return to servicing other requests from the host system.
  • FIGS. 15A-D are block diagrams illustrating exemplary results from first and second phases of a write transaction in accordance with the present invention. To further clarify the above-described features of the present invention, the following example is provided.
  • FIGS. 15A-D show four write transactions including varying-length data strings.
  • FIG. 15D shows a write transaction where data is updated. For ease of illustration, only four sectors per block are shown.
  • Two blocks (PBA 0 and PBA 1 ) of the flash memory 112 have four sectors each.
  • the write LUT 170 writes to six physical sectors of the flash memory 112 , beginning the first physical block (PBA 0 ).
  • PBA 0 the first physical block
  • the flash memory 112 is initially empty.
  • the labels A 0 -A 5 represent data written during the first write transaction.
  • Bits in the PUT 180 corresponding to the sectors of the flash memory 112 show a 1 to indicate that those sectors have been programmed, i.e., occupied.
  • the firmware of the flash memory controller utilizes the PUT 180 to determine the available sectors. Accordingly, those sectors have data that cannot be reprogrammed until first erased but those sectors can be later read.
  • the write LUT 170 having written to the sectors indicates the valid sectors with is.
  • the read LUT 172 information is copied from the write LUT 170 information to reflect the most recent changes. However, the read LUT 172 is copied from the previous version of the write LUT 170 and is ultimately synchronous with the write LUT 170 once the write phases are completed. Accordingly, until the read LUT 172 is updated, it will show the pre-update information of the write LUT 170 with 0 s shown to indicate empty sectors.
  • the write LUT 170 has written new data B in the next available sector in PBA 1 . This is the second write transaction.
  • the write LUT 170 , the PUT 180 , and flash memory block reflect this update.
  • the read LUT 172 has been updated with the prior change but has not yet been updated to reflect the current change.
  • the write LUT 170 has written new data C 0 and C 1 to the next available sectors. This is the third write transaction. Note that the data C 0 and C 1 cross the block boundary as does the data A 0 -A 5 . Again, the write LUT 170 , the PUT 180 , and flash memory blocks reflect this update. The read LUT 172 has been updated with the prior change but has not yet been updated to reflect the current change.
  • the write LUT 170 has written data to update existing data A 0 -A 4 with updated data a 0 -a 4 .
  • the write LUT 170 , the PUT 180 , and the flash memory blocks reflect this update, and the read LUT 172 has been updated with the prior change but has not yet been updated to reflect the current change.
  • the blocks PBA 0 and PBA 1 have become non-valid because the data in some of their sectors became obsolete. Accordingly, those blocks can then be recycled by the recycling FIFO 190 .
  • the recycling FIFO 190 has changed corresponding bits to 0 to indicate this.
  • the write pointer 192 of the recycling FIFO 190 is incremented to point to the next available position to store the nextnon-valid block address.
  • the data A 5 , B, and C 0 are copied to new blocks, which are blocks PBA 3 - 4 to maintain consistency in the write LUT 170 .
  • the write LUT 170 , the PUT 180 , and the flash memory blocks reflect this update.
  • the read LUT 172 will then be updated to reflect the current change. Also both phases of the write transaction are complete, the write and read LUTs 170 and 172 will be identical.
  • FIG. 16 is a flow chart showing a method for implementing the first phase of the write transaction of PBA and sector count updating procedure of FIG. 14 in accordance with the present invention, which basically does index mapping between LBAx and PBAx so that both read and write addresses are kept in tracking.
  • Table 1 (below) is a simplified example of one entry of LUTs and FIFO with assumed 8 sectors per block in flash memory. An entry of 1 means sector data is valid, and 0 means sector is available for use. Please note that LUTs (mapping table) are pointed by LBAx, but FIFO is pointed by Wr_ptr and Rd_ptrs.
  • an LBA and sector count (SC) from host system is evaluated, in a step 1102 .
  • LBA block offset bits are encoded into a sector count, in a step 1104 .
  • the LBA points to a PBA in the flash memory. For example, if LBA is 0010,0101 and sector number is 16, then 0010 will be the initial LBAx block address for both LUT entry pointers. If the sector field of the PUT is 0, i.e., the sector is available, then the sector count register is equal to the CBW sector count and the PBA field of the write LUT will be loaded, in a step 1106 .
  • the sector field of the write LUT is 1, this means the flash sector is used by previous programming, and the write pointer is positioned to the block to be erased, in a step 1108 .
  • the entry of recycling FIFO pointed to by write pointer will be filled by current PBAx, in a step 1110 .
  • the block pointed to by the write pointer will be erased.
  • the sector field in the PUT is set to 1, in a step 1112 , where the PBA indicates that the sector is being used.
  • the sector number in incremented, in a step 1114 .
  • the sector number is compared against the block boundary, in a step 1116 . If the sector number is aligned with the block boundary, the write pointer is incremented, in a step 1118 .
  • the LBA in the write LUT is incremented, in a step 1120 , when flash block boundary is reached.
  • the write LUT is updated with the correct sector number position, in a step 1122 . If the sector number is not aligned with the block boundary, steps 1118 and 1120 are bypassed and the write LUT is updated with the correct sector number position, in a step 1122 .
  • the sector field of write LUT is 0, which means that the flash sector is not used by previous programming, i.e., the write transaction is not finished.
  • the sector count is then compared to the sector count in the CBW, in a step 1124 . If they are the same, PBAx field of LUT pointed by LBAx will be updated in a step 1126 , then proceed to step 1128 . If the sector count register is not equal to the CBW sector count in step 1124 , the sector field will be set to 1 in both index look up tables and data will be written into the flash memory. Next, the sector number is incremented, in a step 1128 . After successful write into flash memory, sector count from CBW is decremented, in a step 1130 .
  • the sector count is checked, in a step 1132 . If the sector count is equal to 0, the first phase of the write transaction terminates. If the sector count is not equal to 0, that means the host system did not send the correct amount of data. Accordingly, the sector FIFO is checked to determine whether there is any more available data, in a step 1134 . If not, a time-out sequence is executed, in a step 1136 , to flag an abnormal flow termination, and the sector FIFO is continually checked until sufficient data is available. If there is more available data in the sector FIFO, the sector number is compared against the block boundary, as in the step 1116 .
  • FIG. 17 is a flow chart showing a method for implementing the second phase of the write transaction of FIG. 14 in accordance with the present invention.
  • the pointer values of the write and read pointers are compared, in a step 1202 .
  • the sector field from the recycling FIFO entry pointed to by the read pointer indicates that a valid sector needs to be copied to a new PBA in order to achieve consistency in the write LUT.
  • the read LUT is updated to be identical to the write LUT, in a step 1204 .
  • the sector number pointed to by the read pointer is checked, in a step 1206 . If the sector number is equal to 1, the data in that sector is copied to a new block, in a step 1208 .
  • the sector number in the PUT is set to 1, in a step 1210 .
  • the write LUT sector field is updated, in a step 1212 .
  • the read LUT sector field is updated, in a step 1214 .
  • the sector number is incremented, in a step 1216 . Referring back to the step 1206 , if the sector number is not equal to 1, the sector number is incremented, as in the step 1216 .
  • the sector copying process will be completed as long as the sector number reaches the block boundary.
  • the sector number is compared against the block boundary, in a step 1218 . If the sector number is aligned with the block boundary, the read pointer is incremented, in a step 1220 . Next, the read pointer is compared with the write pointer, as in the step 1202 . If in the step 1218 , the sector number is not aligned with the block boundary, the sector number pointed to by the read pointer is checked, as in the step 1206 .
  • FIG. 18 is a flow chart showing a method for implementing the read transaction of FIG. 14 in accordance with the present invention.
  • a CBW is received and recognized as read request, and an LBA and sector count is loaded from the CBW, in a step 1302 .
  • the LBA of the write LUT is translated into a corresponding PBA and sector number, in a step 1304 .
  • the sector field bit is checked, in a step 1306 . If the sector field bit is equal to 1, the data is read, the sector count is decremented, and the sector number is incremented in preparation for the next read transaction, in a step 1308 .
  • the sector field bit is not equal to 1, i.e., equal to 0, the LBA of the read LUT is translated into a corresponding PBA, in a step 1309 . Then the data is read, the sector count is decremented, and the sector number is incremented, as in the step 1308 .
  • an error correction code (ECC) calculation is performed, in a step 1310 .
  • ECC error correction code
  • the ECC result is compared with a value read from the flash spare field, in a step 1312 . If the values are identical, the sector count is checked, in a step 1314 . If the values are not identical, an ECC correction is performed, in a step 1316 , and then the sector count is checked, as in the step 1314 . If the sector count has reached 0, i.e., equals 0, the read process terminates. If the sector count has not reached 0, the block boundary will also be checked, in a step 1317 . If the sector number is not aligned with the block boundary, the read LUT is updated with the correct sector number position, in a step 1318 . If the sector number is aligned with the block boundary, the LBA in the read LUT is incremented, in a step 1320 , and then the read LUT is updated with the correct sector number position, as in the step 1318 .
  • a read transaction is executed immediate after a first phase of a write transaction.
  • the read transaction has a higher priority than the second phase of a previous write transaction. This ensures optimal responses by the flash memory system.
  • a read transaction is significantly faster than a write transaction and read transactions do not result in bad block situations, which only occur during write transactions and erase operations.
  • a read transaction differs from a disk cache function whenever the contents in the sector FIFO are available. This can happen when the LBA in the read LUT matches the previous LBA in the write LUT.
  • the disk cache concept is borrowed from magnetic hard disk concepts and applied to small-capacity flash storage. This feature is typically disabled to save cache cost.
  • FIG. 19 is a flow chart showing a method for implementing the recycling operation of FIG. 14 in accordance with the present invention.
  • the recycling FIFO is checked, in a step 1402 . If the recycling FIFO is empty, the recycling operation terminates. If the recycling FIFO is not empty, the read pointer 2 is checked, in a step 1404 , background erasing operation happens in this case, once erasing is successful, read pointer 1 is incremented for another valid block reprogramming address checking operation. The two read pointers should not overtake the write pointer. However, the write pointer may loop back to its original starting position if both read pointers are executed. If the read pointer 2 is positioned over the write pointer, the recycling operation terminates.
  • the read pointer 2 is not positioned over the write pointer, the corresponding bit in the PUT is cleared, i.e., 0, in a step 1406 , to indicate that the physical block is now available for reprogramming.
  • the read pointer 2 is positioned to point to the block to be erased, in a step 1408 .
  • the read pointer 2 is incremented after successful erasing, in a step 1410 , for the next write address checking operation.
  • Pointer comparison for the recycling FIFO can be achieved by adding one more bit to the index of both the write and read pointers. For example, if the recycling FIFO contains eight PBA entries, four bits instead of three bits will be used for the pointers. The write pointer will start from 0 and increment to 7 and then cycle back to 0. The write pointer value should always be at least equal to or greater than the read pointers. When they are equal, it means that the recycling FIFO is empty. The depth, i.e., the number of entries, of the recycling FIFO affects the tradeoff between line-copy speed and the erase speed. Too few entries makes the recycling FIFO less optimal.
  • the flash memory controller of the present invention can perform multiple-block data access.
  • the conventional flash memory device has a 512-byte page register built-in.
  • the data write to the flash memory device has to write to the page register first and then to a flash memory cell.
  • the conventional flash memory controller controls the flash memory access cycles.
  • the conventional flash memory controller transfers one single block (512 bytes) of data to the page register of the flash memory device at a time. No other access to the flash memory is allowed once the 512 bytes page register is filled. Consequently, the conventional flash memory controller, which uses the single-block data access methodology, limits the performance of flash memory devices.
  • the flash memory controller utilizes a 2K or larger size page register.
  • the flash memory controller of the present invention functions as a multiple-block access controller by sending multiple blocks of data simultaneously to a flash memory to fill up the page register. This significantly improves the performance of the data transfer. Compared to the conventional single-block data-transfer controller, which transfers a single block at a time, the data transfer performance using the flash memory controller of the present invention is significantly improved.
  • the flash memory controller of the present invention can also provide dual channel processing to improve performance of the flash memory system. Dual channeling provides a second channel, or “freeway,” for executing transactions between the flash memory controller and the flash memory device.
  • a conventional flash memory controller uses a single memory bus such that one or more flash memory devices attached to it. However, the conventional architecture limits the performance of the conventional flash memory controller.
  • each set of memory buses is coupled to separate flash memory devices.
  • the memory controller can access flash memory devices together or separately.
  • transactions can be executed twice as fast utilizing dual channel processing.
  • each memory bus can also be further expanded to multiple sets of memory buses.
  • the flash memory controller of the present invention can also interleave operations.
  • a conventional flash memory controller uses a single set of memory buses such that one or more flash memory devices are attached to it.
  • the conventional flash memory controller can only access the flash memory devices one at a time. Accordingly, the conventional architecture limits the performance of the conventional flash memory controller.
  • At least one or two extra sets of memory control signals are utilized.
  • a shared memory bus having at least two banks of flash memory devices are attached to the shared memory bus.
  • the flash memory controller of the present invention can access one bank of flash memory devices while the other bank is busy reading or writing. Accordingly, the flash memory controller of the present invention fully utilizes the shared memory bus and thus significantly increase the performance. Furthermore, the number of pins of the flash memory controller are reduced by sharing memory I/O and control signals. This minimizes the cost to make flash memory devices.
  • one in the art can integrate functions of multiple block access, multiple bank interleaving, and multiple channel operations together in a memory access cycle of a single chip to achieve maximum performance.
  • the flash memory controller can be applied to USB as well as PCI-Express plug and receptacle systems. Also, the flash memory controller can be applied to other embodiments involving SD, MMC, MS, CF, IDE, and SATA plug and receptacle systems.
  • the present invention provides numerous benefits. For example, it shifts the management of the flash memory and related intelligence from the host system to the flash memory controller so that the host system interacts with the flash memory controller without the host system having information regarding the configuration of the flash memory.
  • the flash memory controller provides LBA-to-PBA translation, obsolete sector recycling, and wear leveling. Furthermore, the recycling operations are performed in the background. Furthermore, flash specific packet definitions and flags in the flash memory are eliminated.
  • the flash memory controller provides multiple-block data access, dual channel processing, and multiple bank interleaving. Consequently, speeds at which data is written to and read from the flash memory is significantly increased while the flash memory remains compatible with the USB standard and ASIC architecture.
  • a system and method in accordance with the present invention for controlling flash memory comprise a processor for receiving at least one request from a host system, and an index, which comprises look-up tables (LUTs) and a physical usage table (PUT).
  • the index translates logical block addresses (LBAs) provided by the host system to physical block addresses (PBAs) in the flash memory.
  • LBAs logical block addresses
  • PBAs physical block addresses
  • the index also contains intelligence regarding the flash memory configuration.
  • the processor can utilize the index to determine the sectors of the flash memory that are available for programming, reprogramming, or reading.
  • the flash memory controller further comprises a recycling first-in-first-out (FIFO) that recycles blocks having obsolete sectors so that they are available for reprogramming.
  • FIFO recycling first-in-first-out
  • the recycling operation involves copy and erase operations, and is performed in the background and thus hidden from the host system. Accordingly, the management of the flash memory and related intelligence resides in the flash memory controller instead of in the host system. As a result, the host system interacts with the flash memory controller without the host system having information regarding the configuration of the flash memory. Consequently, speeds at which data is written to and read from the flash memory is significantly increased while the flash memory remains compatible with the USB standard and ASIC architecture.

Abstract

An electronic data flash card is accessible by a host computer, and includes a processing unit connected to a flash memory device that stores a data file, and an input— output interface circuit activated so as to establish a communication with the host computer. In an embodiment, the electronic data flash card uses a USB input/output interface circuit for communication with the host computer. A flash memory controller includes an index for converting logical addresses sent by the host computer into physical addresses associated with sectors of the flash memory device. The index is controlled by arbitration logic referencing to values from various look up tables and valid data stored in the flash memory device. The flash memory controller further includes a first-in-first-out unit (FIFO) for recycling obsolete sectors of the flash memory device in the background process so that they are available for reprogramming.

Description

    RELATED APPLICATIONS
  • This application is a divisional of U.S. patent application for “FLASH MEMORY CONTROLLER FOR ELECTRONIC DATA FLASH CARD”, U.S. application Ser. No. 11/466,759, filed Aug. 23, 2006, which is a continuation-in-part of U.S. patent application for “ELECTRONIC DATA STORAGE MEDIUM WITH FINGERPRINT VERIFICATION CAPABILITY”, U.S. application Ser. No. 09/478,720, filed Jan. 6, 2000, a continuation-in-part of U.S. patent application for “ELECTRONIC DATA FLASH CARD WITH FINGERPRINT VERIFICATION CAPABILITY”, U.S. application Ser. No. 11/458,987, filed Jul. 20, 2006, which is a continuation-in-part of U.S. patent application for “HIGHLY INTEGRATED MASS STORAGE DEVICE WITH AN INTELLIGENT FLASH CONTROLLER”, U.S. application Ser. No. 10/761,853, filed Jan. 20, 2004, and a continuation-in-part of U.S. patent application for “SYSTEM AND METHOD FOR CONTROLLING FLASH MEMORY”, U.S. application Ser. No. 10/789,333, filed Feb. 26, 2004.
  • FIELD OF THE INVENTION
  • The invention relates to electronic data flash cards, more particularly to a system and method for controlling flash memory in an electronic data flash card.
  • BACKGROUND OF THE INVENTION
  • Confidential data files are often stored in floppy disks or are delivered via networks that require passwords or that use encryption coding for security. Confidential documents are sent by adding safety seals and impressions during delivery. However, confidential data files and documents are exposed to the danger that the passwords, encryption codes, safety seals and impressions may be broken (deciphered), thereby resulting in unauthorized access to the confidential information.
  • As flash memory technology becomes more advanced, flash memory is replacing traditional magnetic disks as storage media for mobile systems. Flash memory has significant advantages over floppy disks or magnetic hard disks such as having high-G resistance and low power dissipation. Because of the smaller physical size of flash memory, they are also more conducive to mobile systems. Accordingly, the flash memory trend has been growing because of its compatibility with mobile systems and low-power feature. However, advances in flash technology have created a greater variety of flash memory device types that vary for reasons of performance, cost and capacity. As such, a problem arises when mobile systems that are designed for one type of flash memory are constructed using another, incompatible type of flash memory.
  • New generation personal computer (PC) card technologies have been developed that combine flash memory with architecture that is compatible with the Universal Serial Bus (USB) standard. This has further fueled the flash memory trend because the USB standard is easy to implement and is popular with PC users. In addition to replacing hard drives, flash memory is also replacing floppy disks because flash memory provides higher storage capacity and faster access speeds than floppy drives.
  • However, the USB standard has several features that require additional processing resources. These features include fixed-frame times, transaction packets, and enumeration processes. For better optimization, these features have been implemented in application-specific integrated circuits (ASICs).
  • A problem with USB mass-storage devices is that they are slow. The USB interface is significantly slower than IDE (Integrated Drive Electronics) interface in particular. This is because of the overhead associated with the USB standard, which include additional resources required for managing USB commands and handshake packets. Bulk-only transactions introduced by the USB standard have relieved some resources but only if the USB traffic is not too busy.
  • In addition to the limitations introduced by the USB standard, there are inherent limitations with flash memory. First, flash memory sectors that have already been programmed must be erased before being reprogrammed. Also, flash memory sectors have a limited life span; i.e., they can be erased only a limited number of times before failure. Accordingly, flash memory access is slow due to the erase-before-write nature and ongoing erasing will damage the flash memory sectors over time.
  • To address the speed problems with USB-standard flash memory, hardware and firmware utilize existing small computer systems interface (SCSI) protocols so that flash memory can function as mass-storage devices similarly to magnetic hard disks. SCSI protocols have been used in USB-standard mass-storage devices long before flash memory devices have been widely adopted as storage media. Accordingly, the USB standard has incorporated traditional SCSI protocols to manage flash memory.
  • A problem with SCSI protocols is that they do not include an erase command to address the erase-before-write nature of flash memory. Accordingly, the erase operation is handled by the host system, which further ties up the host system resources.
  • Some solutions have been introduced that involve new USB packet definitions such as write flash, read flash, and erase flash definitions. However, these definitions are not an efficient way to handle flash memory because they introduce additional protocols that require additional computing resources at the host system. They also do not address the sector-wear issues.
  • Another solution provides a driver procedure for flash memory write transactions. This procedure has three different sub-procedures. Generally, the data of a requested flash memory address is first read. If there is data already written to that address, the firmware executes an erase command. Then, if the erase command executes correctly, the firmware executes a write request. However, this driver procedure utilizes protocols that require additional computing resources at the host system.
  • Another solution provides a flash sector format that has two fields: a data field and a spare field. The spare field contains control data that include flags that facilitate in the management of the sectors. However the flags introduce ASIC complexity when the host system writes to the sectors.
  • Disadvantages of many of the above-described and other known arrangements include additional host system resources required to process special protocols and the resulting added processing time required for managing flash memory.
  • Accordingly, what is needed is an electronic data flash card that includes an intelligent processing unit for flexible flash memory type support.
  • What is also needed is an improved system and method for controlling flash memory. The system and method should be able to comply with the USB standard, should be suitable for ASIC hardware implementation, and should be simple, cost effective and capable of being easily adapted to existing technology.
  • SUMMARY OF THE INVENTION
  • The present invention is generally directed to an electronic data flash card including a flash memory device, a fingerprint sensor, an input-output interface circuit and a processing unit. The electronic data flash card is adapted to be accessed by a host (external) computer such as a personal computer, notebook computer or other electronic host device. As an electronic data flash card is easier to carry and durable for ruggedness, personal data can be stored inside the flash memory device in an encrypted form such that it can only be accessed, for example, by way of a fingerprint sensor associated with card body to make sure unauthorized person cannot misuse the card.
  • In accordance with an aspect of the invention, a flash memory controller is part of the processing unit to control the operation of the flash memory device. The processing unit is connected to the flash memory device and the input/output interface circuit. The flash memory controller logic includes a flash type algorithm for detecting whether the flash memory device is of a flash type that is supported by the flash memory controller logic. By storing the dynamic portion of the flash detection algorithm code along with the confidential data in at least one flash memory device, not only can the ROM size of the electronic data flash card be reduced, but new flash types can be supported without hardware alteration simply by changing the dynamic portion of the flash detection algorithm stored in the flash memory. The overall cost is reduced and the unnecessary development time is also eliminated.
  • In accordance with another embodiment of the present invention, the processing unit of an electronic data flash card is operable selectively in a programming mode, a data retrieving mode, and a resetting mode. When the processing unit is in the programming mode, the processing unit activates the input/output interface circuit to receive the confidential data file from the host computer, and to store the data file in the flash memory device. When the processing unit is in the data retrieving mode, the processing unit activates the input/output interface circuit to transmit the data file to the host computer. In the data resetting mode, the data file (and the reference fingerprint data) is/are erased from the flash memory device.
  • In one embodiment, the processing unit is a microprocessor including one of an 8051, 8052, 80286, RISC, ARM, MIPS or digital signal processor.
  • In accordance with an embodiment of the present invention, the input/output (I/O) interface circuit is a USB interface circuit.
  • In accordance with another embodiment of the present invention, a USB flash device transfers high-speed data between computers using only the Bulk-Only Transfer (BOT) protocol. BOT is a more efficient and faster transfer protocol than command/bulk/interrupt (CBI) protocol because BOT transport of command, data, status rely on Bulk endpoints in addition to default Control endpoints.
  • In accordance with another embodiment of the present invention, the flash memory controller includes a processor for receiving at least one request from a host system. The flash memory controller further includes an index including information regarding sectors of a flash memory. The processor utilizes the index to determine the sectors of the flash memory that are available for programming, reprogramming, or reading. In another aspect of the present invention, the flash memory controller further includes a first-in-first-out unit (FIFO) for recycling obsolete sectors so that they are available for reprogramming.
  • According to the system and method disclosed herein, the host system interacts with the flash memory controller without the host system having information regarding the configuration of the flash memory. Consequently, speeds at which data is written to and read from flash memory is significantly increased while the flash memory remains compatible with the USB standard and ASIC architecture.
  • BRIEF DESCRIPTION OF THE DRAWING
  • Other features and advantages of the present invention will become apparent in the following detailed description of the preferred embodiment with reference to the accompanying drawings, of which:
  • FIG. 1 is a block diagram showing an electronic data flash card with fingerprint verification capability in accordance with an embodiment of the present invention.
  • FIG. 2 is a schematic circuit block diagram illustrating an electronic data flash card according to another embodiment of the present invention.
  • FIG. 3 is a block diagram of a processing unit utilized in an electronic data flash card in accordance with another embodiment of the present invention.
  • FIG. 4A is a flow chart showing a process for detecting a flash memory type in accordance with an embodiment of the present invention.
  • FIG. 4B is a block diagram showing a portion of an electronic data flash card according to another embodiment of the present invention.
  • FIG. 5A is a block diagram illustrating an 8-bit access with 8-bit data flash memory.
  • FIG. 5B is a block diagram illustrating a 16-bit access with 16-bit data flash memory.
  • FIG. 5C is a block diagram illustrating a 16-bit dual channel access with two 8-bit data flash memories via a single control.
  • FIG. 5D is a block diagram illustrating a 16-bit interleave channel access with two 8-bit data flash memories via separate controls according to an embodiment of the present invention.
  • FIG. 6 is a schematic circuit block diagram illustrating an electronic data flash card according to another embodiment of the present invention.
  • FIG. 7 is a block diagram of a flash memory system including a flash memory controller and a flash memory in accordance with the present invention.
  • FIG. 8 is a block diagram showing in more detail the write look-up table, the read look-up table, the physical usage table, and the recycling first-in-first-out unit of FIG. 7 in accordance with the present invention.
  • FIG. 9 is a block diagram showing in more detail the flash memory of FIG. 7 in accordance with the present invention.
  • FIG. 10 is a high-level flow chart showing a method for managing flash memory in accordance with the present invention.
  • FIG. 11 is a flow chart showing a method for transmitting USB mass-storage class service requests in accordance with the present invention.
  • FIGS. 12A, 12B and 12C are block diagrams showing a command block wrapper, a reduced block command read format, and a command status wrapper in accordance with the present invention.
  • FIG. 13 is a flow chart showing a method for reading, writing, and erasing in accordance with the present invention.
  • FIG. 14 is a high-level flow chart showing a method including a first phase of a write transaction, a second phase of the write transaction, a read transaction, and a recycling operation in accordance with the present invention.
  • FIGS. 15A, 15B, 15C and 15D are block diagrams illustrating exemplary results from first and second phases of a write transaction in accordance with the present invention.
  • FIG. 16 is a flow chart showing a method for implementing the first phase of the write transaction of FIG. 14 in accordance with the present invention.
  • FIG. 17 is a flow chart showing a method for implementing the second phase of the write transaction of FIG. 14 in accordance with the present invention.
  • FIG. 18 is a flow chart showing a method for implementing the read transaction of FIG. 14 in accordance with the present invention.
  • FIG. 19 is a flow chart showing a method for implementing the recycling operation of FIG. 14 in accordance with the present invention.
  • DETAILED DESCRIPTION
  • Referring to FIG. 1, according to an embodiment of the present invention, an electronic data flash card 10 is adapted to be accessed by an external (host) computer 9 either via an interface bus 13 or a card reader 12 or other interface mechanism (not shown), and includes a card body 1, a processing unit 2, one or more flash memory devices 3, a fingerprint sensor 4, an input/output interface circuit 5, an optional display unit 6, an optional power source (e.g., battery) 7, and an optional function key set 8.
  • Flash memory device 3 is mounted on the card body 1, stores in a known manner therein one or more data files, a reference password, and the reference fingerprint data obtained by scanning a fingerprint of one or more authorized users of the electronic data flash card 10. Only authorized users can access the stored data files. The data file can be a picture file or a text file.
  • The fingerprint sensor 4 is mounted on the card body 1, and is adapted to scan a fingerprint of a user of electronic data flash card 10 to generate fingerprint scan data. One example of the fingerprint sensor 4 that can be used in the present invention is that disclosed in a co-owned U.S. Pat. No. 6,547,130, entitled “INTEGRATED CIRCUIT CARD WITH FINGERPRINT VERIFICATION CAPABILITY”, the entire disclosure of which is incorporated herein by reference. The fingerprint sensor described in the above patent includes an array of scan cells that defines a fingerprint scanning area. The fingerprint scan data includes a plurality of scan line data obtained by scanning corresponding lines of array of scan cells. The lines of array of scan cells are scanned in a row direction as well as column direction of said array. Each of the scan cells generates a first logic signal upon detection of a ridge in the fingerprint of the holder of card body, and a second logic signal upon detection of a valley in the fingerprint of the holder of card body.
  • The input/output interface circuit 5 is mounted on the card body 1, and can be activated so as to establish communication with the host computer 9 by way of an appropriate socket via an interface bus 13 or a card reader 12. In one embodiment, input/output interface circuit 5 includes circuits and control logic associated with a Universal Serial Bus (USB), PCMCIA or RS232 interface structure that is connectable to an associated socket connected to or mounted on the host computer 9. In another embodiment, the input/output interface circuit 5 may include one of a Secure Digital (SD) interface circuit, a Multi-Media Card (MMC) interface circuit, a Compact Flash (CF) interface circuit, a Memory Stick (MS) interface circuit, a PCI-Express interface circuit, a Integrated Drive Electronics (IDE) interface circuit, and a Serial Advanced Technology Attachment (SATA) interface circuit, which interface with the host computer 9 via an interface bus 13 or a card reader 12.
  • The processing unit 2 is mounted on the card body 1, and is connected to the flash memory device 3, the fingerprint sensor 4 and the input/output interface circuit 5 by way of associated conductive traces or wires disposed on card body 1. In one embodiment, processing unit 2 is one of an 8051, 8052, 80286 microprocessors available, for example, from Intel Corporation. In other embodiments, processing unit 2 includes a RISC, ARM, MIPS or other digital signal processors (DSP). In accordance with an aspect of the present invention, processing unit 2 is controlled by a program stored at least partially in flash memory device 3 such that processing unit 2 is operable selectively in: (1) a programming mode, where the processing unit 2 activates the input/output interface circuit 5 to receive the data file and the reference fingerprint data from the host computer 9, and to store the data file and the reference fingerprint data in flash memory device 3; (2) a data retrieving mode, where the processing unit 2 activates the input/output interface circuit 5 to transmit the data file stored in flash memory device 3 to the host computer 9; and (3) a data resetting mode, where the data file and the reference finger data are erased from the flash memory device 3. In operation, host computer 9 sends write and read requests to electronic data flash card 10 via interface bus 13 or a card reader 12 and input/output interface circuit 5 to the processing unit 2, which in turn utilizes a flash memory controller (not shown) to read from or write to the associated one or more flash memory devices 3. In one embodiment, for further security protection, the processing unit 2 automatically initiates operation in the data resetting mode upon detecting that a preset time period has elapsed since the last authorized access of the data file stored in the flash memory device 3.
  • The optional power source 7 is mounted on the card body 1, and is connected to the processing unit 2 and other associated units on card body 1 for supplying electrical power thereto.
  • The optional function key set 8, which is mounted on the card body 1, is connected to the processing unit 2, and is operable so as to initiate operation of processing unit 2 in a selected one of the programming, data retrieving and data resetting modes. The function key set 8 is operable to provide an input password to the processing unit 2. The processing unit 2 compares the input password with the reference password stored in the flash memory device 3, and initiates authorized operation of electronic data flash card 10 upon verifying that the input password corresponds with the reference password.
  • The optional display unit 6 is mounted on the card body 1, and is connected to and controlled by the processing unit 2 for showing the data file exchanged with the host computer 9 and for displaying the operating status of the electronic data flash card 10.
  • The following are some of the advantages of the present invention: first, the electronic data flash card has a small volume but a large storage capability, thereby resulting in convenience during data transfer; and second, because everyone has a unique fingerprint, the electronic data flash card only permits authorized persons to access the data files stored therein, thereby resulting in enhanced security.
  • Additional features and advantages of the present invention are set forth below.
  • FIG. 2 is a block diagram of an electronic data flash card 10A in accordance with an alternative embodiment of the present invention that omits the fingerprint sensor and the associated user identification process. The electronic data flash card 10A includes a highly integrated processing unit 2A including an input/output interface circuit 5A and a flash memory controller 21 for integration cost reduction reasons. Input/output interface circuit 5A includes a transceiver block, a serial interface engine block, data buffers, registers and interrupt logic. Input/output interface circuit 5A is coupled to an internal bus to allow for the various elements of input/output interface circuit 5A to communicate with the elements of flash memory controller 21. Flash memory controller 21 includes a microprocessor unit, a ROM, a RAM, flash memory controller logic, error correction code logic, and general purpose input/output (GPIO) logic. In one embodiment, the GPIO logic is coupled to a plurality of LEDs for status indication such as power good, read/write flash activity, etc., and other I/O devices. Flash memory controller 21 is coupled to one or more flash memory devices 3.
  • In this embodiment, host computer 9A includes a function key set 8A, is connected to the processing unit 2A via an interface bus or a card reader when electronic data flash card 10A is in operation. Function key set 8A is used to selectively set electronic data flash card 10A in one of the programming, data retrieving and data resetting modes. The function key set 8A is also operable to provide an input password to the host computer 9A. The processing unit 2A compares the input password with the reference password stored in the flash memory device 3, and initiates authorized operation of electronic data flash card 10A upon verifying that the input password corresponds with the reference password.
  • Also in this embodiment, a host computer 9A includes display unit 6A, is connected to the processing unit 2A when electronic data flash card 10A is in operation via an interface bus or a card reader. Display unit 6A is used for showing the data file exchanged with the host computer 9A, and for showing the operating status of the electronic data flash card 10A.
  • FIG. 3 shows processing unit 2A in additional detail. Electronic data flash card 10A includes a power regulator 22 for providing one or more power supplies to processing unit 2A. The power supplies provide different voltages to associated units of electronic data flash card 10A according to the power requirements. Capacitors (not shown) may be required for power stability. Electronic data flash card 10A includes a reset circuit 23 for providing a reset signal to processing unit 2A. Upon power up, reset circuit 23 asserts reset signal to all units. After internal voltages reach a stable level, the reset signal is then de-asserted, and resisters and capacitors (not shown) are provided for adequate reset timing adjustment. Electronic data flash card 10A also includes a quartz crystal oscillator (not shown) to provide the fundamental frequency to a PLL within processing unit 2A.
  • In accordance with an embodiment of the invention, input/output interface circuit 5A, reset circuit 23, and power regulator 22 are integrated or partially integrated within processing unit 2A. The high integration substantially reduces the overall space needed, the complexity, and the cost of manufacturing.
  • Compactness and cost are key factors to removable devices such as the electronic data flash cards described herein. Modern IC packaging can integrate discrete IC components with different technology and material into one IC package. For example, the input/output interface circuit is analog and digital mixed circuitry, which can be integrated into the MCP (Multi-Chip Package) package with the processing unit. The reset circuit and power regulator are analog circuitry, which can also be integrated into the MCP (Multi-Chip Package) package with the processing unit.
  • The nature of mixed signal IC technology allows the hybrid integration of both analog and digital circuitry. Therefore, higher integration can be incorporated into the same die for processing unit 2A which includes input/output interface circuit 5A, flash memory controller 21, reset circuit 23 and power regulator 22.
  • In an alternative embodiment, a processing unit 2, input/output interface circuit 5, and power regulator 22 and a reset circuit 23 are integrated or partially integrated using Multi-Chip Package technology or mixed signal IC technology.
  • Advances in flash technology have created a greater variety of flash memory device types that vary for reasons of performance, cost and capacity. For example, Multi Bit Cell (MBC) Flash memory devices have higher capacity than Single Bit Cell (SBC) flash memory devices for the same form factor. AND or Super-AND flash memory have been created to circumvent intellectual property issues associated with NAND flash memory. Also, a large page size (2K Bytes) flash memory has better write performance against a small page size (512 Bytes) flash memory. Further, the rapid development of flash memory has resulted in devices with higher capacities. To support these various flash memory types, the flash memory controller must be able to detect and access them accordingly.
  • Due to the potential shortage, cost reason, the need for sourcing flexibility of flash memories, and the fact that unique control is required to access each different flash type, it is important to implement a processing unit with intelligent algorithm to detect and access the different flash memory device types.
  • Typical flash memory devices contains ID code which identifies the flash type, the manufacturer, and the features of the flash memory such as page size, block size organization, capacity, etc. In accordance with an embodiment of the present invention, the processing unit of an electronic data flash card performs a flash detection operation at system power up to determine whether the one or more flash memory devices of the electronic data flash card are supported by the existing flash memory controller.
  • FIG. 4A illustrates a flash detection algorithm in accordance with the present invention. First, the processing unit is reset (block 410). Next, the ID of the flash memory is read to identify the flash memory type (block 420). The read ID is then compared against the table of flash types that are supported by the existing flash memory controller (block 430). If the flash type is not supported (block 435), the flash memory controller will not be able to access the flash memory, and the incompatibility can be indicated by LED via an output port of the controller. If the flash type is supported, the flash memory controller will be configured to the access mode corresponding to that detected flash type (block 440), and then the flash memory controller begins accessing the flash memory (block 450).
  • Electronic data flash cards are flash memory systems using flash memories for data storage. For example, as indicated in FIG. 4B, electronic data flash card 10A includes processing unit 2A, flash memory 3A, random-access memory (RAM) 24, and read-only memory (ROM) 25, with the boot code (BC) and operating system (OS) code residing in ROM 25. Upon power up, processing unit 2A fetches and executes the boot code from ROM 25, which initializes the system components and loads the OS code from ROM 25 into RAM 24. Once the OS code is loaded into the RAM 24, it takes control of the system. The OS includes drivers to perform basic tasks such as controlling and allocating memory, prioritizing the processing of instructions, controlling input and output ports etc. The OS code also includes the flash detection algorithm code and the flash parametric data.
  • Because of the permanent nature of data stored in a ROM, after the flash memory controller of a conventional electronic data flash card is designed and put into production, the software in ROM is frozen and cannot be changed to support new flash types released to the market at a later time. In such a situation, the development of a new flash memory controller has to support new flash memories from time to time, which is costly and time consuming.
  • Referring again to FIG. 4B, in accordance with another embodiment of the present invention, electronic data flash card 10A includes a flash detection algorithm code that is separated into a static portion 26 and a dynamic portion 27, with the static portion 26 handling contemporary flash memories, and the dynamic portion 27 taking control of the detection process after the static portion fails to identify the particular flash memory device implemented in the electronic data flash card. That is, when electronic data flash card 10A is manufactured using an “old” type flash memory device, then the flash detection algorithm code recognizes the flash device ID during the power up process, and utilizes static portion 26 to execute read and write the “old” type flash memory device. Conversely, when a particular electronic data flash card having the novel configuration is manufactured using a “new” type flash memory device (e.g., 3A, shown in FIG. 4B), then the flash detection algorithm code recognizes the flash device ID during the power up process, and utilizes dynamic portion 27 to execute read and write operations to “new” type flash memory device 3A. With this configuration, static portion 26 of the flash detection algorithm code is stored in ROM 25, but dynamic portion 27 of the flash detection algorithm code is stored in at least one flash memory device 3A of electronic data flash card 10A. By storing dynamic portion 27 along with data (not shown) in at least one flash memory device 3A, not only can the size of ROM 25 be reduced, new flash types can be supported without hardware alteration. That is, if at some point the decision is made to implement a “new” flash memory type (i.e., that is not supported by the static portion), instead of having to replace the entire ROM, the process simply requires storing a suitable dynamic portion of the flash algorithm code in the one or more flash memory device. Because the default access and reading of the dynamic portion is already incorporated into execution of the flash detection algorithm code, the content of the dynamic portion can be altered without affecting operation of the flash detection algorithm code. Thus, overall manufacturing costs are reduced, and unnecessary development time is also eliminated.
  • Because data storing and reading in a flash memory device is necessary for access and verification purpose, speed is also a major concern of the device performance. According to additional aspects of the present embodiment set forth below, a method of dual-channel parallel and interleave access flash is implemented in an electronic data flash card for faster performance than is possible using conventional methods.
  • A typical electronic data flash card uses a flash memory with single-channel (8-bit) data bus, as shown in FIG. 5A. With multiple-channel data bus, more data bits can be read from or write to the flash memories simultaneously, thereby the access speed is enhanced. For example, dual-channel (16-bit) data bus can double the access speed to the flash memory, quad-channel (32-bit) data can increase the access speed by 4 times, and so on. Electronic data flash card with dual-channel data width can be realized by one 16-bit wide flash memory as illustrated in FIG. 5B, by two 8-bit wide flash memories via a single control as illustrated in FIG. 5C, or by two 8-bit wide flash memories via separate controls as illustrated in FIG. 5D.
  • Electronic data flash card 10B, which is depicted in FIG. 5D, includes separate control and I/O connections for each flash memory device 3B1 and 3B2, thereby enabling interleaved programming that enhances system speed and avoids peak power consumption. Flash memory devices consume higher power in the programming (writing) mode, in which data is transferred from page register into the flash cells of the memory array, than in any other operating mode (e.g., reading data from the flash cells, or writing memory to the page register from an external source). In accordance with the present invention, interleaved programming of flash memory devices 3B1 and 3B2 involves “write staggering”, wherein flash memory controller 21B enables one flash memory device (e.g., flash memory device 3B1) to program (write) data from its page register into its flash memory array while the other flash memory devices (e.g., flash memory device 3B2) are limited to non-programming operations (e.g., enabled to receive data from flash memory controller 21B to the page register (i.e., no writing is performed in flash memory device 3B2 while a write operation is being performed by flash memory device 3B1). This avoids operating multiple flash memories in programming mode at the same time, and increases the speed of flash memory access by allowing the throughput for access to each flash memory device 3B1 and 3B2 to match the speed of the host computer interface standard. In addition to enhancing access speed, this interleave access approach allows the system to avoid peak power consumption that can be caused by writing multiple flash devices at the same time.
  • The various novel aspects described above may be implemented together or independently while remaining within the spirit and scope of the present invention. For example, FIG. 6 shows an electronic data flash card (or electronic data storage medium, or integrated circuit card) 10C according to yet another embodiment of the present invention. Electronic data flash card 10C is adapted to be accessed by a host computer 9A via an interface bus or card reader (i.e., communication link), and includes a card body 1C, a processing unit 2C including a flash memory controller 21C and an input/output interface circuit 5C, and one or more flash memory devices 3C in according to one or more of the embodiments described above. Electronic data flash card 10C could be the functional subsystem for electronic data flash card 10A (described above), and also could be a functional subsystem for other applications.
  • Flash memory device 3C is controlled through commands generated by flash memory controller 21C, and stores a data file in the flash memory device.
  • Processing unit 2C is connected to flash memory device, said input/output interface circuit. Flash memory controller 21C inside processing unit 2C controls flash memory device 3C utilizing one or more of the methods described above. In one embodiment, flash memory controller 21C executes a flash type algorithm that determines if flash memory device 3C is supported by the static portion of the flash memory controller logic stored in ROM (not shown), and reads a dynamic portion of flash memory controller logic stored in flash memory device 3C if the flash type is “new”.
  • According to another aspect, input/output interface circuit 5C is activated so as to establish USB Bulk Only Transport (BOT) communications with host computer 9A via the interface link. There are four types of USB software communication data flow between a host computer and the USB interface circuit of the flash memory device (also referred to as a “USB device” below): control, interrupt, bulk, and isochronous. Control transfer is the data flow over the control pipe from the host computer to the USB device to provide configuration and control information to a USB device. Interrupt transfers are small-data, non-periodic, guaranteed-latency, device-initiated communication typically used to notify the host computer of service needed by the USB device. Movement of large blocks of data across the USB interface circuit that is not time critical relies on Bulk transfers. Isochronous transfers are used when working with isochronous data. Isochronous transfers provide periodic, continuous communication between the host computer and the USB device. There are two data transfer protocols generally supported by USB interface circuits: Control/Bulk/Interrupt (CBI) protocol and Bulk-Only Transfer (BOT) protocol. The mass storage class CBI transport specification is approved for use with full-speed floppy disk drives, but is not used in high-speed capable devices, or in devices other than floppy disk drives (according to USB specifications). In accordance with an embodiment of the present invention, a USB flash device transfers high-speed data between computers using only the Bulk-Only Transfer (BOT) protocol. BOT is a more efficient and faster transfer protocol than CBI protocol because BOT transport of command, data, status rely on Bulk endpoints in addition to default Control endpoints.
  • As with previous embodiments described above, processing unit 2C is selectively operable in a programming mode, where processing unit 2C causes input/output interface circuit 5C to receive the data file from host computer 9A, and to store the data file in flash memory device 3C through write commands issued from host computer 9A to flash memory controller 21C, a data retrieving mode, where processing unit 2C receives the data in flash memory device 3C through read command issued from host computer 9A to flash memory controller 21C and to access the data file stored in flash memory device 3C, and activates input/output interface circuit 5C to transmit the data file to host computer 9A, and a data resetting mode where the data file is erased from flash memory device 3C.
  • Advantages of the intelligent processing unit 2C in accordance with the present invention include:
  • (1) providing high integration, which substantially reduces the overall space needed and reduces the complexity and the cost of manufacturing.
    (2) utilizing an intelligent algorithm to detect and access the different flash types, which broadens the sourcing and the supply of flash memory;
    (3) by storing the portion of software program along with data in flash memory which results in the cost of the controller being reduced; and
    (4) utilizing more advanced flash control logic which is implemented to raise the throughput for the flash memory access.
  • In accordance with another embodiment of the present invention, a system and method is provided for controlling flash memory in an electronic data flash card. The system and method provide a flash memory controller including a processor for receiving at least one request from a host system, and an index, which comprises look-up tables (LUTs) and a physical usage table (PUT). The index translates logical block addresses (LBAs) provided by the host system to physical block addresses (PBAs) in the flash memory. The index also contains information regarding the flash memory configuration. The processor selectively utilizes the index to determine the sectors of the flash memory that are available for programming, reprogramming, or reading. The flash memory controller further comprises a recycling first-in-first-out (FIFO) that recycles blocks of obsolete sectors so that they are available for reprogramming. The recycling operation involves copy and erase operations, and is performed in the background and thus hidden from the host system. Accordingly, the management of the flash memory and related intelligence resides in the flash memory controller instead of in the host system. As a result, the host system interacts with the flash memory controller without the host system having information regarding the physical configuration of the flash memory. Consequently, speeds at which data is written to and read from the flash memory is significantly increased while the flash memory remains compatible with the USB standard and ASIC architecture.
  • The following terms are defined as indicated in accordance with the present invention. Block: A basic memory erase unit. Each block contains numerous sectors, e.g., 16, 32, 64, etc. If any sector encounters write error, the whole block is declared a bad block and all valid sectors within the block are relocated to another block. Sector: A sub-unit of a block. Each sector typically has two fields—a data field and a spare field. Obsolete sector: A sector that is programmed with data but the data has been subsequently updated. When the data is updated, the obsolete data remains in the obsolete sector and the updated data is written to new sectors, which become valid sectors. Non-valid blocks: Blocks that contain obsolete sectors. Valid sector: A sector that has been programmed with data and the data is current, i.e., not obsolete. Wear leveling: A method for evenly distributing the number times each block of flash memory is erased in order to prolong the life of the flash memory. Flash memory can be block erased only a limited number of times. For example, one million is a typical maximum number of erases for NAND flash memory. Spare blocks: Reserved space in flash memory. Spare blocks enable flash memory systems to prepare for bad blocks. Cluster: Multiple data sectors used as file access pointers by an operating system to improve memory performance. In small mass-storage memory operation, a cluster normally is a combination of two data sectors, which is a minimum file size unit. 1 k byte is a typical cluster size for small blocks of memory (i.e., 512 bytes per sector), and 4 k bytes is a cluster size for larger blocks of memory (i.e., 2,112 bytes per sector). FAT: File allocation table having file address-linked pointers. A cluster is the unit for a FAT. For example, FAT16 means that a cluster address can be 16 bits. Directory and subdirectory: File pointers as defined by an operating system. Master boot record (MBR): A fixed location to store a root directory pointer and associated boot file if bootable. This fixed location can be the last sector of the first block, or the last sector of the second block if first block is bad. Packet: A variable length format for a USB basic transaction unit. A normal transaction in the USB specification typically consists of three packets—a token packet, a data packet, and a handshake packet. A token packet has IN, OUT, and SETUP formats. A data packet size can be varying in size, e.g., 64 bytes in USB revision 1.1, and 512 bytes in USB revision 2.0. A handshake packet has ACK or NAK formats to inform host of the completion of a transaction. Frame: A bulk transaction that is used that has a high priority for occupying a frame if USB traffic is low. A bulk transaction can also wait for a later frame if USB traffic is high. Endpoint: Three endpoints include control, bulk-in, and bulk-out. The control endpoint is dedicated to system initial enumeration. The bulk-in endpoint is dedicated to host system read data pipe. The bulk-out endpoint is dedicated to a host system write data pipe. Command block wrapper (CBW): A packet contains a command block and associated information, such as Data Transfer Length (512 bytes for example from byte 8-11). A CBW always starts at the packet boundary, and ends as short packet with exactly 31 bytes transferred. All CBW transfers shall be ordered with LSB (byte 0) first. Command Status Wrapper (CSW): A CSW starts at packet boundary. Reduced block command (RBC) SCSI protocol: a 10 byte command descriptor.
  • FIG. 7 is a block diagram showing a electronic data flash card (memory system) 100 including a flash memory controller 110 and a flash memory device 112 in accordance with the present invention. The host system 52 provides resources to process write and read transactions, and erase operations via the flash memory controller 110. The flash memory controller 110 is coupled to a host system 52 via a host system interface 116. The host system 52 can be a personal computer or other type of computer system. The operating system of the host system 52 can be Windows or MacOS but is not limited to these operating systems. In this specific embodiment, the flash memory system 100 complies with the USB mass-storage class standard and the host system interface 116 is a USB connection. The USB specification can be revision 1.1 or 2.0 and above. The flash memory controller 110 and the flash memory 112 can be either bus-powered or self-powered, and can be used as a mass storage device. The advantage of being used as a mass storage device is that it is a low-power device, it is easy to carry, and it has storage capacity larger than a traditional floppy disk.
  • The flash memory controller 110 includes a device transceiver 120, which converts analog signals to digital streams and provides a phase lock loop (PLL) circuit for generating precision clocks for internal data latching. For USB 2.0, the PLL functionality can be sensitive and thus useful due to its operating at 480 MHz. The flash memory controller 110 also includes a serial interface engine (SIE) 122, which provides serial and parallel data conversion, packet decoding/generation, cyclic redundancy code (CRC) generation/checking, non-return-to-zero (NRZI) encoding/decoding, and bit stuffing according to the USB standard. Endpoints 124 and 125 receive information from the host system 52 regarding class type (e.g., mass-storage class), flash memory configuration information, and default control information. An Endpoint 126 receives information from the host system 52 regarding read transactions, and an endpoint 128 receives information from the host system 52 regarding write transactions. A bulk-only transport (BOT) unit 130 receives command block wrappers (CBW) and includes a data transfer length register 132 and a logical block address (LBA) register 134.
  • In accordance with an aspect of the present invention, the allocation of PBAs to LBAs is performed entirely by flash memory controller 110, thus allowing host system 52 to interact with flash memory device 110 (i.e., perform read, write and erase operations) without host system 52 having information regarding the actual physical location (configuration) of the data stored in flash memory device 112. That is, flash memory controller 110 utilizes arbitration logic and data that is entirely stored in electronic data flash card 100 (i.e., not received from host system 52) to identify bad blocks of memory cells in flash memory device 112, to assign LBAs to the PBAs associated with good blocks of memory cells, to recycle non-valid blocks, and to perform wear leveling. Because each of these operations is performed independent of host system 52, the operation of host system 52 is enhanced. Additional information regarding the arbitration logic utilized by flash memory controller 110 is provided in co-owned and co-pending U.S. patent application Ser. No. 11/471,000, entitled “MANAGING BAD BLOCKS IN FLASH MEMORY FOR ELECTRONIC DATA FLASH CARD”, which is incorporated herein by reference in its entirety.
  • A sector FIFO 140 provides a caching feature when the host system 52 attempts to write data to the flash memory 112. A FIFO-not-empty interrupt signal 142 triggers an interrupt routine at an interrupt handler 148 of a processor 150. The interrupt routine responds to the host system 52 confirming that data was written to the flash memory 112. In the mean time, the processor 150 executes a write transaction.
  • A write look-up table (LUT) 170, a read LUT 172, and a physical usage table (PUT) 180 provide an index showing the configuration of the flash memory 112. The data stored in write and read LUTs 170 and 172 and PUT 180 is controlled by the arbitration logic (discussed above) utilized by flash memory controller 110. The write and read LUTs 170 and 172 facilitate write and read transactions, respectively, between the host system 52 and the flash memory 112. The write and read LUTs 170 and 172 translate logical block addresses (LBAs) provided by the host system 52 to physical block addresses (PBAs) of the flash memory 112. The PUT 180 performs physical sector mapping and provides a bitmap indicating programmed sectors, i.e., sectors to which data has already been written.
  • A flash interface controller 186 interfaces with the flash memory 112 to carry out commands from the processor 150. The flash interface controller 186 receives PBAs from the write and read LUTs 170 and 172 to service write and read requests.
  • A recycling FIFO 190 recycles blocks having obsolete sectors so that they can be reprogrammed, i.e., written to with new data. The recycling operations are executed immediately after and independently from write transactions so as to not interfere with the servicing of write transactions by the flash memory controller 110.
  • For optimal ASIC implementation, the write and read LUTs 170 and 172, the PUT 180, and the recycling FIFO 190 are implemented with volatile random access memory (RAM), such as synchronous RAM (SRAM). The flash memory 112 can be implemented using one or more devices, each having one or more flash arrays.
  • FIG. 8 is a block diagram showing in more detail the write LUT 170, the read LUT 172, the PUT 180, and the recycling FIFO 190 of FIG. 7 in accordance with the present invention. The write LUT 170 provides an index for the flash memory during write transactions and translates LBAs provided by the host system to PBAs of the flash memory. The write LUT 170 contains LBAs 302 a, 302 b, 302 c, and 302 d. For ease of illustration, only four LBAs per LUT are shown. Each of the LBAs 302 a-d includes optional block-offset bits (bit5 to bit0). The block-offset bits correspond to particular sectors in a block.
  • Each LBA 302 a-d is associated with a PBA 304 a-d. Accordingly, each LBAa-d points to an associated PBAa-d, respectively. In this specific example, a PBA is 32-bits long. A sector field 306 contains a string of bits indicating programmed sectors within a block.
  • The write LUT 170 records only the starting LBA for a particular write transaction. For example, if a particular write transaction requires two or more consecutive blocks, the write LUT 170 records the starting LBA.
  • The read LUT 172 provides an index for the flash memory during read transactions and translates LBAs provided by the host system to PBAs of the flash memory. The read LUT 172 contains LBAs 302a, 302b, 302c, and 302d. The read LUT 172 has the same fields as the write LUT 170. After the completion of each write transaction, the read LUT 172 is updated to reflect the changes to the write LUT 170 such that the write and read LUTs 170 and 172 become identical. Once the read LUT is updated, it can be used as an index for read transactions.
  • The PUT 180 performs physical sector mapping and provides a bitmap indicating programmed sectors, i.e., sectors to which data has already been written. Whenever a write transaction occurs, the PUT 180 records the usage information indicating the programmed sectors. This facilitates write transactions in that the processor of the flash memory controller can determine from the PUT 180 which sectors are available for programming or reprogramming.
  • The recycling FIFO 190 recycles non-valid blocks and the recycling process occurs after each successful write transaction. Whenever a block having an obsolete sector is encountered, information regarding that block's physical address is placed in the recycling FIFO 190 indicating it's a non-valid block. After finishing the valid sector copy-relocate operations, recycling FIFO 190 provides address information for performing non-valid block erase operations. The recycling FIFO 190 uses a write pointer 192 as updating FIFO address pointer for non-valid blocks and read pointers 194 and 196 as two read address reference pointers. Read pointer2 196 is used for background recycling reading reference and read pointer1 194 is a reference for valid block if the erase-recycling is successful. Read pointer1 194 should never exceed read pointer2 196. Both read pointers 194 and 196 should not overtake write pointer 192. In accordance with an aspect of the present embodiment, the copy-relocate (for remaining valid sectors within non-valid blocks) and erase-recycling operations are performed in the background, i.e., independently from write transactions so as to not interfere with the write transactions.
  • FIG. 9 is a block diagram showing in more detail the flash memory 112 of FIG. 7 in accordance with the present invention. The flash memory 112 has a data structure that comprises a data field 402 and a spare field 404 for each PBA. Each field holds a certain number of bytes and the specific number will depend on the application. For example, a data field may have 512 bytes, 2,112, or more bytes, and the spare field can have 16, 64, or more bytes.
  • The data field 402 stores raw data and the spare field 404 stores information related to memory management. The spare field 404 includes a bad block indicator field 406, an error correction code (ECC) field 408, an erase count field 410, and an LBA field 412. Because the LUT and PUT tables 170, 172, and 180 are stored volatile memory and thus do not preserve the valid sector information, the LBA field 412 is used to reconstruct the write and read LUTs 170, 172 and the PUT 180 during system initialization and power failure.
  • The bad block indicator field 406 indicates bad blocks. A bad block occurs when an attempt to write to a particular sector or to erase a particular block fails. A special bad block indicator field 414 is located at the last block, a location, which is easier for the firmware to read, especially where there is one bit per sector. In this specific embodiment, 64 bits are used for a physical block to record the write sector failure (64 bits×4096 blocks=32 Kbytes=16 sectors=1 quarter block). Any is within a block means that the particular block is bad. To maintain reliability, four copies of bad block indicators are saved in the last block of the flash memory. Of course fewer or more copies can be utilized.
  • The need for flags in the flash memory is eliminated by the present invention. The only flag used is the valid sector flag used in the LUTs to assist in firmware decision making. This minimizes the complexity with regard to write and read transactions.
  • FIG. 10 is a high-level flow chart showing a method for managing flash memory in accordance with the present invention. First, at least one request from a host system is received utilizing a processor within a memory controller, in a step 502. The request can be a write or read request. Then, the sectors of the flash memory that are available for programming, reprogramming, or reading are determined utilizing the processor and an index within the memory controller, in a step 504. The host system interacts with the flash memory controller without the host system having information regarding the configuration of the flash memory.
  • In a specific embodiment, the flash memory controller receives a request from the host system in compliance with the USB mass-storage class. The following description illustrates this specific embodiment.
  • FIG. 11 is a flow chart showing a method for transmitting USB mass-storage class service requests in accordance with the present invention. First, the memory controller receives a request from the host system, in a step 602. This step can be referred to as a command transport step 602. The request can be a write or read request. If the request is a write request, a write transaction is performed, in a step 604. This step can be referred to as a data-out step 604. If the request is a read request, a read transaction is performed, in a step 606. This step can be referred to as a data-in step 606. Upon completion of a write or read transaction, an acknowledge packet is sent to the host system by the memory controller to confirm completion of the transaction, in a step 608. This step can be referred to as a status transport step 608.
  • The command transport step 602 and the data-out step 604 are generally referred to as bulk-out transport steps since data packets are sent out from the host system. The data-in step 606 and the status transport step 608 are generally referred to as bulk-in transport steps since data packets are sent into the host system.
  • FIGS. 12A-C are block diagrams showing a command block wrapper (CBW) 702, a reduced block command read format (RBC) 704, and a command status wrapper (CSW) 706 in accordance with the present invention. The USB standard involves three packets per request, which include the CBW 702, the RBC 704, and the CSW 706. The CBW 702, the RBC 704, and the CSW 706 packets are also generally referred to as token, data, and acknowledge handshake packets, respectively, and are utilized in the command transport, data-in/out, and status transport steps 602-608 of FIG. 11, respectively.
  • Still referring to FIGS. 12A-C, the CBW 702 contains information regarding what data from the host system is to follow. The CBW 702 is 31 bytes long and includes command decoding and direction, and a unique LBA. The LBA in the CBW 702 can include information regarding the file allocation table (FAT) and directory pointers. The CBW 702 also contains the read/write direction in byte 15 as part of the RBC command. The RBC 704 contains information such as data to be written to the flash memory. The RBC 704 is a SCSI RBC. The length of the data can vary and is defined by different USB standard versions, e.g., 64 bytes in USB 1.1, 512 bytes in USB 2.0. The CSW 706 contains information regarding acknowledge procedures and information for terminating a transaction. Byte 12 is a status byte.
  • FIG. 13 is a flow chart showing a method for reading, writing, and erasing in accordance with the present invention. Referring to FIGS. 12A-C and 13 together, first, a request is received from the host system, in a step 802. To comply with the USB standard, the request includes the CBW 702, the RBC 704, and the CSW 706. Next, the type of command, whether a write or read request, is determined, in a step 804. Next, registers for the CBW and CSW are initialized, in a step 806.
  • If the request is a write request for a write transaction, the sector data FIFO in the flash memory controller is filled, and when 512 bytes of data are ready, a write pointer for the sector data FIFO is incremented and an interrupt is sent to the processor in the flash memory controller, in a step 810. Next, the write transaction is executed, in a step 812. Finally, an acknowledge packet is sent to the host system confirming that the write transaction was successfully completed, in a step 814.
  • Immediately after a successful write transaction, the firmware of the flash memory controller checks the recycling FIFO status, in a step 820. If the recycling FIFO is not empty, the recycling FIFO recycles obsolete sectors, in a step 822.
  • If the request is a read request for a read transaction, the LBA in the CBW is compared with all existing entries of the sector FIFO, in a step 828. If there is a match, the requested data is returned to the host system, in a step 830. Next, an acknowledge packet is sent to the host system confirming that the read transaction was successfully completed, in a step 832. If there is no match, the requested data is read from the flash memory, in a step 834. Finally, a status/acknowledge packet is sent to the host system confirming that the read transaction was successfully completed, in a step 836.
  • FIG. 14 is a high-level flow chart showing a method including a first phase of a write transaction, a second phase of the write transaction, a read transaction, and a recycling operation in accordance with the present invention. First, a CBW is received, in a step 902. Next, it is determined whether the request is a write request, in a step 904. Next, if the request is a write request, the sector FIFO is checked, in a step 906. If the sector FIFO is not empty, the write transaction is then initiated.
  • To maintain block address consistency and to achieve write efficiency, the write transaction has two phases. In the first phase, data is written to a particular number of sectors and an acknowledge packet is then sent to the processor of the flash memory controller and to the host system indicating that the write transaction has been completed, in a step 910.
  • If there is no subsequent read request pending, the second phase of the write transaction is initiated. Accordingly, valid sectors are copied from a non-valid block to a new address in another block, in a step 920. The copy step 920 is accomplished in the background to maintain data coherency.
  • If it is determined that the request is a read request and if there is a read request pending upon the completion of the first phase of the write transaction, the requested data is fetched from the flash memory using the PBA in the read LUT, in a step 930. After the read request is serviced, and if there is a pending second phase of a write request, the second phase is executed, in the step 920.
  • Obsolete sectors are recycled by the recycling FIFO, in a step 940, when there are no requests being serviced. In a specific embodiment, when the recycling FIFO completes the task of erasing one block, the firmware of the flash memory controller can return to servicing other requests from the host system.
  • FIGS. 15A-D are block diagrams illustrating exemplary results from first and second phases of a write transaction in accordance with the present invention. To further clarify the above-described features of the present invention, the following example is provided. FIGS. 15A-D show four write transactions including varying-length data strings. FIG. 15D shows a write transaction where data is updated. For ease of illustration, only four sectors per block are shown.
  • Two blocks (PBA 0 and PBA 1) of the flash memory 112 have four sectors each. In a first write transaction, the write LUT 170 writes to six physical sectors of the flash memory 112, beginning the first physical block (PBA 0). For this example, it is presumed that the flash memory 112 is initially empty. For the purpose of this example, the labels A0-A5 represent data written during the first write transaction.
  • Bits in the PUT 180 corresponding to the sectors of the flash memory 112 show a 1 to indicate that those sectors have been programmed, i.e., occupied. The firmware of the flash memory controller utilizes the PUT 180 to determine the available sectors. Accordingly, those sectors have data that cannot be reprogrammed until first erased but those sectors can be later read. The write LUT 170 having written to the sectors indicates the valid sectors with is. The read LUT 172 information is copied from the write LUT 170 information to reflect the most recent changes. However, the read LUT 172 is copied from the previous version of the write LUT 170 and is ultimately synchronous with the write LUT 170 once the write phases are completed. Accordingly, until the read LUT 172 is updated, it will show the pre-update information of the write LUT 170 with 0 s shown to indicate empty sectors.
  • Referring to FIG. 15B, the write LUT 170 has written new data B in the next available sector in PBA 1. This is the second write transaction. The write LUT 170, the PUT 180, and flash memory block reflect this update. The read LUT 172 has been updated with the prior change but has not yet been updated to reflect the current change.
  • Referring to FIG. 15C, the write LUT 170 has written new data C0 and C1 to the next available sectors. This is the third write transaction. Note that the data C0 and C1 cross the block boundary as does the data A0-A5. Again, the write LUT 170, the PUT 180, and flash memory blocks reflect this update. The read LUT 172 has been updated with the prior change but has not yet been updated to reflect the current change.
  • Referring to FIG. 15D, the write LUT 170 has written data to update existing data A0-A4 with updated data a0-a4. This is the fourth transaction. Because the blocks PBA 0 and PBA 1 need to first be erased before being reprogrammed, the updated data a0-a4 are written to the same sector number but to the next available block, i.e., PBA 3-4, in the first phase of the write transaction. Once the first write phase is complete, acknowledge packets can then be sent to the processor of the flash memory controller confirming completion of the first phase of the write transaction. The write LUT 170, the PUT 180, and the flash memory blocks reflect this update, and the read LUT 172 has been updated with the prior change but has not yet been updated to reflect the current change.
  • The blocks PBA 0 and PBA 1 have become non-valid because the data in some of their sectors became obsolete. Accordingly, those blocks can then be recycled by the recycling FIFO 190. The recycling FIFO 190 has changed corresponding bits to 0 to indicate this. The write pointer 192 of the recycling FIFO 190 is incremented to point to the next available position to store the nextnon-valid block address.
  • In the second phase of this write transaction, the data A5, B, and C0 are copied to new blocks, which are blocks PBA 3-4 to maintain consistency in the write LUT 170. The write LUT 170, the PUT 180, and the flash memory blocks reflect this update. The read LUT 172 will then be updated to reflect the current change. Also both phases of the write transaction are complete, the write and read LUTs 170 and 172 will be identical.
  • FIG. 16 is a flow chart showing a method for implementing the first phase of the write transaction of PBA and sector count updating procedure of FIG. 14 in accordance with the present invention, which basically does index mapping between LBAx and PBAx so that both read and write addresses are kept in tracking. Table 1 (below) is a simplified example of one entry of LUTs and FIFO with assumed 8 sectors per block in flash memory. An entry of 1 means sector data is valid, and 0 means sector is available for use. Please note that LUTs (mapping table) are pointed by LBAx, but FIFO is pointed by Wr_ptr and Rd_ptrs.
  • TABLE 1
    PBA w/o sector offset
    Sector
    field
    0 Sec 1 Sec 2 Sec 3 Sec 4 Sec 5 Sec 6 Sec 7
    PBAx 1 0 0 1 1 0 0 0
  • Initially, an LBA and sector count (SC) from host system is evaluated, in a step 1102. Then, LBA block offset bits are encoded into a sector count, in a step 1104. The LBA points to a PBA in the flash memory. For example, if LBA is 0010,0101 and sector number is 16, then 0010 will be the initial LBAx block address for both LUT entry pointers. If the sector field of the PUT is 0, i.e., the sector is available, then the sector count register is equal to the CBW sector count and the PBA field of the write LUT will be loaded, in a step 1106.
  • If the sector field of the write LUT is 1, this means the flash sector is used by previous programming, and the write pointer is positioned to the block to be erased, in a step 1108. Next, the entry of recycling FIFO pointed to by write pointer will be filled by current PBAx, in a step 1110. During the recycling operation, the block pointed to by the write pointer will be erased. Next, the sector field in the PUT is set to 1, in a step 1112, where the PBA indicates that the sector is being used. Next, the sector number in incremented, in a step 1114.
  • Next, the sector number is compared against the block boundary, in a step 1116. If the sector number is aligned with the block boundary, the write pointer is incremented, in a step 1118. The LBA in the write LUT is incremented, in a step 1120, when flash block boundary is reached. Next, the write LUT is updated with the correct sector number position, in a step 1122. If the sector number is not aligned with the block boundary, steps 1118 and 1120 are bypassed and the write LUT is updated with the correct sector number position, in a step 1122.
  • Referring back to the step 1106, if the sector field of write LUT is 0, which means that the flash sector is not used by previous programming, i.e., the write transaction is not finished. The sector count is then compared to the sector count in the CBW, in a step 1124. If they are the same, PBAx field of LUT pointed by LBAx will be updated in a step 1126, then proceed to step 1128. If the sector count register is not equal to the CBW sector count in step 1124, the sector field will be set to 1 in both index look up tables and data will be written into the flash memory. Next, the sector number is incremented, in a step 1128. After successful write into flash memory, sector count from CBW is decremented, in a step 1130.
  • Next, the sector count is checked, in a step 1132. If the sector count is equal to 0, the first phase of the write transaction terminates. If the sector count is not equal to 0, that means the host system did not send the correct amount of data. Accordingly, the sector FIFO is checked to determine whether there is any more available data, in a step 1134. If not, a time-out sequence is executed, in a step 1136, to flag an abnormal flow termination, and the sector FIFO is continually checked until sufficient data is available. If there is more available data in the sector FIFO, the sector number is compared against the block boundary, as in the step 1116.
  • FIG. 17 is a flow chart showing a method for implementing the second phase of the write transaction of FIG. 14 in accordance with the present invention. First, the pointer values of the write and read pointers are compared, in a step 1202. The sector field from the recycling FIFO entry pointed to by the read pointer indicates that a valid sector needs to be copied to a new PBA in order to achieve consistency in the write LUT. When the copy is done, the read LUT is updated to be identical to the write LUT, in a step 1204. Next, the sector number pointed to by the read pointer is checked, in a step 1206. If the sector number is equal to 1, the data in that sector is copied to a new block, in a step 1208. Next, the sector number in the PUT is set to 1, in a step 1210. Next, the write LUT sector field is updated, in a step 1212. Next, the read LUT sector field is updated, in a step 1214. Next, the sector number is incremented, in a step 1216. Referring back to the step 1206, if the sector number is not equal to 1, the sector number is incremented, as in the step 1216.
  • The sector copying process will be completed as long as the sector number reaches the block boundary. The sector number is compared against the block boundary, in a step 1218. If the sector number is aligned with the block boundary, the read pointer is incremented, in a step 1220. Next, the read pointer is compared with the write pointer, as in the step 1202. If in the step 1218, the sector number is not aligned with the block boundary, the sector number pointed to by the read pointer is checked, as in the step 1206.
  • FIG. 18 is a flow chart showing a method for implementing the read transaction of FIG. 14 in accordance with the present invention. First, a CBW is received and recognized as read request, and an LBA and sector count is loaded from the CBW, in a step 1302. Next, the LBA of the write LUT is translated into a corresponding PBA and sector number, in a step 1304. Next, the sector field bit is checked, in a step 1306. If the sector field bit is equal to 1, the data is read, the sector count is decremented, and the sector number is incremented in preparation for the next read transaction, in a step 1308. If the sector field bit is not equal to 1, i.e., equal to 0, the LBA of the read LUT is translated into a corresponding PBA, in a step 1309. Then the data is read, the sector count is decremented, and the sector number is incremented, as in the step 1308.
  • Next, an error correction code (ECC) calculation is performed, in a step 1310. Next, the ECC result is compared with a value read from the flash spare field, in a step 1312. If the values are identical, the sector count is checked, in a step 1314. If the values are not identical, an ECC correction is performed, in a step 1316, and then the sector count is checked, as in the step 1314. If the sector count has reached 0, i.e., equals 0, the read process terminates. If the sector count has not reached 0, the block boundary will also be checked, in a step 1317. If the sector number is not aligned with the block boundary, the read LUT is updated with the correct sector number position, in a step 1318. If the sector number is aligned with the block boundary, the LBA in the read LUT is incremented, in a step 1320, and then the read LUT is updated with the correct sector number position, as in the step 1318.
  • A read transaction is executed immediate after a first phase of a write transaction. The read transaction has a higher priority than the second phase of a previous write transaction. This ensures optimal responses by the flash memory system. A read transaction is significantly faster than a write transaction and read transactions do not result in bad block situations, which only occur during write transactions and erase operations.
  • A read transaction differs from a disk cache function whenever the contents in the sector FIFO are available. This can happen when the LBA in the read LUT matches the previous LBA in the write LUT. The disk cache concept is borrowed from magnetic hard disk concepts and applied to small-capacity flash storage. This feature is typically disabled to save cache cost.
  • FIG. 19 is a flow chart showing a method for implementing the recycling operation of FIG. 14 in accordance with the present invention. First, the recycling FIFO is checked, in a step 1402. If the recycling FIFO is empty, the recycling operation terminates. If the recycling FIFO is not empty, the read pointer2 is checked, in a step 1404, background erasing operation happens in this case, once erasing is successful, read pointer1 is incremented for another valid block reprogramming address checking operation. The two read pointers should not overtake the write pointer. However, the write pointer may loop back to its original starting position if both read pointers are executed. If the read pointer2 is positioned over the write pointer, the recycling operation terminates. If the read pointer2 is not positioned over the write pointer, the corresponding bit in the PUT is cleared, i.e., 0, in a step 1406, to indicate that the physical block is now available for reprogramming. Next, the read pointer2 is positioned to point to the block to be erased, in a step 1408. Next, the read pointer2 is incremented after successful erasing, in a step 1410, for the next write address checking operation.
  • Pointer comparison for the recycling FIFO can be achieved by adding one more bit to the index of both the write and read pointers. For example, if the recycling FIFO contains eight PBA entries, four bits instead of three bits will be used for the pointers. The write pointer will start from 0 and increment to 7 and then cycle back to 0. The write pointer value should always be at least equal to or greater than the read pointers. When they are equal, it means that the recycling FIFO is empty. The depth, i.e., the number of entries, of the recycling FIFO affects the tradeoff between line-copy speed and the erase speed. Too few entries makes the recycling FIFO less optimal.
  • The flash memory controller of the present invention can perform multiple-block data access. The conventional flash memory device has a 512-byte page register built-in. The data write to the flash memory device has to write to the page register first and then to a flash memory cell. The conventional flash memory controller, as well as its built-in firmware, controls the flash memory access cycles. The conventional flash memory controller transfers one single block (512 bytes) of data to the page register of the flash memory device at a time. No other access to the flash memory is allowed once the 512 bytes page register is filled. Consequently, the conventional flash memory controller, which uses the single-block data access methodology, limits the performance of flash memory devices.
  • In accordance with the present invention, the flash memory controller utilizes a 2K or larger size page register. The flash memory controller of the present invention functions as a multiple-block access controller by sending multiple blocks of data simultaneously to a flash memory to fill up the page register. This significantly improves the performance of the data transfer. Compared to the conventional single-block data-transfer controller, which transfers a single block at a time, the data transfer performance using the flash memory controller of the present invention is significantly improved.
  • The flash memory controller of the present invention can also provide dual channel processing to improve performance of the flash memory system. Dual channeling provides a second channel, or “freeway,” for executing transactions between the flash memory controller and the flash memory device. A conventional flash memory controller uses a single memory bus such that one or more flash memory devices attached to it. However, the conventional architecture limits the performance of the conventional flash memory controller.
  • In accordance with the present invention, at least two sets of memory buses are utilized. Each set of memory buses is coupled to separate flash memory devices. The memory controller can access flash memory devices together or separately. As a result, transactions can be executed twice as fast utilizing dual channel processing. Furthermore, each memory bus can also be further expanded to multiple sets of memory buses.
  • The flash memory controller of the present invention can also interleave operations. A conventional flash memory controller uses a single set of memory buses such that one or more flash memory devices are attached to it. However, the conventional flash memory controller can only access the flash memory devices one at a time. Accordingly, the conventional architecture limits the performance of the conventional flash memory controller.
  • In accordance with the present invention, at least one or two extra sets of memory control signals (such as separate Chip Enable and Busy signals) are utilized. Furthermore, a shared memory bus having at least two banks of flash memory devices are attached to the shared memory bus. The flash memory controller of the present invention can access one bank of flash memory devices while the other bank is busy reading or writing. Accordingly, the flash memory controller of the present invention fully utilizes the shared memory bus and thus significantly increase the performance. Furthermore, the number of pins of the flash memory controller are reduced by sharing memory I/O and control signals. This minimizes the cost to make flash memory devices.
  • In accordance with the present invention, one in the art can integrate functions of multiple block access, multiple bank interleaving, and multiple channel operations together in a memory access cycle of a single chip to achieve maximum performance.
  • In accordance with the present invention, the flash memory controller can be applied to USB as well as PCI-Express plug and receptacle systems. Also, the flash memory controller can be applied to other embodiments involving SD, MMC, MS, CF, IDE, and SATA plug and receptacle systems.
  • According to the system and method disclosed herein, the present invention provides numerous benefits. For example, it shifts the management of the flash memory and related intelligence from the host system to the flash memory controller so that the host system interacts with the flash memory controller without the host system having information regarding the configuration of the flash memory. For example, the flash memory controller provides LBA-to-PBA translation, obsolete sector recycling, and wear leveling. Furthermore, the recycling operations are performed in the background. Furthermore, flash specific packet definitions and flags in the flash memory are eliminated. Furthermore, the flash memory controller provides multiple-block data access, dual channel processing, and multiple bank interleaving. Consequently, speeds at which data is written to and read from the flash memory is significantly increased while the flash memory remains compatible with the USB standard and ASIC architecture.
  • A system and method in accordance with the present invention for controlling flash memory are disclosed. The system and method comprise a processor for receiving at least one request from a host system, and an index, which comprises look-up tables (LUTs) and a physical usage table (PUT). The index translates logical block addresses (LBAs) provided by the host system to physical block addresses (PBAs) in the flash memory. The index also contains intelligence regarding the flash memory configuration. The processor can utilize the index to determine the sectors of the flash memory that are available for programming, reprogramming, or reading. The flash memory controller further comprises a recycling first-in-first-out (FIFO) that recycles blocks having obsolete sectors so that they are available for reprogramming. The recycling operation involves copy and erase operations, and is performed in the background and thus hidden from the host system. Accordingly, the management of the flash memory and related intelligence resides in the flash memory controller instead of in the host system. As a result, the host system interacts with the flash memory controller without the host system having information regarding the configuration of the flash memory. Consequently, speeds at which data is written to and read from the flash memory is significantly increased while the flash memory remains compatible with the USB standard and ASIC architecture.
  • Although the present invention disclosed herein is described in the context of an electronic data flash card with or without fingerprint verification capability, the present invention may apply to other types of memory systems and still remain within the spirit and scope of the present invention. In addition, although the present invention disclosed herein is described in the context of the USB standard, the present invention may apply to other standards and still remain within the spirit and scope of the present invention. Further, embodiments of the present invention can be implemented using hardware, software, a computer readable medium containing program instructions, or combination thereof. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims.

Claims (12)

1. A storage system comprising:
a host computer including an interface bus; and
an electronic data flash card adapted to communicate with the host computer through a communication link established by the host computer over the interface bus, the electronic data flash card comprising:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device;
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol; and
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit,
wherein the flash memory controller comprises:
(a) means for determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) an index for storing a plurality of logical addresses and a plurality of physical addresses such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) means for operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device;
(d) a read-only memory (ROM) for storing boot code (BC) that provides initial executing sequences for the processor unit to initialize the flash memory controller; and
(e) one or more look-up-tables (LUTs)
implemented by at least one synchronous random-access memory (SRAM) for translation of a logical address received from the host computer into a corresponding flash physical address for use during operation in one of the data writing mode and the retrieving mode.
2. An electronic flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the electronic flash card comprising:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device;
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol; and
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit, wherein the flash memory controller comprises:
(a) means for determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) an index for storing a plurality of logical addresses and a plurality of physical addresses such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) means for operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device;
(d) a read-only memory (ROM) for storing boot code (BC) that provides initial executing sequences for the processor unit to initialize the flash memory controller; and
(e) one or more look-up-tables (LUTs)
implemented by at least one synchronous random-access memory (SRAM) for translation of a logical address received from the host computer into a corresponding flash physical address for use during operation in one of the data writing mode and the retrieving mode.
3. A electronic flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the electronic flash card comprising:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device;
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USE) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol; and
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit, wherein the flash memory controller comprises:
(a) means for determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) an index for storing a plurality of logical addresses and a plurality of physical addresses such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) means for operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device; and
(d) a read-only memory (ROM) for storing boot code (BC) that provides initial executing sequences for the processor unit to initialize the flash memory controller,
wherein the card body comprises a substrate on which the non-volatile memory device, the card reader interface circuit, and the flash memory controller are mounted using integrated circuits packaging technology.
4. A flash memory controller for an electronic flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the electronic flash card including:
a card body,
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device, and
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol,
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit, and wherein the flash memory controller comprises:
(a) means for determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) an index for storing a plurality of logical addresses and a plurality of physical addresses such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) means for operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device; and
(d) a read-only memory (ROM) for storing boot code (BC) that provides initial executing sequences for the processor unit to initialize the flash memory controller.
5. A method for managing a flash memory device in an electronic data flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the electronic flash card including:
a card body,
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device,
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol, and
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit,
wherein the method comprises:
(a) determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) storing a plurality of logical addresses and a plurality of physical addresses in an index such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device; and
(d) storing boot code (BC) in a read-only memory (ROM) such that the BC provides initial executing sequences for the processor unit to initialize the flash memory controller.
6. A computer readable medium for managing a flash memory device in an electronic data flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the electronic flash card including:
a card body,
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device,
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol, and
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit,
wherein the computer readable medium contain program instructions which, when executed by the flash memory controller, cause the electronic data flash card to execute a method comprising:
(a) determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) storing a plurality of logical addresses and a plurality of physical addresses in an index such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device; and
(d) storing boot code (BC) in a read-only memory (ROM) such that the BC provides initial executing sequences for the processor unit to initialize the flash memory controller.
7. A storage system comprising:
a host computer including an interface bus; and
a single chip electronic data flash card adapted to communicate with the host computer through a communication link established by the host computer over the interface bus, the single chip electronic data flash card comprising:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device;
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol; and
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit, wherein the flash memory controller comprises:
(a) means for determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) an index for storing a plurality of logical addresses and a plurality of physical addresses such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) means for operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device;
(d) a read-only memory (ROM) for storing boot code (BC) that provides initial executing sequences for the processor unit to initialize the flash memory controller; and
(e) a SRAM for storing look-up-tables (LUT) for translation of a logical address from the host computer and a flash physical address for the data writing mode and the retrieving mode operations,
wherein the flash memory controller further comprises means for assigning each the physical address to its associated the logical address, and
wherein the card body comprises a substrate on which the non-volatile memory device, the input/output interface circuit, and the flash memory controller are mounted using integrated circuits packaging technology such that the non-volatile memory device, the card reader interface circuit and the flash memory controller are integrated into one integrated circuit package.
8. An single chip electronic data flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the single chip electronic data flash card comprising:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device;
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol; and
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit, wherein the flash memory controller comprises:
(a) means for determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) an index for storing a plurality of logical addresses and a plurality of physical addresses such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) means for operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device;
(d) a read-only memory (ROM) for storing boot code (BC) that provides initial executing sequences for the processor unit to initialize the flash memory controller; and
(e) a SRAM for storing look-up-tables (LUT) for translation of a logical address from the host computer and a flash physical address for the data writing mode and the retrieving mode operations, wherein the card body comprises a substrate on which the non-volatile memory device, the input/output interface circuit, and the flash memory controller are mounted using integrated circuits packaging technology such that the non-volatile memory device, the card reader interface circuit and the flash memory controller are integrated into one integrated circuit package.
9. A single chip electronic data flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the single chip electronic data flash card comprising:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device;
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol; and
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit, wherein the flash memory controller comprises:
(a) means for determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) an index for storing a plurality of logical addresses and a plurality of physical addresses such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) means for operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device;
(d) a read-only memory (ROM) for storing boot code (BC) that provides initial executing sequences for the processor unit to initialize the flash memory controller,
wherein the card body comprises a substrate on which the non-volatile memory device, the input/output interface circuit, and the flash memory controller are mounted using integrated circuits packaging technology such that the non-volatile memory device, the card reader interface circuit and the flash memory controller are integrated into one integrated circuit package.
10. A flash memory controller for an single chip electronic data flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the single chip electronic data flash card including:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device;
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol;
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit,
wherein the card body comprises a substrate on which the non-volatile memory device, the input/output interface circuit, and the flash memory controller are mounted using integrated circuits packaging technology such that the non-volatile memory device, the card reader interface circuit and the flash memory controller are integrated into one integrated circuit package, and
wherein the flash memory controller comprises:
(a) means for determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) an index for storing a plurality of logical addresses and a plurality of physical addresses such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) means for operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device; and
(d) a read-only memory (ROM) for storing boot code (BC) that provides initial executing sequences for the processor unit to initialize the flash memory controller.
11. A method for managing a flash memory device in an single chip electronic data flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the single chip electronic data flash card including:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device; and
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol;
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit,
wherein the card body comprises a substrate on which the non-volatile memory device, the input/output interface circuit, and the flash memory controller are mounted using integrated circuits packaging technology such that the non-volatile memory device, the card reader interface circuit and the flash memory controller are integrated into one integrated circuit package, and
wherein the method comprises:
(a) determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) storing a plurality of logical addresses and a plurality of physical addresses in an index such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device; and
(d) storing boot code (BC) in a read-only memory (ROM) that provides initial executing sequences for the processor unit to initialize the flash memory controller.
12. A computer readable medium for managing a flash memory device in an single chip single chip electronic data flash card adapted to be accessed by a host computer that is capable of establishing a communication link, the single chip electronic data flash card including:
a card body;
a flash memory device mounted on the card body, the flash memory device including a plurality of non-volatile memory cells for storing a data file, the memory cells being arranged in at least one of a plurality of memory blocks, and a plurality of pages, and a plurality of sectors, wherein the flash memory device comprises one of a Multi-Level Cell flash memory device and a Single Level Cell flash memory device; and
an input/output interface circuit mounted on the card body for establishing communication with the host computer, wherein the input/output interface circuit includes a Universal Serial Bus (USB) interface circuit including means for transmitting said data file using a Bulk Only Transport (BOT) protocol;
a flash memory controller mounted on the card body and electrically connected to the flash memory device and the input/output interface circuit,
wherein the card body comprises a substrate on which the non-volatile memory device, the input/output interface circuit, and the flash memory controller are mounted using integrated circuits packaging technology such that the non-volatile memory device, the card reader interface circuit and the flash memory controller are integrated into one integrated circuit package, and
wherein the computer readable medium contain program instructions which, when executed by the flash memory controller, cause the single chip electronic data flash card to execute a method comprising:
(a) determining whether the flash memory device is supported by a processing unit of the flash memory controller;
(b) storing a plurality of logical addresses and a plurality of physical addresses in an index such that each physical address is assigned to an associated logical address, where each physical address corresponds to an associated plurality of memory cells of the flash memory device, and wherein the index comprises at least one look-up-table (LUT) for storing the logical addresses and the associated physical addresses, each LUT including static random access memory(SRAM) cells;
(c) operating in one of:
a data writing mode in which the flash memory controller activates the input/output interface circuit to receive the data file from the host computer, and to store the data file in a physical address of the flash memory device associated with a logical address and transfer length received with a standard USB BOT write command issued from the host computer to the flash memory controller;
a data retrieving mode in which the flash memory controller receives a standard USB BOT read command issued from the host computer including the logical address and transfer length, and activates the input/output interface circuit to transmit the data file read from the physical address of the flash memory device associated with the logical address to the host computer; and
a data resetting mode in which data from one or more memory cells is erased from the flash memory device, wherein the data resetting mode is initiated and performed by the flash memory controller after receiving the standard USB BOT write command using arbitration logic and data that is stored on the flash memory device; and
(d) storing boot code (BC) in a read-only memory (ROM) that provides initial executing sequences for the processor unit to initialize the flash memory controller.
US12/631,748 2000-01-06 2009-12-04 Flash Memory Controller For Electronic Data Flash Card Abandoned US20100082892A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/631,748 US20100082892A1 (en) 2000-01-06 2009-12-04 Flash Memory Controller For Electronic Data Flash Card

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US09/478,720 US7257714B1 (en) 1999-10-19 2000-01-06 Electronic data storage medium with fingerprint verification capability
US10/761,853 US20050160218A1 (en) 2004-01-20 2004-01-20 Highly integrated mass storage device with an intelligent flash controller
US10/789,333 US7318117B2 (en) 2004-02-26 2004-02-26 Managing flash memory including recycling obsolete sectors
US11/458,987 US7690030B1 (en) 2000-01-06 2006-07-20 Electronic data flash card with fingerprint verification capability
US11/466,759 US7702831B2 (en) 2000-01-06 2006-08-23 Flash memory controller for electronic data flash card
US12/631,748 US20100082892A1 (en) 2000-01-06 2009-12-04 Flash Memory Controller For Electronic Data Flash Card

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US11/466,759 Division US7702831B2 (en) 1999-08-04 2006-08-23 Flash memory controller for electronic data flash card

Publications (1)

Publication Number Publication Date
US20100082892A1 true US20100082892A1 (en) 2010-04-01

Family

ID=46328330

Family Applications (3)

Application Number Title Priority Date Filing Date
US11/466,759 Expired - Fee Related US7702831B2 (en) 1999-08-04 2006-08-23 Flash memory controller for electronic data flash card
US12/631,761 Abandoned US20100082893A1 (en) 2000-01-06 2009-12-04 Flash Memory Controller For Electronic Data Flash Card
US12/631,748 Abandoned US20100082892A1 (en) 2000-01-06 2009-12-04 Flash Memory Controller For Electronic Data Flash Card

Family Applications Before (2)

Application Number Title Priority Date Filing Date
US11/466,759 Expired - Fee Related US7702831B2 (en) 1999-08-04 2006-08-23 Flash memory controller for electronic data flash card
US12/631,761 Abandoned US20100082893A1 (en) 2000-01-06 2009-12-04 Flash Memory Controller For Electronic Data Flash Card

Country Status (1)

Country Link
US (3) US7702831B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080235438A1 (en) * 2007-03-20 2008-09-25 Sony Corporation And Sony Electronics Inc. System and method for effectively implementing a multiple-channel memory architecture
US20100274951A1 (en) * 2009-04-24 2010-10-28 A-Data Technology (Suzhou) Co., Ltd. Electronic storage device with improved storage method
US20110153916A1 (en) * 2009-12-23 2011-06-23 Chinnaswamy Kumar K Hybrid memory architectures
US20120044082A1 (en) * 2010-08-20 2012-02-23 Rockwell Automation Technologies, Inc. Input/Output Circuits and Devices Having Physically Corresponding Status Indicators
US9201824B2 (en) * 2009-01-22 2015-12-01 Intel Deutschland Gmbh Method and apparatus for adaptive data chunk transfer
US9251087B2 (en) 2011-02-11 2016-02-02 SanDisk Technologies, Inc. Apparatus, system, and method for virtual memory management
CN105955118A (en) * 2016-05-16 2016-09-21 深圳市德立信环境工程有限公司 Garbage dumping and recycling system

Families Citing this family (76)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8346733B2 (en) 2006-12-22 2013-01-01 Commvault Systems, Inc. Systems and methods of media management, such as management of media to and from a media storage library
WO2004090789A2 (en) 2003-04-03 2004-10-21 Commvault Systems, Inc. System and method for extended media retention
WO2004090740A1 (en) 2003-04-03 2004-10-21 Commvault Systems, Inc. System and method for dynamically sharing media in a computer network
WO2006053084A2 (en) 2004-11-05 2006-05-18 Commvault Systems, Inc. Method and system of pooling storage devices
CN101443772B (en) * 2006-05-12 2012-07-18 三星电子株式会社 Apparatus and method of managing security data
KR100755718B1 (en) * 2006-09-04 2007-09-05 삼성전자주식회사 Apparatus and method for managing run-time bad block in mlc flash memory
TW200813856A (en) * 2006-09-15 2008-03-16 Alcor Micro Corp USB peripheral device with dynamic change class and application thereof
US7539783B2 (en) * 2006-09-22 2009-05-26 Commvault Systems, Inc. Systems and methods of media management, such as management of media to and from a media storage library, including removable media
US8074022B2 (en) * 2006-09-28 2011-12-06 Virident Systems, Inc. Programmable heterogeneous memory controllers for main memory with different memory modules
WO2008040028A2 (en) * 2006-09-28 2008-04-03 Virident Systems, Inc. Systems, methods, and apparatus with programmable memory control for heterogeneous main memory
US11244727B2 (en) * 2006-11-29 2022-02-08 Rambus Inc. Dynamic memory rank configuration
US7669092B2 (en) * 2007-02-26 2010-02-23 Micron Technology, Inc. Apparatus, method, and system of NAND defect management
US7916540B2 (en) * 2007-05-17 2011-03-29 Samsung Electronics Co., Ltd. Non-volatile memory devices and systems including bad blocks address re-mapped and methods of operating the same
US8595390B1 (en) * 2007-05-28 2013-11-26 Sandisk Il Ltd. Multiple session accessiblity via a CD-ROM interface
KR101424782B1 (en) * 2007-07-19 2014-08-04 삼성전자주식회사 Solid state disk controller and data processing method thereof
US8046524B2 (en) * 2007-08-08 2011-10-25 Sandisk Technologies Inc. Managing processing delays in an isochronous system
EP2031491A1 (en) * 2007-08-28 2009-03-04 Deutsche Thomson OHG Method for storing files on a storage medium, storage medium, and video recording apparatus using the method
US8706976B2 (en) 2007-08-30 2014-04-22 Commvault Systems, Inc. Parallel access virtual tape library and drives
US9177313B1 (en) * 2007-10-18 2015-11-03 Jpmorgan Chase Bank, N.A. System and method for issuing, circulating and trading financial instruments with smart features
CN101178933B (en) * 2007-12-05 2010-07-28 苏州壹世通科技有限公司 Flash memory array device
US7979662B2 (en) * 2007-12-28 2011-07-12 Sandisk Il Ltd. Storage device with transaction indexing capability
US9053005B2 (en) 2008-01-02 2015-06-09 Micron Technology, Inc. Recycled version number values in flash memory
US8307180B2 (en) 2008-02-28 2012-11-06 Nokia Corporation Extended utilization area for a memory device
JP2009266258A (en) 2008-04-22 2009-11-12 Hitachi Ltd Semiconductor device
US20100070466A1 (en) 2008-09-15 2010-03-18 Anand Prahlad Data transfer techniques within data storage devices, such as network attached storage performing data migration
WO2010041093A1 (en) * 2008-10-09 2010-04-15 Federico Tiziani Virtualized ecc nand
ES2400165T3 (en) * 2008-10-13 2013-04-08 Vodafone Holding Gmbh Procedure to provide controlled access to a memory card and memory card
CN101751338B (en) * 2008-12-15 2012-03-07 中芯国际集成电路制造(上海)有限公司 Data access control device and data access method
TWI401690B (en) * 2008-12-24 2013-07-11 Phison Electronics Corp Flash storage apparatus and testing method and testing system thereof
US8874824B2 (en) 2009-06-04 2014-10-28 Memory Technologies, LLC Apparatus and method to share host system RAM with mass storage memory RAM
US8219772B2 (en) * 2009-07-02 2012-07-10 Stmicroelectronics (Research & Development) Limited Loading secure code into a memory
US8495423B2 (en) * 2009-08-11 2013-07-23 International Business Machines Corporation Flash-based memory system with robust backup and restart features and removable modules
GB2488259A (en) * 2009-12-11 2012-08-22 Ibm Flash memory controller
US8489803B2 (en) * 2009-12-14 2013-07-16 Smsc Holdings S.A.R.L. Efficient use of flash memory in flash drives
US8555095B2 (en) 2010-07-26 2013-10-08 Apple Inc. Methods and systems for dynamically controlling operations in a non-volatile memory to limit power consumption
US9244779B2 (en) 2010-09-30 2016-01-26 Commvault Systems, Inc. Data recovery operations, such as recovery from modified network data management protocol data
WO2012048118A2 (en) 2010-10-06 2012-04-12 Blackbird Technology Holdings, Inc. Method and apparatus for adaptive searching of distributed datasets
WO2012048098A1 (en) 2010-10-06 2012-04-12 Blackbird Technology Holdings, Inc. Method and apparatus for low-power, long-range networking
US8718551B2 (en) 2010-10-12 2014-05-06 Blackbird Technology Holdings, Inc. Method and apparatus for a multi-band, multi-mode smartcard
US8622312B2 (en) 2010-11-16 2014-01-07 Blackbird Technology Holdings, Inc. Method and apparatus for interfacing with a smartcard
TWI514136B (en) * 2010-12-28 2015-12-21 Silicon Motion Inc Flash memory device and data writing method thereof
WO2012100145A1 (en) * 2011-01-21 2012-07-26 Blackbird Technology Holdings, Inc. Method and apparatus for memory management
CA2766363A1 (en) 2011-01-31 2012-07-31 Martin Kuster Connector for multiple interface connection standards
AU2012200499A1 (en) 2011-01-31 2012-08-16 Martin Kuster External storage device
WO2012112650A1 (en) 2011-02-15 2012-08-23 Blackbird Technology Holdings, Inc. Method and apparatus for plug and play, networkable iso 18000-7 connectivity
US9154392B2 (en) 2011-03-02 2015-10-06 Blackbird Technology Holdings, Inc. Method and apparatus for power autoscaling in a resource-constrained network
US8929961B2 (en) 2011-07-15 2015-01-06 Blackbird Technology Holdings, Inc. Protective case for adding wireless functionality to a handheld electronic device
TWI452471B (en) * 2011-11-16 2014-09-11 Sk Hynix Inc Full-duplex controller in an universal serial bus device and method thereof
AU2013202553B2 (en) 2012-03-30 2015-10-01 Commvault Systems, Inc. Information management of mobile device data
US9311226B2 (en) 2012-04-20 2016-04-12 Memory Technologies Llc Managing operational state data of a memory module using host memory in association with state change
TWI498738B (en) * 2012-05-18 2015-09-01 Phison Electronics Corp File protecting method and system, and memory controller and memory storage apparatus thereof
US9164804B2 (en) 2012-06-20 2015-10-20 Memory Technologies Llc Virtual memory module
TWI479313B (en) * 2012-07-11 2015-04-01 Phison Electronics Corp Data writing method, memory controller and memory storage device
US9003068B2 (en) 2012-07-12 2015-04-07 International Business Machines Corporation Service channel for connecting a host computer to peripheral devices
US9116820B2 (en) 2012-08-28 2015-08-25 Memory Technologies Llc Dynamic central cache memory
US9069799B2 (en) 2012-12-27 2015-06-30 Commvault Systems, Inc. Restoration of centralized data storage manager, such as data storage manager in a hierarchical data storage system
US9785545B2 (en) * 2013-07-15 2017-10-10 Cnex Labs, Inc. Method and apparatus for providing dual memory access to non-volatile memory
JP6395380B2 (en) * 2014-01-07 2018-09-26 キヤノン株式会社 Information processing apparatus, information processing method, and program
CN105206307B (en) * 2014-06-12 2018-08-21 北京兆易创新科技股份有限公司 A kind of chip restorative procedure and device
US20160048353A1 (en) * 2014-08-13 2016-02-18 Kabushiki Kaisha Toshiba Memory system and method of controlling memory system
US9875195B2 (en) * 2014-08-14 2018-01-23 Advanced Micro Devices, Inc. Data distribution among multiple managed memories
US9928144B2 (en) 2015-03-30 2018-03-27 Commvault Systems, Inc. Storage management of data using an open-archive architecture, including streamlined access to primary data originally stored on network-attached storage and archived to secondary storage
DE102015107563A1 (en) * 2015-05-13 2016-11-17 Endress+Hauser Conducta Gmbh+Co. Kg Method for commissioning a sensor, computer program product, computer-readable data carrier and sensor
CN104991736A (en) * 2015-06-15 2015-10-21 联想(北京)有限公司 Method and device for typing in data and storage equipment
CN105005727B (en) * 2015-07-28 2018-07-17 深圳市文鼎创数据科技有限公司 Control system based on dynamic password and USBKEY and its control method
US10101913B2 (en) 2015-09-02 2018-10-16 Commvault Systems, Inc. Migrating data to disk without interrupting running backup operations
CN105893010A (en) * 2015-11-17 2016-08-24 乐视云计算有限公司 Host scheduling method and system used for container deployment
KR102423278B1 (en) * 2017-11-28 2022-07-21 에스케이하이닉스 주식회사 Memory system and operating method thereof
US10742735B2 (en) 2017-12-12 2020-08-11 Commvault Systems, Inc. Enhanced network attached storage (NAS) services interfacing to cloud storage
CN108363549A (en) * 2017-12-27 2018-08-03 北京兆易创新科技股份有限公司 A kind of Nand flash elements and its communication control method and device
CN108875431B (en) * 2018-06-07 2021-04-16 北京航空航天大学 Dynamic confusion packaging interface control unit for preventing intellectual property right plagiarism of integrated circuit
US11266019B2 (en) * 2019-10-22 2022-03-01 Hayward Industries, Inc. Modular wiring system for actuators
US11892956B2 (en) * 2019-12-31 2024-02-06 Micron Technology, Inc. Performance of memory system background operations
KR20220125836A (en) * 2021-03-03 2022-09-15 삼성전자주식회사 Storage device, operating method of storage device, and electronic device including storage device
US11593223B1 (en) 2021-09-02 2023-02-28 Commvault Systems, Inc. Using resource pool administrative entities in a data storage management system to provide shared infrastructure to tenants
US20230393757A1 (en) * 2022-06-02 2023-12-07 Micron Technology, Inc. Storing non-volatile memory initialization failures

Citations (76)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4582985A (en) * 1981-03-18 1986-04-15 Loefberg Bo Data carrier
US4630201A (en) * 1984-02-14 1986-12-16 International Security Note & Computer Corporation On-line and off-line transaction security system using a code generated from a transaction parameter and a random number
US4766293A (en) * 1986-06-26 1988-08-23 Visa International Service Association Portable financial transaction card capable of authorizing a transaction in foreign currencies
US4926480A (en) * 1983-08-22 1990-05-15 David Chaum Card-computer moderated systems
US5020105A (en) * 1986-06-16 1991-05-28 Applied Information Technologies Corporation Field initialized authentication system for protective security of electronic information networks
US5180901A (en) * 1990-05-21 1993-01-19 Kabushiki Kaisha Toshiba IC card with individual authentication function
US5280527A (en) * 1992-04-14 1994-01-18 Kamahira Safe Co., Inc. Biometric token for authorizing access to a host system
US5404485A (en) * 1993-03-08 1995-04-04 M-Systems Flash Disk Pioneers Ltd. Flash file system
US5438359A (en) * 1992-09-16 1995-08-01 Asahi Kogaku Kogyo Kabushiki Kaisha Electronic camera system using IC memory card
US5479638A (en) * 1993-03-26 1995-12-26 Cirrus Logic, Inc. Flash memory mass storage architecture incorporation wear leveling technique
US5502797A (en) * 1994-10-04 1996-03-26 Lexmark International, Inc. Apparatus with flash memory control for revision
US5559956A (en) * 1992-01-10 1996-09-24 Kabushiki Kaisha Toshiba Storage system with a flash memory module
US5596738A (en) * 1992-01-31 1997-01-21 Teac Corporation Peripheral device control system using changeable firmware in a single flash memory
US5623552A (en) * 1994-01-21 1997-04-22 Cardguard International, Inc. Self-authenticating identification card with fingerprint identification
US5675833A (en) * 1994-06-29 1997-10-07 Microsoft Corporation Apparatus and method for detecting insertions and removals of floppy disks by monitoring write-protect signal
US5860082A (en) * 1996-03-28 1999-01-12 Datalight, Inc. Method and apparatus for allocating storage in a flash memory
US5907856A (en) * 1995-07-31 1999-05-25 Lexar Media, Inc. Moving sectors within a block of information in a flash memory mass storage architecture
US5936884A (en) * 1995-09-29 1999-08-10 Intel Corporation Multiple writes per a single erase for a nonvolatile memory
US5959541A (en) * 1997-09-23 1999-09-28 Accu-Time Systems, Inc. Biometric time and attendance system with epidermal topographical updating capability
US6000006A (en) * 1997-08-25 1999-12-07 Bit Microsystems, Inc. Unified re-map and cache-index table with dual write-counters for wear-leveling of non-volatile flash RAM mass storage
US6012636A (en) * 1997-04-22 2000-01-11 Smith; Frank E. Multiple card data system having first and second memory elements including magnetic strip and fingerprints scanning means
US6069920A (en) * 1994-01-18 2000-05-30 Siemens Aktiengesellschaft Method and arrangement for transmitting voice in a radio system
US6069970A (en) * 1997-05-16 2000-05-30 Authentec, Inc. Fingerprint sensor and token reader and associated methods
US6081858A (en) * 1997-11-26 2000-06-27 Cirrus Logic, Inc. Apparatus and method for shaping random waveforms
US6125192A (en) * 1997-04-21 2000-09-26 Digital Persona, Inc. Fingerprint recognition system
US6145069A (en) * 1999-01-29 2000-11-07 Interactive Silicon, Inc. Parallel decompression and compression system and method for improving storage density and access speed for non-volatile memory and embedded memory devices
US6148354A (en) * 1999-04-05 2000-11-14 M-Systems Flash Disk Pioneers Ltd. Architecture for a universal serial bus-based PC flash disk
US6193152B1 (en) * 1997-05-09 2001-02-27 Receiptcity.Com, Inc. Modular signature and data-capture system and point of transaction payment and reward system
US6202138B1 (en) * 1995-07-31 2001-03-13 Lexar Media, Inc Increasing the memory performance of flash memory devices by writing sectors simultaneously to multiple flash memory devices
US6230233B1 (en) * 1991-09-13 2001-05-08 Sandisk Corporation Wear leveling techniques for flash EEPROM systems
US6272628B1 (en) * 1998-12-14 2001-08-07 International Business Machines Corporation Boot code verification and recovery
US6275894B1 (en) * 1998-09-23 2001-08-14 Advanced Micro Devices, Inc. Bank selector circuit for a simultaneous operation flash memory device with a flexible bank partition architecture
US20010043174A1 (en) * 1996-10-31 2001-11-22 Jeffrey Jacobsen Display system for wireless pager
US6321478B1 (en) * 1998-12-04 2001-11-27 Smith & Wesson Corp. Firearm having an intelligent controller
US6354858B1 (en) * 2000-08-17 2002-03-12 International Business Machines Corporation Retention apparatus for flash memory card
US20020036922A1 (en) * 2000-07-28 2002-03-28 Micron Technology, Inc. Method and circuitry for bank tracking in write command sequence
US6381176B1 (en) * 2000-10-11 2002-04-30 Samsung Electronics Co., Ltd. Method of driving remapping in flash memory and flash memory architecture suitable therefor
US6405362B1 (en) * 1998-11-13 2002-06-11 Microsoft Corporation Automatic software installation and cleanup
US20020166023A1 (en) * 1999-04-15 2002-11-07 Dell Products, L.P. High speed bus interface for non-volatile integrated circuit memory supporting continuous transfer
US20020166059A1 (en) * 2001-05-01 2002-11-07 Rickey Albert E. Methods and apparatus for protecting against viruses on partitionable media
US20030046510A1 (en) * 2001-03-30 2003-03-06 North Gregory Allen System-on-a-chip with soft cache and systems and methods using the same
US6547130B1 (en) * 1999-06-03 2003-04-15 Ming-Shiang Shen Integrated circuit card with fingerprint verification capability
US6609187B1 (en) * 1999-07-06 2003-08-19 Dell Products L.P. Method and apparatus for supporting resizing of file system partitions
US20030163656A1 (en) * 2002-02-26 2003-08-28 Ganton Robert Bruce Memory configuration for a wireless communications device
US20030177300A1 (en) * 2002-03-18 2003-09-18 Samsung Electro-Mechanics Co., Ltd. Data processing method in high-capacity flash EEPROM card system
US20030182528A1 (en) * 2002-03-20 2003-09-25 Nec Electronics Corporation Single-chip microcomputer
US20030221083A1 (en) * 2002-05-21 2003-11-27 Microsoft Corporation System and method for filtering write operations to a storage medium containing an operating system image
US6718407B2 (en) * 1999-09-30 2004-04-06 Intel Corporation Multiplexer selecting one of input/output data from a low pin count interface and a program information to update a firmware device from a communication interface
US6725321B1 (en) * 1999-02-17 2004-04-20 Lexar Media, Inc. Memory system
US20040139290A1 (en) * 2003-01-10 2004-07-15 Gilbert Wolrich Memory interleaving
US20040148482A1 (en) * 2003-01-13 2004-07-29 Grundy Kevin P. Memory chain
US20040195339A1 (en) * 2003-04-02 2004-10-07 Carry Computer Eng. Co., Ltd. Micro card and passive commutate device suitable for micro card
US6823435B1 (en) * 1997-11-20 2004-11-23 Advanced Micro Devices, Inc. Non-volatile memory system having a programmably selectable boot code section size
US20040236936A1 (en) * 2003-05-21 2004-11-25 Mallik Bulusu Methods and apparatus to update a basic input/output system (BIOS)
US20040255054A1 (en) * 2003-06-10 2004-12-16 Khein-Seng Pua High-speed data transmission device
US20050060528A1 (en) * 2003-09-17 2005-03-17 Samsung Electronics Co., Ltd. Booting and boot code update method and system thereof
US20050083741A1 (en) * 2003-04-11 2005-04-21 Chang William H. Autorun for integrated circuit memory component
US6886104B1 (en) * 1999-06-25 2005-04-26 Cross Match Technologies Rechargeable mobile hand-held fingerprint scanner with a data and power communication interface
US20050102444A1 (en) * 2003-11-07 2005-05-12 Cruz Arnaldo R. Memory controller useable in a data processing system
US20050114587A1 (en) * 2003-11-22 2005-05-26 Super Talent Electronics Inc. ExpressCard with On-Card Flash Memory with Shared Flash-Control Bus but Separate Ready Lines
US20050120146A1 (en) * 2003-12-02 2005-06-02 Super Talent Electronics Inc. Single-Chip USB Controller Reading Power-On Boot Code from Integrated Flash Memory for User Storage
US20050182858A1 (en) * 2004-02-13 2005-08-18 Incomm Technologies Co., Ltd. Portable memory device with multiple I/O interfaces
US20050193162A1 (en) * 2004-02-26 2005-09-01 Horng-Yee Chou USB card reader
US20050193161A1 (en) * 2004-02-26 2005-09-01 Lee Charles C. System and method for controlling flash memory
US20050216624A1 (en) * 2002-09-26 2005-09-29 Guoshun Deng Device and method for providing data exchange and storage
US6965963B1 (en) * 1999-07-28 2005-11-15 Sony Corporation Continuous arrangement of data clusters across multiple storages
US20050268339A1 (en) * 2004-05-26 2005-12-01 Mount Sinai School Of Medicine Of New York University System and method for presenting copy protected content to a user
US20050283598A1 (en) * 2004-06-22 2005-12-22 International Business Machines Corporation Method and system for loading processor boot code from serial flash memory
US20060075395A1 (en) * 2004-10-01 2006-04-06 Lee Charles C Flash card system
US7069370B2 (en) * 2003-01-31 2006-06-27 Toshiba Corporation USB memory storage apparatus with integrated circuit in a connector
US20060173980A1 (en) * 2002-11-01 2006-08-03 Shinya Kobayashi Detachable device, control circuit, control circuit firmware program, information processing method and circuit design pattern in control circuit, and log-in method
US7102671B1 (en) * 2000-02-08 2006-09-05 Lexar Media, Inc. Enhanced compact flash memory card
US7188228B1 (en) * 2003-10-01 2007-03-06 Sandisk Corporation Hybrid mapping implementation within a non-volatile memory system
US20070088940A1 (en) * 2005-10-13 2007-04-19 Sandisk Corporation Initialization of flash storage via an embedded controller
US7257714B1 (en) * 1999-10-19 2007-08-14 Super Talent Electronics, Inc. Electronic data storage medium with fingerprint verification capability
US20080147964A1 (en) * 2004-02-26 2008-06-19 Chow David Q Using various flash memory cells to build usb data flash cards with multiple partitions and autorun function

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63163589A (en) 1986-12-25 1988-07-07 Mitsubishi Electric Corp Ic card with fingerprint input device
JPH02118790A (en) 1988-10-27 1990-05-07 Nec Corp Ic card with fingerprint collating function
JPH1139483A (en) 1997-07-16 1999-02-12 Nippon Telegr & Teleph Corp <Ntt> Fingerprint authentication card, memory card, authentication system, authentication device and portable equipment

Patent Citations (77)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4582985A (en) * 1981-03-18 1986-04-15 Loefberg Bo Data carrier
US4926480A (en) * 1983-08-22 1990-05-15 David Chaum Card-computer moderated systems
US4630201A (en) * 1984-02-14 1986-12-16 International Security Note & Computer Corporation On-line and off-line transaction security system using a code generated from a transaction parameter and a random number
US5020105A (en) * 1986-06-16 1991-05-28 Applied Information Technologies Corporation Field initialized authentication system for protective security of electronic information networks
US4766293A (en) * 1986-06-26 1988-08-23 Visa International Service Association Portable financial transaction card capable of authorizing a transaction in foreign currencies
US5180901A (en) * 1990-05-21 1993-01-19 Kabushiki Kaisha Toshiba IC card with individual authentication function
US6230233B1 (en) * 1991-09-13 2001-05-08 Sandisk Corporation Wear leveling techniques for flash EEPROM systems
US5559956A (en) * 1992-01-10 1996-09-24 Kabushiki Kaisha Toshiba Storage system with a flash memory module
US5596738A (en) * 1992-01-31 1997-01-21 Teac Corporation Peripheral device control system using changeable firmware in a single flash memory
US5280527A (en) * 1992-04-14 1994-01-18 Kamahira Safe Co., Inc. Biometric token for authorizing access to a host system
US5438359A (en) * 1992-09-16 1995-08-01 Asahi Kogaku Kogyo Kabushiki Kaisha Electronic camera system using IC memory card
US5404485A (en) * 1993-03-08 1995-04-04 M-Systems Flash Disk Pioneers Ltd. Flash file system
US5479638A (en) * 1993-03-26 1995-12-26 Cirrus Logic, Inc. Flash memory mass storage architecture incorporation wear leveling technique
US6069920A (en) * 1994-01-18 2000-05-30 Siemens Aktiengesellschaft Method and arrangement for transmitting voice in a radio system
US5623552A (en) * 1994-01-21 1997-04-22 Cardguard International, Inc. Self-authenticating identification card with fingerprint identification
US5675833A (en) * 1994-06-29 1997-10-07 Microsoft Corporation Apparatus and method for detecting insertions and removals of floppy disks by monitoring write-protect signal
US5502797A (en) * 1994-10-04 1996-03-26 Lexmark International, Inc. Apparatus with flash memory control for revision
US5907856A (en) * 1995-07-31 1999-05-25 Lexar Media, Inc. Moving sectors within a block of information in a flash memory mass storage architecture
US6202138B1 (en) * 1995-07-31 2001-03-13 Lexar Media, Inc Increasing the memory performance of flash memory devices by writing sectors simultaneously to multiple flash memory devices
US5936884A (en) * 1995-09-29 1999-08-10 Intel Corporation Multiple writes per a single erase for a nonvolatile memory
US5860082A (en) * 1996-03-28 1999-01-12 Datalight, Inc. Method and apparatus for allocating storage in a flash memory
US20010043174A1 (en) * 1996-10-31 2001-11-22 Jeffrey Jacobsen Display system for wireless pager
US6125192A (en) * 1997-04-21 2000-09-26 Digital Persona, Inc. Fingerprint recognition system
US6012636A (en) * 1997-04-22 2000-01-11 Smith; Frank E. Multiple card data system having first and second memory elements including magnetic strip and fingerprints scanning means
US6193152B1 (en) * 1997-05-09 2001-02-27 Receiptcity.Com, Inc. Modular signature and data-capture system and point of transaction payment and reward system
US6069970A (en) * 1997-05-16 2000-05-30 Authentec, Inc. Fingerprint sensor and token reader and associated methods
US6000006A (en) * 1997-08-25 1999-12-07 Bit Microsystems, Inc. Unified re-map and cache-index table with dual write-counters for wear-leveling of non-volatile flash RAM mass storage
US5959541A (en) * 1997-09-23 1999-09-28 Accu-Time Systems, Inc. Biometric time and attendance system with epidermal topographical updating capability
US6823435B1 (en) * 1997-11-20 2004-11-23 Advanced Micro Devices, Inc. Non-volatile memory system having a programmably selectable boot code section size
US6081858A (en) * 1997-11-26 2000-06-27 Cirrus Logic, Inc. Apparatus and method for shaping random waveforms
US6275894B1 (en) * 1998-09-23 2001-08-14 Advanced Micro Devices, Inc. Bank selector circuit for a simultaneous operation flash memory device with a flexible bank partition architecture
US6633949B2 (en) * 1998-09-23 2003-10-14 Advanced Micro Devices, Inc. Bank selector circuit for a simultaneous operation flash memory device with a flexible bank partition architecture
US6405362B1 (en) * 1998-11-13 2002-06-11 Microsoft Corporation Automatic software installation and cleanup
US6321478B1 (en) * 1998-12-04 2001-11-27 Smith & Wesson Corp. Firearm having an intelligent controller
US6272628B1 (en) * 1998-12-14 2001-08-07 International Business Machines Corporation Boot code verification and recovery
US6145069A (en) * 1999-01-29 2000-11-07 Interactive Silicon, Inc. Parallel decompression and compression system and method for improving storage density and access speed for non-volatile memory and embedded memory devices
US6725321B1 (en) * 1999-02-17 2004-04-20 Lexar Media, Inc. Memory system
US6148354A (en) * 1999-04-05 2000-11-14 M-Systems Flash Disk Pioneers Ltd. Architecture for a universal serial bus-based PC flash disk
US20020166023A1 (en) * 1999-04-15 2002-11-07 Dell Products, L.P. High speed bus interface for non-volatile integrated circuit memory supporting continuous transfer
US6547130B1 (en) * 1999-06-03 2003-04-15 Ming-Shiang Shen Integrated circuit card with fingerprint verification capability
US6886104B1 (en) * 1999-06-25 2005-04-26 Cross Match Technologies Rechargeable mobile hand-held fingerprint scanner with a data and power communication interface
US6609187B1 (en) * 1999-07-06 2003-08-19 Dell Products L.P. Method and apparatus for supporting resizing of file system partitions
US6965963B1 (en) * 1999-07-28 2005-11-15 Sony Corporation Continuous arrangement of data clusters across multiple storages
US6718407B2 (en) * 1999-09-30 2004-04-06 Intel Corporation Multiplexer selecting one of input/output data from a low pin count interface and a program information to update a firmware device from a communication interface
US7257714B1 (en) * 1999-10-19 2007-08-14 Super Talent Electronics, Inc. Electronic data storage medium with fingerprint verification capability
US7102671B1 (en) * 2000-02-08 2006-09-05 Lexar Media, Inc. Enhanced compact flash memory card
US20020036922A1 (en) * 2000-07-28 2002-03-28 Micron Technology, Inc. Method and circuitry for bank tracking in write command sequence
US6354858B1 (en) * 2000-08-17 2002-03-12 International Business Machines Corporation Retention apparatus for flash memory card
US6381176B1 (en) * 2000-10-11 2002-04-30 Samsung Electronics Co., Ltd. Method of driving remapping in flash memory and flash memory architecture suitable therefor
US20030046510A1 (en) * 2001-03-30 2003-03-06 North Gregory Allen System-on-a-chip with soft cache and systems and methods using the same
US20020166059A1 (en) * 2001-05-01 2002-11-07 Rickey Albert E. Methods and apparatus for protecting against viruses on partitionable media
US20030163656A1 (en) * 2002-02-26 2003-08-28 Ganton Robert Bruce Memory configuration for a wireless communications device
US20030177300A1 (en) * 2002-03-18 2003-09-18 Samsung Electro-Mechanics Co., Ltd. Data processing method in high-capacity flash EEPROM card system
US20030182528A1 (en) * 2002-03-20 2003-09-25 Nec Electronics Corporation Single-chip microcomputer
US20030221083A1 (en) * 2002-05-21 2003-11-27 Microsoft Corporation System and method for filtering write operations to a storage medium containing an operating system image
US20050216624A1 (en) * 2002-09-26 2005-09-29 Guoshun Deng Device and method for providing data exchange and storage
US20060173980A1 (en) * 2002-11-01 2006-08-03 Shinya Kobayashi Detachable device, control circuit, control circuit firmware program, information processing method and circuit design pattern in control circuit, and log-in method
US20040139290A1 (en) * 2003-01-10 2004-07-15 Gilbert Wolrich Memory interleaving
US20040148482A1 (en) * 2003-01-13 2004-07-29 Grundy Kevin P. Memory chain
US7069370B2 (en) * 2003-01-31 2006-06-27 Toshiba Corporation USB memory storage apparatus with integrated circuit in a connector
US20040195339A1 (en) * 2003-04-02 2004-10-07 Carry Computer Eng. Co., Ltd. Micro card and passive commutate device suitable for micro card
US20050083741A1 (en) * 2003-04-11 2005-04-21 Chang William H. Autorun for integrated circuit memory component
US20040236936A1 (en) * 2003-05-21 2004-11-25 Mallik Bulusu Methods and apparatus to update a basic input/output system (BIOS)
US20040255054A1 (en) * 2003-06-10 2004-12-16 Khein-Seng Pua High-speed data transmission device
US20050060528A1 (en) * 2003-09-17 2005-03-17 Samsung Electronics Co., Ltd. Booting and boot code update method and system thereof
US7188228B1 (en) * 2003-10-01 2007-03-06 Sandisk Corporation Hybrid mapping implementation within a non-volatile memory system
US20050102444A1 (en) * 2003-11-07 2005-05-12 Cruz Arnaldo R. Memory controller useable in a data processing system
US20050114587A1 (en) * 2003-11-22 2005-05-26 Super Talent Electronics Inc. ExpressCard with On-Card Flash Memory with Shared Flash-Control Bus but Separate Ready Lines
US20050120146A1 (en) * 2003-12-02 2005-06-02 Super Talent Electronics Inc. Single-Chip USB Controller Reading Power-On Boot Code from Integrated Flash Memory for User Storage
US20050182858A1 (en) * 2004-02-13 2005-08-18 Incomm Technologies Co., Ltd. Portable memory device with multiple I/O interfaces
US20050193161A1 (en) * 2004-02-26 2005-09-01 Lee Charles C. System and method for controlling flash memory
US20050193162A1 (en) * 2004-02-26 2005-09-01 Horng-Yee Chou USB card reader
US20080147964A1 (en) * 2004-02-26 2008-06-19 Chow David Q Using various flash memory cells to build usb data flash cards with multiple partitions and autorun function
US20050268339A1 (en) * 2004-05-26 2005-12-01 Mount Sinai School Of Medicine Of New York University System and method for presenting copy protected content to a user
US20050283598A1 (en) * 2004-06-22 2005-12-22 International Business Machines Corporation Method and system for loading processor boot code from serial flash memory
US20060075395A1 (en) * 2004-10-01 2006-04-06 Lee Charles C Flash card system
US20070088940A1 (en) * 2005-10-13 2007-04-19 Sandisk Corporation Initialization of flash storage via an embedded controller

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080235438A1 (en) * 2007-03-20 2008-09-25 Sony Corporation And Sony Electronics Inc. System and method for effectively implementing a multiple-channel memory architecture
US9201824B2 (en) * 2009-01-22 2015-12-01 Intel Deutschland Gmbh Method and apparatus for adaptive data chunk transfer
US20100274951A1 (en) * 2009-04-24 2010-10-28 A-Data Technology (Suzhou) Co., Ltd. Electronic storage device with improved storage method
US8090918B2 (en) * 2009-04-24 2012-01-03 A-Data Technology (Suzhou) Co., Ltd. Electronic storage device with improved storage method
US20110153916A1 (en) * 2009-12-23 2011-06-23 Chinnaswamy Kumar K Hybrid memory architectures
US10134471B2 (en) 2009-12-23 2018-11-20 Intel Corporation Hybrid memory architectures
US8914568B2 (en) * 2009-12-23 2014-12-16 Intel Corporation Hybrid memory architectures
US9055687B2 (en) * 2010-08-20 2015-06-09 Rockwell Automation Technologies, Inc. Input/output circuits and devices having physically corresponding status indicators
US9055688B2 (en) 2010-08-20 2015-06-09 Rockwell Automation Technologies, Inc. Input/output circuits having status indicators aligned with respective terminals
US9483928B2 (en) 2010-08-20 2016-11-01 Rockwell Automation Technologies, Inc. Input/output circuits and devices having physically corresponding status indicators
US20120044082A1 (en) * 2010-08-20 2012-02-23 Rockwell Automation Technologies, Inc. Input/Output Circuits and Devices Having Physically Corresponding Status Indicators
US9251087B2 (en) 2011-02-11 2016-02-02 SanDisk Technologies, Inc. Apparatus, system, and method for virtual memory management
CN105955118A (en) * 2016-05-16 2016-09-21 深圳市德立信环境工程有限公司 Garbage dumping and recycling system

Also Published As

Publication number Publication date
US20080005471A1 (en) 2008-01-03
US20100030961A9 (en) 2010-02-04
US7702831B2 (en) 2010-04-20
US20100082893A1 (en) 2010-04-01

Similar Documents

Publication Publication Date Title
US7702831B2 (en) Flash memory controller for electronic data flash card
US20080071931A1 (en) Electronic data flash card with various flash memory cells
US7690031B2 (en) Managing bad blocks in flash memory for electronic data flash card
US7318117B2 (en) Managing flash memory including recycling obsolete sectors
US20080082736A1 (en) Managing bad blocks in various flash memory cells for electronic data flash card
US7690030B1 (en) Electronic data flash card with fingerprint verification capability
CN100487678C (en) Electronic data flash memory card with flash memory controller
US7299316B2 (en) Memory flash card reader employing an indexing scheme
US8171204B2 (en) Intelligent solid-state non-volatile memory device (NVMD) system with multi-level caching of multiple channels
US7676640B2 (en) Flash memory controller controlling various flash memory cells
TWI351605B (en) Managing bad blocks in flash memory for electronic
US8108590B2 (en) Multi-operation write aggregator using a page buffer and a scratch flash block in each of multiple channels of a large array of flash memory to reduce block wear
US8296467B2 (en) Single-chip flash device with boot code transfer capability
US7873837B1 (en) Data security for electronic data flash card
US8180931B2 (en) USB-attached-SCSI flash-memory system with additional command, status, and control pipes to a smart-storage switch
US8037234B2 (en) Command queuing smart storage transfer manager for striping data to raw-NAND flash modules
US10387064B2 (en) Storage device, host communicating with the storage device, and electronic device including the storage device
US20080147964A1 (en) Using various flash memory cells to build usb data flash cards with multiple partitions and autorun function
US20080256352A1 (en) Methods and systems of booting of an intelligent non-volatile memory microcontroller from various sources
US20080320209A1 (en) High Performance and Endurance Non-volatile Memory Based Storage Systems
US20100146256A1 (en) Mixed-Mode ROM/RAM Booting Using an Integrated Flash Controller with NAND-Flash, RAM, and SD Interfaces
US20100023682A1 (en) Flash-Memory System with Enhanced Smart-Storage Switch and Packed Meta-Data Cache for Mitigating Write Amplification by Delaying and Merging Writes until a Host Read
CN101398785A (en) Electronic data flash card with various flash memory cells

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION