Portable storage medium based on universal serial bus standard and UFI standard
First Claim
1. A portable storage medium, based on USB standard, connected to a USB port of a host computer applying UFI protocol, comprising:
- a USB connector through which the storage medium is physically connected to the USB port of the host computer;
at least one nonvolatile flash memory for storing data transmitted from the host computer;
a program storage for storing a predetermined operation program based on USB and UFI; and
a controller for controlling the entire operation of the storage medium based on the predetermined operation program stored in the program storage, wherein the predetermined operation program of the program storage includes a memory processing block for checking and updating header block information of the flash memory, a device recognition processing block for transmitting device descriptor information and interface descriptor information for loading a UFI driver to the host computer, and a UFI processing block for generating predetermined UFI response packets by UFI commands sent from the host computer to transmit them to the host computer.
5 Assignments
0 Petitions
Accused Products
Abstract
There is provided a portable storage medium, based on USB standard, connected to a USB port of a host computer applying UFI protocol. The portable storage medium comprises a USB connector through which the storage medium is physically connected to the USB port of the host computer; at least one nonvolatile flash memory for storing data transmitted from the host computer; a program storage for storing a predetermined operation program based on USB and UFI; and a controller for controlling the entire operation of the storage medium based on the operation program stored in the program storage. The operation program of the program storage includes a memory processing block for checking and updating header block information of the flash memory, a device recognition processing block for transmitting device descriptor information and interface descriptor information for loading a UFI driver to the host computer, and a UFI processing block for generating predetermined UFI response packets by UFI commands sent from the host computer to transmit them to the host computer.
195 Citations
10 Claims
-
1. A portable storage medium, based on USB standard, connected to a USB port of a host computer applying UFI protocol, comprising:
-
a USB connector through which the storage medium is physically connected to the USB port of the host computer;
at least one nonvolatile flash memory for storing data transmitted from the host computer;
a program storage for storing a predetermined operation program based on USB and UFI; and
a controller for controlling the entire operation of the storage medium based on the predetermined operation program stored in the program storage, wherein the predetermined operation program of the program storage includes a memory processing block for checking and updating header block information of the flash memory, a device recognition processing block for transmitting device descriptor information and interface descriptor information for loading a UFI driver to the host computer, and a UFI processing block for generating predetermined UFI response packets by UFI commands sent from the host computer to transmit them to the host computer. - View Dependent Claims (2, 3, 4, 5)
wherein the SMC controller is connected to the flash memory through a data/address bus to transmit data read or written and address information of the data; wherein the program storage includes a memory driving block for selectively driving the flash memory based on memory address information contained in “
write” and
“
read”
commands transmitted from the host computer; and
wherein the microprocessor is connected to the flash memory through a system bus to apply a chip select signal for driving the flash memory according to the operation routine of the memory driving block.
-
-
4. The portable storage medium as recited in claim 1, wherein the program storage further includes a write processing block, the write processing block directly writing data in pages into a current memory address, when at least two “
- write”
commands are sequently transmitted from the host computer for the same memory block of the flash memory, and when the memory address of a first “
write”
command, transmitted after a second “
write”
command of a corresponding memory block, follows the memory address of an immediate previous “
write”
command.
- write”
-
5. The portable medium as recited in claim 1, further comprising:
-
a toggle switch for operating a low-level-formatting operation when FAT information of the flash memory is damaged;
wherein the program storage further includes a format processing block for deleting a block 0 of the flash memory when the number of times of switching operations of the toggle switch exceeds a predetermined number of times.
-
-
6. A method for controlling the recognition of a portable storage medium which is connected to a USB port of a host computer applying UFI protocol and USB standard, the method comprising the steps of:
-
transmitting device descriptor information, containing a manufacturer ID, a product ID and a first class information for selecting a UFI method, to the host computer in response to a request of the device descriptor of the host computer;
transmitting interface descriptor information, containing a second class information for selecting UFI protocol, to the host computer in response to a request of the interface descriptor of the host computer;
loading a UFI driver of the host computer according to the selected UFI protocol;
transmitting a UFI response packet, including predetermined device information and capacity information, to the host computer in response to a request of identifying device and capacity of the host computer; and
sending FAT information stored in a flash memory to the host computer in response to a request of FAT information of the host computer.
-
-
7. A method for controlling data writing operation of a portable storage medium adapting USB standard, comprising:
-
a first step of confirming if a “
write”
command is transmitted from a host computer to which the storage medium is connected;
a second step of confirming if a transmitted “
write”
command is a first “
write”
command;
a third step of confirming if the memory address of a current “
write”
command follows the memory address of a previous “
write”
command, when the transmitted “
write”
command is not the first “
write”
command; and
a fourth step of writing a new page, after a previous page, when the memory address of a previous “
write”
command follows the memory address of a current “
write”
command,the first to fourth steps being performed in a memory block where pages into which data will be written and pages into which data was written exist concurrently. - View Dependent Claims (8, 9, 10)
-
Specification