USB storage device and program
First Claim
1. A USB storage device capable of being attached to and detached from an external device, comprising:
- storage means for storing information using a semiconductor memory;
communication means for performing communication according to the USB protocol with the external device; and
control means for executing reading, writing and deleting of the information to and from the storage means in accordance with a command received from the external device through the communication means, wherein the control means divides the storage means into a first area and a second area, and executes reading, writing and deleting of the information to the first area in accordance with the command and executes only reading of the information to the second area in accordance with the command;
retains information to make the USB mass storage class driver recognize the first and second areas as areas corresponding to logical unit numbers defined in the SCSI command set of the USB mass storage class driver owned by the external device; and
makes the USB mass storage class driver recognize the USB storage device as a SCSI device having two logical units.
2 Assignments
0 Petitions
Accused Products
Abstract
A USB storage device having the function of preventing stored software from being deleted by mistake achieved with as simple a structure as possible. In the USB storage device, the storage area is divided into an area in which execution of reading, writing and deleting is allowed and an area in which only execution of reading is allowed. Information to make a USB mass storage class driver recognize these areas as areas corresponding, respectively, to logical unit numbers defined in the SCSI command set of the USB mass storage class driver owned by the host is stored in the USB storage device. The information includes logical unit numbers, formats, writing/deleting allowed/not allowed flag, logical block numbers and physical block numbers. By this, the USB mass storage class driver recognizes the USB storage device as a SCSI device having two logical units.
140 Citations
8 Claims
-
1. A USB storage device capable of being attached to and detached from an external device, comprising:
-
storage means for storing information using a semiconductor memory;
communication means for performing communication according to the USB protocol with the external device; and
control means for executing reading, writing and deleting of the information to and from the storage means in accordance with a command received from the external device through the communication means, wherein the control means divides the storage means into a first area and a second area, and executes reading, writing and deleting of the information to the first area in accordance with the command and executes only reading of the information to the second area in accordance with the command;
retains information to make the USB mass storage class driver recognize the first and second areas as areas corresponding to logical unit numbers defined in the SCSI command set of the USB mass storage class driver owned by the external device; and
makes the USB mass storage class driver recognize the USB storage device as a SCSI device having two logical units. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification