JP4611058B2 - Electronic equipment - Google Patents
Electronic equipment Download PDFInfo
- Publication number
- JP4611058B2 JP4611058B2 JP2005056884A JP2005056884A JP4611058B2 JP 4611058 B2 JP4611058 B2 JP 4611058B2 JP 2005056884 A JP2005056884 A JP 2005056884A JP 2005056884 A JP2005056884 A JP 2005056884A JP 4611058 B2 JP4611058 B2 JP 4611058B2
- Authority
- JP
- Japan
- Prior art keywords
- key
- microcomputer
- panel
- sub
- definition value
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
本発明は、DVD(Digital Versatile Disc)等の光ディスクに情報データを記録再生するDVDレコーダ等の電子装置に係り、特に複数のモデル仕様又は仕向け先仕様毎の操作パネルのパネルキーの配置に対応可能な電子装置に関する。 The present invention relates to an electronic device such as a DVD recorder that records and reproduces information data on an optical disc such as a DVD (Digital Versatile Disc), and is particularly compatible with the arrangement of panel keys on an operation panel for each of a plurality of model specifications or destination specifications. The present invention relates to an electronic device.
一般に、電子装置の操作パネルの複数のパネルキーは、電子装置のモデル毎、仕向け先毎に異なった配置になっている。そのため、モデル毎、仕向け先毎に電子装置の操作パネルの複数のパネルキーの入力信号を処理する制御プログラムが格納されたマスクROM(Read−Only Memory)を内蔵するサブマイコンを電子装置のモデル毎、仕向け先毎に発注しなければならず、電子装置の操作パネルの複数のパネルキーの入力信号を処理するサブマイコンを共通化して製造コストで低減することができないという問題点があった。
背景技術としては、仕向け先仕様設定データがメモリに記憶されているか否かを判断して、仕向け先仕様設定データがメモリに記憶されていない場合、リモコン装置から送信された電源オンコードに付加された仕向け先仕様設定データをメモリに記憶して仕向け先仕様を設定するようにしたものがあった(例えば、特許文献1参照)。
また、第1の電子装置のマイコンから第1の電子装置のオプション情報要求信号を出力し、第2の電子装置のマイコンがオプション情報要求信号に基づいてEEPROMから第1の電子機器のオプション情報を読み出して第1の電子装置のマイコンに出力するようにしたものがあった(例えば、特許文献2参照)。
また、ユーザインタフェイス及びテレビジョン受像機の状態を管理するメインマイコンと、メインマイコンからの信号にしたがって、テレビジョン受像機の信号制御、画面制御、偏向制御、音声制御を複数のサブマイコンによりそれぞれ行うようにしたものがあった(例えば、特許文献3参照)。
As background art, it is determined whether or not destination specification setting data is stored in the memory, and if the destination specification setting data is not stored in the memory, it is added to the power-on code transmitted from the remote control device. In some cases, the destination specification setting data is stored in a memory to set the destination specification (see, for example, Patent Document 1).
The microcomputer of the first electronic device outputs the option information request signal of the first electronic device, and the microcomputer of the second electronic device outputs the option information of the first electronic device from the EEPROM based on the option information request signal. There was one that was read out and output to the microcomputer of the first electronic device (see, for example, Patent Document 2).
In addition, the main microcomputer that manages the user interface and the state of the television receiver, and the signal control, screen control, deflection control, and audio control of the television receiver according to the signals from the main microcomputer are respectively performed by a plurality of sub-microcomputers. There was what was made to perform (for example, refer patent document 3).
しかしながら、背景技術で述べたもののうち最初のものにおいては、仕向け先仕様設定データがメモリに記憶されているか否かを判断して、仕向け先仕様設定データがメモリに記憶されていない場合、リモコン装置から送信された電源オンコードに付加された仕向け先仕様設定データをメモリに記憶して仕向け先仕様を設定することができたが、モデル毎、仕向け先毎に電子装置の操作パネルの複数のパネルキーの入力信号を処理する制御プログラムが格納されたマスクROMを内蔵するサブマイコンを共通化して製造コストで低減するようにしたものではなかった。
また、次のものにおいては、第1の電子装置のマイコンから第1の電子装置のオプション情報要求信号を出力し、第2の電子装置のマイコンがオプション情報要求信号に基づいてEEPROMから第1の電子機器のオプション情報を読み出して第1の電子装置のマイコンに出力することができたが、複合電子装置の複数装置のオプション情報を1つEEPROMに格納して、1つのEEPROMを共有化するようにしたものであって、上記問題点を解決するようにしたものではなかった。
また、更にその次のものにおいては、ユーザインタフェイス及びテレビジョン受像機の状態を管理するメインマイコンと、メインマイコンからの信号にしたがって、テレビジョン受像機の信号制御、画面制御、偏向制御、音声制御を複数のサブマイコンによりそれぞれ行うことができたが、テレビジョン受像機の信号制御、画面制御、偏向制御、音声制御を複数のサブマイコンにより個別に制御するようにしたものであって、上記問題点を解決するようにしたものではなかった。
本発明は、背景技術の有するこのような問題点に鑑みてなされたものであり、その目的とするところは、モデル毎、仕向け先毎に異なる仕様の電子装置の操作パネルの複数のパネルキーの入力信号を処理する制御プログラムが格納されたマスクROMを内蔵するサブマイコンを共通化することができる電子装置を提供しようとするものである。
However, in the first one described in the background art, it is determined whether or not the destination specification setting data is stored in the memory, and if the destination specification setting data is not stored in the memory, the remote control device Destination specification setting data added to the power-on code sent from can be stored in the memory and the destination specification can be set, but multiple panels of the operation panel of the electronic device for each model and each destination The sub-microcomputer containing a mask ROM in which a control program for processing key input signals is stored is not shared, and the manufacturing cost is not reduced.
Further, in the following, the microcomputer of the first electronic device outputs the option information request signal of the first electronic device, and the microcomputer of the second electronic device outputs the first information from the EEPROM based on the option information request signal. Although the option information of the electronic device can be read and output to the microcomputer of the first electronic device, the option information of a plurality of devices of the composite electronic device is stored in one EEPROM so that one EEPROM is shared. However, it was not intended to solve the above problems.
Furthermore, in the next one, the main microcomputer for managing the state of the user interface and the television receiver, and the signal control of the television receiver, the screen control, the deflection control, the sound according to the signal from the main microcomputer Although the control can be performed by each of the plurality of sub-microcomputers, the signal control, screen control, deflection control, and sound control of the television receiver are individually controlled by the plurality of sub-microcomputers. It was not intended to solve the problem.
The present invention has been made in view of such problems of the background art, and its object is to provide a plurality of panel keys of an operation panel of an electronic device having different specifications for each model and each destination. It is an object of the present invention to provide an electronic device that can share a sub-microcomputer containing a mask ROM in which a control program for processing an input signal is stored.
上記目的を達成するため本発明においては、装置のモデル仕様又は仕向け先仕様、複数のパネルキーの各々の機能を示すキー定義値とキーコードとを関連付けたキー定義値テーブルおよび装置のシステムを制御するファームウェアが予め書き込まれた書き換え可能な不揮発性の第1の記憶手段、装置のシテスムを制御するメインCPUおよびこのメインCPUの制御用データを記憶する第2の記憶手段を内蔵するメインマイコンと、前記メインマイコンから指令された動作を制御する制御手段と、装置の動作を指令入力する複数のパネルキーが装置のモデル仕様毎又は仕向け先仕様毎に互いに異なる物理的配置または個数で設けられた複種類の操作パネルと、パネルキーの操作による入力信号を処理するサブCPU、パネルキーの操作による入力信号を前記サブCPUが処理するための制御プログラムが格納されたマスクROMおよび前記サブCPUがパネルキーの操作による入力信号を処理するためのデータを記憶する第3の記憶手段を内蔵するサブマイコンとを備え、前記メインCPUは、装置の電源がONになったとき、前記第1の記憶手段に書き込まれている装置のモデル仕様又は仕向け先仕様に基づいて前記第1の記憶手段の前記キー定義値テーブルから抽出した各キー定義値のキーコードを、前記第2の記憶手段のキーテーブルにおける前記操作パネルの複数のパネルキーの各位置に各々対応した所定アドレスにそれぞれ格納する制御機能と、前記第2の記憶手段にキー定義値のキーコードとキーテーブルのアドレスとを関連付けて格納されているキーテーブルを前記サブマイコンに転送する制御機能と、前記サブマイコンから送信されたキー定義値のキーコードに対応した動作を前記制御手段に指令する制御機能とを有し、前記サブCPUは、前記メインマイコンから転送されたキーテーブルのキー定義値の各キーコードを、これらのキーコードに関連付けられているアドレスに基づいて前記第3の記憶手段のキーテーブルにおける前記操作パネルの複数のパネルキーの各位置に各々対応した所定アドレスにそれぞれ格納する制御機能と、前記操作パネルの複数のパネルキーのいずれかが操作されたとき、前記第3の記憶手段のキーテーブルにおける前記操作されたパネルキーの位置に対応したアドレスに格納されているキー定義値のキーコードを前記メインマイコンに送信する制御機能とを有している。
In order to achieve the above object, the present invention controls a device model specification or destination specification, a key definition value table that associates a key definition value indicating each function of a plurality of panel keys and a key code, and a system of the device. A rewritable nonvolatile first storage means in which firmware to be pre-written, a main CPU for controlling the system of the apparatus, and a main microcomputer incorporating a second storage means for storing control data for the main CPU; It said control means for controlling commanded operation from the main microcomputer, double the plurality of panel keys to command input the operation of the apparatus is provided with different physical arrangement or number for each model specification or each destination specification device Various types of operation panels, sub CPUs that process input signals generated by panel key operations, and panel key operations Sub-microcomputer with a built-in third storage means for storing data for a mask ROM and the sub CPU of the control program is stored for a force signal the sub CPU to process processes the input signal by the operation of the panel keys The main CPU, when the power of the device is turned on, the key of the first storage means based on the model specifications or destination specifications of the device written in the first storage means a key code of the key definition values extracted from the definition value table, and a control function of storing respective predetermined addresses respectively corresponding to each position of the plurality of panel keys of the operation panel in the key table of the second storage means, wherein the key table stored in association with the key code and the address of the key table key definition value in the second storage means A control function for transferring to the microcomputer, and a control function for instructing the control means to perform an operation corresponding to the key code of the key definition value transmitted from the sub-microcomputer. The sub-CPU is transferred from the main microcomputer. each key code of the key definition values of the key tables, each corresponding to each position of the plurality of panel keys of the operation panel in the key table of the third storage means based on the addresses associated with these key codes a control function of storing each predetermined address, when any of the plurality of panel keys of the operation panel is operated, the address corresponding to the position of the third the engineered panel keys in the key table of the storage means And a control function for transmitting the key code of the key definition value stored in the main microcomputer to the main microcomputer.
本発明に係る電子装置によれば、電子装置の電源がONになったとき、第1の記憶手段に書き込まれている電子装置のモデル仕様又は仕向け先仕様に基づいて第1の記憶手段のキー定義値テーブルから抽出したキー定義値のキーコードを、第2の記憶手段のキーテーブルにおける操作パネルの複数のパネルキーの各位置にそれぞれ対応した所定アドレスに格納して、その格納されたキーテブルのキー定義値のキーコードとキーテーブルのアドレスとを関連付けたデータをサブマイコンに転送し、転送されたキーテーブルのキー定義値のキーコードを、これらのキーコードに関連付けて転送されたアドレスに基づいて第3の記憶手段のキーテーブルにおける前記操作パネルの複数のパネルキーの各位置に各々対応した所定アドレスにそれぞれ格納して、操作パネルの複数のパネルキーのいずれかが操作されたとき、第3の記憶手段のキーテーブルにおける前記操作されたパネルキーの位置に対応したアドレスに格納されているキー定義値のキーコードをメインマイコンに送信し、送信されたキー定義値のキーコードに対応した電子装置の動作を行うようにしているので、複数のパネルキーがモデル毎、仕向け先毎に異なる配置または個数で設けられた複種類の操作パネルに対して、複数のパネルキーの入力信号を処理する制御プログラムが格納されたマスクROMを内蔵するサブマイコンを共通化することができる。 According to the electronic device of the present invention, when the power of the electronic device is turned on, the key of the first storage means is based on the model specification or destination specification of the electronic device written in the first storage means. the key code of the key definition values extracted from the definition value table, and stored in predetermined addresses corresponding to the respective positions of the plurality of panel keys of the operation panel in the key table the second storage means, the stored Kiteburu Data that associates the key code of the key definition value and the address of the key table is transferred to the sub microcomputer, and the key code of the key definition value of the transferred key table is based on the address transferred in association with these key codes. Te respectively rated at a predetermined address respectively corresponding to each position of the third plurality of panel keys of the operation panel in the key table of the storage means When any one of the plurality of panel keys of the operation panel is operated, the key of the key definition value stored in the address corresponding to the position of the operated panel key in the key table of the third storage means Since the code is transmitted to the main microcomputer and the electronic device is operated corresponding to the key code of the transmitted key definition value, multiple panel keys are provided in different arrangements or numbers for each model and each destination. A sub-microcomputer having a mask ROM in which a control program for processing input signals of a plurality of panel keys is stored can be shared with the plurality of types of operation panels.
以下、適宜図面を参照しながら本発明を実施するための最良の形態を詳述する。図1は本発明の一実施例の電子装置の構成を示すブロック図であり、図2は本発明の一実施例の電子装置の操作パネルを示す説明図であり、図3は本発明の一実施例の電子装置のキーテーブルを示す説明図であり、図4は本発明の一実施例の電子装置のメインマイコンの動作を示すフローチャートであり、図5は本発明の一実施例の電子装置のサブマイコンの動作を示すフローチャートである。
まず、図1の本発明の一実施例の電子装置の構成を示すブロック図を基に説明する。
電子装置1は、電子装置1のシステムを制御するCPU(Central Processing Unit)2a、電子装置1のモデル仕様又は仕向け先仕様、パネルキーのキー定義値テーブル、電子装置1のシステムを制御するファームウェアが予め書き込まれた書き換え可能な不揮発性メモリのフラッシュROM(Read−Only Memory)2b、CPU2aが電子装置1のシステムを制御するデータを記憶するRAM(Random Access Memory)2cが内蔵されたメインマイコン2と、電子装置1の動作を制御する制御回路3と、操作パネル5に設けられた複数のパネルキーの入力信号を処理するCPU4a、CPU4aが操作パネル5に設けられた複数のパネルキーの入力信号を処理する制御プログラムが格納されたマスクROM4b、CPU4aが操作パネル5に設けられた複数のパネルキーの入力信号を処理するデータを記憶するRAM4cが内蔵されたサブマイコン4とで構成されている。なお、メインマイコン2とサブマイコン4とは、シリアルバスのIIC(Inter−Integrated Circuit)バス6で互いに接続されている。
以上のように構成された電子装置について、以下その動作について説明する。
電子装置1の電源がONになると、メインマイコン2のCPU2aは、フラッシュROM2bに予め書き込まれている電子装置1のモデル仕様又は仕向け先仕様に基づいてフラッシュROM2bに予め書き込まれているキー定義値テーブルの1バイトのキー定義値の16進数のキーコード(図3(a)参照)を操作パネル5の各パネルキー5aのそれぞれの位置0〜10(図2(a)参照。図中のパネルキーの数字はパネルキーの位置を示している)に対応したRAM2cのキーテーブルの16進数のアドレス00H〜0AHにそれぞれ格納する(図3(b)参照)。例えば、電子装置1の操作パネル5の位置1のパネルキーが「POWERキー」であり、位置4のパネルキーが「RECキー」であり、位置9のパネルキーが「PLAYキー」である場合(図2(a)、(b)参照)、メインマイコン2のCPU2aは、RAM2cのキーテーブルのアドレス01Hに「POWERキー」のキー定義値のキーコード「01H」を格納し、RAM2cのキーテーブルのアドレス04Hに「RECキー」のキー定義値のキーコード「0AH」を格納し、RAM2cのキーテーブルのアドレス09Hに「PLAYキー」のキー定義値のキーコード「05H」を格納する(図3(a)、(b)参照)。なお、電子装置1のモデル仕様又は仕向け先仕様により操作パネル5にパネルキーが設けられていない場合、RAM2cのキーテーブルに「NULL」のキー定義値のキーコード「00H」が格納される(図3(a)、(b)参照)。図2(b)は、操作パネル5の位置0にパネルキーが設けられていない場合を示している。
操作パネル5の位置0〜10の各パネルキー5aのキー定義値のキーコードがRAM2cのキーテーブルのアドレス00H〜0AHに格納されると、メインマイコン2のCPU2aは、RAM2cのキーテーブルのアドレス00H〜0AHに格納されたキー定義値のキーコードをサブマイコン4にIICバス6を介して転送する。
メインマイコン2からRAM2cのキーテーブルのアドレス00H〜0AHに格納されたキー定義値のキーコードがIICバス6を介して転送されると、サブマイコン4のCPU4aはメインマイコン2から転送されたキーテーブルのキー定義値のキーコードを受信して電子装置1の操作パネル5の各パネルキー5aのそれぞれの位置0〜10に対応したRAM4cのキーテーブルのアドレス00H〜0AHに格納する(図3(c)参照)。
操作パネル5のパネルキー5aのいずれかが操作されると、サブマイコン4のCPU4aは、操作されたパネルキー5aの位置に対応したRAM4cのキーテーブルのアドレスからキー定義値のキーコードを読み出して、そのキー定義値のキーコードをメインマイコン2にIICバス6を介して送信する。例えば、操作パネル5の位置1のパネルキーの「POWER(PWR)キー」が操作されると(図2(a)、(b)参照)、CPU4aは、操作されたパネルキーの位置1に対応したRAM4cのキーテーブルのアドレス01Hに格納されているキー定義値のキーコード「01H」(図3(c)参照)をメインマイコン2に送信する。また、操作パネル5の位置4のパネルキーの「RECキー」が操作されると(図2(a)、(b)参照)、サブマイコン4のCPU4aは、操作されたパネルキーの位置4に対応したRAM4cのキーテーブルのアドレス04Hに格納されているキー定義値のキーコード「0AH」(図3(c)参照)をメインマイコン2に送信する。また、操作パネル5の位置9のパネルキーの「PLAY(PLY)キー」が操作されると(図2(a)、(b)参照)、サブマイコン4のCPU4aは、操作されたパネルキーの位置9に対応したRAM4cのキーテーブルのアドレス09Hに格納されているキー定義値のキーコード「05H」(図3(c)参照)をメインマイコン2に送信する。
サブマイコン4からIICバス6を介して送信されたキー定義値のキーコードを受信すると、メインマイコン2のCPU2aは、制御回路3に制御信号を送出して、受信したキー定義値のキーコードに対応した電子装置1の動作を行う。例えば、キー定義値のキーコード「01H」を受信すると、CPU2aは、制御回路3に制御信号を送出して、キーコード「01H」のキー定義値の「POWER」(図3(a)参照)に対応した電子装置1の電源のON/OFF動作を行う。また、キー定義値のキーコード「0AH」を受信すると、CPU2aは、制御回路3に制御信号を送出して、キーコード「0AH」のキー定義値の「REC」(図3(a)参照)に対応した電子装置1の記録動作を行う。また、キー定義値のキーコード「05H」を受信すると、CPU2aは、制御回路3に制御信号を送出して、キーコード「05H」のキー定義値の「PLAY」(図3(a)参照)に対応した電子装置1の再生動作を行う。
また、図4の本発明の一実施例の電子装置のメインマイコンの動作を示すフローチャートを基に説明する。
電子装置の電源がONになると、ステップS1からステップS2に進み、ステップS2で、メインマイコンのフラッシュROMに予め書き込まれている電子装置のモデル仕様又は仕向け先仕様に基づいてフラッシュROMに予め書き込まれているキー定義値テーブルのキー定義値のキーコードが操作パネルの各パネルキーのそれぞれの位置に対応したメインマイコンのRAMのキーテーブルのアドレスに格納され、ステップS3に進む。
ステップS3で、メインマイコンのRAMに格納されたキーテーブルのキー定義値のキーコードがIICバスを介してサブマイコンに転送され、ステップS4に進む。
ステップS4で、メインマイコンのRAMに格納されたキーテーブルのキー定義値のキーコードがサブマイコンに全て転送されたか否かが判断され、RAMに格納されたキーテーブルのキー定義値のキーコードがサブマイコンに全て転送された場合、ステップS5に進み、RAMに格納されたキーテーブルのキー定義値のキーコードがサブマイコンに全て転送されていない場合、ステップS3に戻って、ステップS3からのステップを繰り返す。
ステップS5で、サブマイコンからIICバスを介して送信されたキー定義値のキーコードが受信されたか否かが判断され、サブマイコンから送信されたキー定義値のキーコードが受信された場合、ステップS6に進み、サブマイコンから送信されたキー定義値のキーコードが受信されていない場合、ステップS5のステップを繰り返す。
ステップS6で、サブマイコンから送信されたキー定義値のキーコードに対応した電子装置の動作が行われ、ステップS5に戻って、ステップS5からのステップを繰り返す。
また、図5の本発明の一実施例の電子装置のサブマイコンの動作を示すフローチャートを基に説明する。
メインマイコンからIICバスを介してRAMのキーテーブルに格納されたキー定義値のキーコードが転送されると、ステップS11からステップS12に進み、ステップS12で、メインマイコンから転送されたキーテーブルのキー定義値のキーコードが受信され、操作パネルの各パネルキーのそれぞれの位置に対応したサブマイコンのRAMのキーテーブルのアドレスに格納されて、ステップS13に進む。
ステップS13で、キーテーブルのキー定義値のキーコードが全て受信されたか否かが判断され、キーテーブルのキー定義値のキーコードが全て受信された場合、ステップS14に進み、キーテーブルのキー定義値のキーコードが全て受信されていない場合、ステップS12に戻って、ステップS12からのステップを繰り返す。
ステップS14で、操作パネルの複数のパネルキーのいずれかが操作されたか否かが判断され、操作パネルの複数のパネルキーのいずれかが操作された場合、ステップS15に進み、操作パネルの複数のパネルキーのいずれもが操作されていない場合、ステップS14のステップを繰り返す。
ステップS15で、操作されたパネルキーの位置に対応したサブマイコンのRAMのキーテーブルのアドレスからキー定義値のキーコードがIICバスを介してメインマイコンに送信され、ステップS14に戻って、ステップS14からのステップを繰り返す。
以上、本発明を実施するための最良の形態について詳述したが、本発明はこれに限定されるものではなく、当業者の通常の知識の範囲内でその変形や改良が可能である。例えば、電子装置の操作パネルの11個のパネルキーのそれぞれに対応したキー定義値のキーコードをサブマイコンのRAMのアドレス00H〜0AHのキーテーブルに格納することについて説明したが、操作パネルの複数のパネルキーのキー定義値のキーコードをサブマイコンのRAMの他のアドレスのキーテーブルに格納するようにしてもよい。
Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings as appropriate. FIG. 1 is a block diagram showing a configuration of an electronic apparatus according to an embodiment of the present invention, FIG. 2 is an explanatory view showing an operation panel of the electronic apparatus according to an embodiment of the present invention, and FIG. FIG. 4 is an explanatory diagram showing a key table of the electronic device of the embodiment, FIG. 4 is a flowchart showing the operation of the main microcomputer of the electronic device of the embodiment of the present invention, and FIG. 5 is an electronic device of the embodiment of the present invention. It is a flowchart which shows operation | movement of a submicrocomputer.
First, a description will be given based on a block diagram showing a configuration of an electronic apparatus according to an embodiment of the present invention shown in FIG.
The
The operation of the electronic device configured as described above will be described below.
When the power supply of the
When the key code of the key definition value of each
When the key code of the key definition value stored at addresses 00H to 0AH in the key table of the
When one of the
When the key code of the key definition value transmitted from the
The operation will be described with reference to the flowchart of FIG. 4 showing the operation of the main microcomputer of the electronic apparatus according to the embodiment of the present invention.
When the power supply of the electronic device is turned on, the process proceeds from step S1 to step S2. In step S2, the electronic device is prewritten in the flash ROM based on the model specification or destination specification of the electronic device previously written in the flash ROM of the main microcomputer. The key code of the key definition value in the key definition value table is stored in the key table address of the RAM of the main microcomputer corresponding to the position of each panel key on the operation panel, and the process proceeds to step S3.
In step S3, the key code of the key definition value in the key table stored in the RAM of the main microcomputer is transferred to the sub microcomputer via the IIC bus, and the process proceeds to step S4.
In step S4, it is determined whether or not the key code of the key definition value of the key table stored in the RAM of the main microcomputer has been transferred to the sub-microcomputer, and the key code of the key definition value of the key table stored in the RAM is determined. If all the keys have been transferred to the sub-microcomputer, the process proceeds to step S5. If all the key definition values of the key table stored in the RAM have not been transferred to the sub-microcomputer, the process returns to step S3 and steps from step S3 are performed. repeat.
In step S5, it is determined whether or not the key code of the key definition value transmitted from the sub-microcomputer via the IIC bus is received. If the key code of the key definition value transmitted from the sub-microcomputer is received, Proceeding to S6, when the key code of the key definition value transmitted from the sub-microcomputer is not received, the step of Step S5 is repeated.
In step S6, the operation of the electronic device corresponding to the key code of the key definition value transmitted from the sub-microcomputer is performed, the process returns to step S5, and the steps from step S5 are repeated.
Further, description will be made based on the flowchart of FIG. 5 showing the operation of the sub-microcomputer of the electronic apparatus according to the embodiment of the present invention.
When the key code of the key definition value stored in the key table of the RAM is transferred from the main microcomputer via the IIC bus, the process proceeds from step S11 to step S12, and in step S12, the key table key transferred from the main microcomputer. The key code of the definition value is received and stored in the key table address of the RAM of the sub-microcomputer corresponding to the position of each panel key on the operation panel, and the process proceeds to step S13.
In step S13, it is determined whether or not all the key codes of the key definition values in the key table have been received. If all the key codes of the key definition values in the key table have been received, the process proceeds to step S14, and the key definition of the key table is determined. If all the value key codes have not been received, the process returns to step S12 and the steps from step S12 are repeated.
In step S14, it is determined whether any of the plurality of panel keys on the operation panel has been operated. If any of the plurality of panel keys on the operation panel has been operated, the process proceeds to step S15, and the plurality of operation panel keys. If none of the panel keys have been operated, step S14 is repeated.
In step S15, the key code of the key definition value is transmitted to the main microcomputer via the IIC bus from the key table address of the sub microcomputer RAM corresponding to the operated panel key position, and the process returns to step S14. Repeat steps from.
Although the best mode for carrying out the present invention has been described in detail above, the present invention is not limited to this, and modifications and improvements can be made within the ordinary knowledge of those skilled in the art. For example, it has been described that the key code of the key definition value corresponding to each of the 11 panel keys of the operation panel of the electronic device is stored in the key table of addresses 00H to 0AH of the RAM of the sub microcomputer. The key code of the key definition value of the panel key may be stored in a key table of another address of the sub microcomputer RAM.
1 電子装置
2 メインマイコン
2a CPU
2b フラッシュROM
2c RAM
3 制御回路
4 サブマイコン
4a CPU
4b マスクROM
4c RAM
5 操作パネル
5a パネルキー
6 IICバス
1
2b Flash ROM
2c RAM
3
4b Mask ROM
4c RAM
5
Claims (1)
前記メインマイコンから指令された動作を制御する制御手段と、
装置の動作を指令入力する複数のパネルキーが装置のモデル仕様毎又は仕向け先仕様毎に互いに異なる物理的配置または個数で設けられた複種類の操作パネルと、
パネルキーの操作による入力信号を処理するサブCPU、パネルキーの操作による入力信号を前記サブCPUが処理するための制御プログラムが格納されたマスクROMおよび前記サブCPUがパネルキーの操作による入力信号を処理するためのデータを記憶する第3の記憶手段を内蔵するサブマイコンとを備え、
前記メインCPUは、
装置の電源がONになったとき、前記第1の記憶手段に書き込まれている装置のモデル仕様又は仕向け先仕様に基づいて前記第1の記憶手段の前記キー定義値テーブルから抽出した各キー定義値のキーコードを、前記第2の記憶手段のキーテーブルにおける前記操作パネルの複数のパネルキーの各位置に各々対応した所定アドレスにそれぞれ格納する制御機能と、
前記第2の記憶手段にキー定義値のキーコードとキーテーブルのアドレスとを関連付けて格納されているキーテーブルを前記サブマイコンに転送する制御機能と、
前記サブマイコンから送信されたキー定義値のキーコードに対応した動作を前記制御手段に指令する制御機能とを有し、
前記サブCPUは、
前記メインマイコンから転送されたキーテーブルのキー定義値の各キーコードを、これらのキーコードに関連付けられているアドレスに基づいて前記第3の記憶手段のキーテーブルにおける前記操作パネルの複数のパネルキーの各位置に各々対応した所定アドレスにそれぞれ格納する制御機能と、
前記操作パネルの複数のパネルキーのいずれかが操作されたとき、前記第3の記憶手段のキーテーブルにおける前記操作されたパネルキーの位置に対応したアドレスに格納されているキー定義値のキーコードを前記メインマイコンに送信する制御機能とを有していることを特徴とする電子装置。
Device model specifications or destination specifications, key definition value table that associates key definition values and key codes indicating the functions of each of the plurality of panel keys, and rewritable nonvolatile memory preliminarily written with firmware for controlling the system of the device A first microcomputer having a main characteristic, a main CPU for controlling the system of the apparatus, and a main microcomputer incorporating a second memory for storing control data for the main CPU;
Control means for controlling the operation commanded from the main microcomputer;
And a double type control panel in which a plurality of panel keys provided at different physical arrangement or number for each model specification or each destination specification device that the commanding input operation of the apparatus,
Sub CPU for processing an input signal from the operation panel keys, an input signal mask ROM control program is stored and the sub CPU is by the operation panel keys for an input signal from the operation panel keys the sub CPU handles A sub-microcomputer having third storage means for storing data for processing;
The main CPU is
Each key definition extracted from the key definition value table of the first storage unit based on the model specification or destination specification of the device written in the first storage unit when the apparatus is turned on the key code value, and a control function of storing respective predetermined addresses respectively corresponding to each position of the plurality of panel keys of the operation panel in the key table of the second storage means,
A control function for transferring a key table stored in the second storage means in association with a key code of a key definition value and an address of the key table to the sub-microcomputer;
A control function for instructing the control means to perform an operation corresponding to the key code of the key definition value transmitted from the sub-microcomputer,
The sub CPU is
A plurality of panel keys of the operation panel in the key table of the third storage means based on the addresses associated with these key codes, each key code of the key definition value of the key table transferred from the main microcomputer a control function of storing respective predetermined addresses respectively corresponding to each position of,
When any one of the plurality of panel keys of the operation panel is operated, the key code of the key definition value stored in the address corresponding to the position of the operated panel key in the key table of the third storage means And an electronic device having a control function for transmitting the information to the main microcomputer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005056884A JP4611058B2 (en) | 2005-03-02 | 2005-03-02 | Electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005056884A JP4611058B2 (en) | 2005-03-02 | 2005-03-02 | Electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006244573A JP2006244573A (en) | 2006-09-14 |
JP4611058B2 true JP4611058B2 (en) | 2011-01-12 |
Family
ID=37050838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005056884A Expired - Fee Related JP4611058B2 (en) | 2005-03-02 | 2005-03-02 | Electronic equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4611058B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012155444A (en) | 2011-01-25 | 2012-08-16 | Funai Electric Co Ltd | Electronic equipment |
CN110109698B (en) * | 2019-04-16 | 2023-09-29 | 晶晨半导体(上海)股份有限公司 | Keypad configuration method, device, computer equipment and readable storage medium |
-
2005
- 2005-03-02 JP JP2005056884A patent/JP4611058B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006244573A (en) | 2006-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3243803B2 (en) | AV equipment | |
KR101276045B1 (en) | Remote control system and presetting method for remote commander | |
JPH10244570A (en) | Injection molding apparatus | |
US7362944B2 (en) | Combination system using set-up value commonly, and method for setting up value of the same | |
JP4611058B2 (en) | Electronic equipment | |
JP2000197159A (en) | Audio video control system | |
JPH05217361A (en) | Memory card | |
JP4716093B2 (en) | Control device, control method, and program | |
KR101773162B1 (en) | Data processing apparatus and method | |
KR101304817B1 (en) | Keypad apparatus having parameter copy function by recognizing software versions and inverter types | |
JP3127630U (en) | Recorder with tuner discrimination function | |
JP2003051962A (en) | Remote controller, transmission method for control signal, learning method for control signal, program and control system | |
KR100406992B1 (en) | Combination system capable of controlling each device through a single OSD menu | |
JP5401595B2 (en) | Control method of a separate television receiver | |
JP4225289B2 (en) | Network system management method | |
EP1505590B1 (en) | Combined tape player and optical media reader | |
JPH1027136A (en) | Capacity confirming device for non-volatile memory | |
JP3067211U (en) | Special mode setting system for electronic equipment | |
JP2008271293A (en) | Bidirectional remote control system | |
KR20240054774A (en) | System and method for processing display | |
JP4626763B2 (en) | Video signal switching system | |
JP2003242210A (en) | Production information management system for electronic device and production information management method therefor | |
JP2768050B2 (en) | Bureau data management data update method | |
JP4374946B2 (en) | Digital broadcast receiver | |
JP2022139435A (en) | Display control device, display control method, and display control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20060823 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071116 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071211 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080109 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080304 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20080403 |
|
A912 | Removal of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20080502 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101013 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131022 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |