JP2020003983A - Control systems and electronic device - Google Patents

Control systems and electronic device Download PDF

Info

Publication number
JP2020003983A
JP2020003983A JP2018121596A JP2018121596A JP2020003983A JP 2020003983 A JP2020003983 A JP 2020003983A JP 2018121596 A JP2018121596 A JP 2018121596A JP 2018121596 A JP2018121596 A JP 2018121596A JP 2020003983 A JP2020003983 A JP 2020003983A
Authority
JP
Japan
Prior art keywords
information
virtualization
unit
electronic fuse
recording
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
JP2018121596A
Other languages
Japanese (ja)
Inventor
耶真人 高橋
Yamato Takahashi
耶真人 高橋
誠 杉野
Makoto Sugino
誠 杉野
中村 秀一
Shuichi Nakamura
秀一 中村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2018121596A priority Critical patent/JP2020003983A/en
Publication of JP2020003983A publication Critical patent/JP2020003983A/en
Pending legal-status Critical Current

Links

Abstract

To provide a control system and an electronic device capable of flexibly changing information.SOLUTION: A control system includes: determination means 30 for determining whether or not to virtualize information recorded in first recording means 13 on the basis of write information written in the first recording means for recording information in a non-rewritable manner or information set for itself; and second virtualization means 31 for virtualizing the information recorded in the first recording means, if the virtualization is determined, so as to cause the information rewritable second recording means to read information in response to a request to read information recorded in the first recording means.SELECTED DRAWING: Figure 5

Description

本発明は、情報の読み取りを制御するシステムおよび電子機器に関する。   The present invention relates to a system for controlling reading of information and an electronic device.

電子機器には、不揮発なビット情報を保持することができ、一度ビット情報を変更すると、二度と変更することができないという特徴を有する電子ヒューズが搭載されているものがある。電子ヒューズは、機器の最終構成情報等の上書きされては困る情報を保存する際に使用されている。   2. Description of the Related Art Some electronic devices are equipped with an electronic fuse having a characteristic that nonvolatile bit information can be held, and once bit information is changed, it cannot be changed again. Electronic fuses are used to store information that is not required to be overwritten, such as the final configuration information of a device.

しかしながら、特注品で後に装置を追加した場合等、保存した情報を変更したい場合がある。   However, there are cases where it is desired to change the stored information, such as when a device is added later as a special order product.

そこで、仮想の電子ヒューズを用意し、仮想の電子ヒューズの値を読み取るように指定しておくことで、電子ヒューズの値は変更できないが、機器が読み取る値は後からでも変更できるようにした技術が提案されている(例えば、特許文献1参照)。   Therefore, by preparing a virtual electronic fuse and specifying that the value of the virtual electronic fuse be read, the value of the electronic fuse cannot be changed, but the value read by the device can be changed later. Has been proposed (for example, see Patent Document 1).

しかしながら、上記の技術では、電子ヒューズを複数ビット読み取り、書き込まれているビットの個数が偶数か、奇数かで、電子ヒューズに記録されている値を読み替える方法であるため、変更可能な回数に制限がある。また、電子ヒューズの値を読み取るように指定されているため、読み取り先を変更しなければならない。これでは、柔軟に情報の変更を行えないという問題があった。   However, in the above-described technique, the electronic fuse is read in a plurality of bits, and the number of bits written is even or odd, and the value recorded in the electronic fuse is replaced. There is. In addition, since the value of the electronic fuse is specified to be read, the reading destination must be changed. In this case, there is a problem that information cannot be flexibly changed.

本発明は、上記に鑑みてなされたものであって、柔軟に情報の変更を行うことを可能にするシステムおよび電子機器を提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide a system and an electronic device that allow information to be flexibly changed.

上述した課題を解決するために、発明の一実施形態では、情報の読み取りを制御するシステムであって、
情報を書き換え不能に記録する第1の記録手段に書き込まれた書き込み情報または自身に設定された情報に基づき、第1の記録手段に記録された情報を仮想化するか否かを判定する判定手段と、
判定手段により仮想化すると判定された場合、第1の記録手段に記録された情報の読み取り要求に対し、情報の書き換えが可能な第2の記録手段から情報を読み取らせるように、第1の記録手段に記録された情報を仮想化する仮想化手段と
を含む、制御システムを提供する。
In order to solve the above-described problems, in one embodiment of the present invention, a system for controlling reading of information,
A determination unit that determines whether to virtualize the information recorded in the first recording unit based on the write information written in the first recording unit that records the information in a non-rewritable manner or based on information set therein; When,
If it is determined by the determining means that the virtualization is performed, the first recording is performed such that the information is read from the second rewritable recording means in response to a request to read the information recorded in the first recording means. Virtualization means for virtualizing information recorded in the means.

本発明によれば、柔軟に情報の変更を行えるようになる。   According to the present invention, information can be flexibly changed.

