JP2006139550A - Recording medium - Google Patents

Recording medium Download PDF

Info

Publication number
JP2006139550A
JP2006139550A JP2004328763A JP2004328763A JP2006139550A JP 2006139550 A JP2006139550 A JP 2006139550A JP 2004328763 A JP2004328763 A JP 2004328763A JP 2004328763 A JP2004328763 A JP 2004328763A JP 2006139550 A JP2006139550 A JP 2006139550A
Authority
JP
Japan
Prior art keywords
recording medium
active area
recording
reproducing apparatus
storage
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.)
Pending
Application number
JP2004328763A
Other languages
Japanese (ja)
Inventor
Yasushi Imamura
泰 今村
Yasushi Ueda
泰志 上田
Makoto Okazaki
誠 岡▲崎▼
Daisuke Kondo
大輔 近藤
Mamiko Akizuki
麻水子 秋月
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004328763A priority Critical patent/JP2006139550A/en
Publication of JP2006139550A publication Critical patent/JP2006139550A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recording medium having a storage means divided into a plurality of storage areas, and allowing a changeover of the storage area by a time interval wherein electricity carrying to the recording medium is cut off, so as to use the large-capacity recording medium in a conventional recording/reproducing device. <P>SOLUTION: This readable/writable recording medium 100 connected to the external recording/reproducing device for use has: the storage means 160 having the plurality of storage areas; a controller 120 controlling the storage means 160 on the basis of an instruction of the recording/reproducing device; an active area designation register 140 designating an active area from the plurality of storage areas; and an active area changeover means 150 changing over the active area when a time wherein the electricity carrying to the recording medium is cut off is a preset threshold value or below. In the recording medium 100, the changeover of the storage area can be controlled. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、複数の記憶領域を切り替えることができる記録媒体に関する。   The present invention relates to a recording medium capable of switching a plurality of storage areas.

デジタルカメラや携帯電話などの記録再生装置は、コンパクトフラッシュ(登録商標)やSD(Secure Digital)カードに代表されるフラッシュメモリを用いたメモリカードを記録媒体とする。近年、半導体技術や実装技術の進展に伴い、メモリカードの容量は2ギガバイトを超えようとしている。また、数十ギガバイトの容量を持つ磁気ディスク装置を、仮想的にメモリカードとして見せる装置も提案されている(例えば、特許文献1参照)。   A recording / playback apparatus such as a digital camera or a mobile phone uses a memory card using a flash memory represented by a CompactFlash (registered trademark) or SD (Secure Digital) card as a recording medium. In recent years, with the progress of semiconductor technology and mounting technology, the capacity of a memory card is about to exceed 2 gigabytes. There has also been proposed a device that virtually shows a magnetic disk device having a capacity of several tens of gigabytes as a memory card (see, for example, Patent Document 1).

一方、従来の多くの記録再生装置は、代表的なファイルシステムであるFAT16(File Allocation Table 16)を用いて、記録媒体内の静止画ファイルや動画ファイルなどを管理している。しかし、FAT16は、クラスタを管理するアドレスが16ビットのファイルシステムである。クラスタサイズを32キロバイトとすると、FAT16ファイルシステムで管理できる容量は、最大2ギガバイトでしかない。従って、従来のFAT16の記録再生装置において、容量が2ギガバイトを超える記録媒体を利用する場合、2ギガバイトを超える領域を容易に取り扱えないという課題がある。   On the other hand, many conventional recording / playback apparatuses manage still image files, moving image files, and the like in a recording medium using FAT16 (File Allocation Table 16) which is a typical file system. However, the FAT 16 is a file system whose address for managing a cluster is 16 bits. If the cluster size is 32 kilobytes, the capacity that can be managed by the FAT16 file system is only 2 gigabytes at maximum. Therefore, in a conventional FAT16 recording / reproducing apparatus, when a recording medium having a capacity exceeding 2 gigabytes is used, there is a problem that an area exceeding 2 gigabytes cannot be easily handled.

この課題に対して、従来のメモリカード及び記憶領域切り替え方法は、複数の記憶領域を持つメモリカードにメカニカルスイッチを具備することにより、複数の記憶領域の中から一つを選択できるようにしている(例えば、特許文献2参照)。
特開2004−213487号公報 特開2004−86503号公報
In response to this problem, the conventional memory card and the storage area switching method include a mechanical switch in a memory card having a plurality of storage areas so that one of the plurality of storage areas can be selected. (For example, refer to Patent Document 2).
JP 2004-213487 A JP 2004-86503 A

前記従来の構成では、複数の記憶領域から一つを選択するために、新たにメカニカルスイッチを追加しなければならない。   In the conventional configuration, a new mechanical switch has to be added to select one from a plurality of storage areas.

しかしながら、メモリカードの形状は規格で決まっている。例えば、SDカードの場合はSDメモリカード規格により、外形寸法が24.0mm(W)×32.0mm(L)×2.1mm(T)であり、ライトプロテクト用のスイッチの位置も決められている。新たにメカニカルスイッチを追加するには、新たに規格を策定しなければならないという課題がある。   However, the shape of the memory card is determined by the standard. For example, in the case of an SD card, the external dimensions are 24.0 mm (W) × 32.0 mm (L) × 2.1 mm (T) according to the SD memory card standard, and the position of the write protect switch is also determined. Yes. In order to add a new mechanical switch, there is a problem that a new standard has to be formulated.

また、メモリカードの形状を変更するためには、メモリカード生産のための金型を変更しなければならないので、製造コストが高価になるという課題がある。   In addition, in order to change the shape of the memory card, it is necessary to change the mold for producing the memory card, so that there is a problem that the manufacturing cost becomes expensive.

本発明は、前記従来の課題を解決するもので、規格で定められた形状の変更を伴わずに、複数の記憶領域の中から一つを選択することができる記録媒体を提供することを目的とする。   The present invention solves the above-described conventional problems, and an object thereof is to provide a recording medium capable of selecting one of a plurality of storage areas without changing the shape defined by the standard. And

前記従来の課題を解決するために、本発明の記録媒体は、外部の記録再生装置に接続して使用する読み書き可能な記録媒体において、前記記録再生装置と接続されるインターフェースと、複数の記憶領域を持つ記憶手段と、記録媒体固有の特性値を保持する内部レジスタと、前記記録再生装置の指示や前記内部レジスタの値に基づいて前記記憶手段を制御するコントローラと、前記複数の記憶領域の中からアクティブ領域を指定するアクティブ領域指定レジスタと、前記記録媒体への通電を遮断された時間を基準として前記アクティブ領域を切り替えるアクティブ領域切り替え手段とからなることを特徴とするものである。   In order to solve the above-described conventional problems, the recording medium of the present invention is a readable / writable recording medium used by connecting to an external recording / reproducing apparatus, an interface connected to the recording / reproducing apparatus, and a plurality of storage areas A storage unit having a characteristic value unique to the recording medium, a controller for controlling the storage unit based on an instruction from the recording / playback apparatus and a value of the internal register, and a plurality of storage areas And an active area switching means for switching the active area with reference to the time when the power supply to the recording medium is cut off.

