JP2004171536A5 - - Google Patents

Download PDF

Info

Publication number
JP2004171536A5
JP2004171536A5 JP2003365044A JP2003365044A JP2004171536A5 JP 2004171536 A5 JP2004171536 A5 JP 2004171536A5 JP 2003365044 A JP2003365044 A JP 2003365044A JP 2003365044 A JP2003365044 A JP 2003365044A JP 2004171536 A5 JP2004171536 A5 JP 2004171536A5
Authority
JP
Japan
Prior art keywords
usb
information
area
storage device
class driver
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.)
Granted
Application number
JP2003365044A
Other languages
Japanese (ja)
Other versions
JP3699717B2 (en
JP2004171536A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2003365044A priority Critical patent/JP3699717B2/en
Priority claimed from JP2003365044A external-priority patent/JP3699717B2/en
Publication of JP2004171536A publication Critical patent/JP2004171536A/en
Publication of JP2004171536A5 publication Critical patent/JP2004171536A5/ja
Application granted granted Critical
Publication of JP3699717B2 publication Critical patent/JP3699717B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

USBストレージデバイス及びその制御装置USB storage device and its control device

本発明は、半導体メモリを用いて情報を記憶するUSBストレージデバイス及びその制御装置に関する。 The present invention relates to a USB storage device that stores information using a semiconductor memory and a control device therefor .

近年、フラッシュメモリ等を内蔵し、USB(Universal Serial Bus)規格に基づいたインターフェースを備え、USBコネクタ部分を本体に一体化することによってコンパクトな形状を実現した着脱式のUSBストレージデバイスが広く知られている(例えば特許文献1)。このようなUSBストレージデバイスはコンパクトな形状であるため安価に製造でき、内部にコマーシャル等のソフトウェアを書き込んで企業の販促品として利用されている。   2. Description of the Related Art In recent years, a detachable USB storage device that has a built-in flash memory, has an interface based on the USB (Universal Serial Bus) standard, and realizes a compact shape by integrating a USB connector portion into a main body has been widely known. (For example, Patent Document 1). Such a USB storage device has a compact shape and can be manufactured at low cost, and software such as a commercial is written in the USB storage device and is used as a sales promotion product of a company.

このようなUSBストレージデバイスの多くは、ソフトウェアが誤って消去されないようにするため、ライトプロテクトスイッチのような物理的なスイッチを設け、そのスイッチを切り替えることにより、読み込み、書き込み及び消去が可能な状態と読み込みのみが可能な状態とを切り替えられるようにしている。また、ROM等の元々書き換え不可能なメモリを使用して完全に書き込み及び消去をできないようにする場合もある。   Many of such USB storage devices are provided with a physical switch such as a write protect switch to prevent software from being accidentally erased, and by switching the switch, a state in which reading, writing, and erasing can be performed is performed. And a state where only reading is possible. In some cases, writing and erasing cannot be completely performed by using an originally non-rewritable memory such as a ROM.

しかし、このようにROM等を用いて使用者が情報を書き込めないようにしてしまうと、使用目的が限られてしまい使い勝手が悪かった。また、ソフトウェアの実行時に一時ファイルやデータ等が書き込めずに、ソフトウェア自体の機能が制限される場合もあった。一方、上述したライトプロテクトスイッチを用いる場合は、使用者が意識しない物理的要因によってライトプロテクトスイッチが解除されてしまい、意図しない書き込みや消去が実行される場合もあり得た。   However, if the user cannot write information using a ROM or the like, the purpose of use is limited and the usability is poor. In addition, the functions of the software itself may be limited because a temporary file or data cannot be written during execution of the software. On the other hand, when the above-mentioned write protect switch is used, the write protect switch may be released due to a physical factor that is not conscious of the user, and unintended writing or erasing may be performed.

そこで、このような問題を解決するために特許文献2に記載のような技術が考えられている。これは、書き換え可能型の可搬型メディアに対して、仮想的に書き換え禁止領域や読み込み禁止領域を設けてハイブリッドな構成にするものである。
特開2000−259275号公報 特開平10−289159号公報
In order to solve such a problem, a technique as described in Patent Document 2 has been considered. This is a hybrid configuration in which a rewritable area and a read-inhibited area are virtually provided for a rewritable portable medium.
JP 2000-259275 A JP-A-10-289159

ところが、特許文献2に記載の技術をUSBストレージデバイスに適用することを考えた場合、具体的な実現方法としては次のような方法が考えられる。
一つは、USBストレージデバイスに、内部的に2つのUSBストレージデバイス(うち一方のUSBストレージデバイスは削除及び書き込みを制限)とそれらを接続したハブとを備えることにより実現する方法である。しかし、このようなUSBストレージデバイスは、内部に実質的に2つのUSBストレージデバイスを備えるため、構成が複雑になるといった問題があった。また、ホストでは、USBストレージデバイスが接続された際に、まずHUBデバイスとして認識し、その後、内蔵されたUSBストレージデバイスの数だけ、マスストレージクラスドライバの初期化が必要になるため、接続時の処理に時間がかかるといった問題もあった。
However, when the technology described in Patent Document 2 is applied to a USB storage device, the following method can be considered as a specific implementation method.
One is a method realized by internally providing a USB storage device with two USB storage devices (one of which limits deletion and writing) and a hub connecting them. However, such a USB storage device has a problem that its configuration is complicated because it has substantially two USB storage devices inside. Also, when a USB storage device is connected, the host first recognizes it as a HUB device, and then it is necessary to initialize the mass storage class drivers by the number of built-in USB storage devices. There is also a problem that processing takes time.

また一つは、USB規格におけるエンドポイントの数を増やすことによって実現する方法も考えられる。しかし、このような方法を用いた場合は、USBストレージデバイスが備えるコントローラにエンドポイントの数分だけFIFOバッファが必要になる。また、最近では、FIFOバッファを多数実装しない仮想エンドポイントなる技法を用いたコン
トローラもあるが、何れの場合もコントローラが複雑になり、コスト増を招く要因となっていた。
Another is a method that can be realized by increasing the number of endpoints in the USB standard. However, when such a method is used, a FIFO buffer is required in the controller of the USB storage device for the number of endpoints. Further, recently, there is a controller using a technique of a virtual endpoint which does not implement a large number of FIFO buffers, but in any case, the controller becomes complicated and causes an increase in cost.

本発明は、このような問題に鑑みなされたものであり、記憶済みのソフトウェアが誤って消去されることを防止するという機能ができるだけ単純な構成で実現されたUSBストレージデバイス及びその制御装置を提供することを目的とする。 The present invention has been made in view of such a problem, and provides a USB storage device having a function of preventing stored software from being accidentally erased with a configuration as simple as possible and a control device therefor. The purpose is to do.

上記課題を解決するためになされた請求項1に記載のUSBストレージデバイスは、所定のオペレーションシステムによって制御されると共に少なくともディスクドライブドライバ、USBマスストレージクラスドライバ及びUSBホストコントローラを具備する外部装置への着脱が可能なUSBストレージデバイスであって、フラッシュメモリの記憶領域を、第1の領域と第2の領域とに分けて定義してなる記憶手段と、外部装置とUSBプロトコルに基づいた通信を行う通信手段と、通信手段を介して、記憶手段に対して情報の読み出し、書き込み及び削除を実行する制御手段と、を備える。
制御手段は、第1と第2の領域を、USBマスストレージクラスドライバにそれぞれ所定の種類のデバイスとして認識させるための情報を記憶し、ディスクドライブドライバからの指令に従って、前記認識させるための情報をUSBマスストレージクラスドライバに供給して、当該USBマスストレージクラスドライバに、本USBストレージデバイスの前記各領域を、それぞれ異なる種類のデバイスとして認識させるとともに、外部装置から受け取った指令と前記認識させるための情報とに基づいて、第1の領域と第2の領域に対して、それぞれ許容されているアクセス処理を実行する。
The USB storage device according to claim 1, which has been made to solve the above problem, is provided for controlling an external device controlled by a predetermined operation system and having at least a disk drive driver, a USB mass storage class driver, and a USB host controller. A removable USB storage device that communicates with an external device based on a USB protocol, and a storage unit that defines a storage area of a flash memory divided into a first area and a second area. A communication unit; and a control unit that executes reading, writing, and deletion of information from and to the storage unit via the communication unit.
The control means stores information for causing the USB mass storage class driver to recognize the first and second areas as devices of a predetermined type, and stores the information for recognizing the first and second areas according to a command from the disk drive driver. A USB mass storage class driver for causing the USB mass storage class driver to recognize the respective areas of the USB storage device as devices of different types, and to receive a command received from an external device and the recognition. Based on the information, the access processing that is permitted for each of the first area and the second area is executed.

このため、例えば「所定の種類のデバイスとして認識させるための情報」を、情報の読み出し、書き込み及び削除を実行可能なディスクデバイスとして認識させるための情報と、情報の読み出しのみを実行可能なCD−ROMデバイスとして認識させるための情報とによって構成すれば(請求項2)、販促品として本発明のUSBストレージデバイスを利用した場合に、誤って消去されると問題のあるソフトウェアをCD−ROMデバイスに対応する領域に記憶させておくことにより、外部装置(例えばパーソナルコンピュータ)から当該領域に対する削除指令を受け取った場合でも制御手段がその指令を実行しないため、ソフトウェアが消去されることや改変されることを防止できる。 For this reason, for example, information for recognizing "information for recognizing a device of a predetermined type" as a disk device capable of reading, writing, and deleting information, and a CD-ROM for recognizing only information. When the USB storage device of the present invention is used as a sales promotion product , if it is constituted by information to be recognized as a ROM device (claim 2), software that has a problem if erased by mistake is stored in a CD-ROM device. the corresponding and stored in the area you Kukoto, since the control means even when receiving the deletion command to the aforementioned areas from an external device (e.g. personal computer) does not execute the command, is that or modified software is erased Can be prevented.

また、ディスクデバイスに対応する領域に対してはプロテクトスイッチ等を切り替えることなく利用者等が任意に情報を書き込むことができるため使い勝手もよい。
なお、ディスクデバイスに対応する領域を例えばFAT(File Allocation Table)フォーマット、CD−ROMデバイスに対応する領域を例えばISO9660フォーマットで構成しておくとよい。このように構成しておけば、外部装置のオペレーションシステムがそのフォーマットを認識し、ディスクデバイスに対応する領域への読み出し、書き込み及び削除指令は発行するが、CD−ROMデバイスに対応するの領域への書き込み指令や削除指令の発行を制限する。その上、何らかの理由で外部装置がCD−ROMデバイスに対応する領域への書き込み指令や削除指令を発行したとしても、本発明のUSBストレージデバイスであれば制御手段がその指令を実行しないため、確実にCD−ROMデバイスに対応するの領域に記憶されたソフトウェアを保護することができる。
Further, the user can arbitrarily write information in the area corresponding to the disk device without switching the protect switch or the like, so that the usability is good.
The area corresponding to the disk device may be configured in, for example, the FAT (File Allocation Table) format, and the area corresponding to the CD-ROM device may be configured in, for example, the ISO9660 format. With this configuration, the operation system of the external device recognizes the format and issues read, write, and delete commands to the area corresponding to the disk device, but issues commands to the area corresponding to the CD-ROM device . Issuance of write commands and delete commands for In addition, even if the external device issues a write command or a delete command to the area corresponding to the CD-ROM device for some reason, the control means does not execute the command if the USB storage device of the present invention is used. The software stored in the area corresponding to the CD-ROM device can be protected.

また、本発明のUSBストレージデバイスは、前記第1と第2の領域を、USBマスストレージクラスドライバにそれぞれ所定のデバイスとして認識させるための情報を保持している。このため、USBマスストレージクラスドライバは、本USBストレージデバイスの前記各領域をそれぞれ異なる種類のデバイスとして認識する。 Further, the USB storage device of the present invention holds information for causing the USB mass storage class driver to recognize the first and second areas as respective predetermined devices . For this reason, the USB mass storage class driver recognizes the respective areas of the present USB storage device as different types of devices .

したがって、このような領域の管理を、USB規格におけるエンドポイントの数を増やすことによって実現する場合と比べてUSBストレージデバイスのコントローラを単純化することができる。なぜならエンドポイントの数分だけコントローラはFIFOバッファを備えることが必要だからである。   Therefore, the controller of the USB storage device can be simplified as compared with the case where such area management is realized by increasing the number of endpoints in the USB standard. This is because the controller needs to have a FIFO buffer for the number of endpoints.

また、USBストレージデバイスに、内部的に2種類のUSBストレージデバイスとそれらを接続したハブとを備えることにより実現させる方法と比べても、本発明のUSBス
トレージデバイスは構成が単純である。また、本発明のUSBストレージデバイスであれば、ホストのオペレーションシステムが行うUSBマスストレージクラスドライバのイニシャライズ処理も1度で済むため、ホストのオペレーションシステムがUSBストレージデバイスを認識するまでの時間も短い。
Also, the USB storage device of the present invention has a simpler configuration than a method realized by internally providing two types of USB storage devices and a hub connecting them to the USB storage device. Further, in the case of the USB storage device of the present invention, the initialization processing of the USB mass storage class driver performed by the host operation system only needs to be performed once, so that the time required for the host operation system to recognize the USB storage device is short.

ところで、USBストレージデバイスの記憶手段のアドレス体系と、外部装置のオペレーションシステムが管理しているアドレス体系とが一致していればよいが、種々の事情により一致させることが難しい場合も考えられる。そのような場合は、請求項3に記載のように、制御手段は、前記領域毎に、その領域における論理ブロック番号と記憶手段の物理ブロック番号との対応関係を管理すると共に、当該対応関係を前記認識させるための情報と共に記憶し、この記憶している対応関係に基づき、情報の読み出し、書き込み又は削除を実行するようになっているとよい。なお、ここで言うブロック番号は、上述したアドレスと同意である。 By the way, it is only necessary that the address system of the storage means of the USB storage device and the address system managed by the operation system of the external device match, but it may be difficult to make them consistent due to various circumstances. In such a case, the control means manages, for each of the areas, the correspondence between the logical block number in the area and the physical block number of the storage means, and manages the correspondence. It is preferable that the information is stored together with the information to be recognized, and the information is read, written, or deleted based on the stored correspondence. Note that the block number here is synonymous with the address described above.

このようになっていれば、USBストレージデバイスの記憶手段のアドレス体系と、外部装置のオペレーションシステムが管理しているアドレス体系とを異なるものにして、書き込み等の制御を行うことができる。With this configuration, it is possible to control writing and the like by making the address system of the storage means of the USB storage device different from the address system managed by the operation system of the external device.
また、記憶手段の第2の領域にはどのようなプログラムやデータが記憶されていてもよいが、請求項4に記載のように、第2の領域にはアプリケーションプログラムが予め記憶されており、本USBストレージデバイスが外部装置に装着された際に、アプリケーションプログラムが自動実行されるように構成されているとよい。具体的には例えば、外部装置のオペレーションシステムがWindows(登録商標)であるときは、第2の領域に何らかのアプリケーションプログラムを記憶させておき、更に第2の領域のルートディレクトリに記憶されたautorun.infという名称のファイルに当該アプリケーションソフトウエアを指定しておけばよい。Further, any program or data may be stored in the second area of the storage means. However, as described in claim 4, an application program is stored in the second area in advance, When the USB storage device is attached to an external device, the application program may be configured to be automatically executed. Specifically, for example, when the operation system of the external device is Windows (registered trademark), some application program is stored in the second area, and autorun.exe stored in the root directory of the second area is further stored. The application software may be specified in a file named inf.

このようになっていれば、USBストレージデバイスが外部装置に装着された際に外部装置がアプリケーションプログラムを自動実行する。With this configuration, the external device automatically executes the application program when the USB storage device is mounted on the external device.

また、上記課題を解決するためになされた請求項5に記載のUSBストレージデバイスが搭載する制御装置は、USBストレージデバイスに設けられたフラッシュメモリーからなる記憶手段の第1の領域と第2の領域とを、当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバにそれぞれ所定の種類のデバイスとして認識させるための情報を記憶し、外部装置のディスクドライブドライバによるコマンドの発行に応答して、外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記各領域を、異なる種類のデバイスとして認識させるとともに、外部装置から受け取った指令と前記認識させるための情報とに基づいて、第1の領域と第2の領域に対して、それぞれ許容されているアクセス処理を実行する。A control device mounted on the USB storage device according to claim 5, which is provided to solve the above-mentioned problem, comprises a first area and a second area of a storage unit including a flash memory provided in the USB storage device. Is stored in the USB mass storage class driver of the external device to which the USB storage device is attached and used, as a predetermined type of device, and responds to issuance of a command by the disk drive driver of the external device. Then, information for causing the USB mass storage class driver of the external device to perform the recognition is supplied, and the USB mass storage class driver stores the respective areas of the USB storage device on which the control device is mounted, in different types of devices. As an external device. Based on the information for the order recognized the commands received, the first region and the second region, it executes the access processing is allowed, respectively.

また、請求項6に記載の制御装置は、第1の領域を情報の読み出し、書き込み及び削除を実行可能なディスクデバイスとして、第2の領域を情報の読み出しのみを実行可能なCD−ROMデバイスとして、USBマスストレージクラスドライバに認識させるための情報を記憶し、ディスクドライブドライバによるコマンドの発行に応答して、USBマスストレージクラスドライバへ前記認識させるための情報を供給して、USBマスストレージクラスドライバに当該制御装置が搭載されたUSBストレージデバイスの前記各領域をディスクデバイス及びCD−ROMデバイスという異なる2つの種類のデバイスとして認識させるとともに、外部装置から受け取った指令と認識させるための情報とに基づいて、第1の領域に対しては情報の読み出し、書き込み又は削除を実行し、第2の領域に対しては情報の読み出しのみを実行する。Further, the control device according to claim 6, wherein the first area is a disk device capable of reading, writing and deleting information, and the second area is a CD-ROM device capable of executing only reading of information. Stores information for causing the USB mass storage class driver to recognize the information, and supplies the USB mass storage class driver with information for causing the USB mass storage class driver to respond to the issuance of a command by the disk drive driver. And recognizes the respective areas of the USB storage device on which the control device is mounted as two different types of devices, namely, a disk device and a CD-ROM device, based on a command received from an external device and information for recognition. Reading the information for the first area And executes write or delete, for the second region to perform only reading of information.

請求項7に記載の制御装置は、前記領域毎に、その領域における論理ブロック番号と記憶手段の物理ブロック番号との対応関係を管理すると共に、当該対応関係を前記認識させるための情報と共に記憶し、この記憶している対応関係に基づき、情報の読み出し、書き込み又は削除を実行する。The control device according to claim 7, manages, for each area, a correspondence between a logical block number in the area and a physical block number of a storage unit, and stores the correspondence together with information for causing the correspondence to be recognized. Read, write or delete information based on the stored correspondence.

これら請求項5〜請求項7に記載の各制御装置は、請求項1〜請求項3に記載の各USBストレージデバイスと同様の効果を奏する。Each of the control devices according to claims 5 to 7 has the same effect as each of the USB storage devices according to claims 1 to 3.

以下、本発明が適用された実施例について図面を用いて説明する。尚、本発明の実施の形態は、下記の実施例に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の形態を採りうる。   Hereinafter, embodiments to which the present invention is applied will be described with reference to the drawings. It should be noted that the embodiments of the present invention are not limited to the following examples in any way, and can take various forms as long as they belong to the technical scope of the present invention.

[実施例1]
図1は、実施例1のUSBストレージデバイス17(特許請求の範囲に記載のUSBストレージデバイスに相当する)とホスト11(特許請求の範囲に記載の外部装置に相当する)の概略構成を示すブロック図である。
[Example 1]
FIG. 1 is a block diagram illustrating a schematic configuration of a USB storage device 17 (corresponding to a USB storage device described in claims) and a host 11 (corresponding to an external device described in claims) according to the first embodiment. FIG.

(1)ホスト11
ホスト11は、一般に広く知られたパーソナルコンピュータであり、ソフトウェアとして、オペレーションシステム12、ディスクドライブドライバ13及びUSBマスストレージクラスドライバ14を備え、ハードウェアとしてUSBホストコントローラ15を少なくとも備える。
(1) Host 11
The host 11 is a generally well-known personal computer, and includes an operation system 12, a disk drive driver 13 and a USB mass storage class driver 14 as software, and at least a USB host controller 15 as hardware.

オペレーションシステム12は、ホスト11を統括的に制御するソフトウェアであり、例えばWindows(登録商標)やMac OS X(登録商標)等ある。ディスクドライブドライバ13は、オペレーションシステム12から受け取った記憶装置へのアクセス指令等をSCSIコマンド変換してUSBマスストレージクラスドライバ14に渡すとともに、USBマスストレージクラスドライバ14から指令等を受け取りオペレーションシステム12に渡す。USBマスストレージクラスドライバ14は、USBホストコントローラ15を制御する。USBホストコントローラ15は、図示しないUSBコネクタを備え、他の装置のUSBコネクタとケーブルによって接続されることによって、USB規格に基づいた通信を行うことができるようになっている。なお、ホスト11は、USB規格に基づいた通信を行うことができる機器であれば、パーソナルコンピュータに限らずPDAや携帯電話等であってもよい。   The operation system 12 is software that comprehensively controls the host 11, and includes, for example, Windows (registered trademark) and Mac OS X (registered trademark). The disk drive driver 13 converts the access command and the like to the storage device received from the operation system 12 into a SCSI command and passes it to the USB mass storage class driver 14, and receives the command and the like from the USB mass storage class driver 14 and sends it to the operation system 12. hand over. The USB mass storage class driver 14 controls the USB host controller 15. The USB host controller 15 has a USB connector (not shown), and is capable of performing communication based on the USB standard by being connected to a USB connector of another device by a cable. The host 11 is not limited to a personal computer, but may be a PDA, a mobile phone, or the like as long as it can perform communication based on the USB standard.

(2)USBストレージデバイス17
USBストレージデバイス17は、USBインターフェース19とコントローラ21とLED23とフラッシュメモリ25とを備える。
(2) USB storage device 17
The USB storage device 17 includes a USB interface 19, a controller 21, an LED 23, and a flash memory 25.

(2−1)USBインターフェース19
USBインターフェース19は、特許請求の範囲に記載の通信手段に相当し、USBバス16を介してホスト11と通信を行う機能を担う。USBインターフェース19は、パケット送受信部19aとシリアルパラレル変換部19bとパケット生成分解部19cとUSBバスパワー制御部19dとを備える。パケット送受信部19aは、図示しないUSBコネクタと接続され、USB規格に基づいたパケットを送受信する。シリアルパラレル変換部19bは、シリアルデータとパラレルデータとを相互に変換する。パケット生成分解
部19cは、ホスト11と通信を行うためのパケットの生成及びパケットを分解してデータの取り出しを行う。USBバスパワー制御部19dは、ホスト11から供給される電力の管理及びUSBストレージデバイス17の各部位への電力の配分を行う。
(2-1) USB interface 19
The USB interface 19 corresponds to a communication unit described in the claims, and has a function of communicating with the host 11 via the USB bus 16. The USB interface 19 includes a packet transmission / reception unit 19a, a serial / parallel conversion unit 19b, a packet generation / decomposition unit 19c, and a USB bus power control unit 19d. The packet transmitting / receiving unit 19a is connected to a USB connector (not shown), and transmits / receives a packet based on the USB standard. The serial / parallel converter 19b converts serial data and parallel data into and out of each other. The packet generation / decomposition unit 19c generates a packet for communicating with the host 11 and decomposes the packet to extract data. The USB bus power control unit 19d manages power supplied from the host 11 and distributes power to each part of the USB storage device 17.

(2−2)コントローラ21
コントローラ21は、特許請求の範囲に記載の制御手段に相当し、メモリ制御部21aとUSBインターフェース制御部21bとメモリ情報記憶部21cとLED制御部21dとを備える。メモリ制御部21aは、フラッシュメモリ25に対してデータの読み出し、書き込み及び削除を実行する。USBインターフェース制御部21bは、前述したUSBインターフェース19の各部を制御する。メモリ情報記憶部21cは、フラッシュメモリ25の領域に関する情報を記憶する。この情報について図2のデータ例を用いてこの情報について説明する。
(2-2) Controller 21
The controller 21 corresponds to a control unit described in the claims, and includes a memory control unit 21a, a USB interface control unit 21b, a memory information storage unit 21c, and an LED control unit 21d. The memory control unit 21a reads, writes, and deletes data from and to the flash memory 25. The USB interface control unit 21b controls each unit of the USB interface 19 described above. The memory information storage unit 21c stores information on the area of the flash memory 25. This information will be described with reference to the data example of FIG.

図2に示すように、メモリ情報記憶部21cは、論理ユニット番号31とフォーマット33と書き込み削除可否フラグ35と論理ブロック番号37と物理ブロック番号39とを備える。論理ユニット番号31は論理ユニットを識別するための番号であり、「0」と「1」とが存在する。フォーマット33は、論理ユニット番号31に対応し、その論理ユニットのフォーマットを表す。データ例では、論理ユニット番号「0」は「FAT」フォーマットであり、論理ユニット番号「1」は「ISO9660」フォーマットである。書き込み削除可否フラグ35は、論理ユニット番号31に対応し、その論理ユニットに対して情報の書き込み及び削除の実行可否を表すフラグである。データ例では、論理ユニット番号「0」は「可」であり、論理ユニット番号「1」は「不可」である。論理ブロック番号37は、ホスト11によって指定されるブロック番号であり、論理ユニット毎に定義されている。   As shown in FIG. 2, the memory information storage unit 21c includes a logical unit number 31, a format 33, a write / delete flag 35, a logical block number 37, and a physical block number 39. The logical unit number 31 is a number for identifying a logical unit, and includes “0” and “1”. The format 33 corresponds to the logical unit number 31 and represents the format of the logical unit. In the data example, the logical unit number “0” is in the “FAT” format, and the logical unit number “1” is in the “ISO9660” format. The write / delete flag 35 corresponds to the logical unit number 31 and is a flag indicating whether information can be written and deleted from the logical unit. In the data example, the logical unit number “0” is “permitted” and the logical unit number “1” is “impossible”. The logical block number 37 is a block number specified by the host 11, and is defined for each logical unit.

このように、フラッシュメモリ25の実ブロック番号である物理ブロック番号39と論理ブロック番号37との対応づけは、メモリ制御部21aによって管理されている。このため、物理ブロック番号39と論理ブロック番号37とは自由に対応付けを行うことができる。また、論理ユニット番号「0」のフォーマットをISO9660にし、論理ユニット番号「1」のフォーマットをFATにしてもよい。また、更に論理ユニットを増やし、ユーザーやアプリケーションによって使い分けられるようになっていてもよい。   In this manner, the association between the physical block number 39, which is the actual block number of the flash memory 25, and the logical block number 37 is managed by the memory control unit 21a. Therefore, the physical block number 39 and the logical block number 37 can be freely associated. Further, the format of the logical unit number “0” may be set to ISO9660, and the format of the logical unit number “1” may be set to FAT. Further, the number of logical units may be further increased so that the logical units can be properly used by a user or an application.

(2−3)LED23
図1に戻り、LED23は、フラッシュメモリ25に対して情報の読み出し、書き込み及び削除が実行されている際に点灯する発光体である。フラッシュメモリ25に対して情報の読み出し、書き込み及び削除が実行中であることを利用者に示し、これらの実行中にホスト11からUSBストレージデバイス17が抜かれないようにするためのものである。
(2-3) LED23
Returning to FIG. 1, the LED 23 is a light emitter that is turned on when information is read, written, and deleted from the flash memory 25. This is for indicating to the user that information is being read, written and deleted from / to the flash memory 25, and to prevent the USB storage device 17 from being removed from the host 11 during these operations.

(2−4)フラッシュメモリ25
フラッシュメモリ25は、記憶保持動作が不要な半導体メモリであり、データを記憶することができる。記憶したデータは、メモリ制御部21aによって読み出すことが可能である。また、メモリ制御部21aによって書き込み及び削除をすることもできる。フラッシュメモリ25は、特許請求の範囲に記載の記憶手段に相当する。
(2-4) Flash memory 25
The flash memory 25 is a semiconductor memory that does not require a storage holding operation, and can store data. The stored data can be read by the memory control unit 21a. Writing and deletion can also be performed by the memory control unit 21a. The flash memory 25 corresponds to a storage unit described in the claims.

(a)起動処理
USBストレージデバイス17がホスト11に接続された際に、USBストレージデバ
イス17のコントローラ21でプログラムに基づいて実行される起動処理について図3のフローチャートを用いて説明する。この起動処理は、USBストレージデバイス17がホスト11に接続されることにより、USBバスパワー制御部19dに電力が供給され、さらにホスト11側でエニュメレーション処理が実行されると開始される。
(A) Start Process The start process executed by the controller 21 of the USB storage device 17 based on a program when the USB storage device 17 is connected to the host 11 will be described with reference to the flowchart of FIG. This activation process is started when the USB storage device 17 is connected to the host 11 to supply power to the USB bus power control unit 19d, and when the enumeration process is executed on the host 11 side.

起動処理を開始すると、ホスト11からの指令に応じて、ディスクリプタと呼ばれるデバイス情報(デフォルトパイプの最大パケットサイズ等)をホスト11に送信する(S110)。   When the start process is started, device information called a descriptor (a maximum packet size of a default pipe, etc.) is transmitted to the host 11 in response to a command from the host 11 (S110).

次に、ホスト11から指令に応じて、USBストレージデバイス17のアドレスを設定する(S115)。以降、このアドレス宛のフレームのみを当該USBストレージデバイス17は取得する。   Next, the address of the USB storage device 17 is set according to a command from the host 11 (S115). Thereafter, the USB storage device 17 acquires only the frame addressed to this address.

次に、より詳細なデバイス情報をホスト11に送信する(S120)。このデバイス情報としては、エンドポイントに関する情報、クラス、サブクラス、プロトコル等である。
その結果、ホスト11ではUSBマスストレージクラスドライバ14が起動され、図示しないアプリケーションソフトウェアからディスクドライブドライバ13とUSBマスストレージクラスドライバ14とを介してUSBホストコントローラ15を制御するアクセスパスができる。なお、このディスクドライブドライバ13は、MS−DOS(登録商標)時代から、受け継がれているドライバであるため永年の技術が積み重ねられており、安定的な動作が得られるドライバである。
Next, more detailed device information is transmitted to the host 11 (S120). The device information includes information on the endpoint, a class, a subclass, a protocol, and the like.
As a result, in the host 11, the USB mass storage class driver 14 is started, and an access path for controlling the USB host controller 15 through the disk drive driver 13 and the USB mass storage class driver 14 is formed from application software (not shown). Since the disk drive driver 13 is a driver that has been inherited since the MS-DOS (registered trademark) era, a long-standing technology has been accumulated and a stable operation can be obtained.

続いて、USBマスストレージクラスドライバ14が、Get Max Logical
Unit Numberコマンドによって論理ユニット番号数を要求するため、USBストレージデバイス17は、メモリ情報記憶部21cから論理ユニット番号数が2であるという情報を読み出して、ホスト11に送信する。そしてさらに、ディスクドライブドライバ13がINQUIRYコマンドを発行するため、USBストレージデバイス17は、メモリ情報記憶部21cから論理ユニットのフォーマットに関する情報を読み出して、ホスト11に送信する。これらの結果、ホスト11は、USBストレージデバイス17を、FATフォーマットから構成される論理ユニット番号「0」の領域とISO9660フォーマットから構成される論理ユニット番号「1」の領域とを有するデバイスと認識する。
Subsequently, the USB mass storage class driver 14 obtains the Get Max Logical
In order to request the number of logical unit numbers by the Unit Number command, the USB storage device 17 reads information indicating that the number of logical unit numbers is 2 from the memory information storage unit 21c, and transmits the information to the host 11. Further, in order for the disk drive driver 13 to issue an INQUIRY command, the USB storage device 17 reads information about the format of the logical unit from the memory information storage unit 21c and sends it to the host 11. As a result, the host 11 recognizes the USB storage device 17 as a device having an area of the logical unit number “0” configured in the FAT format and an area of the logical unit number “1” configured in the ISO9660 format. .

ホスト11との通信が確立されると、フラッシュメモリ25を動作可能にし(S125)、起動処理を終了する。
なお、Windows(登録商標)には、記憶媒体挿入時や記憶媒体接続時にその記憶媒体のルートディレクトリに記憶されたautorun.infという名称のファイル内で指定されたアプリケーションソフトウェアを実行する機能を有しているため、フラッシュメモリ25の論理ユニット番号「1」の領域にそのファイルを記憶させておけば、本USBストレージデバイス17がホスト11に装着された際に特定のソフトウェアを自動実行させることができる。
When the communication with the host 11 is established, the flash memory 25 is made operable (S125), and the boot process ends.
In Windows (registered trademark), when the storage medium is inserted or the storage medium is connected, autorun.exe stored in the root directory of the storage medium is stored. The USB storage device 17 has a function of executing the application software designated in the file named inf, and if the file is stored in the area of the logical unit number “1” of the flash memory 25, the USB storage device 17 The specific software can be automatically executed when is mounted on the host 11.

このようになっていれば、利用者がホスト11の操作に不慣れであっても本USBストレージデバイス17を装着するだけで特定のアプリケーションソフトウェアが自動実行されるため、例えば販促品として広く一般に配布した場合に販促を担うアプリケーションソフトウェアを確実に実行させることができ、販促効果が高まる。   In this case, even if the user is unfamiliar with the operation of the host 11, the specific application software is automatically executed only by installing the USB storage device 17, so that the software is widely distributed as a promotional product, for example. In this case, the application software responsible for sales promotion can be reliably executed, and the sales promotion effect is enhanced.

(b)アクセス処理
ホスト11において動作する種々のソフトウェアが、USBストレージデバイス17に対してデータの書き込み、読み出し、削除の実行指令を送ったときに、USBストレージデバイスのコントローラ21でプログラムに基づいて実行されるアクセス処理について図
4のフローチャートを用いて説明する。
(B) Access processing When various software operating on the host 11 sends an execution command for writing, reading, or deleting data to the USB storage device 17, the controller 21 of the USB storage device executes the program based on the program. The access processing performed will be described with reference to the flowchart of FIG.

まず、S210では、ホスト11から受信した指令の種類によって分岐する。書き込み又は削除の指令であった場合はS215に進み、そうでない場合、すなわち読み出しの指令であった場合はS250に進む。   First, in S210, the process branches depending on the type of command received from the host 11. If it is a write or delete command, the process proceeds to S215; otherwise, the process proceeds to S250 if it is a read command.

S215では、書き込み又は削除の指令が論理ユニット番号「1」に対する指令であるか否かによって分岐する。つまり、書き込み及び削除が実行可能な論理ユニットに対するものであるか否かによって分岐する。論理ユニット番号「1」に対するものであればS245に進み、そうでない場合すなわち論理ユニット番号「0」に対する指令であればS220に進む。   In S215, the process branches depending on whether the write or delete command is a command for the logical unit number "1". That is, the process branches depending on whether or not the writing and the deletion are performed on the executable logical unit. If the instruction is for the logical unit number "1", the process proceeds to S245. Otherwise, that is, if the instruction is for the logical unit number "0", the process proceeds to S220.

S220では、LED23を点灯させる。続くS225では、ホスト11から指定されたフラッシュメモリ25のブロックにデータを書き込む。またはホスト11から指定されたフラッシュメモリ25のブロックのデータを削除する。なお書き込み又は削除を実行する際は、メモリ情報記憶部21cに記憶されているフラッシュメモリ25の領域に関する情報(図2参照)を用い、ホスト11から指定されたブロック番号を論理ブロック番号37としてその論理ブロック番号37に該当する物理ブロック番号39によって特定されたフラッシュメモリ25のブロックに対してデータの書き込み及び削除を実行する。   In S220, the LED 23 is turned on. In subsequent S225, data is written to a block of the flash memory 25 specified by the host 11. Alternatively, the data of the block of the flash memory 25 designated by the host 11 is deleted. When writing or deleting, the block number designated by the host 11 is used as the logical block number 37 using the information (see FIG. 2) on the area of the flash memory 25 stored in the memory information storage unit 21c. Data is written to and deleted from the block of the flash memory 25 specified by the physical block number 39 corresponding to the logical block number 37.

続くS230では、LED23を消灯させる。そして、S235ではS225の処理が正常に完了したか否かによって分岐する。正常に完了していればアクセス処理を終了し、正常に完了していなかったらS240に進む。   In subsequent S230, the LED 23 is turned off. Then, in S235, the process branches depending on whether or not the process in S225 has been completed normally. If the access has been completed normally, the access process is terminated.

S240では、S225の処理が正常に完了しなかった旨をホスト11に通知してアクセス処理を終了する。
一方、S215で、書き込み又は削除の指令が論理ユニット番号「1」に対する指令であると判定された際に進むS245では、許可されていない指令としてホスト11にエラー発生の旨を通知する。
In S240, the host 11 is notified that the processing in S225 has not been completed normally, and the access processing ends.
On the other hand, in S245, which proceeds when it is determined in S215 that the write or delete command is a command for the logical unit number “1”, the host 11 is notified that an error has occurred as a command not permitted.

また、S210で読み込みの指令であったと判定されて進むS250では、LED23を点灯させ、続くS255ではホスト11から指定されたフラッシュメモリ25のブロックのデータを読み込み、読み込んだデータをホスト11に送る。なお、データを読み込む際は、メモリ情報記憶部21cに記憶されているフラッシュメモリ25の領域に関する情報(図2参照)を用い、ホスト11から指定されたブロック番号を論理ブロック番号37としてその論理ブロック番号37に該当する物理ブロック番号39によって特定されたフラッシュメモリ25のブロックからデータを読み込む。   In S250, which is determined to be a read command in S210, the LED 23 is turned on. In S255, data of a block of the flash memory 25 designated by the host 11 is read, and the read data is sent to the host 11. When data is read, information on the area of the flash memory 25 stored in the memory information storage unit 21c (see FIG. 2) is used, and the block number designated by the host 11 is used as the logical block number 37, and the logical block number is used. Data is read from the block of the flash memory 25 specified by the physical block number 39 corresponding to the number 37.

続くS260では、LED23を消灯させる。そして、S265ではS255の処理が正常に完了したか否かによって分岐する。正常に完了していればアクセス処理を終了し、正常に完了していなかったらS270に進む。   At S260, the LED 23 is turned off. Then, the process branches at S265 depending on whether or not the process at S255 has been completed normally. If it has been completed normally, the access processing is terminated. If it has not been completed normally, the process proceeds to S270.

S270では、S255の処理が正常に完了しなかった旨をホスト11に通知して通知してアクセス処理を終了する。
このようにアクセス処理が実行されるため、例えば販促品としてUSBストレージデバイス17を利用した場合、誤って消去されると問題のあるソフトウェアを論理ユニット番号「1」の領域に記憶させておけば、そのソフトウェアが消去されることを防止できる。
In S270, the host 11 is notified that the processing in S255 has not been completed normally, and the access processing is terminated.
Since the access process is performed in this manner, for example, when the USB storage device 17 is used as a sales promotion product, if software that is erased by mistake is stored in the area of the logical unit number “1”, This prevents the software from being erased.

また、USBストレージデバイス17は、USBマスストレージクラスドライバ14のSCSIコマンドセットに定義された論理ユニット番号に対応する領域として論理ユニッ
ト番号「0」の領域と論理ユニット番号「1」の領域とをUSBマスストレージクラスドライバに認識させるための情報をメモリ情報記憶部21cに保持している。このため、USBマスストレージクラスドライバ14は、USBストレージデバイス17を2つの論理ユニットを有する一つのSCSIデバイスとして認識する。
In addition, the USB storage device 17 uses the area of the logical unit number “0” and the area of the logical unit number “1” as the area corresponding to the logical unit number defined in the SCSI command set of the USB mass storage class driver 14. Information to be recognized by the mass storage class driver is stored in the memory information storage unit 21c. For this reason, the USB mass storage class driver 14 recognizes the USB storage device 17 as one SCSI device having two logical units.

したがって、このような領域の管理を、USB規格におけるエンドポイントの数を増やすことによって実現する場合と比べてコントローラ21を単純化することができる。なぜならエンドポイントの数分だけコントローラ21はFIFOバッファを備えることが必要だからである。また、USBストレージデバイス17に、2種類のUSBストレージデバイスとそれらを接続したハブとを内蔵させて実現させる方法と比べても、USBストレージデバイス17は構成が単純である。また、USBストレージデバイス17であれば、ホスト11が行うUSBマスストレージクラスドライバ14のイニシャライズ処理も1度で済むため、ホスト11がUSBストレージデバイス17を認識するまでの時間も短い。また、ホスト11のオペレーションシステムは、2領域を有する1つのSCSIデバイスとしてUSBストレージデバイス17を管理できるため、複数のデバイスを管理する場合と比べて様々な処理を単純化して実行でき、動作も安定する。   Therefore, the controller 21 can be simplified as compared with a case where such area management is realized by increasing the number of endpoints in the USB standard. This is because the controller 21 needs to have a FIFO buffer for the number of endpoints. Also, the USB storage device 17 has a simpler configuration than a method in which two types of USB storage devices and a hub connecting them are built in the USB storage device 17. In the case of the USB storage device 17, the initialization process of the USB mass storage class driver 14 performed by the host 11 can be performed only once, so that the time until the host 11 recognizes the USB storage device 17 is short. Further, since the operation system of the host 11 can manage the USB storage device 17 as one SCSI device having two areas, various processes can be executed in a simplified manner as compared with the case of managing a plurality of devices, and the operation is stable. I do.

(c)初期化処理
初期化処理は、USBストレージデバイス17の製造者や販売者等(以下「特定ユーザー」と言う)が初期化を行うことを目的として、ホスト11上で初期化ソフトウェアを実行して後述する書き込みボタン66を押下した際に、USBストレージデバイス17のコントローラ21でプログラムに基づいて実行される。
(C) Initialization Processing The initialization processing is to execute initialization software on the host 11 for the purpose of performing initialization by a manufacturer or a seller of the USB storage device 17 (hereinafter referred to as “specific user”). Then, when a write button 66 described later is pressed, it is executed by the controller 21 of the USB storage device 17 based on a program.

初期化処理を説明する前に、ホスト11で実行される初期化ソフトウェアについて図5の操作画面51を用いて説明する。操作画面51では、特定ユーザーがUSBストレージデバイス17に関する様々なパラメータを設定することができる。   Before describing the initialization processing, initialization software executed on the host 11 will be described using the operation screen 51 of FIG. On the operation screen 51, a specific user can set various parameters relating to the USB storage device 17.

テキストボックス53は、論理ユニット番号「0」に対応するものであり、情報の読み出し、書き込み及び削除を実行することができる領域(ディスク領域)の容量を入力するためのテキストボックスである。テキストボックス55は、論理ユニット番号「1」に対応するものであり、情報の読み出しのみを実行することができる領域(CD−ROM領域)の容量を入力するためのテキストボックスである。このテキストボックス53とテキストボックス55とに入力した値の合計が全容量である16以下になるよう特定ユーザーは入力しなければならない。   The text box 53 corresponds to the logical unit number “0”, and is a text box for inputting the capacity of an area (disk area) in which information can be read, written, and deleted. The text box 55 corresponds to the logical unit number “1”, and is a text box for inputting the capacity of an area (CD-ROM area) in which only reading of information can be executed. The specific user must input the text box 53 and the text box 55 so that the sum of the values input to the text box 55 becomes 16 or less which is the total capacity.

テキストボックス57は、USB規格で定義されたシリアル番号を入力するためのテキストボックスである。ホスト11はこのシリアル番号によってデバイスを見分けることができる。   The text box 57 is a text box for inputting a serial number defined by the USB standard. The host 11 can identify the device by this serial number.

テキストボックス59は、固有IDを入力するためのテキストボックスである。固有IDというのは、USB規格で定義されたものではなく、本実施例のUSBストレージデバイス17に独自のものであり、この固有IDをライセンスキーとすることで、不正コピーなどによるコンテンツの不正起動を防止に用いたり、固有IDを認証キーや会員向けサービスに利用したりすることもできる。固有IDは、16バイト以上612バイト以下の16進データである。なお、テキストボックス59の右端の上下ボタンが押下されることにより、表示しきれないデータを順次表示するように操作画面51は構成されている。   The text box 59 is a text box for inputting a unique ID. The unique ID is not defined by the USB standard, but is unique to the USB storage device 17 of the present embodiment. By using this unique ID as a license key, unauthorized activation of content due to unauthorized copying or the like is performed. Can be used for prevention, or the unique ID can be used for an authentication key or a service for members. The unique ID is hexadecimal data of 16 bytes or more and 612 bytes or less. The operation screen 51 is configured to sequentially display data that cannot be displayed when the up / down button at the right end of the text box 59 is pressed.

テキストボックス61は、CD−ROM領域に書き込むファイル名を入力するためのテキストボックスである。複数ファイルのファイル名を入力できるようになっていてもよい。   The text box 61 is a text box for inputting a file name to be written in the CD-ROM area. It may be possible to input file names of a plurality of files.

参照ボタン63は、テキストボックス61へのファイル名入力を支援するダイアログボックスを表示させるためのボタンである。表示されたダイアログボックスの中から特定ユーザーがファイル名を選択すると、その選択したファイルがテキストボックス61に表示されるようになっている。   The reference button 63 is a button for displaying a dialog box for supporting input of a file name in the text box 61. When a specific user selects a file name from the displayed dialog box, the selected file is displayed in a text box 61.

フォーマット選択ボタン64は、CDイメージデータのフォーマットを選択するためのダイアログボックスを表示させるためのボタンである。表示されたダイアログボックスの中からISO9660又はHFSの何れかの形式が選択できるようになっている。   The format selection button 64 is a button for displaying a dialog box for selecting a format of the CD image data. Either ISO9660 or HFS format can be selected from the displayed dialog box.

書き込みボタン66は、特定ユーザーが操作画面51で設定した設定情報をUSBストレージデバイス17に書き込む処理を開始させるためのボタンである。
キャンセルボタン67は、特定ユーザーが操作画面51で設定した設定情報をUSBストレージデバイス17に書き込むことをせずに操作画面51を閉じるためのボタンである。
The write button 66 is a button for starting a process of writing the setting information set by the specific user on the operation screen 51 to the USB storage device 17.
The cancel button 67 is a button for closing the operation screen 51 without writing the setting information set by the specific user on the operation screen 51 to the USB storage device 17.

次に、USBストレージデバイス17のコントローラ21で実行される初期化処理について図6のフローチャートを用いて説明する。実行が開始されるとまず、ホスト11から送られる設定情報を受信する(S310)。この設定情報は、上述した操作画面51で設定された設定情報である。そして次に、受信した設定情報に基づいてメモリ情報記憶部21cのデータを更新する(S315)。   Next, the initialization process executed by the controller 21 of the USB storage device 17 will be described with reference to the flowchart in FIG. When the execution is started, first, the setting information sent from the host 11 is received (S310). This setting information is the setting information set on the operation screen 51 described above. Then, the data in the memory information storage unit 21c is updated based on the received setting information (S315).

続いて、受信した設定情報に基づいてフラッシュメモリ25の論理ユニット番号「1」の領域にデータを書き込み(S320)、初期化処理は終了する。本来は、論理ユニット番号「1」の領域にはデータを書き込むことはできないが、初期化処理の際のみ、書き込むことができるように構成されている。なお、書き込むデータは、上述したテキストボックス61で設定したファイルである(図5参照)。   Subsequently, data is written to the area of the logical unit number “1” of the flash memory 25 based on the received setting information (S320), and the initialization processing ends. Originally, data cannot be written in the area of the logical unit number “1”, but it is configured so that it can be written only in the initialization processing. The data to be written is a file set in the above-described text box 61 (see FIG. 5).

このような初期化処理によって特定ユーザーの事情に合わせて、領域の容量の変更や、シリアル番号の設定や、固有IDの設定や、CD−ROM領域に予めファイルを記憶させておくことが実行できる。   By such initialization processing, it is possible to change the capacity of the area, set the serial number, set the unique ID, and store the file in the CD-ROM area in advance according to the circumstances of the specific user. .

[実施例2]
図7は、実施例2のインクジェットプリンタ71(特許請求の範囲に記載のUSBストレージデバイスに相当する)とホスト11(特許請求の範囲に記載の外部装置に相当する)との概略構成を示すブロック図である。なお、実施例1と同様の部分は、実施例1を説明する際に使用した符号と同一の符号を付すことにより説明を省略する。
[Example 2]
FIG. 7 is a block diagram illustrating a schematic configuration of an inkjet printer 71 (corresponding to a USB storage device described in claims) and a host 11 (corresponding to an external device described in claims) according to a second embodiment. FIG. The same parts as those in the first embodiment are denoted by the same reference numerals as those used in the description of the first embodiment, and the description is omitted.

インクジェットプリンタ71は、USBインターフェース19とコントローラ21とフラッシュメモリ25とMPU73と印字ヘッド75とアクチュエータ77とを備える。このうちUSBインターフェース19が特許請求の範囲に記載の通信手段に相当し、コントローラ21が制御手段に相当し、フラッシュメモリ25が記憶手段に相当する The inkjet printer 71 includes a USB interface 19, a controller 21, a flash memory 25, an MPU 73, a print head 75, and an actuator 77. Of these, the USB interface 19 corresponds to the communication means described in the claims, the controller 21 corresponds to the control means, and the flash memory 25 corresponds to the storage means .

MPU73は、USBインターフェース19及びコントローラ21を介してホスト11と通信を行うと共に、図示しない各種センサからの情報に基づいて印字ヘッド75及びアクチュエータ77の動作を制御する。なお、実施例2では、コントローラ21とMPU73とは別構成としているが、それらの機能の一部及び全部をMPU73に移行させてもよい。   The MPU 73 communicates with the host 11 via the USB interface 19 and the controller 21 and controls operations of the print head 75 and the actuator 77 based on information from various sensors (not shown). In the second embodiment, the controller 21 and the MPU 73 have different configurations. However, some or all of the functions may be transferred to the MPU 73.

印字ヘッド75は、インクノズルを有し、インクノズルから所定の色のインクを吐出させ、印刷用紙にインクを定着させることができる。
アクチュエータ77は、図示しないフィードローラモータ、紙送りローラモータ、印字ヘッド駆動モータ等から構成され、これらを適切に動作させることにより、印刷用紙の位置及び印字ヘッド75の位置関係を調整して所望の印刷結果が得られるようにする。
The print head 75 has ink nozzles, discharges ink of a predetermined color from the ink nozzles, and can fix the ink on printing paper.
The actuator 77 includes a feed roller motor, a paper feed roller motor, a print head drive motor, and the like (not shown). By appropriately operating these, the position of the print paper and the positional relationship of the print head 75 are adjusted to achieve a desired position. Get print results.

フラッシュメモリ25の論理ユニット番号「1」の領域(CD−ROM領域)には、印刷するデータをホスト11で扱うためのアプリケーションソフトウェアが予め格納されており、ホスト11はそのようなアプリケーションソフトウェアを有していなくても、フラッシュメモリ25のCD−ROM領域から読み込むことにより使用することができる。   In the area (CD-ROM area) of the logical unit number “1” of the flash memory 25, application software for handling data to be printed by the host 11 is stored in advance, and the host 11 has such application software. Even if it is not performed, it can be used by reading from the CD-ROM area of the flash memory 25.

これに対して、従来は、印刷機能を提供するドライバプログラム、印刷管理ソフトウェアなどをホスト11が有していない場合には、別途CD−ROMやフレキシブルディスクなどの媒体から取り込むか、インターネット等からダウンロードしてインストールする必要があった。そのため、CD−ROMやフレキシブルディスクのドライブを通常有していないPDAなどは、それらの媒体から取り込むことは困難であった。このような点で、実施例2のインクジェットプリンタ71は、従来と比べて優位な効果を有する。   On the other hand, conventionally, when the host 11 does not have a driver program for providing a printing function, print management software, or the like, the host 11 separately loads the program from a medium such as a CD-ROM or a flexible disk or downloads the program from the Internet or the like. And had to install. For this reason, it has been difficult to load a PDA or the like that does not normally have a CD-ROM or a flexible disk drive from such a medium. In such a point, the inkjet printer 71 of the second embodiment has an advantageous effect as compared with the related art.

また、アプリケーションソフトウェアはフラッシュメモリ25のCD−ROM領域に格納されるため、エンドユーザーによって誤って消去されてしまうおそれがない。また、ディスク領域(論理ユニット番号「0」の領域)には、印刷するための印刷データを格納することにより、ディスク領域を介して複数のホスト11で印刷データを共有することも可能になる。このような点でも、実施例2のインクジェットプリンタ71は、従来と比べて優位な効果を有する。   Further, since the application software is stored in the CD-ROM area of the flash memory 25, there is no possibility that the application software is accidentally erased by the end user. Also, by storing print data for printing in a disk area (area with a logical unit number “0”), it becomes possible for a plurality of hosts 11 to share print data via the disk area. Also in such a point, the ink jet printer 71 of the second embodiment has an advantageous effect as compared with the related art.

また、実施例1で述べたような固有IDを実装してその固有IDを認証キーとして用いるようにすれば、特定のユーザーのみがインクジェットプリンタ71を使用できるようにしたり、特定のユーザーのみがCD−ROM領域に格納されたアプリケーションソフトウェア利用できるようにしたりすることができる。   Further, if the unique ID as described in the first embodiment is mounted and the unique ID is used as an authentication key, only a specific user can use the inkjet printer 71 or only a specific user can use the CD. -It is possible to use application software stored in the ROM area.

[実施例3]
図8は、実施例3のスキャナ81(特許請求の範囲に記載のUSBストレージデバイスに相当する)とホスト11(特許請求の範囲に記載の外部装置に相当する)との概略構成を示すブロック図である。なお、実施例1と同様の部分は、実施例1を説明する際に使用した符号と同一の符号を付すことにより説明を省略する。
[Example 3]
FIG. 8 is a block diagram illustrating a schematic configuration of a scanner 81 (corresponding to a USB storage device described in claims) and a host 11 (corresponding to an external device described in claims) according to the third embodiment. It is. The same parts as those in the first embodiment are denoted by the same reference numerals as those used in the description of the first embodiment, and the description is omitted.

スキャナ81は、USBインターフェース19とコントローラ21とフラッシュメモリ25とMPU83とCCD85とアクチュエータ97とを備える。このうちUSBインターフェース19が特許請求の範囲に記載の通信手段に相当し、コントローラ21が制御手段に相当し、フラッシュメモリ25が記憶手段に相当する The scanner 81 includes a USB interface 19, a controller 21, a flash memory 25, an MPU 83, a CCD 85, and an actuator 97. Of these, the USB interface 19 corresponds to the communication means described in the claims, the controller 21 corresponds to the control means, and the flash memory 25 corresponds to the storage means .

MPU83は、USBインターフェース19及びコントローラ21を介してホスト11と通信を行うと共に、CCD85及びアクチュエータ87の動作を制御する。なお、実施例3では、コントローラ21とMPU83とは別構成としているが、それらの機能の一部及び全部をMPU83に分担させてもよい。   The MPU 83 communicates with the host 11 via the USB interface 19 and the controller 21, and controls operations of the CCD 85 and the actuator 87. In the third embodiment, the controller 21 and the MPU 83 are configured separately, but a part and all of the functions may be shared by the MPU 83.

CCD85は、光情報を電気信号に変換する半導体素子であり、任意の対象物を画像データとして読み取って出力することができる。
アクチュエータ87は、図示しない光源駆動モータやCCD駆動モータ等から構成され、これらが適切に動作することにより、任意の対象物の所望の範囲の画像データを得ることができる。
The CCD 85 is a semiconductor element that converts optical information into an electric signal, and can read and output an arbitrary object as image data.
The actuator 87 includes a light source drive motor, a CCD drive motor, and the like (not shown), and by appropriately operating these, image data of a desired range of an arbitrary object can be obtained.

フラッシュメモリ25の論理ユニット番号「1」の領域(CD−ROM領域)には、するデータをホスト11で扱うためのアプリケーションソフトウェアが予め格納されており、ホスト11はそのようなアプリケーションソフトウェアを有していなくても、フラッシュメモリ25のCD−ROM領域から読み込むことにより使用することができる。   In the area (CD-ROM area) of the logical unit number "1" of the flash memory 25, application software for handling data to be processed by the host 11 is stored in advance, and the host 11 has such application software. If not, it can be used by reading from the CD-ROM area of the flash memory 25.

これに対して、従来は、スキャナ81の制御機能を提供するドライバプログラム、画像データの加工ソフトウェアなどをホスト11が有していない場合には、別途CD−ROMやフレキシブルディスクなどの媒体から取り込むか、インターネット等からダウンロードしてインストールする必要があった。そのため、CD−ROMやフレキシブルディスクのドライブを通常有していないPDAなどにおいては、それらの媒体から取り込むのは困難であった。このような点で、実施例3のスキャナ81は、従来と比べて優位な効果を有す
る。
On the other hand, conventionally, when the host 11 does not have a driver program for providing a control function of the scanner 81 and software for processing image data, if the host 11 does not have a separate program such as a CD-ROM or a flexible disk, Need to be downloaded from the Internet or the like and installed. For this reason, it has been difficult for a PDA or the like that does not normally have a CD-ROM or a flexible disk drive to capture data from such a medium. From this point, the scanner 81 according to the third embodiment has an advantageous effect as compared with the related art.

また、アプリケーションソフトウェアはフラッシュメモリ25のCD−ROM領域に格納されるため、エンドユーザーによって誤って消去されてしまうおそれがないとともに、ディスク領域(論理ユニット番号「0」の領域)には、画像データを格納することにより、ディスク領域を介して複数のホスト11で画像データを共有することも可能になる。このような点でも、実施例3のスキャナ81は、従来と比べて優位な効果を有する。   In addition, since the application software is stored in the CD-ROM area of the flash memory 25, there is no possibility that the application software is accidentally erased by the end user, and the disk area (the area of the logical unit number “0”) contains image data. Makes it possible for a plurality of hosts 11 to share image data via a disk area. Also in such a point, the scanner 81 of the third embodiment has an advantageous effect as compared with the related art.

以上、実施例を3つ説明したが、他の実施例について説明する。
実施例2のインクジェットプリンタ71や実施例3のスキャナ81の技術思想をUSBインターフェースを有する他の装置に適用してもよい。具体的には、デジタルカメラ、携帯端末、スピーカー、キーボード、マウス、モデム装置、ハンドセット、カードアダプタ等に適用してもよい。これらに適用しても上記実施例と同様の効果が得られる。
Although three embodiments have been described above, other embodiments will be described.
The technical concept of the inkjet printer 71 of the second embodiment or the scanner 81 of the third embodiment may be applied to another device having a USB interface. Specifically, the present invention may be applied to a digital camera, a mobile terminal, a speaker, a keyboard, a mouse, a modem device, a handset, a card adapter, and the like. Even when applied to these, the same effects as in the above embodiment can be obtained.

また、実施例1の操作画面51(図5参照)は、CDイメージデータのフォーマットとしてISO9660又はHFSの何れかの形式が選択できるようになっていたが、さらに、Audio CD、CD TEXT、Mixed CD、Enhanced CD、ビデオCD、ブータブルCD等フォーマットが選択できるようになっていてもよい。また、記録方式も、ディスクアットワンス、トラックアットワンス、セッションアットワンス、パケットライトなどの方式が指定できるようになっていてもよい。   In the operation screen 51 (see FIG. 5) of the first embodiment, any one of ISO 9660 and HFS can be selected as the format of the CD image data. However, Audio CD, CD TEXT, and Mixed CD can be selected. , Enhanced CD, video CD, bootable CD, and other formats may be selectable. Also, as the recording method, a method such as a disc-at-once, track-at-once, session-at-once, or packet write may be specified.

実施例のUSBストレージデバイスの構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a USB storage device according to the embodiment. メモリ情報記憶部に記憶されているデータ例である。4 is an example of data stored in a memory information storage unit. 起動処理を説明するためのフローチャートである。It is a flowchart for demonstrating a starting process. アクセス処理を説明するためのフローチャートである。It is a flowchart for explaining access processing. 初期化ソフトウェアの操作画面を説明するための画面例である。6 is a screen example for explaining an operation screen of initialization software. 初期化処理を説明するためのフローチャートである。It is a flow chart for explaining initialization processing. 実施例のインクジェットプリンタの構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an inkjet printer according to an embodiment. 実施例のスキャナの構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a scanner according to the embodiment.

符号の説明Explanation of reference numerals

11…ホスト、12…オペレーションシステム、13…ディスクドライブドライバ、14…USBマスストレージクラスドライバ、15…USBホストコントローラ、16…USBバス、17…USBストレージデバイス、19a…USBインターフェース、19b
…シリアルパラレル変換部、19c…パケット生成分解部、19d…USBバスパワー制御部、21…コントローラ、21a…メモリ制御部、21b…USBインターフェース制御部、21c…メモリ情報記憶部、21d…LED制御部、23…LED、25…フラッシュメモリ、71…インクジェットプリンタ、73…MPU、75…印字ヘッド、77…アクチュエータ、81…スキャナ、83…MPU、85…CCD、87…アクチュエータ。
11 host, 12 operating system, 13 disk drive driver, 14 USB mass storage class driver, 15 USB host controller, 16 USB bus, 17 USB storage device, 19a USB interface, 19b
... Serial / parallel conversion unit, 19c ... Packet generation / disassembly unit, 19d ... USB bus power control unit, 21 ... Controller, 21a ... Memory control unit, 21b ... USB interface control unit, 21c ... Memory information storage unit, 21d ... LED control unit Reference numerals 23, LED, 25, flash memory, 71, inkjet printer, 73, MPU, 75, print head, 77, actuator, 81, scanner, 83, MPU, 85, CCD, 87, actuator.

Claims (7)

所定のオペレーションシステムによって制御されると共に少なくともディスクドライブドライバ、USBマスストレージクラスドライバ及びUSBホストコントローラを具備する外部装置への着脱が可能なUSBストレージデバイスであって、
フラッシュメモリの記憶領域を、第1の領域と第2の領域とに分けて定義してなる記憶手段と、
前記外部装置とUSBプロトコルに基づいた通信を行う通信手段と、
前記通信手段を介して、前記記憶手段に対して情報の読み出し、書き込み及び削除を実行する制御手段と、
を備え、
前記制御手段は、
前記第1と第2の領域を、USBマスストレージクラスドライバにそれぞれ所定の種類のデバイスとして認識させるための情報を記憶し、
前記ディスクドライブドライバからの指令に従って、前記認識させるための情報を前記USBマスストレージクラスドライバに供給して、当該USBマスストレージクラスドライバに、本USBストレージデバイスの前記各領域を、それぞれ異なる種類のデバイスとして認識させるとともに、
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域と前記第2の領域に対して、それぞれ許容されているアクセス処理を実行することを特徴とするUSBストレージデバイス。
A USB storage device controlled by a predetermined operation system and detachable from an external device including at least a disk drive driver, a USB mass storage class driver, and a USB host controller,
Storage means for defining a storage area of the flash memory separately in a first area and a second area;
Communication means for performing communication based on a USB protocol with the external device;
Control means for reading, writing and deleting information from and to the storage means via the communication means;
With
The control means includes:
Information for causing the USB mass storage class driver to recognize the first and second areas as devices of a predetermined type, respectively,
In accordance with a command from the disk drive driver, information for the recognition is supplied to the USB mass storage class driver, and the USB mass storage class driver transmits the respective areas of the USB storage device to different types of devices. As well as
And performing an access process permitted for each of the first area and the second area based on the command received from the external device and the information for recognition. Storage device.
請求項1に記載のUSBストレージデバイスにおいて、
前記認識させるための情報は、前記第1の領域を情報の読み出し、書き込み及び削除を実行可能なディスクデバイスとして、前記第2の領域を情報の読み出しのみを実行可能なCD−ROMデバイスとして認識させるための情報であり、
前記制御手段は、
前記ディスクドライブドライバからの指令に従って、前記認識させるための情報を前記USBマスストレージクラスドライバに供給して、当該USBマスストレージクラスドライバに、本USBストレージデバイスの前記各領域を前記ディスクデバイス及び前記CD−ROMデバイスという異なる2つの種類のデバイスとして認識させるとともに、
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域に対しては情報の読み出し、書き込み又は削除を実行し、前記第2の領域に対しては情報の読み出しのみを実行することを特徴とするUSBストレージデバイス。
The USB storage device according to claim 1,
The information to be recognized causes the first area to be recognized as a disk device capable of reading, writing, and deleting information, and the second area to be recognized as a CD-ROM device capable of only reading information. Information for
The control means includes:
In accordance with a command from the disk drive driver, information for the recognition is supplied to the USB mass storage class driver, and the USB mass storage class driver transmits the respective areas of the USB storage device to the disk device and the CD. -Recognize as two different types of devices, ROM devices,
Based on the command received from the external device and the information for recognition, information is read, written, or deleted from the first area, and information is read from the second area. A USB storage device that performs only reading .
請求項1又は請求項2に記載のUSBストレージデバイスにおいて、
前記制御手段は、前記領域毎に、その領域における論理ブロック番号と前記記憶手段の物理ブロック番号との対応関係を管理すると共に、当該対応関係を前記認識させるための情報と共に記憶し、この記憶している対応関係に基づき、情報の読み出し、書き込み又は削除を実行することを特徴とするUSBストレージデバイス。
The USB storage device according to claim 1 or 2,
The control means manages, for each of the areas, a correspondence between a logical block number in the area and a physical block number of the storage means, and stores the correspondence together with information for causing the storage section to recognize the correspondence. A USB storage device that reads, writes, or deletes information based on the corresponding relationship .
請求項1乃至請求項3の何れかに記載のUSBストレージデバイスにおいて、
前記第2の領域にはアプリケーションプログラムが予め記憶されており、本USBストレージデバイスが外部装置に装着された際に、前記アプリケーションプログラムが自動実行されるように構成されていることを特徴とするUSBストレージデバイス。
The USB storage device according to any one of claims 1 to 3,
An application program is stored in the second area in advance, and the application program is configured to be automatically executed when the USB storage device is attached to an external device. Storage device.
USBストレージデバイスに搭載される制御装置であって、A control device mounted on the USB storage device,
前記USBストレージデバイスに設けられたフラッシュメモリーからなる記憶手段の第1の領域と第2の領域とを、当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバにそれぞれ所定の種類のデバイスとして認識させるための情報を記憶し、The first area and the second area of the storage means composed of a flash memory provided in the USB storage device are stored in a USB mass storage class driver of an external device to which the USB storage device is attached and used by a predetermined type. Memorize information to be recognized as a device,
前記外部装置のディスクドライブドライバによるコマンドの発行に応答して、前記外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、前記USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記各領域を、それぞれ異なる種類のデバイスと認識させるとともに、In response to the issuance of a command by the disk drive driver of the external device, the USB mass storage class driver of the external device is supplied with the information for the recognition, and the USB mass storage class driver is provided with the control device. Each area of the USB storage device is recognized as a different type of device,
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域と前記第2の領域に対して、それぞれ許容されているアクセス処理を実行することを特徴とする制御装置。Performing, based on the command received from the external device and the information for causing the recognition, access processing permitted for each of the first area and the second area. apparatus.
請求項5に記載の制御装置において、The control device according to claim 5,
当該制御装置は、The control device is
前記第1の領域を情報の読み出し、書き込み及び削除を実行可能なディスクデバイスとして、第2の領域を情報の読み出しのみを実行可能なCD−ROMデバイスとして、前記USBマスストレージクラスドライバに認識させるための情報を記憶し、To allow the USB mass storage class driver to recognize the first area as a disk device capable of reading, writing, and deleting information and the second area as a CD-ROM device capable of only reading information. Memorize the information of
ディスクドライブドライバによるコマンドの発行に応答して、前記USBマスストレージクラスドライバへ前記認識させるための情報を供給して、前記USBマスストレージクラスドライバに当該制御装置が搭載された前記USBストレージデバイスの前記各領域を前記ディスクデバイス及び前記CD−ROMデバイスという異なる2つの種類デバイスとして認識させるとともに、In response to issuance of a command by the disk drive driver, the USB mass storage class driver is supplied with the information for causing the USB mass storage class driver to perform the recognition, and the USB mass storage class driver is provided with the control device. Recognizing each area as two different types of devices, the disk device and the CD-ROM device,
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域に対しては情報の読み出し、書き込み又は削除を実行し、前記第2の領域に対しては情報の読み出しのみを実行することを特徴とする制御装置。Based on the command received from the external device and the information for recognition, information is read, written, or deleted from the first area, and information is read from the second area. A control device for performing only reading.
請求項6に記載の制御装置において、The control device according to claim 6,
当該制御装置は、前記領域毎に、その領域における論理ブロック番号と前記記憶手段の物理ブロック番号との対応関係を管理すると共に、当該対応関係を前記認識させるための情報と共に記憶し、この記憶している対応関係に基づき、情報の読み出し、書き込み又は削除を実行することを特徴とする制御装置。The control device manages, for each of the areas, a correspondence between a logical block number in the area and a physical block number of the storage unit, and stores the correspondence together with information for causing the storage unit to recognize the correspondence. A controller that reads, writes, or deletes information based on the corresponding relationship.
JP2003365044A 2002-05-29 2003-10-24 USB storage device and control device thereof Expired - Lifetime JP3699717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003365044A JP3699717B2 (en) 2002-05-29 2003-10-24 USB storage device and control device thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002155684 2002-05-29
JP2003365044A JP3699717B2 (en) 2002-05-29 2003-10-24 USB storage device and control device thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003125464A Division JP3513147B2 (en) 2002-05-29 2003-04-30 USB storage device and its control device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2004084862A Division JP4242798B2 (en) 2002-05-29 2004-03-23 USB storage device and control device thereof
JP2005092148A Division JP2005243046A (en) 2002-05-29 2005-03-28 Usb storage device and program

Publications (3)

Publication Number Publication Date
JP2004171536A JP2004171536A (en) 2004-06-17
JP2004171536A5 true JP2004171536A5 (en) 2005-08-18
JP3699717B2 JP3699717B2 (en) 2005-09-28

Family

ID=32715521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003365044A Expired - Lifetime JP3699717B2 (en) 2002-05-29 2003-10-24 USB storage device and control device thereof

Country Status (1)

Country Link
JP (1) JP3699717B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4421999B2 (en) * 2004-08-03 2010-02-24 株式会社日立製作所 Storage apparatus, storage system, and data migration method for executing data migration with WORM function
JP2006163111A (en) * 2004-12-09 2006-06-22 Nippon Avionics Co Ltd Presentation system
JP2008186220A (en) * 2007-01-30 2008-08-14 Oyo Denshi:Kk Removable memory unit
JP5026908B2 (en) * 2007-10-05 2012-09-19 株式会社応用電子 Stick server
JP4544356B2 (en) * 2008-02-21 2010-09-15 ブラザー工業株式会社 printer
US8289548B2 (en) * 2008-02-21 2012-10-16 Brother Kogyo Kabushiki Kaisha Printer having first and second memory regions and non-transitory computer-readable recording medium storing control program of printer
US8493600B2 (en) * 2010-12-14 2013-07-23 Microsoft Corporation Multi-layered printer driver model
JP5491548B2 (en) * 2012-01-31 2014-05-14 株式会社ユニテックス Information processing apparatus, information processing system, information processing method, program, and recording medium
CN107145805B (en) * 2017-03-21 2020-01-17 芯海科技(深圳)股份有限公司 Method for realizing FLASH/MTP internal data anti-false erasing
CN108629927A (en) * 2017-03-23 2018-10-09 惠尔丰(中国)信息系统有限公司 A kind of optimization method of the memory of low dump machine

Similar Documents

Publication Publication Date Title
JP3513147B2 (en) USB storage device and its control device
KR100954933B1 (en) Usb storage device and control device
US7068386B2 (en) Image processing system, image data processing method, and storage medium
JP3914949B2 (en) USB storage device, control device thereof, and program for causing control device to execute
JP2010044579A (en) Peripheral device, program, and driver installation system
JP2007514217A (en) Data exchange method between data processing apparatus and computer
JP2006079634A5 (en)
JP2005141721A (en) Method and system for automatically installing application program
JP2004252936A (en) Information processing device, control method for the same, program, and recording medium
JP3699717B2 (en) USB storage device and control device thereof
JP2004171536A5 (en)
JP2005266934A (en) Usb storage device and controller therefor
US20080079991A1 (en) Information processing apparatus device driver deletion method and storage medium storing control program for executing the method
JP4551643B2 (en) USB printer and USB scanner
KR20050115063A (en) External storage device, image aquisition device, method and system for driving driver
JP4242798B2 (en) USB storage device and control device thereof
JP2007086905A (en) Communication system, information-processing device, peripheral device, and communication method
JP4087788B2 (en) Information processing apparatus, control method therefor, and program
JP2006293638A (en) Information processor and peripheral equipment
JP2005243046A (en) Usb storage device and program
JP4276219B2 (en) USB storage device internal state setting method
JP2005243046A5 (en)
JP2004213604A (en) Plug-and-play connection structure incorporating storage module in peripheral equipment and method for the same
JP2008201001A (en) Printing device and control method thereof
US8675223B2 (en) Image forming device, image forming system and computer readable medium for installing related software to another device