電子機器のハードウェア構成の一例を示した図。FIG. 2 illustrates an example of a hardware configuration of an electronic device. 情報の読み取り時のメモリアクセスについて説明する図。FIG. 4 is a diagram illustrating memory access at the time of reading information. 電子機器に搭載される電子ヒューズの一例を示した図。FIG. 4 is a diagram illustrating an example of an electronic fuse mounted on an electronic device. 電子ヒューズを利用した制御の流れを示したシーケンス図。FIG. 4 is a sequence diagram showing a flow of control using an electronic fuse. 制御システムの構成例を示したブロック図。FIG. 2 is a block diagram illustrating a configuration example of a control system. 仮想化を実施した場合の情報の読み取り時のメモリアクセスについて説明する図。FIG. 4 is a diagram for explaining memory access at the time of reading information when virtualization is performed. 制御システムにより実行される情報の読み取り制御の第1の例を示したシーケンス図。FIG. 4 is a sequence diagram showing a first example of information reading control executed by the control system. 制御システムにより実行される情報の読み取り制御の第2の例を示したシーケンス図。FIG. 4 is a sequence diagram showing a second example of information reading control executed by the control system.

図1は、電子機器のハードウェア構成の一例を示した図である。電子機器は、CPU10と、DRAM等のメモリ11と、HDD等の不揮発性記憶装置12と、電子ヒューズ13とを含んで構成される。CPU10は、演算を行う演算ユニットと、演算ユニットが演算を行うために使用するレジスタ14とを含んで構成される。不揮発性記憶装置12は、OSや各種のアプリケーション等のソフトウェアや、各種のデータ等を記憶する。   FIG. 1 is a diagram illustrating an example of a hardware configuration of an electronic device. The electronic device includes a CPU 10, a memory 11 such as a DRAM, a nonvolatile storage device 12 such as an HDD, and an electronic fuse 13. The CPU 10 is configured to include an operation unit for performing an operation and a register 14 used by the operation unit for performing the operation. The nonvolatile storage device 12 stores software such as an OS and various applications, various data, and the like.

電子ヒューズ13は、一度書き込みを行ったら、二度と書き換えることができない(書き換え不能)という特徴を有し、電子機器の構成情報等の上書きされては困る情報を保存する。このため、電子ヒューズ13に情報を保存することで、機器の構成情報を書き換えて機器のグレードを上げる等の悪意を持った行為を防ぐことができる。   The electronic fuse 13 has a feature that once written, it cannot be rewritten again (it cannot be rewritten), and stores information that is not overwritten, such as configuration information of an electronic device. Therefore, by storing the information in the electronic fuse 13, it is possible to prevent a malicious act such as rewriting the configuration information of the device and upgrading the device grade.

電子ヒューズ13やレジスタ14等のハードウェアは、メモリ11と関連付けられ、CPU10は、メモリ11にアクセスすることにより処理を実行し、電子機器を制御する。この関連付けは、マップと呼ばれる。ハードウェアがマップされたメモリの領域は、メモリに付与されたアドレスにより管理され、アクセスする際は、アドレスが参照される。   Hardware such as the electronic fuse 13 and the register 14 is associated with the memory 11, and the CPU 10 executes processing by accessing the memory 11 and controls the electronic device. This association is called a map. The area of the memory to which the hardware is mapped is managed by the address given to the memory, and the address is referred to when accessing.

図2に示すように、電子ヒューズ13がマップされたメモリ領域15には、電子ヒューズ13に保存されている情報が読み出され、レジスタ14がマップされたメモリ領域16には、レジスタ14に書かれた情報が読み出される。このため、各メモリ領域15、16のアドレスを参照し、各メモリ領域15、16にアクセスすることで、各情報を取得することができる。   As shown in FIG. 2, the information stored in the electronic fuse 13 is read out to the memory area 15 to which the electronic fuse 13 is mapped, and the information is written to the register 14 to the memory area 16 to which the register 14 is mapped. The read information is read. Therefore, each information can be acquired by referring to the addresses of the memory areas 15 and 16 and accessing the memory areas 15 and 16.

電子機器は、上記のハードウェアを備える機器であれば情報処理装置や画像形成装置等のいかなる機器であってもよく、例えばスマートフォン、ゲーム機、デジタルカメラ、ビデオカメラ、プリンタ、MFP(Multi-Function Peripheral)、プロジェクタ等とすることができる。このため、上記のハードウェアのほか、機器に応じて、入力装置、表示装置、通信装置、画像読取装置、撮像装置等を備えることができる。   The electronic device may be any device such as an information processing device or an image forming device as long as the device has the above hardware.For example, a smartphone, a game machine, a digital camera, a video camera, a printer, an MFP (Multi-Function Peripheral), a projector, and the like. Therefore, in addition to the hardware described above, an input device, a display device, a communication device, an image reading device, an imaging device, and the like can be provided according to the device.

デジタルカメラやプリンタ等は、特定の用途に特化した機能を実現するための回路(ASIC)が組み込み機器として実装されている。組み込み回路により実行されるソフトウェアは、組み込みソフトウェアと呼ばれ、その組み込みソフトウェアの中には、同一の命令(バイナリ)で複数の機器に対応するモジュールが存在する。同一のバイナリで複数の機器に対応するには、そのバイナリが動作する機器を判別し、その機器に応じた処理を選択する必要がある。   2. Description of the Related Art In digital cameras, printers, and the like, a circuit (ASIC) for implementing a function specialized for a specific application is mounted as an embedded device. The software executed by the embedded circuit is called embedded software, and in the embedded software, a module corresponding to a plurality of devices with the same instruction (binary) exists. In order to support a plurality of devices with the same binary, it is necessary to determine the device on which the binary operates, and select a process according to the device.