さらに記録媒体において、前記アクティブ領域切り替え手段は、電荷を蓄積する電荷蓄積手段を持ち、前記記録媒体が前記記録再生装置に接続された時に、前記電荷蓄積手段に蓄積されている電荷量を測定した値と予め定めた閾値とを比較して、前記アクティブ領域を切り替えることを特徴とするものである。   Further, in the recording medium, the active area switching means has charge storage means for storing charges, and measures the amount of charge stored in the charge storage means when the recording medium is connected to the recording / reproducing apparatus. The active region is switched by comparing the value with a predetermined threshold value.

さらに記録媒体において、前記アクティブ領域切り替え手段は、前記記録媒体への通電を遮断された時間が予め定めた閾値以下の時、前記アクティブ領域を切り替えることを特徴とするものである。   Further, in the recording medium, the active area switching means switches the active area when the time when the power supply to the recording medium is cut off is equal to or less than a predetermined threshold value.

さらに記録媒体において、前記通電を遮断された時間として、前記記録再生装置から抜き出された後、再度挿入されるまでの経過時間を利用することを特徴とするものである。   Further, in the recording medium, an elapsed time from when the recording medium is removed from the recording / reproducing apparatus until it is inserted again is used as the time when the energization is cut off.

さらに記録媒体において、前記通電を遮断された時間として、前記記録再生装置の電源がオフされた後、再度オンされるまでの経過時間を利用することを特徴とするものである。   Furthermore, in the recording medium, as the time when the energization is cut off, an elapsed time from when the power of the recording / reproducing apparatus is turned off to when it is turned on again is used.

さらに記録媒体において、前記コントローラは、前記アクティブ領域指定レジスタからアクティブ領域の容量を計算するアクティブ領域容量計算手段と、前記アクティブ領域容量計算手段の計算結果を基に前記内部レジスタを変換する内部レジスタ変換手段とを含むことを特徴とするものである。   Further, in the recording medium, the controller includes an active area capacity calculating unit that calculates an active area capacity from the active area specifying register, and an internal register conversion that converts the internal register based on a calculation result of the active area capacity calculating unit. Means.

さらに記録媒体において、前記コントローラは、前記アクティブ領域指定レジスタからアドレスのオフセットを計算するオフセット計算手段と、前記オフセット計算手段の計算結果と前記記録再生装置から送信されたアドレスを加算する加算器とを含むことを特徴とするものである。   Further, in the recording medium, the controller includes an offset calculating unit that calculates an offset of the address from the active area designation register, and an adder that adds the calculation result of the offset calculating unit and the address transmitted from the recording / reproducing apparatus. It is characterized by including.

さらに記録媒体において、前記アクティブ領域指定レジスタが指定する記憶領域を外部から認識できる表示手段を備えることを特徴とするものである。   Further, the recording medium further comprises display means for recognizing the storage area designated by the active area designation register from the outside.

さらに記録媒体において、前記アクティブ領域指定レジスタが指定する記憶領域が切り替わったことを外部から認識できる表示手段を備えることを特徴とするものである。   Further, the recording medium further comprises display means for recognizing from the outside that the storage area designated by the active area designation register has been switched.

本発明の記録媒体によれば、規格で定められた形状の変更を伴わずに、記録媒体内にある複数の記憶領域の中から一つを選択することができる。   According to the recording medium of the present invention, one of a plurality of storage areas in the recording medium can be selected without changing the shape defined by the standard.

以下に、本発明の記録媒体の実施の形態を図面とともに詳細に説明する。   Hereinafter, embodiments of the recording medium of the present invention will be described in detail with reference to the drawings.

図1は、本発明の第1の実施例における記録媒体のブロック図を示す。図1において、記録媒体100はSDメモリカードを想定している。   FIG. 1 shows a block diagram of a recording medium in the first embodiment of the present invention. In FIG. 1, the recording medium 100 is assumed to be an SD memory card.

SDメモリカードにおいて、インターフェース110は、図2に示すように複数の端子とインターフェースドライバ200から構成される。図2は、本発明の第1の実施例におけるインターフェース110の詳細を示す図である。端子は、全部で9個あり、外部の記録再生装置(図示せず)と接続される。端子VDDと端子VSS1、端子VSS2により、記録媒体100は記録再生装置から電源を供給される。また、端子CLK(クロック信号)に同期した端子CMD(コマンドやレスポンス)及び端子DAT0、端子DAT1、端子DAT2、端子DAT3(データ)が送受信される。インターフェースドライバ200は、SDメモリカードの規格に従って、端子からコマンドやデータを取り込んだり、レスポンスやデータを端子へ出力したりする。なお、端子DAT3と兼用の端子CDは、カードが記録再生装置と接続されているかどうかの検出に用いられる。   In the SD memory card, the interface 110 includes a plurality of terminals and an interface driver 200 as shown in FIG. FIG. 2 is a diagram showing details of the interface 110 in the first embodiment of the present invention. There are a total of nine terminals, which are connected to an external recording / reproducing apparatus (not shown). The recording medium 100 is supplied with power from the recording / reproducing apparatus through the terminal VDD, the terminal VSS1, and the terminal VSS2. Further, the terminal CMD (command or response) synchronized with the terminal CLK (clock signal) and the terminal DAT0, the terminal DAT1, the terminal DAT2, and the terminal DAT3 (data) are transmitted and received. The interface driver 200 fetches commands and data from the terminals and outputs responses and data to the terminals according to the SD memory card standard. The terminal CD also used as the terminal DAT3 is used for detecting whether or not the card is connected to the recording / reproducing apparatus.

内部レジスタ130は、SDメモリカードの規格に従って、複数のレジスタから構成される。各レジスタは、記録再生装置からのコマンドによって読み出され、記録再生装置の動作に影響を与える。例えば、カードの動作電源電圧やカードの各仕様値などが記録されている。後述するアクティブ領域の最大バイト数が記録されているレジスタもあり、記録再生装置はこの値をカードの記憶容量として認識する。   The internal register 130 includes a plurality of registers according to the SD memory card standard. Each register is read by a command from the recording / reproducing apparatus, and affects the operation of the recording / reproducing apparatus. For example, the operating power supply voltage of the card, each specification value of the card, and the like are recorded. There is also a register in which the maximum number of bytes in the active area described later is recorded, and the recording / reproducing apparatus recognizes this value as the storage capacity of the card.

記憶手段160は、一つ以上の記憶領域から構成されている。図3は、本発明の第1の実施例における記憶手段160の構成を示す図である。図3では、8GBの容量を持つ記憶手段160が、2GBの容量を持つ4個の記憶領域(第一の記憶領域161〜第四の記憶領域164)から構成される例を示している。それぞれの記憶領域は、記録再生装置によってFAT16ファイルシステムにフォーマットされ、マスターブートレコード/パーティションテーブル、パーティションブートセクタ、ファイルアロケーションテーブル1、2、ルートディレクトリ、データ領域が書き込まれる。記憶手段160は、アドレスを指定してデータを読み出したり、アドレスとデータを指定してデータを書き込んだりできる。   The storage means 160 is composed of one or more storage areas. FIG. 3 is a diagram showing the configuration of the storage means 160 in the first embodiment of the present invention. FIG. 3 shows an example in which the storage unit 160 having a capacity of 8 GB is configured by four storage areas (first storage area 161 to fourth storage area 164) having a capacity of 2 GB. Each storage area is formatted into a FAT16 file system by the recording / reproducing apparatus, and a master boot record / partition table, a partition boot sector, file allocation tables 1 and 2, a root directory, and a data area are written therein. The storage unit 160 can read data by designating an address or write data by designating an address and data.

アクティブ領域指定レジスタ140は、複数の記憶領域の中からアクティブ領域を指定する。アクティブ領域とは、記録再生装置に認識されている領域である。アクティブ領域指定レジスタ140は、記憶領域ごとにアクティブかどうかを表現する1ビットフラグの集合である。各記憶領域に対応したフラグは、1の時にその記憶領域がアクティブ領域であることを意味し、0の時にその記憶領域が非アクティブであることを意味する。このフラグは、記憶領域の数に対応したビット数分存在するので、アクティブ領域指定レジスタ140のビット数も、記憶領域の数に対応したビット数になる。例えば、図3のように記憶手段160が4個の記憶領域から構成される場合は、アクティブ領域指定レジスタ140は4ビットのレジスタになる。   The active area designation register 140 designates an active area from among a plurality of storage areas. The active area is an area recognized by the recording / reproducing apparatus. The active area designation register 140 is a set of 1-bit flags expressing whether each storage area is active. The flag corresponding to each storage area means that the storage area is an active area when it is 1, and means that the storage area is inactive when it is 0. Since this flag exists for the number of bits corresponding to the number of storage areas, the number of bits of the active area designation register 140 also becomes the number of bits corresponding to the number of storage areas. For example, when the storage unit 160 is composed of four storage areas as shown in FIG. 3, the active area designation register 140 is a 4-bit register.

図4は、本発明の第1の実施例における記憶領域の切り替え及びアクティブ領域指定レジスタ140の値を示す図である。図4において、点線で描いた記憶領域は非アクティブ領域を示す。図4(a)は、第一の記憶領域161がアクティブになっている様子を示しており、この時、アクティブ領域指定レジスタ140の値は0001b(以下、最後のbは二進数を表す)である。すなわち、第一の記憶領域161に対応するアクティブ領域指定レジスタ140のビット0(最下位ビットをビット0とする)が1になっている。同様に、図4(b)は第二の記憶領域162、図4(c)は第三の記憶領域163、図4(d)は第四の記憶領域164がアクティブになっており、アクティブ領域指定レジスタ140の値は、それぞれ0010b、0100b、1000bとなる。図4(e)は、アクティブ領域指定レジスタ140の値が1111bであり、全ての記憶領域がアクティブ領域であることを示している。この場合は、記憶手段160全体が一つの記憶領域として記録再生装置に認識される。記録再生装置が、大容量に対応したファイルシステムを利用可能な場合(FAT16ファイルシステムではなく、例えばFAT32ファイルシステム)、記録再生装置は8GBの大容量SDメモリカードとして記録媒体100にアクセスできる。なお、この機能(記憶手段160全体を一つの記憶領域とする機能)は、オプションであり実装しなくても良い。   FIG. 4 is a diagram showing storage area switching and the value of the active area designation register 140 in the first embodiment of the present invention. In FIG. 4, the storage area drawn with a dotted line indicates an inactive area. FIG. 4A shows a state in which the first storage area 161 is active. At this time, the value of the active area designation register 140 is 0001b (hereinafter, the last b represents a binary number). is there. That is, bit 0 (the least significant bit is bit 0) of the active area designation register 140 corresponding to the first storage area 161 is 1. Similarly, FIG. 4B shows the second storage area 162, FIG. 4C shows the third storage area 163, and FIG. 4D shows the fourth storage area 164 active. The values of the designation register 140 are 0010b, 0100b, and 1000b, respectively. FIG. 4E shows that the value of the active area designation register 140 is 1111b and all the storage areas are active areas. In this case, the entire storage unit 160 is recognized by the recording / reproducing apparatus as one storage area. When the recording / reproducing apparatus can use a file system corresponding to a large capacity (for example, FAT32 file system instead of FAT16 file system), the recording / reproducing apparatus can access the recording medium 100 as an 8 GB large capacity SD memory card. Note that this function (a function of using the entire storage unit 160 as one storage area) is an option and may not be implemented.

アクティブ領域切り替え手段150は、記録媒体への通電を遮断された時間(以降、遮断時間とする)を基準として、アクティブ領域を切り替える。図5は、本発明の第1の実施例におけるアクティブ領域切り替え手段150のブロック図を示す。図5において、VDD620はドレイン電圧であり図2の端子VDDと接続されている。VSS650はソース電圧であり図2の端子VSS1、端子VSS2と接続されている。抵抗器630は抵抗値Rであり、コンデンサ640は容量Cである。オペアンプ600は、ボルテージフォロワとして動作し、入力電圧VDD620をそのまま出力電圧とする。オペアンプ600により、A/D変換器610に変換される電圧とアクティブ領域指定レジスタ更新手段680へ供給される電圧が分離される。アクティブ領域指定レジスタ更新手段680へ供給される電圧は、記録媒体のコントローラや内部レジスタなどの電源ともなる。   The active area switching means 150 switches the active area on the basis of the time when the energization to the recording medium is interrupted (hereinafter referred to as the interruption time). FIG. 5 shows a block diagram of the active area switching means 150 in the first embodiment of the present invention. In FIG. 5, VDD 620 is a drain voltage, and is connected to the terminal VDD in FIG. VSS650 is a source voltage and is connected to the terminal VSS1 and the terminal VSS2 in FIG. The resistor 630 has a resistance value R, and the capacitor 640 has a capacitance C. The operational amplifier 600 operates as a voltage follower, and uses the input voltage VDD 620 as an output voltage as it is. The operational amplifier 600 separates the voltage converted to the A / D converter 610 and the voltage supplied to the active area designation register updating unit 680. The voltage supplied to the active area designation register updating means 680 also serves as a power source for the controller of the recording medium and the internal register.

アクティブ領域切り替え手段150では、遮断時間が予め定めた閾値(以降、切り替え制限時間Tとする)以上経過しているかどうかを、A/D変換器610に変換された電圧値である測定値AD660により判定する。すなわち、測定値AD660の値が切り替え電圧TV670以上の時、遮断時間が切り替え制限時間T以下であるとする。ただし、切り替え電圧TV670は、切り替え制限時間Tを基に予め決めておく。切り替え電圧TV670の決定方法については後述する。   In the active region switching means 150, whether or not the cutoff time has exceeded a predetermined threshold (hereinafter referred to as a switching limit time T) has been measured by a measured value AD 660, which is a voltage value converted to the A / D converter 610. judge. That is, when the measured value AD660 is equal to or higher than the switching voltage TV670, it is assumed that the cutoff time is equal to or shorter than the switching limit time T. However, the switching voltage TV670 is determined in advance based on the switching time limit T. A method for determining the switching voltage TV670 will be described later.

アクティブ領域指定レジスタ更新手段680は、測定値AD660と切り替え電圧TV670を比較して、アクティブ領域指定レジスタ140の値REG690を求める。図7は、本発明の第1の実施例におけるアクティブ領域指定レジスタ更新手段680の第1の詳細フローを示す図である。アクティブ領域指定レジスタ更新手段680の動作は、通電後、一定のタイムラグがあった後、測定値AD660と切り替え電圧TV670の差分を計算するステップ720から開始する。測定値AD660の値が切り替え電圧TV670以下の場合は、遮断時間が切り替え制限時間T以上経過していると判断し、アクティブ領域を切り替えない。逆に、測定値AD660の値が切り替え電圧TV670以上の場合は、遮断時間が切り替え制限時間T以下であると判断し、アクティブ領域を切り替えるステップ730へ移る。アクティブ領域を切り替えるステップ730は、さらに詳細なステップ740〜ステップ770によって処理される。まず、現在のアクティブ領域指定レジスタ140の値REGを1ビット左シフトしてREGに格納するステップ740を実行し、次に、そのREGと1111bの論理積をREGに格納するステップ750を実行する。ここで、REGと論理積する1111bは、図4のように記憶手段160が4個の記憶領域から構成されている場合の例であり、記憶領域の数に対応するビット数で決まる。ステップ750の結果のREGが0かどうか判断するステップ760において、REGが0以外の場合は、全体の処理を終了する。すなわち、図4の(a)→(b)、(b)→(c)、(c)→(d)の場合であり、REGの値が、0001b→0010b、0010b→0100b、0100b→1000bと変化する場合である。ステップ760において、REGが0の場合は、REGを0001bとするステップ770を実行して全体の処理を終了する。すなわち、図4の(d)→(a)の場合であり、REGの値が、1000b→0001bと変化する場合である。図7で示すアクティブ領域の切り替えは、アクティブ領域指定レジスタ140の値が1111bとなるオプション、すなわち、全ての記憶領域をアクティブ領域とするオプションを実装しない場合のフローを示している。   The active area designation register updating unit 680 compares the measurement value AD660 with the switching voltage TV670 and obtains the value REG690 of the active area designation register 140. FIG. 7 is a diagram showing a first detailed flow of the active area designation register updating means 680 in the first embodiment of the present invention. The operation of the active area designation register updating means 680 starts from step 720 for calculating a difference between the measured value AD660 and the switching voltage TV670 after a certain time lag after energization. When the value of the measured value AD660 is equal to or lower than the switching voltage TV670, it is determined that the cutoff time has passed the switching limit time T, and the active region is not switched. On the contrary, when the value of the measured value AD660 is equal to or higher than the switching voltage TV670, it is determined that the cutoff time is equal to or shorter than the switching limit time T, and the process proceeds to step 730 for switching the active region. Step 730 of switching the active area is processed by more detailed steps 740-770. First, step 740 is executed in which the value REG of the current active area designation register 140 is shifted to the left by 1 bit and stored in REG. Next, step 750 in which the logical product of the REG and 1111b is stored in REG is executed. Here, 1111b logically ANDed with REG is an example in the case where the storage unit 160 is composed of four storage areas as shown in FIG. 4, and is determined by the number of bits corresponding to the number of storage areas. In step 760 in which it is determined whether or not REG as a result of step 750 is 0. If REG is other than 0, the entire process is terminated. That is, it is the case of (a) → (b), (b) → (c), (c) → (d) in FIG. 4, and the REG values are 0001b → 0010b, 0010b → 0100b, 0100b → 1000b. This is the case when it changes. In step 760, if REG is 0, step 770 is executed in which REG is set to 0001b, and the entire process is terminated. That is, it is the case of (d) → (a) in FIG. 4, and the value of REG changes from 1000b → 0001b. The switching of the active area shown in FIG. 7 shows a flow in the case where the option in which the value of the active area specifying register 140 is 1111b, that is, the option in which all the storage areas are active areas is not implemented.

図8は、本発明の第1の実施例におけるアクティブ領域指定レジスタ更新手段680の第2の詳細フローを示す図である。図8は、前記オプションを実装する場合のフローである。この場合、アクティブ領域を切り替えるステップ730の代わりにステップ780を実行する。ステップ780では、まず、REGの値が1111bかどうか判断するステップ790を実行する。REGが1111bの場合は、REGを0001bとするステップ770を実行して全体の処理を終了する。すなわち、図4の(e)→(a)の場合であり、REGの値が、1111b→0001bと変化する場合である。REGが1111b以外の場合は、図7のステップ730と同様、REGを1ビット左シフトして1111bと論理積を取りREGに格納するステップ740、ステップ750を実行する。そして、ステップ750の結果のREGが0かどうか判断するステップ760において、REGが0以外の場合は、図7と同様、全体の処理を終了する。ステップ760において、REGが0の場合は、REGを1111bとするステップ795を実行して全体の処理を終了する。すなわち、図4の(d)→(e)の場合であり、REGの値が、1000b→1111bと変化する場合である。   FIG. 8 is a diagram showing a second detailed flow of the active area designation register updating means 680 in the first embodiment of the present invention. FIG. 8 is a flow for implementing the option. In this case, step 780 is executed instead of step 730 for switching the active area. In step 780, first, step 790 for determining whether or not the value of REG is 1111b is executed. If REG is 1111b, step 770 in which REG is set to 0001b is executed, and the entire process is terminated. That is, it is the case of (e) → (a) in FIG. 4, and the value of REG changes from 1111b → 0001b. If REG is other than 1111b, Steps 740 and 750 are executed, as in Step 730 of FIG. 7, by shifting REG left by 1 bit, performing logical AND with 1111b, and storing it in REG. Then, in step 760 for determining whether or not REG as a result of step 750 is 0, if REG is other than 0, the entire process is terminated as in FIG. In step 760, when REG is 0, step 795 which sets REG to 1111b is executed, and the whole processing is ended. That is, it is the case of (d) → (e) in FIG. 4, and the value of REG changes from 1000b → 1111b.

以上のように、アクティブ領域切り替え手段150は、REG690の値を計算して、アクティブ領域指定レジスタ140の値を書き換える。なお、アクティブ領域指定レジスタ140の初期状態(工場出荷時)の値は、0001bである。   As described above, the active area switching unit 150 calculates the value of REG 690 and rewrites the value of the active area designation register 140. Note that the value of the active area designation register 140 in the initial state (at the time of factory shipment) is 0001b.

以下、図6を用いて、切り替え電圧TV670の決定方法を説明する。図6は、本発明の第1の実施例におけるA/D変換器への入力電圧波形を示す図である。図6(a)は、横軸に時間、縦軸にA/D変換器610への入力電圧を示しており、図のポイントで電源が遮断された場合の応答波形を示している。すなわち、通電時の電圧はVDDに保たれているが、電源が遮断されると、徐々に0Vになる。この時、A/D変換器610への入力電圧ADINは、次式に従って計算される。   Hereinafter, a method for determining the switching voltage TV670 will be described with reference to FIG. FIG. 6 is a diagram showing an input voltage waveform to the A / D converter in the first embodiment of the present invention. FIG. 6A shows time on the horizontal axis and the input voltage to the A / D converter 610 on the vertical axis, and shows the response waveform when the power supply is cut off at the points in the figure. In other words, the voltage during energization is maintained at VDD, but when the power is turned off, it gradually becomes 0V. At this time, the input voltage ADIN to the A / D converter 610 is calculated according to the following equation.

Figure 2006139550
ただし、tは電源遮断からの経過時間とする(すなわち、遮断時がt=0)。また、exp()は指数関数を示す。
Figure 2006139550
However, t is an elapsed time since the power is shut off (that is, t = 0 when the power is shut off). Exp () represents an exponential function.

図6(b)は、電源を遮断して図の遮断時間経過後、再度通電する場合のA/D変換器610への入力電圧の応答波形を示している。A/D変換器610への入力電圧は、徐々に上昇しVDDで安定する。この時、ADINは、次式に従って計算される。   FIG. 6B shows a response waveform of the input voltage to the A / D converter 610 when the power is turned off and the power is turned on again after the interruption time in the figure has elapsed. The input voltage to the A / D converter 610 gradually increases and stabilizes at VDD. At this time, ADIN is calculated according to the following equation.

Figure 2006139550
ただし、tは通電からの経過時間とする(すなわち、通電時がt=0)。なお、その他の記号の意味は、前記記載のものと同じである。
Figure 2006139550
However, t is the elapsed time from energization (that is, t = 0 when energization). The meanings of other symbols are the same as those described above.

図6(c)は、図6(b)と同様、電源を遮断して図の遮断時間経過後、再度通電する場合のA/D変換器610への入力電圧の応答波形を示しているが、図6(b)よりも遮断時間が短い。すなわち、図6(b)は遮断時間が切り替え制限時間Tより長い場合であり、図6(c)は遮断時間が切り替え制限時間Tより短い場合である。   FIG. 6C shows the response waveform of the input voltage to the A / D converter 610 when the power is turned off and the power is turned on again after the interruption time in the figure, as in FIG. 6B. The blocking time is shorter than that in FIG. That is, FIG. 6B shows a case where the cutoff time is longer than the switching limit time T, and FIG. 6C shows a case where the cutoff time is shorter than the switching limit time T.

アクティブ領域切り替え手段150では、通電後、一定のタイムラグTMがあった後、A/D変換器610により入力電圧を変換し、測定値AD660を取得する。従って、遮断時間が切り替え制限時間Tよりも長い場合には測定値AD660が切り替え電圧TV670以下になり、短い場合には測定値AD660が切り替え電圧TV670以上になるように、切り替え電圧TV670を決める。なお、タイムラグTMは、記録再生装置から供給される電源電圧が立ち上がるまでのアクティブ領域切り替え手段150がリセットされている時間である。   In the active region switching means 150, after energization, after a certain time lag TM, the A / D converter 610 converts the input voltage to obtain the measured value AD660. Therefore, the switching voltage TV670 is determined so that the measured value AD660 is equal to or lower than the switching voltage TV670 when the cutoff time is longer than the switching limit time T, and the measured value AD660 is equal to or higher than the switching voltage TV670 when it is shorter. The time lag TM is a time during which the active area switching unit 150 is reset until the power supply voltage supplied from the recording / reproducing apparatus rises.

コントローラ120は、SDメモリカードの規格に従って、記録再生装置と通信を行う手段である。図9は、本発明の第1の実施例におけるコントローラ120のブロック図を示す。コントローラ120は、インターフェース110経由で記録再生装置から受信したコマンド800とデータ820をコマンドデコーダ830により解釈して、記録再生装置にレスポンス810やデータ820をインターフェース110経由で送信する。コントローラ120は、コマンド800に基づいて記憶手段160に記録再生装置からのデータ820を書き込み、記録再生装置へデータ820を読み出す。また、内部レジスタ130の値を記録再生装置へデータ820として読み出す。   The controller 120 is means for communicating with the recording / reproducing apparatus in accordance with the SD memory card standard. FIG. 9 shows a block diagram of the controller 120 in the first embodiment of the present invention. The controller 120 interprets the command 800 and data 820 received from the recording / reproducing apparatus via the interface 110 by the command decoder 830 and transmits a response 810 and data 820 to the recording / reproducing apparatus via the interface 110. Based on the command 800, the controller 120 writes the data 820 from the recording / reproducing apparatus in the storage unit 160 and reads the data 820 to the recording / reproducing apparatus. Further, the value of the internal register 130 is read as data 820 to the recording / reproducing apparatus.

以下では、コントローラ120におけるSDメモリカードの規格と異なる動作について説明する。第一の動作は、アクティブ領域指定レジスタ140の値によって、記憶手段160へのアドレスにオフセットを加算する動作である。第二の動作は、アクティブ領域指定レジスタ140の値によって、内部レジスタ130から読み出したデータを変換する動作である。   Hereinafter, operations different from the SD memory card standard in the controller 120 will be described. The first operation is an operation of adding an offset to the address to the storage means 160 according to the value of the active area designation register 140. The second operation is an operation of converting the data read from the internal register 130 according to the value of the active area designation register 140.

第一の動作では、記憶再生装置は記憶手段160に対してアクセス(読み出しまたは書き込み)する。コマンド800とデータ820は、インターフェース110からコマンドデコーダ830へ入力される。コマンドデコーダ830は、コマンド800が記憶手段160に対するアクセスである場合、アドレス取得手段860を作用させてデータ820を論理アドレス870として取得する。また、オフセット計算手段840を作用させてアクティブ領域指定レジスタ140を基にオフセット850を計算する(計算方法の詳細は後述)。さらに、論理アドレス870とオフセット850を加算器880により足し合わせて、物理アドレス890に変換する。コントローラ120は、物理アドレス890によって、記憶手段160からデータ820を読み出したり、データ820を書き込んだりする。   In the first operation, the storage / reproduction device accesses (reads or writes) the storage unit 160. The command 800 and data 820 are input from the interface 110 to the command decoder 830. When the command 800 is an access to the storage unit 160, the command decoder 830 operates the address acquisition unit 860 to acquire the data 820 as the logical address 870. Further, the offset calculation means 840 is operated to calculate the offset 850 based on the active area designation register 140 (details of the calculation method will be described later). Further, the logical address 870 and the offset 850 are added together by an adder 880 to be converted into a physical address 890. The controller 120 reads data 820 from the storage unit 160 and writes data 820 by the physical address 890.

オフセット850は、現在のアクティブ領域の先頭アドレスが論理アドレスの0番地になるように、アクティブ領域指定レジスタ140を基に計算する。すなわち、アクティブ領域指定レジスタ140の値が1のビットのうち、一番下位にあるビットをビットN(最下位ビットが0)とし、それぞれの記憶領域のブロック数をBとすると、N×Bで計算できる。ただし、ブロック数Bは、それぞれの記憶領域の容量、クラスタごとのバイト数によって、予め決められている。例えば、それぞれの記憶領域が2GB、クラスタごとのセクタ数が32KBであれば、B=2GB/32KB=65536となる。この時、アクティブ領域指定レジスタ140の値が0100bであれば、オフセット850は、2×65536=0x20000(16進数)となる。なお、アクティブ領域指定レジスタ140の値は、電源を遮断しない限り更新されない。従って、一度計算したオフセット850の値を保存しておき、再利用することができる。   The offset 850 is calculated based on the active area designation register 140 so that the head address of the current active area becomes the logical address 0. That is, among the bits having the value of the active area designation register 140 of 1, the lowest bit is bit N (the least significant bit is 0), and the number of blocks in each storage area is B, N × B. Can be calculated. However, the block number B is determined in advance depending on the capacity of each storage area and the number of bytes for each cluster. For example, if each storage area is 2 GB and the number of sectors per cluster is 32 KB, B = 2 GB / 32 KB = 65536. At this time, if the value of the active area designation register 140 is 0100b, the offset 850 is 2 × 65536 = 0x20000 (hexadecimal number). Note that the value of the active area designation register 140 is not updated unless the power is turned off. Therefore, the offset 850 value calculated once can be saved and reused.

第二の動作では、記憶再生装置は内部レジスタ130に対して値を読み出す。コマンド800とデータ820は、インターフェース110からコマンドデコーダ830へ入力される。コマンドデコーダ830は、コマンド800が内部レジスタ130に対する読み出しである場合、アクティブ領域容量計算手段900を作用させてアクティブ領域指定レジスタ140を基にアクティブ領域の最大バイト数910を計算し、内部レジスタ130を内部レジスタ変換手段920によって変換する。アクティブ領域容量計算手段900は、アクティブ領域指定レジスタ140の値が1のビット数をM、それぞれの記憶領域の容量をDとすると、最大バイト数910をM×Dで計算する。アクティブ領域指定レジスタ140の値が0010b、D=2GBであれば、最大バイト数910は、1×2GB=2GBとなる。内部レジスタ変換手段920は、内部レジスタ130のうち、アクティブ領域の最大バイト数が記録されているレジスタだけを変換する。最大バイト数910は、SDメモリカードの規格に従って、内部レジスタ130と同じ書式でデータ820として読み出される。これ以外のレジスタは変換されず、読み出した内部レジスタ130の値がそのままデータ820として読み出される。なお、アクティブ領域指定レジスタ140の値は、電源を遮断しない限り更新されない。従って、一度計算した最大バイト数910の値を保存しておき、再利用することができる。   In the second operation, the storage / reproduction device reads a value from the internal register 130. The command 800 and data 820 are input from the interface 110 to the command decoder 830. When the command 800 is a read from the internal register 130, the command decoder 830 operates the active area capacity calculation unit 900 to calculate the maximum number of bytes 910 of the active area based on the active area designation register 140, and sets the internal register 130. The internal register conversion means 920 performs conversion. The active area capacity calculation means 900 calculates the maximum number of bytes 910 as M × D, where M is the number of bits whose active area designation register 140 is 1 and D is the capacity of each storage area. If the value of the active area designation register 140 is 0010b and D = 2 GB, the maximum number of bytes 910 is 1 × 2 GB = 2 GB. The internal register conversion means 920 converts only the register in which the maximum number of bytes in the active area is recorded among the internal registers 130. The maximum number of bytes 910 is read as data 820 in the same format as the internal register 130 in accordance with the SD memory card standard. Other registers are not converted, and the read value of the internal register 130 is read as data 820 as it is. Note that the value of the active area designation register 140 is not updated unless the power is turned off. Therefore, the value of the maximum number of bytes 910 calculated once can be stored and reused.

以上のように構成された記録媒体について、以下、記録再生装置に接続された時の動作を説明する。また、記憶領域の切り替え方法ついても説明する。   The operation of the recording medium configured as described above when connected to the recording / reproducing apparatus will be described below. A method for switching storage areas will also be described.

まず、記録再生装置の利用者は、記録再生装置に本発明の記録媒体を挿入し、記録再生装置の電源をオンにする。記録再生装置は、その初期化手順の中で、記録媒体の各仕様を記録媒体から読み出す。記録媒体の各仕様は、記録媒体の内部レジスタに格納されており、記録再生装置の動作に影響する。また、記録装置に記録されたファイルフォーマット(ファイルシステム)も、記録再生装置の動作に影響を及ぼす。   First, the user of the recording / reproducing apparatus inserts the recording medium of the present invention into the recording / reproducing apparatus and turns on the power of the recording / reproducing apparatus. The recording / reproducing apparatus reads each specification of the recording medium from the recording medium in the initialization procedure. Each specification of the recording medium is stored in an internal register of the recording medium and affects the operation of the recording / reproducing apparatus. Further, the file format (file system) recorded in the recording apparatus also affects the operation of the recording / reproducing apparatus.

記録媒体がフォーマット済みの場合、記録再生装置は、論理アドレスの0番地から記録媒体のフォーマット情報を読み出して、記録媒体にアクセスしようとする。この時、本発明の記録媒体は、コントローラ120の第一の動作で説明したように、オフセット計算手段840によって計算されたオフセットを論理アドレスに加算して物理アドレスに変換し、記憶手段へアクセスする。すなわち、記録再生装置は、記憶領域が複数あることを認識しないまま、記録媒体のアクティブ領域が論理アドレス0番地にあるように、記録媒体にアクセスすることになる。   When the recording medium has been formatted, the recording / reproducing apparatus reads the format information of the recording medium from address 0 of the logical address and tries to access the recording medium. At this time, as described in the first operation of the controller 120, the recording medium of the present invention adds the offset calculated by the offset calculation means 840 to the logical address to convert it into a physical address, and accesses the storage means. . That is, the recording / reproducing apparatus accesses the recording medium so that the active area of the recording medium is at logical address 0 without recognizing that there are a plurality of storage areas.

記録媒体が未フォーマットの場合、記録再生装置は、記録媒体の内部レジスタから最大バイト数を読み出して、記録再生装置が取り扱えるファイルシステムで記録媒体をフォーマットしようとする。この時、本発明の記録媒体は、コントローラ120の第二の動作で説明したように、内部レジスタに格納された最大バイト数の代わりに、アクティブ領域容量計算手段900によって計算された最大バイト数を、記録再生装置へ出力する。すなわち、記録再生装置は、記憶媒体の実際の記憶容量を認識しないまま、記録媒体がアクティブ領域分の記憶容量しかないものとして、記録媒体をフォーマットすることになる。   When the recording medium is unformatted, the recording / reproducing apparatus reads the maximum number of bytes from the internal register of the recording medium and attempts to format the recording medium with a file system that can be handled by the recording / reproducing apparatus. At this time, as described in the second operation of the controller 120, the recording medium of the present invention uses the maximum number of bytes calculated by the active area capacity calculation unit 900 instead of the maximum number of bytes stored in the internal register. To the recording / reproducing apparatus. That is, the recording / reproducing apparatus formats the recording medium on the assumption that the recording medium has only the storage capacity for the active area without recognizing the actual storage capacity of the storage medium.

次に、記録再生装置の利用者は、記録再生装置の機能を用いて、記録媒体へ各種データを格納していく。例えば、デジタルカメラの静止画データであったり、オーディオプレーヤーの音楽データであったりする。利用者による利用が進むと、記憶媒体は次第に残り容量が少なくなっていき、ついには利用者が記録媒体を交換しようと考える。この時、本発明の記録媒体では、利用者は、記録媒体を抜き差しして、アクティブ領域を切り替えることができる。または、記録再生装置の電源をオンオフして、アクティブ領域を切り替えることもできる。   Next, the user of the recording / reproducing apparatus stores various data on the recording medium using the function of the recording / reproducing apparatus. For example, it may be still image data of a digital camera or music data of an audio player. As usage by the user proceeds, the remaining capacity of the storage medium gradually decreases, and the user finally considers replacing the recording medium. At this time, in the recording medium of the present invention, the user can switch the active area by inserting and removing the recording medium. Alternatively, the active area can be switched by turning on / off the power of the recording / reproducing apparatus.

