JP2008262444A - Control device, printer, read access method and program - Google Patents
Control device, printer, read access method and program Download PDFInfo
- Publication number
- JP2008262444A JP2008262444A JP2007105559A JP2007105559A JP2008262444A JP 2008262444 A JP2008262444 A JP 2008262444A JP 2007105559 A JP2007105559 A JP 2007105559A JP 2007105559 A JP2007105559 A JP 2007105559A JP 2008262444 A JP2008262444 A JP 2008262444A
- Authority
- JP
- Japan
- Prior art keywords
- serial
- flash memory
- read
- data input
- serial flash
- 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.)
- Withdrawn
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
ブートローダが記録されたシリアルフラッシュメモリからブートローダを読み出してブート処理を行う制御装置、プリンタ、リードアクセス方法およびプログラムに関する。 The present invention relates to a control device, a printer, a read access method, and a program that read a boot loader from a serial flash memory in which the boot loader is recorded and perform a boot process.
シリアルフラッシュメモリは、近年高集積化が進んでおり、従来のフラッシュROMに比べて、安価且つパッケージサイズが小さいといった実装面でのメリットが大きいため、注目を集めている。その用途の一つとして、シリアルフラッシュメモリを、起動時の起動プログラムであるブートローダを記憶させておくためのブートデバイスとして用いる方法が提案されている(例えば、特許文献1)。 The serial flash memory has been attracting attention because it has been highly integrated in recent years and has great advantages in terms of mounting such as low cost and small package size compared to conventional flash ROM. As one of its uses, a method of using a serial flash memory as a boot device for storing a boot loader that is a startup program at the time of startup has been proposed (for example, Patent Document 1).
ところで、現在このブート時におけるリードコマンドは、シリアルフラッシュメモリベンダによって2系統に分かれている。このため、シリアルフラッシュメモリを用いて電子デバイスを製造する製造メーカでは、いずれの系統のシリアルフラッシュメモリを採用するかによって、リードコマンドを使い分けていた。
ところが、シリアルフラッシュメモリによってリードコマンドを使い分けるとなると、設計コストが嵩み現実的ではない。したがって実際には、同じ系統のシリアルフラッシュメモリの中から部品選定をせざるを得なかった。 However, if the read command is properly used depending on the serial flash memory, the design cost increases and it is not realistic. Therefore, in actuality, parts have to be selected from the same series of serial flash memories.
本発明は、上記の問題点に鑑み、ベンダによってリードコマンドが異なる複数系統のシリアルフラッシュメモリに対応可能な制御装置、プリンタ、リードアクセス方法およびプログラムを提供することを目的とする。 In view of the above-described problems, an object of the present invention is to provide a control device, a printer, a read access method, and a program that are compatible with a plurality of serial flash memories having different read commands depending on the vendor.
本発明の制御装置は、ブートローダが記録されたシリアルフラッシュメモリに対するリードアクセスを制御するCPUと、ブート時においてシリアルフラッシュメモリからブートローダを読み出すためのリードコマンドを複数記憶するROMと、シリアルフラッシュメモリと接続されるシリアルインターフェースと、シリアルインターフェースのシリアルデータ入力ポートを「正」または「負」のいずれかに論理固定する抵抗器と、を備え、CPUは、シリアルデータ入力ポートの論理に応じて、ROMに記憶されている複数のリードコマンドの中から1のリードコマンドを決定し、当該リードコマンドを用いてシリアルフラッシュメモリからブートローダを読み出すことを特徴とする。 The control device of the present invention is connected to a CPU that controls read access to a serial flash memory in which a boot loader is recorded, a ROM that stores a plurality of read commands for reading the boot loader from the serial flash memory at the time of booting, and the serial flash memory And a resistor that logically fixes the serial data input port of the serial interface to either “positive” or “negative”, and the CPU is connected to the ROM according to the logic of the serial data input port. One read command is determined from a plurality of stored read commands, and the boot loader is read from the serial flash memory using the read command.
本発明のリードアクセス方法は、ブートローダが記録されたシリアルフラッシュメモリに対するリードアクセスを制御するCPUと、ブート時においてシリアルフラッシュメモリからブートローダを読み出すためのリードコマンドを複数記憶するROMと、シリアルフラッシュメモリと接続されるシリアルインターフェースと、シリアルインターフェースのシリアルデータ入力ポートを「正」または「負」のいずれかに論理固定する抵抗器と、を備えた制御装置のシリアルフラッシュメモリに対するリードアクセス方法であって、CPUが、シリアルデータ入力ポートの論理を取得するステップ、取得したシリアルデータ入力ポートの論理に応じて、ROMに記憶されている複数のリードコマンドの中から1のリードコマンドを決定するステップ、決定したリードコマンドを用いてシリアルフラッシュメモリからブートローダを読み出すステップ、を実行することを特徴とする。 The read access method of the present invention includes a CPU that controls read access to a serial flash memory in which a boot loader is recorded, a ROM that stores a plurality of read commands for reading the boot loader from the serial flash memory at the time of booting, a serial flash memory, A read access method for a serial flash memory of a control device comprising a connected serial interface and a resistor that logically fixes a serial data input port of the serial interface to either “positive” or “negative”, The CPU acquires the logic of the serial data input port, and determines one read command from a plurality of read commands stored in the ROM according to the acquired logic of the serial data input port. Flop, and executes the step of reading the boot loader from the serial flash memory using the determined read command.
これらの構成によれば、シリアルデータ入力ポートの論理に応じて、リードコマンドを決定するため、少なくとも2系統のシリアルフラッシュメモリに対応することができる。つまり、シリアルフラッシュメモリの系統によって実装する抵抗器を変えることにより、シリアルデータ入力ポートが「正」に論理固定する抵抗器が実装されている場合は、A社系のリードコマンドを使用してリードアクセスを行い、シリアルデータ入力ポートが「負」に論理固定する抵抗器が実装されている場合は、B社系のリードコマンドを使用してリードアクセスを行う、などのようにベンダによってリードコマンドを使い分けることができる。このように、同一の制御プログラムを用いて複数のシリアルフラッシュメモリに対応可能であるため、シリアルフラッシュメモリの部品選定の幅を広げることができ、コストメリットやパフォーマンス性の向上が期待できる。 According to these configurations, since the read command is determined according to the logic of the serial data input port, it is possible to deal with at least two systems of serial flash memories. In other words, if a resistor that logically fixes the serial data input port to “positive” is mounted by changing the mounted resistor depending on the system of the serial flash memory, use the read command of company A If a resistor is installed that performs logic access and the serial data input port is fixed to “negative”, the read command is issued by the vendor, such as using the read command of company B, and performing read access. Can be used properly. As described above, since it is possible to support a plurality of serial flash memories using the same control program, it is possible to widen the selection range of parts of the serial flash memory, and to expect an improvement in cost merit and performance.
上記に記載の制御装置において、CPUは、決定した1のリードコマンドを、取得したシリアルデータ入力ポートの論理に応じた送信パターンで送信することにより、ブートローダを読み出すことが好ましい。 In the control device described above, it is preferable that the CPU reads the boot loader by transmitting the determined one read command with a transmission pattern corresponding to the acquired logic of the serial data input port.
この構成によれば、リードコマンドだけでなく、送信パターンが異なるシリアルフラッシュメモリにも対応することができる。
なお、「送信パターンが異なる」とは、命令ビット(リードコマンド)、アドレスビット、ダミービットなど、各ビットの送信順序が異なることや、ダミービットの送信の有無および送信内容が異なることを指すものである。
According to this configuration, not only the read command but also serial flash memories with different transmission patterns can be supported.
“Transmission pattern is different” means that the transmission order of each bit, such as instruction bits (read command), address bits, dummy bits, etc., and whether or not dummy bits are transmitted and the transmission contents are different. It is.
上記に記載の制御装置において、CPUは、リセット解除をトリガとしてシリアルデータ入力ポートの論理を取得することが好ましい。 In the control device described above, it is preferable that the CPU obtains the logic of the serial data input port using reset cancellation as a trigger.
この構成によれば、起動時において抵抗器の論理を取得し、その取得結果に応じてブート処理を実行するため、確実にシリアルフラッシュメモリに適したブート処理(ブート時におけるリードアクセス)を行うことができる。 According to this configuration, the logic of the resistor is acquired at the time of startup, and the boot process is executed according to the acquisition result. Therefore, the boot process suitable for the serial flash memory (read access at the time of boot) is surely performed. Can do.
上記に記載の制御装置において、抵抗器は、複数備えられ、CPUは、複数の抵抗器に基づくシリアルデータ入力ポートの論理の組み合わせに応じて、1のリードコマンドを決定することが好ましい。 In the control device described above, it is preferable that a plurality of resistors are provided, and the CPU determines one read command according to a logic combination of serial data input ports based on the plurality of resistors.
この構成によれば、複数の抵抗器から得られるシリアルデータ入力ポートの論理の組み合わせに応じて、1のリードコマンドを決定するため、3系統以上のシリアルフラッシュメモリに対応することができる。つまり、シリアルフラッシュメモリの系統が、現在の2系統から将来的に多様化してく可能性があるが、そのような場合であっても本構成を適用することで、市場に出回る多くのシリアルフラッシュメモリに対応することができる。 According to this configuration, since one read command is determined in accordance with the logic combination of serial data input ports obtained from a plurality of resistors, it is possible to deal with three or more systems of serial flash memories. In other words, there is a possibility that the serial flash memory system will diversify from the current two systems in the future, but even in such a case, by applying this configuration, many serial flash memories are on the market. It can correspond to.
本発明のプリンタは、上記に記載の制御装置と、シリアルフラッシュメモリとを、搭載したことを特徴とする。 A printer according to the present invention includes the control device described above and a serial flash memory.
この構成によれば、大容量、安価且つパッケージサイズが小さいといった実装面でのメリットが大きいシリアルフラッシュメモリを採用でき、しかもその部品選定の幅が広がるため、コストメリットの高いプリンタを実現することができる。 According to this configuration, it is possible to employ a serial flash memory that has large mounting advantages such as large capacity, low cost, and small package size, and further widens the range of component selection, thereby realizing a printer with high cost merit. it can.
本発明のプログラムは、コンピュータに、上記に記載のリードアクセス方法における各ステップを実行させるためのものであることを特徴とする。 The program of the present invention is a program for causing a computer to execute each step in the read access method described above.
このプログラムを実行することにより、ベンダによってリードコマンドが異なる複数系統のシリアルフラッシュメモリに対応可能な制御装置を提供することができる。 By executing this program, it is possible to provide a control device that can handle a plurality of serial flash memories having different read commands depending on the vendor.
以下、本発明の一実施形態に係る制御装置、プリンタ、リードアクセス方法およびプログラムについて説明する。図1は、プリンタ1のブロック図である。同図に示すように、プリンタ1は、ブートデバイスとして用いられるシリアルフラッシュメモリMと、当該シリアルフラッシュメモリMに対してリードアクセスやブート処理等の各種処理を実行するSOC(System On a Chip)10と、SOC10のシリアルデータ入力ポートを「正」または「負」のいずれかに論理固定する抵抗器30と、印刷ヘッドや用紙搬送部材および切断部材など(いずれも図示省略)印刷処理に関わる種々のハードウェア機構を有する印刷機構20と、を備えている。なお、本発明における「制御装置」とは、SOC10および抵抗器30から成るものである。
Hereinafter, a control device, a printer, a read access method, and a program according to an embodiment of the present invention will be described. FIG. 1 is a block diagram of the printer 1. As shown in FIG. 1, a printer 1 includes a serial flash memory M used as a boot device, and an SOC (System On a Chip) 10 that executes various processes such as read access and boot processing on the serial flash memory M. A resistor 30 that logically fixes the serial data input port of the
シリアルフラッシュメモリMは、起動時におけるSOC10の処理を定めたブートローダ(起動プログラム)を複数記憶しており、SOC10によるリードアクセスに対して、アドレス指定されたブートローダを出力する。また、現存する2系統のシリアルフラッシュメモリM(シリアルフラッシュメモリベンダによって異なる)のうち、いずれかの系統を採用可能であり、本実施形態では、A社系とB社系のいずれかを採用するものとする。なお、シリアルフラッシュメモリMとしては、NAND型フラッシュメモリ、AND型フラッシュメモリおよびNOR型フラッシュメモリ等を適用可能である。
The serial flash memory M stores a plurality of boot loaders (start-up programs) that determine the processing of the
SOC10は、コンピュータの主要機能を1チップに集積したものであり、CPU11、RAM12、マスクROM13、ASIC(Application Specific Integrated Circuit)14、内部バス15、およびシリアルインターフェース16を有している。
The
CPU11は、シリアルフラッシュメモリMに対するリードアクセスやブート処理時におけるブートシーケンスの実行等を制御する。RAM12は、CPU11と直接接続され(内部バス15を介さずに接続され)、CPU11が各種処理を実行する際のワークエリアとして用いられる。
The
マスクROM13は、CPU11と内部バス15を介して接続され、CPU11が各種処理を実行するための制御データや制御プログラムを記憶している。制御データとしては、ブート時においてシリアルフラッシュメモリMからブートローダを読み出す際にCPU11が参照するテーブル18が記憶されている。当該テーブル18には、シリアルフラッシュメモリMの系統毎に、リードコマンドと、その送信パターンとが関連付けられており、本実施形態では、A社系およびB社系の2種類のリードコマンドおよび送信パターン(以下、リードコマンドおよび送信パターンを総称して「読み出しデータ」と称する)を記憶している。つまり、各系統は、当該「読み出しデータ」の違いによって分けられている。また、制御プログラムには、シリアルインターフェース16のシリアルデータ入力(SQ)ポートに実装されている抵抗器30(抵抗器30aまたは30b)に応じて、上記のテーブル18に記憶されている2種類の読み出しデータの中からいずれかを採用するかを決定し、決定した読み出しデータを用いてシリアルフラッシュメモリMからブートローダを読み出すといった一連のブート処理の実行のためのプログラムが含まれる。
The
ASIC14は、CPU11と内部バス15を介して接続され、シリアル通信制御回路および信号処理回路を内蔵した集積回路である。ASIC14は、SPI(Serial Peripheral Interface)方式を採用し、シリアルクロック(SCK)、シリアルデータ入力(SQ)およびシリアルデータ出力(SD)といった信号により、シリアルインターフェース16を介して、シリアルフラッシュメモリMにアクセスする。
The ASIC 14 is an integrated circuit that is connected to the
ASIC14がCPU11の指令を受けて、リード動作を指定する命令ビットと、ブートローダのアドレスを指定するアドレスビット等のデータ列を、シリアルデータ出力(SD)ポートを介して順次転送すると、シリアルフラッシュメモリMは、当該リードアクセスに対し、記憶しているブートローダをシリアルクロック(SCK)に同期して順次シリアルデータ入力(SQ)ポートに出力する。
When the
抵抗器30は、シリアルデータ入力ポートを「正(Hレベル)」または「負(Lレベル)」のいずれかに論理固定する。図示では2つの抵抗器30a,30bを示しているが、実際にはいずれかが選択的に実装される。本実施形態では、A社系のシリアルフラッシュメモリMを採用した場合、抵抗器A30aがSOC10に実装される。この場合、抵抗器B30bは未実装であり、シリアルデータ入力(SQ)ポートはHレベルに論理固定される。また、B社系のシリアルフラッシュメモリMを採用した場合、抵抗器B30bがSOC10に実装される。この場合、抵抗器A30aは未実装であり、シリアル入力(SQ)ポートはLレベルに論理固定される。このように、シリアルインターフェース16のシリアル入力(SQ)ポートは、ブートローダ入力のためだけでなく、シリアルフラッシュメモリMの系統を識別するためのポートとしても用いられる。
Resistor 30 logically fixes the serial data input port to either “positive (H level)” or “negative (L level)”. Although two
ここで、図2のフローチャートを参照し、上記の構成におけるプリンタ1のブート処理について説明する。なお、当該フローチャートの主体はSOC10(CPU11)であり、説明を分かり易くするため、適宜主語を省略する。 Here, the boot process of the printer 1 in the above configuration will be described with reference to the flowchart of FIG. Note that the subject of the flowchart is the SOC 10 (CPU 11), and the subject is appropriately omitted for easy understanding.
SOC10は、プリンタ1の起動(リセット解除)によりリセット信号を受信すると(S01:Yes)、まずCPU11の初期設定を行う(S02)。初期設定を終了すると、シリアルデータ入力(SQ)ポートからの信号を検出し(S03)、シリアルデータ入力ポートの論理がHレベルであるか否かを判別する(S04)。すなわち、A社系のシリアルフラッシュメモリMが採用されているか(抵抗器A30aが実装されているか)、B社系のシリアルフラッシュメモリMが採用されているか(抵抗器B30bが実装されているか)を判別する。
When the
ここで、シリアルデータ入力ポートの論理がHレベルである場合は(S04:Yes)、A社系のシリアルフラッシュメモリMが採用されていると判断し、A社系のリードコマンド、アドレスビットおよびダミービットを送信する(S05,図3(a)参照)。これらは、マスクROM13内のテーブル18に記憶されているA社系の読み出しデータに基づくものである。また、S05におけるリードアクセスは、他段階に渡って複数回実行され、シリアルフラッシュメモリMは、ブートシーケンスが終了するまでブートローダの出力を繰り返す。
Here, if the logic of the serial data input port is at the H level (S04: Yes), it is determined that the A company-related serial flash memory M is employed, and the A company-related read command, address bit, and dummy are determined. A bit is transmitted (S05, refer to FIG. 3A). These are based on the read data of company A that is stored in the table 18 in the
一方、シリアルデータ入力ポートの論理がLレベルである場合は(S04:No)、B社系のシリアルフラッシュメモリMが採用されていると判断し、B社系のリードコマンドおよびアドレスビットを送信する(S06,図3(b)参照)。これらは、A社系のシリアルフラッシュメモリMが採用された場合と同様に、テーブル18に記憶されているB社系の読み出しデータに基づくものである。また、同じくS06におけるリードアクセスは、ブートシーケンスが終了するまで他段階に渡って複数回実行される。 On the other hand, when the logic of the serial data input port is L level (S04: No), it is determined that the B flash memory M is adopted, and the B read command and address bits are transmitted. (See S06, FIG. 3 (b)). These are based on the read data of the B company system stored in the table 18 as in the case where the A company serial flash memory M is employed. Similarly, the read access in S06 is executed a plurality of times over other stages until the boot sequence is completed.
上記のとおり、SOC10は、シリアルフラッシュメモリMから出力された複数のブートローダを取得すると(S07)、これらをRAM12に展開し(S08)、所定の終了処理を実行した後(S09)、ブート処理を終了する。
As described above, when the
次に、図3を参照し、SOC10とシリアルフラッシュメモリM間におけるシリアルインターフェース16を介したデータの入出力について説明する。同図(a)は、抵抗器A30aを実装したときのデータ入出力の一例を示したものである。同図に示すように、抵抗器A30aが実装された場合(A社系のシリアルフラッシュメモリMが採用された場合)は、SOC10のシリアルデータ出力(SD)ポートから、8ビットの命令ビット(A社系のリードコマンド)と、24ビットのアドレスビットと、32ビットのダミービットと、を出力することにより、シリアルデータ入力(SQ)ポートを介してシリアルフラッシュメモリMからのデータ出力を受けることができる。これらのリードコマンドや送信パターンは、シリアルフラッシュメモリMの仕様に基づくものであり、予めテーブル18内に、系統別の読み出しデータとして記憶されている。つまり、各読み出しデータは、リードコマンドが異なるだけでなく、送信データ量や送信順序、ダミービットの有無のいずれかが異なる場合も、異なる系統の読み出しデータとして記憶されている。
Next, referring to FIG. 3, data input / output between the
また、同図(b)は、抵抗器B30bを実装したときのデータ入出力の一例を示したものである。同図に示すように、抵抗器B30bが実装された場合(B社系のシリアルフラッシュメモリMが採用された場合)は、SOC10のシリアルデータ出力(SD)ポートから、8ビットの命令ビット(B社系のリードコマンド)と、24ビットのアドレスビットと、を出力することにより、シリアルデータ入力(SQ)ポートを介してシリアルフラッシュメモリMからのデータ出力を受けることができる。このように、抵抗器B30bが実装された場合は、ダミービットの出力を必要としないが、これについても読み出しデータによって規定されたものである。
FIG. 7B shows an example of data input / output when the resistor B30b is mounted. As shown in the figure, when the resistor B30b is mounted (when a serial flash memory M of company B is used), an 8-bit instruction bit (B) is output from the serial data output (SD) port of the
以上説明したとおり、本実施形態によれば、シリアルデータ入力(SQ)ポートの論理に応じて、テーブル18内に記憶している2種類の読み出しデータ(リードコマンドやその送信パターン)のうち、いずれかの読み出しデータを決定するため、2系統のシリアルフラッシュメモリMに対応することができる。すなわち、同一のマスクROM13を用いて2系統のシリアルフラッシュメモリMに対応可能であるため、シリアルフラッシュメモリMの部品選定の幅を広げることができ、コストメリットやパフォーマンス性の向上が期待できる。
As described above, according to the present embodiment, any one of the two types of read data (read command and its transmission pattern) stored in the table 18 according to the logic of the serial data input (SQ) port. In order to determine such read data, it is possible to correspond to two systems of serial flash memories M. That is, since the
また、プリンタ1のリセット解除(プリンタ1の起動)をトリガとして、抵抗器30によって固定されるシリアルデータ入力(SQ)ポートの論理を取得し、その取得結果に応じてブート処理を実行するため、確実にシリアルフラッシュメモリMに応じたブート処理を行うことができる。 In addition, in order to acquire the logic of the serial data input (SQ) port fixed by the resistor 30 using the reset release of the printer 1 (activation of the printer 1) as a trigger and execute the boot process according to the acquisition result, The boot process according to the serial flash memory M can be surely performed.
また、本字実施形態のプリンタ1は、大容量、安価且つパッケージサイズが小さいといった実装面でのメリットが大きいシリアルフラッシュメモリMを採用でき、しかもSOC10のブート処理により、その部品選定の幅が広がるため、コストパフォーマンスを向上することができる。
In addition, the printer 1 according to the present embodiment can adopt the serial flash memory M having a large mounting advantage such as a large capacity, low cost, and a small package size, and the range of component selection is widened by the boot process of the
なお、上記の実施形態では、通信方式としてSPI方式を例示したが、SPI方式のような同期型シリアル通信方式に限らず、他のシリアル通信方式を採用可能である。 In the above embodiment, the SPI method is exemplified as the communication method. However, the present invention is not limited to the synchronous serial communication method such as the SPI method, and other serial communication methods can be adopted.
また、上記の実施形態では、抵抗器30を1つだけ実装する(抵抗器A30aまたは抵抗器B30bのいずれかを実装する)ものとしたが、複数個実装し、これら複数の抵抗器から得られる論理の組み合わせに応じて、リードアクセスに用いる読み出しデータを決定するようにしても良い。この場合、例えばシリアルデータ入力ポート2本にそれぞれ抵抗器30を実装することで4系統、シリアルデータ入力ポート3本にそれぞれ抵抗器30を実装することで8系統と、さらに多系統のシリアルフラッシュメモリMに対応することができる。 In the above embodiment, only one resistor 30 is mounted (either one of resistor A30a or resistor B30b is mounted). However, a plurality of resistors 30 are mounted and obtained from the plurality of resistors. The read data used for read access may be determined according to the combination of logic. In this case, for example, four series by mounting resistors 30 on two serial data input ports, eight systems by mounting resistors 30 on three serial data input ports, and a multi-system serial flash memory. M can be accommodated.
また、上記の実施形態に示した、プリンタ1やSOC10の各構成要素(各機能)をプログラムとして提供することが可能である。また、そのプログラムを各種記録媒体(CD−ROM、フラッシュメモリ等)に格納して提供することも可能である。すなわち、プリンタ1やSOC10の各構成要素(各機能)をプログラム化したもの、およびそれを記録した記録媒体も、本発明の権利範囲に含まれるものである。
Moreover, it is possible to provide each component (each function) of the printer 1 and SOC10 shown in said embodiment as a program. Further, the program can be provided by being stored in various recording media (CD-ROM, flash memory, etc.). That is, a program in which each component (each function) of the printer 1 and the
また、上記の実施形態によらず、SOC10の装置構成やブート処理の処理工程など、本発明を逸脱しない範囲で適宜変更が可能である。また、本発明のSOC10を、プリンタ1以外の電子機器に搭載して用いることも当然可能である。
In addition, regardless of the above-described embodiment, the apparatus configuration of the
1・・・プリンタ 10・・・SOC 11・・・CPU 12・・・RAM 13・・・マスクROM 14・・・ASIC 15・・・内部バス 16・・・シリアルインターフェース 18・・・テーブル 20・・・印刷機構 30・・・抵抗器 30a・・・抵抗器A 30b・・・抵抗器B M・・・シリアルフラッシュメモリ
DESCRIPTION OF SYMBOLS 1 ...
Claims (7)
ブート時において前記シリアルフラッシュメモリから前記ブートローダを読み出すためのリードコマンドを複数記憶するROMと、
前記シリアルフラッシュメモリと接続されるシリアルインターフェースと、
前記シリアルインターフェースのシリアルデータ入力ポートを「正」または「負」のいずれかに論理固定する抵抗器と、を備え、
前記CPUは、前記シリアルデータ入力ポートの論理に応じて、前記ROMに記憶されている前記複数のリードコマンドの中から1のリードコマンドを決定し、当該リードコマンドを用いて前記シリアルフラッシュメモリから前記ブートローダを読み出すことを特徴とする制御装置。 A CPU that controls read access to the serial flash memory in which the boot loader is recorded;
A ROM for storing a plurality of read commands for reading the boot loader from the serial flash memory at the time of booting;
A serial interface connected to the serial flash memory;
A resistor that logically fixes the serial data input port of the serial interface to either “positive” or “negative”;
The CPU determines one read command from the plurality of read commands stored in the ROM according to the logic of the serial data input port, and uses the read command to read the serial flash memory from the serial flash memory. A control device that reads a boot loader.
前記CPUは、前記複数の抵抗器に基づく前記シリアルデータ入力ポートの論理の組み合わせに応じて、前記1のリードコマンドを決定することを特徴とする請求項1ないし3のいずれか1項に記載の制御装置。 A plurality of the resistors are provided,
4. The CPU according to claim 1, wherein the CPU determines the one read command in accordance with a logic combination of the serial data input ports based on the plurality of resistors. 5. Control device.
ブート時において前記シリアルフラッシュメモリから前記ブートローダを読み出すためのリードコマンドを複数記憶するROMと、
前記シリアルフラッシュメモリと接続されるシリアルインターフェースと、
前記シリアルインターフェースのシリアルデータ入力ポートを「正」または「負」のいずれかに論理固定する抵抗器と、を備えた制御装置の前記シリアルフラッシュメモリに対するリードアクセス方法であって、
前記CPUが、
前記シリアルデータ入力ポートの論理を取得するステップ、
取得した前記シリアルデータ入力ポートの論理に応じて、前記ROMに記憶されている前記複数のリードコマンドの中から1のリードコマンドを決定するステップ、
決定した前記リードコマンドを用いて前記シリアルフラッシュメモリから前記ブートローダを読み出すステップ、を実行することを特徴とするリードアクセス方法。 A CPU that controls read access to the serial flash memory in which the boot loader is recorded;
A ROM for storing a plurality of read commands for reading the boot loader from the serial flash memory at the time of booting;
A serial interface connected to the serial flash memory;
A resistor that logically fixes the serial data input port of the serial interface to either “positive” or “negative”, and a read access method for the serial flash memory of the control device,
The CPU is
Obtaining the logic of the serial data input port;
Determining one read command from the plurality of read commands stored in the ROM according to the acquired logic of the serial data input port;
A step of reading out the boot loader from the serial flash memory using the determined read command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007105559A JP2008262444A (en) | 2007-04-13 | 2007-04-13 | Control device, printer, read access method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007105559A JP2008262444A (en) | 2007-04-13 | 2007-04-13 | Control device, printer, read access method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008262444A true JP2008262444A (en) | 2008-10-30 |
Family
ID=39984862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007105559A Withdrawn JP2008262444A (en) | 2007-04-13 | 2007-04-13 | Control device, printer, read access method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008262444A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010244259A (en) * | 2009-04-03 | 2010-10-28 | Sanyo Electric Co Ltd | Interface circuit |
US7908417B2 (en) * | 2008-10-15 | 2011-03-15 | Phison Electronics Corp. | Motherboard system, storage device for booting up thereof and connector |
JP2020057063A (en) * | 2018-09-28 | 2020-04-09 | キヤノン株式会社 | Information processing device, and control method and program thereof |
-
2007
- 2007-04-13 JP JP2007105559A patent/JP2008262444A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7908417B2 (en) * | 2008-10-15 | 2011-03-15 | Phison Electronics Corp. | Motherboard system, storage device for booting up thereof and connector |
JP2010244259A (en) * | 2009-04-03 | 2010-10-28 | Sanyo Electric Co Ltd | Interface circuit |
JP2020057063A (en) * | 2018-09-28 | 2020-04-09 | キヤノン株式会社 | Information processing device, and control method and program thereof |
JP7242233B2 (en) | 2018-09-28 | 2023-03-20 | キヤノン株式会社 | Information processing device and its control method and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3549410B2 (en) | Accessory resource offset mechanism | |
CN108647169B (en) | Hot plug processing method and device | |
JP5364036B2 (en) | Connection bus, electronic device and system | |
JP2008262444A (en) | Control device, printer, read access method and program | |
US10162549B2 (en) | Integrated circuit chip and method therefor | |
KR20080080799A (en) | Method and device for memory of serial interface | |
JP4909772B2 (en) | Simulation device | |
JP2001216164A (en) | Processor system and its start-up method | |
US9678759B2 (en) | Multisystem and method of booting the same | |
JP2001356885A (en) | Control method and electronic equipment | |
JP2007249808A (en) | Function extension system and function extension equipment | |
JP2009301339A (en) | Bus control device | |
JP6835423B1 (en) | Information processing system and its initialization method | |
CN110737480A (en) | Multiplexing method and device for serial port drivers | |
JP2009032076A (en) | Update method for control program | |
JP5279816B2 (en) | Test module, test apparatus and test method | |
JP5279817B2 (en) | Test apparatus and test method | |
JP6635696B2 (en) | Information processing apparatus and control method | |
JP4681521B2 (en) | Printer | |
JP2020086516A (en) | Information processing device, control method of information processing device, and program | |
JP2006127407A (en) | Semiconductor integrated circuit | |
JP7161125B2 (en) | Information processing system, information processing device and information processing program | |
US11372581B2 (en) | Information processing apparatus and control method thereof and program regarding reading a boot program | |
JP5944017B2 (en) | Information processing apparatus and program | |
JP5971022B2 (en) | Image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20100706 |