機器を判別する方法の1つとして、電子ヒューズ13に保存されている情報を読み取る方法がある。電子ヒューズ13に保存されている情報としては、図3に示すように、例えばスキャナ機能「あり」、FAX機能「なし」等の情報が挙げられる。これは一例であるので、その他の情報であってもよい。   As one of the methods of determining the device, there is a method of reading information stored in the electronic fuse 13. As shown in FIG. 3, the information stored in the electronic fuse 13 includes, for example, information such as "with" a scanner function and "without" a FAX function. Since this is an example, other information may be used.

ところで、電子機器は、機器Aとして製造されたが、その後改造され、機器Bの開発用として用いられる場合がある。このような場合、電子ヒューズ13には、既に機器Aの情報が書き込まれているので、何らかの方法で読み取る箇所を変更し、機器Bの情報を読み取らせないと、機器Bとしての処理を行うことができない。   By the way, the electronic device is manufactured as the device A, but may be modified later and used for the development of the device B. In such a case, since the information of the device A is already written in the electronic fuse 13, the location to be read is changed by some method, and the process as the device B must be performed unless the information of the device B is read. Can not.

例えば、機器AはFAX機能がないが、機器Bは改造してFAX機能を追加した場合、読み取る箇所が変更されないと、電子ヒューズ13に書き込まれた、FAX機能なしという機器Aの情報が読み取られることになる。これでは、せっかくFAX機能を追加したのに、FAX機能を実現するためのFAXモジュールが起動しないので、FAX機能を使用することができない。   For example, if the device A does not have a fax function, but the device B is modified and the fax function is added, and if the location to be read is not changed, the information of the device A indicating that there is no fax function written in the electronic fuse 13 is read. Will be. In this case, although the fax function has been added, the fax module for realizing the fax function does not start, so that the fax function cannot be used.

このときの処理について、図4を参照し、読み取る箇所が変更された場合と変更されない場合に分けて説明する。電子機器が、各機能を実現するためのソフトウェアとして各モジュールを備えるものとし、モジュールとして、機能の有無で起動するモジュールを選択するモジュールM20と、スキャナモジュール21と、FAXモジュール22とを含むものとする。   The processing at this time will be described with reference to FIG. 4 separately for a case where the portion to be read is changed and a case where it is not changed. It is assumed that the electronic device includes each module as software for realizing each function, and includes a module M20 for selecting a module to be activated depending on the presence or absence of the function, a scanner module 21, and a FAX module 22.

モジュールM20は、電子ヒューズ13に保存されている情報を参照し、スキャナの有無を読み取る(図4のS1)。ここでは、電子ヒューズ13が「あり」の情報を保持しているので、「あり」を返す(図4のS2)。そして、モジュールM20は、スキャナモジュール21を起動する(図4のS3)。   The module M20 reads the presence or absence of the scanner by referring to the information stored in the electronic fuse 13 (S1 in FIG. 4). Here, since the electronic fuse 13 holds the information of “present”, “present” is returned (S2 in FIG. 4). Then, the module M20 activates the scanner module 21 (S3 in FIG. 4).

次に、モジュールM20は、電子ヒューズ13に保存されている情報を参照し、FAXの有無を読み取る(図4のS4、S7)。電子ヒューズ13に「あり」が書き込まれている場合は、「あり」を返す(図4のS5)。そして、FAXモジュール22を起動する(図4のS6)。   Next, the module M20 refers to the information stored in the electronic fuse 13 and reads the presence or absence of a fax (S4 and S7 in FIG. 4). If "Yes" is written in the electronic fuse 13, "Yes" is returned (S5 in FIG. 4). Then, the fax module 22 is started (S6 in FIG. 4).

一方、電子ヒューズ13に「なし」が書き込まれている場合は、「なし」を返す(図4のS8)。この場合は、モジュールM20は、FAXモジュール22を起動しない。改造によりFAX機能を追加した場合も、モジュールM20は、FAXモジュール22を起動しない。これは、モジュールM20が読み取る情報が電子ヒューズ13の情報で、電子ヒューズ13には「なし」という情報が保存されているためである。   On the other hand, if "none" is written in the electronic fuse 13, "none" is returned (S8 in FIG. 4). In this case, the module M20 does not activate the fax module 22. When the FAX function is added by the modification, the module M20 does not activate the FAX module 22. This is because the information read by the module M20 is the information of the electronic fuse 13 and the information “None” is stored in the electronic fuse 13.

このように機能を追加し、追加した機能を使用できるようにするためには、読み取る箇所を変更する必要がある。そこで、図5に示す機能構成の制御システムを実装する。制御システムは、少なくとも判定部30と仮想化部31とを含み、さらに、起動部32、制御部33を含むことができる。   In order to add a function in this way and use the added function, it is necessary to change a portion to be read. Therefore, a control system having a functional configuration shown in FIG. 5 is implemented. The control system includes at least a determination unit 30 and a virtualization unit 31, and can further include an activation unit 32 and a control unit 33.