以上のように、本発明の第1の実施例においては、アクティブ領域指定レジスタとアクティブ領域切り替え手段を設けることにより、記録媒体への通電を遮断された時間を基準としてアクティブ領域を切り替えることができ、複数の記憶領域の中からアクティブ領域を指定することができる。   As described above, in the first embodiment of the present invention, the active area can be switched based on the time when the power supply to the recording medium is cut off by providing the active area designation register and the active area switching means. The active area can be designated from a plurality of storage areas.

また、本発明の第1の実施例では、記憶領域の分割を記憶領域ごとに異なる容量とすることにより、記録再生装置に応じた容量の記録媒体として取り扱うことができる。   In the first embodiment of the present invention, the storage area can be handled as a recording medium having a capacity corresponding to the recording / reproducing apparatus by making the storage areas have different capacities for each storage area.

また、本発明の第1の実施例では、記録媒体としてSDメモリカードを想定したが、コンパクトフラッシュ(登録商標)やメモリースティック(登録商標)であっても良い。   In the first embodiment of the present invention, an SD memory card is assumed as a recording medium. However, a compact flash (registered trademark) or a memory stick (registered trademark) may be used.

なお、本発明は、規格で定められた形状の変更を伴わずに、複数の記憶領域の中から一つを選択することができる記録媒体を提供することを目的としているが、利用者の利便性を考慮して、現在アクティブな記憶領域を表示できるようにしても良い。図10を用いて具体例を説明する。図10は、本発明の第1の実施例における記録媒体の外観を示している。図10では、記録媒体の背面部に複数のLED950を具備している。LED950は、アクティブ領域指定レジスタの各ビットの値に対応して、1の時に点灯、0の時に消灯させる。これにより、記録媒体を記録再生装置に接続して利用中でも、利用者は、アクティブな記録領域を識別することができる。ただし、具備するLEDの個数やLEDの点灯方法は、上記の例に限定するものではない。   The present invention aims to provide a recording medium that can select one of a plurality of storage areas without changing the shape defined by the standard. For this reason, the currently active storage area may be displayed. A specific example will be described with reference to FIG. FIG. 10 shows the appearance of the recording medium in the first embodiment of the present invention. In FIG. 10, a plurality of LEDs 950 are provided on the back surface of the recording medium. The LED 950 is turned on when it is 1 and turned off when it is 0, corresponding to the value of each bit of the active area designation register. Thereby, even when the recording medium is connected to the recording / reproducing apparatus and used, the user can identify the active recording area. However, the number of LEDs provided and the lighting method of the LEDs are not limited to the above example.

また、アクティブな記憶領域が切り替わったことを利用者へ伝達する手段を装備しても良い。例えば、記録媒体内部に音源を持ち音で伝達したり、図10のようなLEDを持ちLEDを点滅させたりして伝達する手段が考えられる。   Further, a means for transmitting to the user that the active storage area has been switched may be provided. For example, a means for transmitting a sound source with a sound inside the recording medium or having an LED as shown in FIG.

本発明にかかる記録媒体は、アクティブ領域切り替え手段を有し、記録媒体内にある複数の記憶領域の中から一つを選択することができ、記録再生装置において大容量の記録媒体を扱う際に有用である。特に、デジタルカメラ等の記録再生装置に接続されるメモリカードに好適に利用できるものである。   The recording medium according to the present invention has an active area switching means, and can select one of a plurality of storage areas in the recording medium. When handling a large capacity recording medium in the recording / reproducing apparatus, Useful. In particular, it can be suitably used for a memory card connected to a recording / reproducing apparatus such as a digital camera.

本発明の第1の実施例における記録媒体のブロック図1 is a block diagram of a recording medium in a first embodiment of the present invention. 本発明の第1の実施例におけるインターフェースの詳細を示す図The figure which shows the detail of the interface in 1st Example of this invention 本発明の第1の実施例における記憶手段の構成を示す図The figure which shows the structure of the memory | storage means in 1st Example of this invention. 本発明の第1の実施例における記憶領域の切り替え及びアクティブ領域指定レジスタの値を示す図The figure which shows the value of the switching of a storage area and the active area designation | designated register in 1st Example of this invention 本発明の第1の実施例におけるアクティブ領域切り替え手段のブロック図Block diagram of active area switching means in the first embodiment of the present invention 本発明の第1の実施例におけるA/D変換器への入力電圧波形を示す図The figure which shows the input voltage waveform to the A / D converter in 1st Example of this invention 本発明の第1の実施例におけるアクティブ領域指定レジスタ更新手段の第1の詳細フローを示す図The figure which shows the 1st detailed flow of the active area designation | designated register update means in 1st Example of this invention. 本発明の第1の実施例におけるアクティブ領域指定レジスタ更新手段の第2の詳細フローを示す図The figure which shows the 2nd detailed flow of the active area designation register update means in 1st Example of this invention. 本発明の第1の実施例におけるコントローラのブロック図Block diagram of the controller in the first embodiment of the present invention 本発明の第1の実施例における記録媒体の外観図1 is an external view of a recording medium according to a first embodiment of the present invention.

符号の説明Explanation of symbols

100 記録媒体
110 インターフェース
120 コントローラ
130 内部レジスタ
140 アクティブ領域指定レジスタ
150 アクティブ領域切り替え手段
160 記憶手段
161 第一の記憶領域
162 第二の記憶領域
163 第三の記憶領域
164 第四の記憶領域
200 インターフェースドライバ
600 オペアンプ
610 A/D変換器
620 VDD
630 抵抗器
640 コンデンサ
650 VSS
660 測定値AD
670 切り替え電圧TV
680 アクティブ領域指定レジスタ更新手段
690 REG
800 コマンド
810 レスポンス
820 データ
830 コマンドデコーダ
840 オフセット計算手段
850 オフセット
860 アドレス取得手段
870 論理アドレス
880 加算器
890 物理アドレス
900 アクティブ領域容量計算手段
910 最大バイト数
920 内部レジスタ変換手段
950 LED

DESCRIPTION OF SYMBOLS 100 Recording medium 110 Interface 120 Controller 130 Internal register 140 Active area designation register 150 Active area switching means 160 Storage means 161 First storage area 162 Second storage area 163 Third storage area 164 Fourth storage area 200 Interface driver 600 operational amplifier 610 A / D converter 620 VDD
630 Resistor 640 Capacitor 650 VSS
660 measured value AD
670 Switching voltage TV
680 Active area designation register update means 690 REG
800 Command 810 Response 820 Data 830 Command decoder 840 Offset calculation means 850 Offset 860 Address acquisition means 870 Logical address 880 Adder 890 Physical address 900 Active area capacity calculation means 910 Maximum number of bytes 920 Internal register conversion means 950 LED

Claims (9)