電子ヒューズ13には、機器の構成情報等が書き込まれるが、特定のビットは、通常書き込まれない。そこで、当該特定のビットを指定し、電子ヒューズ13の情報を仮想化するか否かを示す仮想化フラグ(値)を書き込むことができる。仮想化フラグは、例えば仮想化する場合の値を1とし、仮想化しない場合の値を0とすることができる。   The configuration information of the device and the like are written in the electronic fuse 13, but specific bits are not usually written. Therefore, it is possible to specify the specific bit and write a virtualization flag (value) indicating whether or not the information of the electronic fuse 13 is virtualized. The value of the virtualization flag can be, for example, 1 when virtualization is performed, and 0 when virtualization is not performed.

ここで、電子ヒューズ13の情報を仮想化するとは、電子ヒューズ13とは別の電子ヒューズ(仮想電子ヒューズ)に保存されている情報を、電子ヒューズ13に保存されている情報として参照させることをいう。仮想化フラグは、製造後に電子ヒューズ13に保存されている情報を書き換えたくなった場合に書き込むことができる。   Here, to virtualize the information of the electronic fuse 13 means that information stored in an electronic fuse (virtual electronic fuse) different from the electronic fuse 13 is referred to as information stored in the electronic fuse 13. Say. The virtualization flag can be written when it is desired to rewrite the information stored in the electronic fuse 13 after manufacturing.

判定部30は、電子ヒューズ13に書き込まれた仮想化フラグを参照し、電子ヒューズ13の情報を仮想化すべきかどうかを判定する。   The determining unit 30 refers to the virtualization flag written in the electronic fuse 13 and determines whether the information of the electronic fuse 13 should be virtualized.

判定部30は、仮想化すべきかどうかを判定する際、仮想化フラグのほか、自身に設定された情報として、自身のバージョン情報を参照することができる。バージョン情報は、改造等が行われるたびに変更されるため、電子機器の製造時のバージョンから変更がない場合は、仮想化しないと判定し、変更がある場合は、仮想化すると判定することができる。   When determining whether or not to perform virtualization, the determination unit 30 can refer to its own version information as information set for itself, in addition to the virtualization flag. Since the version information is changed every time a modification or the like is performed, if there is no change from the version at the time of manufacture of the electronic device, it is determined that virtualization is not performed, and if there is a change, it is determined that virtualization is performed. it can.

仮想化部31は、判定部30の判定結果で、仮想化すると判定された場合に、電子ヒューズ13の情報を仮想化する。具体的には、仮想化部31は、メモリ11上に展開されている仮想電子ヒューズの情報がメモリ11上のどこにあるかを判断し、そのアドレスを特定する。電子ヒューズ13の情報と、仮想電子ヒューズの情報は、いずれも同じ構成情報等であるため、電子ヒューズ13の情報以外に、同じ構成情報等がある場所を確認し、アドレスを特定することができる。これは一例であり、その他の方法により仮想電子ヒューズの情報がある場所を見つけ、アドレスを特定してもよい。   The virtualization unit 31 virtualizes the information of the electronic fuse 13 when it is determined to be virtualized based on the determination result of the determination unit 30. Specifically, the virtualization unit 31 determines where the information of the virtual electronic fuse developed on the memory 11 is located on the memory 11 and specifies the address. Since the information of the electronic fuse 13 and the information of the virtual electronic fuse are the same configuration information and the like, the location where the same configuration information and the like other than the information of the electronic fuse 13 are present can be confirmed and the address can be specified. . This is merely an example, and the address may be specified by finding the location where the information of the virtual electronic fuse is located by other methods.

仮想化部31は、アドレスを特定した後、仮想電子ヒューズの情報が展開されているメモリ11上のアドレスを、電子ヒューズ13がマップされているメモリのアドレスとして設定する。   After specifying the address, the virtualization unit 31 sets the address on the memory 11 where the information of the virtual electronic fuse is expanded as the address of the memory to which the electronic fuse 13 is mapped.

仮想電子ヒューズの情報は、機能を追加したとき等、適時作成し、不揮発性記憶装置12に保存することができる。   The information of the virtual electronic fuse can be created as needed, such as when a function is added, and can be stored in the nonvolatile storage device 12.

起動部32は、電子機器が実装するブートローダにより実現され、電子機器に電源が投入された場合に制御部33を起動する。起動部32は、制御部33を起動する前に、判定部30に対し、電子ヒューズ13を仮想化するかどうかを問い合わせ、判定結果を取得する。また、起動部32は、制御部33を起動する前に、判定結果で、仮想化すると判定された場合、仮想化部31がメモリを仮想化する際に、どのような値を仮想化するかを、仮想化部31に対して指示する。ここでは、起動部32は、電子ヒューズ13の情報を仮想化することを指示する。   The activation unit 32 is realized by a boot loader mounted on the electronic device, and activates the control unit 33 when the electronic device is powered on. Before activating the control unit 33, the activation unit 32 inquires of the determination unit 30 whether to virtualize the electronic fuse 13 and acquires the determination result. In addition, when it is determined in the determination result that the virtualization is to be performed before activating the control unit 33, the activation unit 32 determines what value is to be virtualized when the virtualization unit 31 virtualizes the memory. To the virtualization unit 31. Here, the activation unit 32 instructs to virtualize the information of the electronic fuse 13.

制御部33は、電子機器が実装するOSの中核部分を構成するカーネルにより実現され、起動部32により起動される。制御部33は、設定されたアドレスを参照して電子ヒューズ13の情報の読み取りを要求し、電子ヒューズ13の情報が仮想化されていない場合は、電子ヒューズ13の情報を読み取り、仮想化されている場合は、仮想化部31により設定されたアドレスの仮想電子ヒューズの情報を読み取る。そして、制御部33は、読み取った電子ヒューズの情報または仮想電子ヒューズの情報に基づき、機器に応じた制御を実行する。   The control unit 33 is realized by a kernel constituting a core part of an OS mounted on the electronic device, and is started by the start unit 32. The control unit 33 requests reading of the information of the electronic fuse 13 with reference to the set address. If the information of the electronic fuse 13 is not virtualized, the control unit 33 reads the information of the electronic fuse 13 and virtualizes the information. If there is, the information of the virtual electronic fuse at the address set by the virtualization unit 31 is read. Then, the control unit 33 executes control according to the device based on the read electronic fuse information or the virtual electronic fuse information.

仮想電子ヒューズは、書き換え可能なHDD等の不揮発性記憶装置12により実現され、その情報は、メモリ11上に展開されて使用される。このため、仮想電子ヒューズは、何度でも情報を書き換えることができる。また、電子ヒューズの特定のビットに一度書き込むだけで、仮想電子ヒューズから情報を読み取るようになるため、仮想電子ヒューズの情報を書き換えても、書き換えた後の情報を読み取ることができる。   The virtual electronic fuse is realized by a non-volatile storage device 12 such as a rewritable HDD, and the information is expanded on the memory 11 and used. Therefore, the virtual electronic fuse can rewrite information any number of times. Further, since information is read from the virtual electronic fuse by writing only once to a specific bit of the electronic fuse, the rewritten information can be read even if the information of the virtual electronic fuse is rewritten.

図6を参照して、仮想化した場合のメモリアクセスについて説明する。図2を参照して説明したように、電子ヒューズ13やレジスタ等のハードウェアは、メモリ11にマップされており、メモリアクセスにより制御が行われるように構成されている。   With reference to FIG. 6, memory access in the case of virtualization will be described. As described with reference to FIG. 2, the hardware such as the electronic fuse 13 and the register is mapped to the memory 11, and is configured to be controlled by memory access.

電子ヒューズ13がマップされているメモリのアドレスを仮想化することで、制御部33が電子ヒューズ13のアドレスを参照してきた場合、設定されているアドレスが仮想電子ヒューズの情報が展開されているメモリのアドレスであるため、仮想電子ヒューズの情報を参照させることができる。このため、仮想化された場合は、本当の電子ヒューズ13の情報は参照されない。   When the control unit 33 refers to the address of the electronic fuse 13 by virtualizing the address of the memory to which the electronic fuse 13 is mapped, the set address is the memory in which the information of the virtual electronic fuse is expanded. , The information of the virtual electronic fuse can be referred to. Therefore, when virtualized, the information on the true electronic fuse 13 is not referred to.

図7を参照して、機器Aを改造した機器Bで、機器Aの情報が書き込まれている電子ヒューズの情報を仮想化し、機器Bの処理を行う例について説明する。制御システムは、ブートローダ等の起動部32、カーネル等の制御部33、判定部30、仮想化部31を含む。   With reference to FIG. 7, an example in which information of the electronic fuse in which the information of the device A is written is virtualized by the device B obtained by modifying the device A and the process of the device B is performed will be described. The control system includes an activation unit 32 such as a boot loader, a control unit 33 such as a kernel, a determination unit 30, and a virtualization unit 31.

制御部33は、機器Aでも、機器Bでも、同様のバイナリで動作することができ、電子ヒューズの情報を参照し、機器Aの処理と機器Bの処理を切り替えて制御することができる。しかしながら、機器Aを改造して機器Bを開発している場合、電子ヒューズに書き込まれている情報は、機器Aの情報で、電子ヒューズの情報を参照して動作する制御部33は、機器Bの処理に切り替えることはできない。そこで、電子ヒューズの仮想化を行う。   The control unit 33 can operate in the same binary in both the device A and the device B, and can switch and control the process of the device A and the process of the device B with reference to the information of the electronic fuse. However, when the device A is modified and the device B is being developed, the information written in the electronic fuse is the information of the device A, and the control unit 33 that operates with reference to the information of the electronic fuse is the device B. Process cannot be switched to Therefore, virtualization of the electronic fuse is performed.

起動部32は、最初に、判定部30に対して仮想化すべきかどうかの問い合わせを行う(図7のS1)。この問い合わせは、仮想化判断要求として判定部30へ送ることができる。判定部30は、その問い合わせを受けて、電子ヒューズの情報、例えば特定のアドレスの値(特定のビット)を参照し(図7のS2)、その値に応じて、仮想化するかどうかを判定する。この例では、特定のアドレスの値が書き込まれているので、仮想化すると判定する(図7のS3)。   The activation unit 32 first inquires of the determination unit 30 whether virtualization should be performed (S1 in FIG. 7). This inquiry can be sent to the determination unit 30 as a virtualization determination request. Upon receiving the inquiry, the determination unit 30 refers to the information of the electronic fuse, for example, the value of a specific address (specific bit) (S2 in FIG. 7), and determines whether or not to perform virtualization according to the value. I do. In this example, since the value of the specific address has been written, it is determined to be virtualized (S3 in FIG. 7).

なお、判定部30は、電子ヒューズの特定のアドレスの値に限らず、自身に設定されているバージョン情報等に基づき、仮想化するかどうかを判定してもよい。   The determining unit 30 may determine whether to virtualize based on version information or the like set in the electronic fuse, not limited to a specific address value of the electronic fuse.

起動部32は、判定部30から仮想化するとの判定結果が返ってきた場合(図7のS4)、仮想化を開始するように仮想化部31に対して指示する(図7のS5)。このとき、起動部32は、どのような値に仮想化するかを仮想化部31に対して指示する。仮想化部31は、起動部32からの指示を受けて、電子ヒューズの情報の仮想化を実施する(図7のS6)。仮想化部31は、仮想電子ヒューズ17の情報が展開されているメモリのアドレスを、電子ヒューズがマップされているメモリのアドレスとして設定する。   When the determination result of the virtualization is returned from the determination unit 30 (S4 in FIG. 7), the activation unit 32 instructs the virtualization unit 31 to start virtualization (S5 in FIG. 7). At this time, the activation unit 32 instructs the virtualization unit 31 what value to virtualize. The virtualization unit 31 receives the instruction from the activation unit 32 and virtualizes the information of the electronic fuse (S6 in FIG. 7). The virtualization unit 31 sets the address of the memory in which the information of the virtual electronic fuse 17 is expanded as the address of the memory to which the electronic fuse is mapped.

起動部32は、仮想化部31に対して電子ヒューズの仮想化を指示した後、制御部33を起動する(図7のS7)。制御部33は、起動後、電子ヒューズのアドレスを参照し、電子ヒューズの情報の読み取りを行う(図7のS8)。設定された電子ヒューズのアドレスは、仮想電子ヒューズ17の情報が展開されているメモリのアドレスであるため、制御部33は、仮想電子ヒューズ17の情報を読み取り、取得する(図7のS9)。   After instructing the virtualization unit 31 to virtualize the electronic fuse, the activation unit 32 activates the control unit 33 (S7 in FIG. 7). After activation, the control unit 33 refers to the address of the electronic fuse and reads information of the electronic fuse (S8 in FIG. 7). Since the set electronic fuse address is the address of the memory in which the information of the virtual electronic fuse 17 is expanded, the control unit 33 reads and acquires the information of the virtual electronic fuse 17 (S9 in FIG. 7).

図7は、仮想化を実施した場合の例を示したが、図8は、仮想化を実施しない場合の例を示す。制御システムは、図7に示す例と同様、ブートローダ等の起動部32、カーネル等の制御部33、判定部30、仮想化部31を含む。   FIG. 7 shows an example when virtualization is performed, while FIG. 8 shows an example when virtualization is not performed. The control system includes an activation unit 32 such as a boot loader, a control unit 33 such as a kernel, a determination unit 30, and a virtualization unit 31, as in the example illustrated in FIG.

起動部32は、最初に、判定部30に対して仮想化すべきかどうかの問い合わせを行う(図8のS1)。判定部30は、その問い合わせを受けて、電子ヒューズの情報、例えば特定のアドレスの値(特定のビット)を参照し(図8のS2)、その値に応じて、仮想化すべきかどうかを判定する。この例では、特定のアドレスの値が書き込まれていないので、仮想化しないと判定する(図8のS3)。   The activation unit 32 first inquires of the determination unit 30 whether to virtualize (S1 in FIG. 8). Upon receiving the inquiry, the determination unit 30 refers to the information of the electronic fuse, for example, the value of a specific address (specific bit) (S2 in FIG. 8), and determines whether or not to virtualize according to the value. I do. In this example, since the value of the specific address has not been written, it is determined that virtualization is not to be performed (S3 in FIG. 8).

この場合も、判定部30は、電子ヒューズの特定のアドレスの値に限らず、自身に設定されているバージョン情報等に基づき、仮想化するかどうかを判定してもよい。   Also in this case, the determination unit 30 may determine whether or not to perform virtualization based on not only the value of the specific address of the electronic fuse but also version information set for itself.

起動部32は、判定部30から仮想化しないとの判定結果が返ってきた場合(図8のS4)、仮想化部31に対して何も指示せず、制御部33を起動する(図8のS5)。制御部33は、起動後、電子ヒューズのアドレスを参照し、電子ヒューズの情報の読み取りを行う(図8のS6)。設定された電子ヒューズのアドレスは、電子ヒューズの情報がマップされているメモリのアドレスであるため、制御部33は、電子ヒューズの情報を読み取り、取得する(図8のS7)。   When the determination unit 30 returns a determination result indicating that virtualization is not to be performed (S4 in FIG. 8), the activation unit 32 activates the control unit 33 without instructing the virtualization unit 31 (FIG. 8). S5). After activation, the control unit 33 refers to the address of the electronic fuse and reads information of the electronic fuse (S6 in FIG. 8). Since the set electronic fuse address is the address of the memory to which the electronic fuse information is mapped, the control unit 33 reads and acquires the electronic fuse information (S7 in FIG. 8).