外部の記録再生装置に接続して使用する読み書き可能な記録媒体において、
前記記録再生装置と接続されるインターフェースと、
複数の記憶領域を持つ記憶手段と、
記録媒体固有の特性値を保持する内部レジスタと、
前記記録再生装置の指示や前記内部レジスタの値に基づいて前記記憶手段を制御するコントローラと、
前記複数の記憶領域の中からアクティブ領域を指定するアクティブ領域指定レジスタと、
前記記録媒体への通電を遮断された時間を基準として前記アクティブ領域を切り替えるアクティブ領域切り替え手段とからなる記録媒体。
In a readable / writable recording medium used by connecting to an external recording / reproducing device,
An interface connected to the recording / reproducing apparatus;
Storage means having a plurality of storage areas;
An internal register that holds characteristic values specific to the recording medium;
A controller for controlling the storage means based on an instruction of the recording / reproducing apparatus or a value of the internal register;
An active area designation register for designating an active area from the plurality of storage areas;
A recording medium comprising active area switching means for switching the active area on the basis of a time when power to the recording medium is cut off.
前記アクティブ領域切り替え手段は、
電荷を蓄積する電荷蓄積手段を持ち、
前記記録媒体が前記記録再生装置に接続された時に、前記電荷蓄積手段に蓄積されている電荷量を測定した値と予め定めた閾値とを比較して、前記アクティブ領域を切り替えることを特徴とする請求項1に記載の記録媒体。
The active area switching means includes
Having charge storage means for storing charge,
When the recording medium is connected to the recording / reproducing apparatus, the active area is switched by comparing a value obtained by measuring a charge amount accumulated in the charge accumulating unit with a predetermined threshold value. The recording medium according to claim 1.
前記アクティブ領域切り替え手段は、
前記記録媒体への通電を遮断された時間が予め定めた閾値以下の時、前記アクティブ領域を切り替えることを特徴とする請求項2に記載の記録媒体。
The active area switching means includes
The recording medium according to claim 2, wherein the active area is switched when a time when the power supply to the recording medium is cut off is equal to or less than a predetermined threshold value.
前記通電を遮断された時間として、
前記記録再生装置から抜き出された後、再度挿入されるまでの経過時間
を利用することを特徴とする請求項3に記載の記録媒体。
As the time when the energization was cut off,
4. The recording medium according to claim 3, wherein an elapsed time from when the recording / reproducing apparatus is removed to when the recording / reproducing apparatus is inserted again is used.
前記通電を遮断された時間として、
前記記録再生装置の電源がオフされた後、再度オンされるまでの経過時間
を利用することを特徴とする請求項3に記載の記録媒体。
As the time when the energization was cut off,
4. The recording medium according to claim 3, wherein an elapsed time from when the power of the recording / reproducing apparatus is turned off to when it is turned on again is used.
前記コントローラは、
前記アクティブ領域指定レジスタからアクティブ領域の容量を計算するアクティブ領域容量計算手段と、
前記アクティブ領域容量計算手段の計算結果を基に前記内部レジスタを変換する内部レジスタ変換手段とを含むことを特徴とする請求項1に記載の記録媒体。
The controller is
Active area capacity calculating means for calculating the capacity of the active area from the active area designation register;
The recording medium according to claim 1, further comprising an internal register conversion unit that converts the internal register based on a calculation result of the active area capacity calculation unit.
前記コントローラは、
前記アクティブ領域指定レジスタからアドレスのオフセットを計算するオフセット計算手段と、
前記オフセット計算手段の計算結果と前記記録再生装置から送信されたアドレスを加算する加算器とを含むことを特徴とする請求項1に記載の記録媒体。
The controller is
Offset calculating means for calculating an offset of an address from the active area designation register;
The recording medium according to claim 1, further comprising: an adder that adds a calculation result of the offset calculation means and an address transmitted from the recording / reproducing apparatus.
前記アクティブ領域指定レジスタが指定する記憶領域を外部から認識できる表示手段を備えることを特徴とする請求項1に記載の記録媒体。 2. The recording medium according to claim 1, further comprising display means for recognizing a storage area designated by the active area designation register from the outside. 前記アクティブ領域指定レジスタが指定する記憶領域が切り替わったことを外部から認識できる表示手段を備えることを特徴とする請求項1に記載の記録媒体。
2. The recording medium according to claim 1, further comprising display means for recognizing from the outside that the storage area designated by the active area designation register has been switched.
JP2004328763A 2004-11-12 2004-11-12 Recording medium Pending JP2006139550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004328763A JP2006139550A (en) 2004-11-12 2004-11-12 Recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004328763A JP2006139550A (en) 2004-11-12 2004-11-12 Recording medium

Publications (1)

Publication Number Publication Date
JP2006139550A true JP2006139550A (en) 2006-06-01

Family

ID=36620339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004328763A Pending JP2006139550A (en) 2004-11-12 2004-11-12 Recording medium

Country Status (1)

Country Link
JP (1) JP2006139550A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008016030A (en) * 2006-07-03 2008-01-24 Lg Electronics Inc System operation control device and method
JP2011100373A (en) * 2009-11-09 2011-05-19 Renesas Electronics Corp Recording medium and storage area changeover method for the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008016030A (en) * 2006-07-03 2008-01-24 Lg Electronics Inc System operation control device and method
JP2011100373A (en) * 2009-11-09 2011-05-19 Renesas Electronics Corp Recording medium and storage area changeover method for the same

Similar Documents

Publication Publication Date Title
JP4679512B2 (en) INFORMATION RECORDING MEDIUM, ACCESS DEVICE, AND INFORMATION RECORDING MEDIUM PROCESSING METHOD
JP5129156B2 (en) Access device and write-once recording system
CN101582283A (en) Device and method for reproducing digital signals and device and method for recording digital signals
CN102750958A (en) Method for converting data in optical disc drive
WO2001065374A1 (en) File managing method and data recorder using the same, data reproducing apparatus, data recording/reproducing apparatus, and disk recorded by the file managing method
CN100545917C (en) The recording medium and the heavy method and apparatus of formatted record medium
EP0675488A2 (en) Optical disk recording device and optical disk drive
JP2006139550A (en) Recording medium
JP2000267904A (en) Data recorder and its method
JP2006146467A (en) Recording medium and storage area changing method
JP2007018686A (en) Reproduction apparatus
JP2010055139A (en) Memory controller, non-volatile storage device, access device, and non-volatile memory system
CN102113053A (en) Circuits, architectures, apparatuses, systems, algorithms and methods and software for optimum power calibration for optical disc recording
JP4846807B2 (en) Format processing for multi-layer storage media
CN101331549B (en) Data recording device and data recording method
US20100165503A1 (en) Method and apparatus for recording and reading information
JP2006209562A (en) Storage medium and storage area switching method
WO2004112037A2 (en) Flexible formatting for universal storage device
KR101339429B1 (en) Optical disc drive and driving method thereof
JP5950798B2 (en) Recording apparatus and control method thereof
JP4586533B2 (en) Recording apparatus, address conversion apparatus, recording control method, and recording control program
KR20040076916A (en) A data storage and writing method thereof
JPS58219658A (en) Magnetic disk controller
JP6407417B2 (en) CONTENT REPRODUCTION DEVICE AND CONTENT REPRODUCTION DEVICE CONTROL METHOD
JP2006128822A (en) Information storage device