このように仮想化する場合も、仮想化しない場合も、カーネルのバイナリを変更することなく、同じ操作で電子ヒューズの情報または仮想電子ヒューズの情報を読み取り、取得することができる。   Regardless of whether the virtualization is performed or not, the information of the electronic fuse or the information of the virtual electronic fuse can be read and acquired by the same operation without changing the binary of the kernel.

上記の例では、電子ヒューズの情報を仮想化することについて説明してきたが、仮想化する対象は、電子ヒューズの情報に限られるものではなく、例えば書き込み不可のROMに格納された情報等としてもよい。   In the above example, virtualization of electronic fuse information has been described.However, the virtualization target is not limited to electronic fuse information, and may be, for example, information stored in a non-writable ROM. Good.

これまで本発明を、制御システムおよび電子機器として上述した実施の形態をもって説明してきたが、本発明は上述した実施の形態に限定されるものではない。本発明は、他の実施の形態、追加、変更、削除など、当業者が想到することができる範囲内で変更することができ、いずれの態様においても本発明の作用・効果を奏する限り、本発明の範囲に含まれるものである。したがって、制御システムにより実行される制御方法等も提供することができるものである。   Although the present invention has been described above with reference to the above-described embodiment as a control system and an electronic device, the present invention is not limited to the above-described embodiment. The present invention can be modified within a range that can be conceived by those skilled in the art, such as other embodiments, additions, changes, and deletions. It is within the scope of the invention. Therefore, a control method and the like executed by the control system can be provided.

10…CPU
11…メモリ
12…不揮発性記憶装置
13…電子ヒューズ
14…レジスタ
15、16…メモリ領域
17…仮想電子ヒューズ
20…モジュールM
21…スキャナモジュール
22…FAXモジュール
30…判定部
31…仮想化部
32…起動部
33…制御部
10 ... CPU
Reference Signs List 11 memory 12 nonvolatile storage device 13 electronic fuse 14 registers 15 and 16 memory area 17 virtual electronic fuse 20 module M
21 scanner module 22 fax module 30 determination unit 31 virtualization unit 32 activation unit 33 control unit

特表2010−518540号公報JP 2010-518540 A

Claims (7)

情報の読み取りを制御するシステムであって、
情報を書き換え不能に記録する第1の記録手段に書き込まれた書き込み情報または自身に設定された情報に基づき、前記第1の記録手段に記録された情報を仮想化するか否かを判定する判定手段と、
前記判定手段により仮想化すると判定された場合、前記第1の記録手段に記録された情報の読み取り要求に対し、情報の書き換えが可能な第2の記録手段から情報を読み取らせるように、前記第1の記録手段に記録された情報を仮想化する仮想化手段と
を含む、制御システム。
A system for controlling the reading of information,
Judgment for judging whether or not to virtualize the information recorded in the first recording means based on the write information written in the first recording means for recording the information in a non-rewritable manner or the information set therein. Means,
When it is determined by the determination unit that the virtualization is performed, the information is read from a second recording unit capable of rewriting information in response to a request to read information recorded in the first recording unit. A virtualization means for virtualizing information recorded in the first recording means.
前記判定手段は、前記第1の記録手段の指定されたアドレスを参照し、前記アドレスの値を前記書き込み情報として用い、前記仮想化するか否かを判定する、請求項1に記載の制御システム。   2. The control system according to claim 1, wherein the determination unit refers to an address specified by the first recording unit, and determines whether to perform the virtualization using a value of the address as the write information. 3. . 前記第1の記録手段に記録された情報および前記第2の記録手段に記録された情報は、メモリ上に読み出され、
前記仮想化手段は、前記第2の記録手段に記録された情報が読み出されたメモリ上のアドレスを、前記第1の記録手段に記録された情報が読み出されたメモリ上のアドレスとして設定する、請求項1または2に記載の制御システム。
The information recorded in the first recording means and the information recorded in the second recording means are read out on a memory,
The virtualization means sets an address on the memory from which the information recorded on the second recording means is read, as an address on the memory from which the information recorded on the first recording means is read. The control system according to claim 1, wherein
電子機器を制御する制御手段と、
前記制御手段を起動させる起動手段と
を含み、
前記起動手段は、前記制御手段を起動させる前に、前記判定手段に対し、前記仮想化するか否かを判定するように要求する、請求項1〜3のいずれか1項に記載の制御システム。
Control means for controlling the electronic device;
Starting means for starting the control means,
4. The control system according to claim 1, wherein the activation unit requests the determination unit to determine whether to perform the virtualization before activating the control unit. 5. .
前記起動手段は、前記制御手段を起動させる前に、前記判定手段から仮想化するとの判定結果を受けて、前記仮想化手段に対し、前記第1の記録手段に記録された情報を仮想化するように指示する、請求項4に記載の制御システム。   The activation means, before activating the control means, receives the determination result of virtualization from the determination means, and virtualizes the information recorded in the first recording means for the virtualization means. The control system according to claim 4, wherein the control system instructs: 前記制御手段は、前記第1の記録手段に対して情報の読み取りを要求し、前記第1の記録手段に記録された情報を仮想化した場合は、前記第2の記録手段に記録された情報を読み取り、仮想化していない場合は、前記第1の記録手段に記録された情報を読み取り、読み取った情報を用いて前記電子機器を制御する、請求項4または5に記載の制御システム。   The control unit requests the first recording unit to read information, and when the information recorded in the first recording unit is virtualized, the information recorded in the second recording unit 6. The control system according to claim 4, wherein when the information is not virtualized, information recorded in the first recording unit is read, and the electronic device is controlled using the read information. 7. 請求項1〜6のいずれか1項に記載の制御システムを含む、電子機器。   An electronic device comprising the control system according to claim 1.
JP2018121596A 2018-06-27 2018-06-27 Control systems and electronic device Pending JP2020003983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018121596A JP2020003983A (en) 2018-06-27 2018-06-27 Control systems and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018121596A JP2020003983A (en) 2018-06-27 2018-06-27 Control systems and electronic device

Publications (1)

Publication Number Publication Date
JP2020003983A true JP2020003983A (en) 2020-01-09

Family

ID=69100151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018121596A Pending JP2020003983A (en) 2018-06-27 2018-06-27 Control systems and electronic device

Country Status (1)

Country Link
JP (1) JP2020003983A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01192096A (en) * 1988-01-27 1989-08-02 Mitsubishi Electric Corp Semiconductor device
JPH01308656A (en) * 1988-06-06 1989-12-13 Nec Corp Evaluating circuit of program of printer
JPH07121400A (en) * 1993-10-26 1995-05-12 Hitachi Ltd Microcomputer
JPH10214201A (en) * 1997-01-29 1998-08-11 Mitsubishi Electric Corp Microcomputer
JPH11129558A (en) * 1997-08-28 1999-05-18 Seiko Epson Corp Information processor, printer, control method for information processor and recording medium
JP2000082010A (en) * 1998-09-04 2000-03-21 Sharp Corp Method and device for data processing with address conversion
JP2001075798A (en) * 1999-09-02 2001-03-23 Nec Corp Information processor
JP2010211595A (en) * 2009-03-11 2010-09-24 Renesas Electronics Corp Data processor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01192096A (en) * 1988-01-27 1989-08-02 Mitsubishi Electric Corp Semiconductor device
JPH01308656A (en) * 1988-06-06 1989-12-13 Nec Corp Evaluating circuit of program of printer
JPH07121400A (en) * 1993-10-26 1995-05-12 Hitachi Ltd Microcomputer
JPH10214201A (en) * 1997-01-29 1998-08-11 Mitsubishi Electric Corp Microcomputer
JPH11129558A (en) * 1997-08-28 1999-05-18 Seiko Epson Corp Information processor, printer, control method for information processor and recording medium
JP2000082010A (en) * 1998-09-04 2000-03-21 Sharp Corp Method and device for data processing with address conversion
JP2001075798A (en) * 1999-09-02 2001-03-23 Nec Corp Information processor
JP2010211595A (en) * 2009-03-11 2010-09-24 Renesas Electronics Corp Data processor

Similar Documents

Publication Publication Date Title
JP5746100B2 (en) Image forming apparatus
JP3906825B2 (en) Computer system, computer system activation method and program
JP5890824B2 (en) Electronics
JP5783809B2 (en) Information processing apparatus, activation method, and program
JP6543122B2 (en) INFORMATION PROCESSING APPARATUS, METHOD OF INITIALIZING NONVOLATILE STORAGE DEVICE BY THE INFORMATION PROCESSING APPARATUS, AND PROGRAM
US7404029B2 (en) Accessing device
JP5982025B1 (en) Information processing apparatus and memory management program
US9361219B2 (en) Information processing device, information processing method and program product
JP2011095952A (en) Method for updating firmware and electronic equipment
US9703593B2 (en) Apparatus and method for memory overlay
JP2003162433A (en) Memory system
JP2020003983A (en) Control systems and electronic device
KR20170037017A (en) Memory Upgrade System And Method
JP6866788B2 (en) Information processing equipment and programs
JP2011164827A (en) Electronic apparatus including flash memory and method for updating program stored in flash memory
JP4597032B2 (en) Computer system, basic program startup method, and loader program
US7447893B2 (en) Method and system for updating boot block BIOS program
JP2006260158A (en) Information processing apparatus, information processing method and program
JP2006344022A (en) Equipment and program starting method
JP6966568B2 (en) Information processing system and information processing method by information processing system
JP7206769B2 (en) Electronic device and method of operation
WO2000070454A1 (en) Method for facilitating data sharing between application programs and accesses to peripheral apparatuses with application programs by using shared addresses
JP4797680B2 (en) Information processing apparatus and information processing method
JP2006126987A (en) Image processor
JP6465998B2 (en) Video recording / reproducing apparatus and activation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220308

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220510