JP4839605B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP4839605B2
JP4839605B2 JP2004344435A JP2004344435A JP4839605B2 JP 4839605 B2 JP4839605 B2 JP 4839605B2 JP 2004344435 A JP2004344435 A JP 2004344435A JP 2004344435 A JP2004344435 A JP 2004344435A JP 4839605 B2 JP4839605 B2 JP 4839605B2
Authority
JP
Japan
Prior art keywords
data
rewriting
firmware
bits
processor device
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
Application number
JP2004344435A
Other languages
Japanese (ja)
Other versions
JP2006155208A (en
Inventor
明彦 須山
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2004344435A priority Critical patent/JP4839605B2/en
Publication of JP2006155208A publication Critical patent/JP2006155208A/en
Application granted granted Critical
Publication of JP4839605B2 publication Critical patent/JP4839605B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ファームウエア等を容易に書き換えることができ、家庭用電化製品等に用いて好適な電子機器に関する。   The present invention relates to an electronic device that can easily rewrite firmware and the like and is suitable for use in household appliances and the like.

エアコン、冷蔵庫、テレビ、電話機などの家庭用電子機器には、プログラムに基づいて動作するCPUが組み込まれている。このプログラムのうちハードウエアとソフトウエアの中間的位置づけにあるものを、一般にファームウエアと呼ぶ。このファームウエアをフラッシュメモリなどに記憶させておけば、後から機能の追加や不具合の修正を行うことが可能になる。   A home electronic device such as an air conditioner, a refrigerator, a television, and a telephone incorporates a CPU that operates based on a program. Of these programs, what is positioned between hardware and software is generally called firmware. If this firmware is stored in a flash memory or the like, functions can be added and defects can be corrected later.

しかしながら、冷蔵庫やエアコンなどの据え置き型の家電製品においてファームウエアを書き換えることは通常は行われておらず、機能の追加などは行われていないのが実情である。また、不具合を修正するために、ファームウエアを書き換える(あるいは交換する)場合は、一定の技術をもったサービスマン等が行うのが通常であり、ユーザが簡単にファームウエアを書き換えることはできなかった。   However, in the stationary home appliances such as the refrigerator and the air conditioner, the firmware is not normally rewritten, and the function is not added. In addition, when rewriting (or replacing) the firmware to correct a problem, it is usually performed by a service person with a certain technique, and the user cannot rewrite the firmware easily. It was.

一方、特許文献1には、ファームウエアを書き換えるに際して、通常の動作モードから特殊なモードに切り替え、デジタルオーディオ信号用の入力端子やその他の端子からファームウエア書き換え用のデータを入力し、このデータをメモリの再生処理プログラム領域に適宜上書きすることによってアップグレードを行うオーディオ装置が記載されている。
特開2002−149428号公報
On the other hand, in Patent Document 1, when rewriting firmware, the normal operation mode is switched to a special mode, and data for firmware rewriting is input from an input terminal for digital audio signals or other terminals. An audio device is described that performs an upgrade by appropriately overwriting a reproduction processing program area of a memory.
JP 2002-149428 A

ところが、特許文献1に記載される装置にあっては、オーディオ装置が取り扱う媒体(コンパクトディスクなど)からファームウエア書き換え用のデータを得るようにしている。このように装置自体が、通常の使用状態において記録媒体の再生機構をもっている場合は、特許文献1に示されるような方法によってファームウエアの書き換えを行うことも可能となる。   However, in the apparatus described in Patent Document 1, data for firmware rewriting is obtained from a medium (such as a compact disk) handled by the audio apparatus. As described above, when the apparatus itself has a recording medium reproducing mechanism in a normal use state, the firmware can be rewritten by a method as disclosed in Patent Document 1.

しかしながら、冷蔵庫やエアコンなど記録媒体の再生機構を持たない家電機器においては、ファームウエアの書き換えを行うのは難しく、また、ファームウエア書き換え用に別途記録媒体の再生機構を設けるとすれば、構造が複雑になりコストアップにもなってしまう。   However, in home appliances that do not have a recording medium playback mechanism such as a refrigerator or an air conditioner, it is difficult to rewrite the firmware, and if a separate recording medium playback mechanism is provided for firmware rewriting, the structure is Complicated and costly.

本発明は、上述した事情に鑑みてなされたものであり、家電機器等の電子機器に特別な再生機構を設けることなく、また、特殊な外部装置を用いることなくファームウエア等の書き換えを行うことができる電子機器を提供することを目的としている。   The present invention has been made in view of the above-described circumstances, and rewrites firmware or the like without providing a special reproduction mechanism for an electronic device such as a home appliance or using a special external device. The purpose is to provide an electronic device that can be used.

上述した問題を解決するため、この発明においては、置各部を制御するプロセッサ装置使用るファームウエアまたはデータの少なくともいずれか一方が記憶される記憶手段と、外部のオーディオ機器から入力端子を介してデジタルオーディオインターフェース規格のデジタル信号を受け付けてデータ信号に変換する入力回路と、前記入力回路から入力される前データ信号の1フレーム中の所定タイミングで分周した位置にあるデータを抽出して解析することにより前記ファームウエアの書き換えを指示するコマンドおよび、前記ファームウエアの書き換え用データまたは参照用の更新データを認識する前記プロセッサ装置と、前記プロセッサ装置が認識した前記書き換え用データまたは前記更新データにより前記記憶手段内のファームウエアまたはデータの少なくともいずれか一方を書き換える書換手段とを具備する装置である電子機器において、前記デジタル信号は、プロセッサ装置の処理速度に応じた複数の分周形態のデータを含んでおり、前記データ信号から分周態様を示すデータが抽出され、その解析結果として前記プロセッサ装置が自己の処理速度に合致する書換指示コマンドを認識したときに、当該自己の処理速度に応じた分周形態のデータを選択して前記書換手段による書き換えを開始することを特徴とするTo solve the above problem, in the present invention, a storage means for pulp processor device controls the instrumentation置各portion at least one of firmware or data that is used is stored, input from an external audio device there an input circuit that converts the data signal receiving digital signals of the digital audio interface standard, the dividing positions at predetermined timing during one frame before SL data signal are entered from the input circuit via the terminal A command for rewriting the firmware by extracting and analyzing the data, the processor device for recognizing the firmware rewrite data or the reference update data, and the rewrite data recognized by the processor device Far in the storage means by the data or the updated data In the electronic device is a device for and a rewriting means for rewriting at least one of wear or data, the digital signal includes a data of a plurality of frequency division form according to the processing speed of the processor device, said data When data indicating a frequency division mode is extracted from the signal and the processor device recognizes a rewrite instruction command that matches its own processing speed as an analysis result, the data of the frequency division form corresponding to the own processing speed is obtained. It selects, and rewriting by the said rewriting means is started .

また、好ましい態様として、前記プロセッサ装置はさらに前記書換手段として機能するようにしてもよい。   Further, as a preferred aspect, the processor device may further function as the rewriting means.

また、前記プロセッサ装置、前記記憶手段、前記書換手段および前記プロセッサ装置によって制御される各部が設けられる装置本体と、前記入力回路が設けられるアダプタ部分とが別体に設けられ、前記装置本体には前記入力回路が出力するデータ信号が入力されるデータ入力端子が設けられ、前記データ入力端子と前記入力回路の出力側とが着脱自在にすることもできる。 In addition, a device main body provided with each part controlled by the processor device, the storage means, the rewriting means, and the processor device, and an adapter portion provided with the input circuit are provided separately, the data signal input circuit outputs are input provided Lud over data input terminal, before and Kide over data input terminal and the output side of the input circuit may be detachable.

また、電子機器としては、家庭用の電化製品であるエアコン、冷蔵庫、洗濯機、電話機、テレビなど種々の装置に適用することができる。   In addition, the electronic device can be applied to various devices such as an air conditioner, a refrigerator, a washing machine, a telephone, and a television that are household electric appliances.

家電製品などに用いられるプロセッサ装置のファームウエアをオーディオ機器の出力信号を用いて書き換えることができる。   The firmware of a processor device used for home appliances can be rewritten using an output signal of an audio device.

(実施形態の構成)
以下、本発明の実施の形態について説明する。図1は、本実施形態の構成を示すブロック図である。図において、1は制御回路であり、本実施形態の場合は家庭用の冷蔵庫を制御する。図示の10は、装置各部を制御するCPUであり、メモリ11およびフラッシュメモリ12に記憶されたプログラムに従って動作する。この実施形態の場合、フラッシュメモリ12にはファームウエア、CPU10が参照するデータ、OS(オペレーティングシステム)、アプリケーションプログラムなどが記憶されており、メモリ11はCPU10のワークエリアなどに使用される。
(Configuration of the embodiment)
Embodiments of the present invention will be described below. FIG. 1 is a block diagram showing the configuration of the present embodiment. In the figure, reference numeral 1 denotes a control circuit, which controls a household refrigerator in this embodiment. 10 shown in the figure is a CPU that controls each part of the apparatus, and operates according to programs stored in the memory 11 and the flash memory 12. In this embodiment, the flash memory 12 stores firmware, data referred to by the CPU 10, an OS (operating system), application programs, and the like, and the memory 11 is used as a work area of the CPU 10.

15はCPU10の制御の下に、冷蔵庫のコンプレッサーの駆動制御を行う駆動制御部であり、温度を設定する操作部15aが設定した温度となるように、温度センサ15bからの温度信号を監視しながら、コンプレッサーの制御を行う。また、駆動制御部15は、CPU10の制御の下に各種の表示を行う表示部15cを有している。なお、本実実施形態における制御回路1の構成は、一般的な冷蔵庫の制御回路と同様である。   Reference numeral 15 denotes a drive control unit that performs drive control of the compressor of the refrigerator under the control of the CPU 10 while monitoring the temperature signal from the temperature sensor 15b so that the temperature set by the operation unit 15a that sets the temperature is obtained. Control the compressor. In addition, the drive control unit 15 includes a display unit 15 c that performs various displays under the control of the CPU 10. The configuration of the control circuit 1 in the present embodiment is the same as that of a general refrigerator control circuit.

次に、図1に示す2は、ファームウエア更新のための信号を受け付ける入力回路である。入力回路2は、入力端子INとデジタルインターフェースレシーバ(以下、DIRと略称する)20を有している。   Next, 2 shown in FIG. 1 is an input circuit for receiving a signal for firmware update. The input circuit 2 includes an input terminal IN and a digital interface receiver (hereinafter abbreviated as DIR) 20.

入力端子INには、デジタルオーディオインターフェース規格の一つであるSPDIF(Sony/Philips Digital Interface Format)規格のデジタルオーディオ信号DASが入力される。本実施形態の場合は、本装置の外部にあるポータブルタイプのCDプレーヤ30がコンパクトディスク35を再生処理して、SPDIFの規格に従ったデジタルオーディオ信号DASを入力端子INに供給する。   A digital audio signal DAS of the SPDIF (Sony / Philips Digital Interface Format) standard, which is one of the digital audio interface standards, is input to the input terminal IN. In the present embodiment, a portable CD player 30 outside the apparatus reproduces the compact disc 35 and supplies a digital audio signal DAS according to the SPDIF standard to the input terminal IN.

デジタルオーディオ信号DASはDIR2によってI2Sバス(The Inter-IC Sound Bus)に適合した信号等に変換される。I2Sバスは、一般に2CH(ステレオ)の音声サンプリングデジタルデータの送受信に使用されている規格であり、このバスに含まれる信号には、図2に示すように、フレームを規定するワードクロックLRCLK(図2(イ))、各ビットのタイミングを示すビットクロックBCLK(図2(ロ))、転送されるデータの内容を示すデータ信号RDATA(図2(ハ))がある。ワードクロックLRCLKは、図2(イ)に示すように、Lレベルの期間がL−ch(左チャネル)を示し、Hレベルの期間がR−ch(右チャネル)を示す。なお、実際のI2S規格においては、図2(ニ)に示すように、データ信号RDATAはワードクロックLRCLKの立ち下がりから1ビットずれるように規定されているが、理解の簡単化のために、図2(ハ)に示すようにビットのずれがないものとして説明を行う。   The digital audio signal DAS is converted by DIR2 into a signal suitable for an I2S bus (The Inter-IC Sound Bus). The I2S bus is a standard generally used for transmission / reception of 2CH (stereo) audio sampling digital data. As shown in FIG. 2, a word clock LRCLK (see FIG. 2 (A)), a bit clock BCLK (FIG. 2 (B)) indicating the timing of each bit, and a data signal RDATA (FIG. 2 (C)) indicating the contents of the transferred data. In the word clock LRCLK, as shown in FIG. 2A, the L level period indicates L-ch (left channel), and the H level period indicates R-ch (right channel). In the actual I2S standard, as shown in FIG. 2 (d), the data signal RDATA is defined to be shifted by 1 bit from the falling edge of the word clock LRCLK. The description will be made assuming that there is no bit shift as shown in 2 (c).

また、I2Sバス規格においては、1フレームのデータ長は規定されておらず、任意であるが、本実施形態においては64ビットとしている。そして、本実施形態においては、片側チャネル32ビットのうちデータの内容を示す有効ビットは16ビットであり、その他のビットは制御用のデータや空き(予備)ビットとなっているが、説明の簡単化のために、以下においては、片側チャネル16ビットし、その全ビットが有効ビットであるとする(図3参照)。
また、本実施形態においては、CPU10には、DIR20からワードクロックLRCLKとデータ信号RDATAが供給されるようになっている。
In the I2S bus standard, the data length of one frame is not defined and is arbitrary, but in this embodiment, it is 64 bits. In this embodiment, the effective bits indicating the data contents of the 32 bits on one side channel are 16 bits, and the other bits are control data and empty (reserved) bits. For the sake of simplicity, in the following, it is assumed that one-side channel has 16 bits and all the bits are valid bits (see FIG. 3).
In the present embodiment, the word clock LRCLK and the data signal RDATA are supplied from the DIR 20 to the CPU 10.

ここで、CPU10はデータ信号RDATAに対して次のような読み取りを行うようになっている。すなわち、図3に示すように、ワードクロックLRCLKの立ち下がり、および立ち上がりから、時間τ1遅延したタイミングでデータ信号RDATAを読み取り、その後、時間τ2遅延したタイミングでデータ信号RDATAを3回読み取る。この例の場合、時間τ1は1フレームの約1/8の時間に設定され、時間τ2は1フレームの1/4に設定されている。この結果、図3に示すように、CPU10はデータ信号RDATAをL−ch、R−chについて4回ずつ、すなわち、1フレームで8回読み取ることになる。すなわち、本来1フレームあたり32ビットのレートで転送されるデータを、4分周した速さで読み取る。言い換えれば、4ビットずつ区切られた各区間に対して1回ずつ読み取りを行うようになっている。なお、図3においては、L−chの場合を示したが、R−chの場合も同様の読み取りが行われる。   Here, the CPU 10 reads the data signal RDATA as follows. That is, as shown in FIG. 3, the data signal RDATA is read at the timing delayed by the time τ1 from the falling and rising of the word clock LRCLK, and then the data signal RDATA is read three times at the timing delayed by the time τ2. In this example, the time τ1 is set to about 1/8 time of one frame, and the time τ2 is set to 1/4 of one frame. As a result, as shown in FIG. 3, the CPU 10 reads the data signal RDATA four times for L-ch and R-ch, that is, eight times in one frame. That is, data that is originally transferred at a rate of 32 bits per frame is read at a speed obtained by dividing it by four. In other words, reading is performed once for each section divided by 4 bits. Although FIG. 3 shows the case of L-ch, the same reading is performed also in the case of R-ch.

上記読み取り処理における時間τ1,τ2は、CPU10のソフトウエア処理によって作っても良く、また、図4に示すようにハードウエアで遅延時間を設定してもよい。図4に示す25はワードクロックLRCLKの立ち下がり、もしくは立ち上がりにおいてパルスを発生するパルス発生器であり、21は遅延時間がτ1に設定されたディレイ、22〜24はそれぞれ遅延時間がτ2に設定されたディレイである。図4に示す回路からは、ワードクロックLRCLKの立ち下がり(または立ち上がり)から時間τ1後にパルスが出力され、その後は時間τ2が経過する毎に3回にわたってパルスが出力される。これらのパルスをデータ信号RDATAの読み取りパルスとして用いる。   The time τ1 and τ2 in the reading process may be generated by software processing of the CPU 10, or the delay time may be set by hardware as shown in FIG. 4 is a pulse generator that generates a pulse at the falling or rising of the word clock LRCLK. 21 is a delay whose delay time is set to τ1, and 22 to 24 are each set to τ2. Delay. From the circuit shown in FIG. 4, a pulse is output after the time τ1 from the fall (or rise) of the word clock LRCLK, and thereafter, the pulse is output three times every time τ2 elapses. These pulses are used as reading pulses for the data signal RDATA.

ここで、CPU10の読み取りタイミング(サンプリングポイント)について他の例を説明する。本実施形態のように有効ビット長(図3の場合は、16ビット)を4つに区切った場合は、各区間の中において設定されればどのようなタイミングでもよい。例えば、図3に示すタイミングT1のようにビットとビットの間のタイミングでもよい。これは各区間においては、「0」データの連続、あるいは「1」データの連続が配置されるため、ビットの区切りの影響を受けないからであるが、データの配置についての詳細は後述する。   Here, another example of the reading timing (sampling point) of the CPU 10 will be described. When the effective bit length (16 bits in the case of FIG. 3) is divided into four as in this embodiment, any timing may be used as long as it is set in each section. For example, it may be a timing between bits as in a timing T1 shown in FIG. This is because “0” data continuation or “1” data continuation is arranged in each section and is not affected by the bit delimiter. Details of the data arrangement will be described later.

また、図4に示す回路のように各区間における読み取りタイミングが、正確な4分周に設定されなくてもよい。例えば、図3に示すタイミングT1〜T4のようにその間隔がバラバラであってもよい。したがって、読み取りタイミングの作り方としては、例えば、ビットクロックBCLKを使って、各区間内に入るタイミングを作っても良い。すなわち、フレームの開始から2ビットクロックBCLK目で読み取り、その後は4ビットクロックBCLKの間隔で読み取るようにしてもよいし、間隔はバラバラでも読み取りタイミングが各区間の中に設定されるようにビットクロックBCLKを用いて読み取りタイミングを設定してもよい。勿論、ビットクロックBCLKを用いずに、各区間内に読み取りタイミングを設定するように構成することもできる。   Further, as in the circuit shown in FIG. 4, the reading timing in each section may not be set to an accurate divide-by-4. For example, the intervals may vary as shown in timings T1 to T4 shown in FIG. Therefore, as a method of creating the read timing, for example, the timing that enters each section may be created using the bit clock BCLK. In other words, it may be read at the 2-bit clock BCLK from the start of the frame, and thereafter read at intervals of the 4-bit clock BCLK, or the bit clock so that the reading timing is set in each section even if the intervals vary. The read timing may be set using BCLK. Of course, the read timing can be set in each section without using the bit clock BCLK.

(実施形態の動作)
次に、上記構成によるこの実施形態の動作について説明する。まず、制御回路1は、一般的な冷蔵庫用の制御回路と同様にコンプレッサー等を制御する。すなわち、通常時は、入力回路2は動作に関与せず、制御回路1だけで動作が行われる。
(Operation of the embodiment)
Next, the operation of this embodiment configured as described above will be described. First, the control circuit 1 controls a compressor etc. similarly to the control circuit for general refrigerators. That is, in normal times, the input circuit 2 is not involved in the operation, and the operation is performed only by the control circuit 1.

次に、ユーザがフラッシュメモリ12に記憶されているファームウエアを書き換える処理について説明する。まず、ユーザは、新しいファームウエアが記録されているコンパクトディスク35をCDプレーヤ30にセットする。この場合、ファームウエアは、通常のコンパクトディスクの規格に従って記録され、そのサンプリングレートもコンパクトディスクの規格に従っている。   Next, a process in which the user rewrites the firmware stored in the flash memory 12 will be described. First, the user sets a compact disc 35 in which new firmware is recorded in the CD player 30. In this case, the firmware is recorded in accordance with the normal compact disc standard, and the sampling rate also conforms to the compact disc standard.

本実施形態において用いられるコンパクトディスク35には、通常のオーディオ用データとファームウエア書き換え用データとが混在している。これにより、CDプレーヤ30においては、音楽や音声の再生が行えるとともに、ファームウエアの書き換え用データを出力することが可能になっている。なお、データの混在の状態およびこれらのデータの読取処理については後述する。   In the compact disc 35 used in the present embodiment, normal audio data and firmware rewrite data are mixed. As a result, the CD player 30 can reproduce music and audio and output firmware rewriting data. The state of data mixing and the reading process of these data will be described later.

図1において、コンパクトディスク35から読み取られたデータは、DIR20によってI2Sバスに出力される。ここで、コンパクトディスク35に記録されるファームウエア書き換え用のデータは、1フレームを4ビットずつ8区間に分けた場合に、各区間については同じ値になるように設定されている。例えば、転送したい元のデータが2進表示で(1001)の場合は、図5に示すように、データ信号DAの最初の4ビットは(1111)となり、以下同様にして(0000)、(0000)、(1111)となる。   In FIG. 1, data read from the compact disc 35 is output to the I2S bus by the DIR 20. Here, the data for firmware rewriting recorded on the compact disc 35 is set to have the same value for each section when one frame is divided into eight sections of 4 bits. For example, if the original data to be transferred is in binary display (1001), the first 4 bits of the data signal DA are (1111) as shown in FIG. 5, and so on (0000), (0000). ), (1111).

図6に示す表1は本実施形態におけるL−ch(またはR−ch)の16ビットのデータが取り得る値を示している。この表1においては、各行が1回に転送される16ビットデータを示している。表1から分かるように、4ビットずつに区切られた各区間内においては、1もしくは0の同じ値が書き込まれている。   Table 1 shown in FIG. 6 shows values that can be taken by 16-bit data of L-ch (or R-ch) in the present embodiment. Table 1 shows 16-bit data in which each row is transferred at one time. As can be seen from Table 1, the same value of 1 or 0 is written in each section divided by 4 bits.

図6の右側に示す表2は表1に対応するものであり、表2の第1列はL−ch(またはR−ch)の16ビットデータの値を16進表示で示している。表2の第2列は10進表示を示し、第3列は最上位ビットを符号ビットしたときの符号付きの10進表示を示し、第4列はCPU10が読み取るデータを示している。ここで、第3列の符号付きの10進表示は、デジタルオーディオデータの符号付きの振幅に対応している。また、第4列は、言い換えれば、16ビットデータに埋め込まれたデータを示していることになる。   Table 2 shown on the right side of FIG. 6 corresponds to Table 1, and the first column of Table 2 shows the value of 16-bit data of L-ch (or R-ch) in hexadecimal notation. The second column of Table 2 shows a decimal display, the third column shows a signed decimal display when the most significant bit is a sign bit, and the fourth column shows data read by the CPU 10. Here, the signed decimal representation in the third column corresponds to the signed amplitude of the digital audio data. In other words, the fourth column indicates data embedded in 16-bit data.

以上のように、CPU10は連続する4ビットの区間内の適宜なタイミングにおいて1ビットずつデータを抽出することにより、L−chの16ビットから4ビットのデータ(0000)〜(1111)を認識する。したがって、L−ch、R−chからなる1フレームの32ビットのデータからは、8ビットのデータを抽出して認識することになる。そして、このようにして抽出したデータを解析することにより、コマンドとして認識したり、書き換え用のファームウエアのデータとして認識したりする。   As described above, the CPU 10 recognizes 4-bit data (0000) to (1111) from 16 bits of L-ch by extracting data bit by bit at an appropriate timing within a continuous 4-bit section. . Therefore, 8-bit data is extracted and recognized from 32-bit data of one frame including L-ch and R-ch. Then, by analyzing the data extracted in this way, it is recognized as a command or recognized as firmware data for rewriting.

ここで、ファームウエアの書き換え処理の一例を説明する。本実施形態においては、例えば、図13に示すようなフォーマットで一連の書き換えを指示する。
この図に示す例においては、まず、(1)「0x00」を10サンプル以上続ける。(2)その後に「0x55」をスタート識別子として配置し、(3)続けて英数文字を示す6バイトのデータを配置する。各1バイトの文字列のデータは、例えば「S」、「T」、「A」、「R」、「T」、「!」という文字列にする。次に、(4)送信データ数を2バイトで示すデータ、(5)予め決めた2バイトのコマンドを配置し、その後に(6)書き換え用のデータを続ける。最後に、(7)2バイトのチェックサムを付ける。
Here, an example of firmware rewriting processing will be described. In the present embodiment, for example, a series of rewriting is instructed in a format as shown in FIG.
In the example shown in this figure, first, (1) “0x00” is continued for 10 samples or more. (2) After that, “0x55” is arranged as a start identifier, and (3) 6-byte data indicating alphanumeric characters is arranged subsequently. Each 1-byte character string data is, for example, a character string “S”, “T”, “A”, “R”, “T”, “!”. Next, (4) data indicating the number of transmission data in 2 bytes, (5) a predetermined 2-byte command is arranged, and then (6) data for rewriting is continued. Finally, (7) add a 2-byte checksum.

以上のようなフォーマットによれば、(1)〜(3)をデータとして羅列すると、00、00、00、00、00、00、00、00、00、00、55、「S」、「T」、「A」、「R」、「T」、「!」となる。00というデータは曲の初めと終わりに発生し得るが、55、「S」、「T」、「A」、「R」、「T」、「!」という56ビットのデータに完全に一致するデータが現れるのは、1ビットに付き1/2の確率であるから、256分の一の確率となり、約1/72000兆でしか発生しない。すなわち、書き換えコマンドを誤認識することはまずあり得ない。 According to the above format, when (1) to (3) are enumerated as data, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 55, “S”, “T ”,“ A ”,“ R ”,“ T ”,“! ”. The data 00 can occur at the beginning and end of the song, but perfectly matches the 56-bit data 55, “S”, “T”, “A”, “R”, “T”, “!” data to appear, since one half of the probability per bit becomes a one probability of 2 56 minutes, it occurs only at about 1/72000 trillion. In other words, it is unlikely that the rewrite command will be erroneously recognized.

また、(4)〜(7)においては、受信データのチェックサムの確認も行えるから、これも含めて全てが一致する確率は、まずあり得ない。   In (4) to (7), since the checksum of the received data can be confirmed, there is no possibility that all of them including this will match.

以上のようにして、書き換えが指示されると、書き換え用のデータ(6)がフラッシュメモリ12に対して書き換えられる。なお、ファームウエアの書き換え時には、書換用のソフトウエアがフラッシュメモリ12からメモリ11に移されて実行される。   As described above, when rewriting is instructed, the rewriting data (6) is rewritten in the flash memory 12. When rewriting the firmware, rewriting software is transferred from the flash memory 12 to the memory 11 and executed.

また、本実施形態におけるコンパクトディスク35においては、オーディオ用データとファームウエア書換用データとが混在し、ファームウエアの書換と共に、オーディオ信号の再生も出来るようになっている。ここで、オーディオ信号再生時に発生するノイズについて考察する。   In the compact disc 35 according to the present embodiment, audio data and firmware rewriting data are mixed, and the audio signal can be reproduced together with the rewriting of the firmware. Now, consider the noise generated during audio signal playback.

上述したファームウエアの書き換え処理の最中あるいは書き換え処理とは別に、CDプレーヤ30においてはいつでもオーディオ用データの再生を行うことができる。上述した態様においては、オーディオ用データとファームウエア書き換え用データの記録位置が異なっているため、オーディオ用データが記録されている位置を再生するときは通常の楽音や音声が再生されるが、ファームウエア書き換え用データが記録されている位置を再生するときは発音される音はノイズとなる。しかしながら、本実施形態において発生されるノイズは以下のように小さいものである。   During the firmware rewriting process described above or separately from the rewriting process, the CD player 30 can always reproduce the audio data. In the embodiment described above, the recording position of the audio data and the firmware rewriting data is different, so that when playing back the position where the audio data is recorded, normal music and voice are reproduced. When reproducing the position where the data for wear rewriting is recorded, the sound that is generated becomes noise. However, the noise generated in this embodiment is small as follows.

図6に示すように、符号付き10進数(オーディオ信号の振幅に対応)の最大値と最小値との差は、「8191」であり、16進表示をすれば「1FFF」となる。この差を示すのに必要なビット数は13ビットとなる。一方、L−ch、またはR−chのデータはそれぞれ16ビットで構成されているから、ノイズとなる成分の振幅は、全ビット数(16)に較べ3ビット少ないことが分かる。   As shown in FIG. 6, the difference between the maximum value and the minimum value of the signed decimal number (corresponding to the amplitude of the audio signal) is “8191”, and “1FFF” when displayed in hexadecimal. The number of bits necessary to indicate this difference is 13 bits. On the other hand, since the L-ch and R-ch data are each composed of 16 bits, it can be seen that the amplitude of the noise component is 3 bits less than the total number of bits (16).

そして、オーディオ用データの最大振幅に対するノイズレベル(以下、単にノイズレベルという)は、1区間のビット数(以下、分周ビット数という)をxとすると、
20*log(0.5(x-1))dB
になるから、本実施形態の場合は、
20*log(0.53)dB
となり、すなわち、−18dBとなる。
The noise level (hereinafter simply referred to as noise level) with respect to the maximum amplitude of the audio data is represented by x as the number of bits in one section (hereinafter referred to as frequency division bit number).
20 * log (0.5 (x-1) ) dB
Therefore, in this embodiment,
20 * log (0.5 3 ) dB
I.e., -18 dB.

このように、比較的小さな音であり、ファームウエアを書き換えている最中に、急に大きな信号がヘッドホンやスピーカに供給されるという心配がない。また、ユーザが書き換えデータの記録されたコンパクトディスク35を、間違って他の再生機器で再生させた場合も、上記と同様にヘッドホンやスピーカに大きな信号が供給される心配がない。   Thus, the sound is relatively small, and there is no worry that a large signal is suddenly supplied to the headphones or speakers while the firmware is being rewritten. Further, when the user accidentally reproduces the compact disc 35 on which the rewritten data is recorded on another reproducing apparatus, there is no fear that a large signal is supplied to the headphones or the speaker as described above.

したがって、コンパクトディスク35に対して、音声による案内(ファームウエア書き換え手順の案内など)とファームウエアの書き換え処理を交互に行うようにデータ記録した場合でも、ユーザは案内を聞きながら、ノイズを気にすることなくファームウエアの書き換えを行うことができる。   Therefore, even when data is recorded on the compact disc 35 so that voice guidance (such as guidance for firmware rewriting procedures) and firmware rewriting processing are alternately performed, the user is concerned about noise while listening to the guidance. The firmware can be rewritten without doing so.

このように、本実施形態においては、冷蔵庫のような家電製品の制御回路のファームウエアを、専用の機器を用いることなく、一般的なCDプレーヤを用いて書き換えることができる。   As described above, in the present embodiment, the firmware of the control circuit of a home appliance such as a refrigerator can be rewritten using a general CD player without using a dedicated device.

また、図1に示すように、通常の家電製品の制御回路1に対して、DIR20と入力端子INが付加されているだけの構成であるから、構成が複雑でなく、また、安価に製造できる。特に、DIRや入力端子は汎用部品であるため、製造コストは極めて安価である。   Further, as shown in FIG. 1, since the DIR 20 and the input terminal IN are only added to the control circuit 1 of a normal home appliance, the configuration is not complicated and can be manufactured at low cost. . In particular, since the DIR and the input terminal are general-purpose parts, the manufacturing cost is extremely low.

また、上述した実施形態においては、データ信号RDATAを分周して読み取っているので、CPU10の動作が遅くても、充分に読み取り可能である。   In the embodiment described above, since the data signal RDATA is divided and read, the data signal RDATA can be read sufficiently even if the operation of the CPU 10 is slow.

なお、ファームウエア(あるいはCPUの参照用データ)の書き換え処理を行うデバイスを別途設け、書き換え処理はCPU以外のデバイスが行うように構成することもできる。   A device for rewriting the firmware (or CPU reference data) may be provided separately, and the rewriting process may be performed by a device other than the CPU.

(その他の実施態様)
本発明は種々の態様で実施することができる。以下にその一例を示す。
1.分周ビット数の変更
上述した実施形態においては、分周ビット数は4であったが、1区間を8ビットとする8ビット分周としてもよく、また、L−ch、R−chの16ビットデータを全て同じ値にする16ビット分周を行っても良い。
(Other embodiments)
The present invention can be implemented in various modes. An example is shown below.
1. Change of frequency division bit number In the above-described embodiment, the frequency division bit number is 4. However, 8-bit frequency division in which one section is 8 bits may be used, and 16 L-ch and R-ch 16 bits may be used. You may perform 16-bit frequency division which makes all bit data the same value.

図7に示す表3、表4は、8ビット分周の場合を示しており、各々図6に示す表1、表2に対応している。表4に示すように、符号付き10進数(オーディオ信号の振幅に対応)の最大値と最小値との差は、「511」であり、16進表示をすれば「1FF」となる。この差を示すのに必要なビット数は9ビットとなる。一方、L−ch、またはR−chのデータはそれぞれ16ビットで構成されているから、ノイズとなる成分の振幅は、オーディオ信号に較べ7ビット少ない。したがって、この例の場合のノイズレベルは、
20*log(0.57)dB
となり、すなわち、−42dBとなる。このように、非常に小さな音である。
Tables 3 and 4 shown in FIG. 7 show the case of 8-bit frequency division, and correspond to Tables 1 and 2 shown in FIG. 6, respectively. As shown in Table 4, the difference between the maximum value and the minimum value of the signed decimal number (corresponding to the amplitude of the audio signal) is “511”, and “1FF” in hexadecimal display. The number of bits necessary to indicate this difference is 9 bits. On the other hand, since the L-ch or R-ch data is composed of 16 bits, the amplitude of the noise component is 7 bits less than that of the audio signal. Therefore, the noise level in this example is
20 * log (0.5 7 ) dB
I.e., -42 dB. In this way, it is a very small sound.

次に、図8に示す表5、表6は、16ビット分周の場合を示しており、各々図6に示す表1、表2に対応している。表6に示すように、符号付き10進数の最大値と最小値との差は、わずか「1」であり、この差を示すのに必要なビット数は1ビットで済む。この例の場合のノイズレベルは、
20*log(0.515)dB
となり、すなわち、−90dBとなる。このように、ほとんど聞こえないほどに小さな音である。
Next, Tables 5 and 6 shown in FIG. 8 show the case of 16-bit frequency division, and correspond to Tables 1 and 2 shown in FIG. As shown in Table 6, the difference between the maximum value and the minimum value of the signed decimal number is only “1”, and only one bit is required to indicate this difference. The noise level in this example is
20 * log (0.5 15 ) dB
I.e., -90 dB. In this way, the sound is so small that it can hardly be heard.

また、図7、図8に示す例においては、上述した実施形態に較べて分周の効果が大きいので、さらに、速度の遅いCPUを用いる場合に好適である。また、本発明の適用は、1フレームの片側チャネルのビット数は実施形態で示したものに限らない。16ビット、24ビット、32ビット、64ビットなど種々のビット数に適用できる。また、片側チャネルの全ビット数における有効ビット長も任意のビットに適用可能であり、すなわち、片側チャネルの全ビットが有効ビットであってもよいし、任意のビット数が有効ビットであってもよい。   In the examples shown in FIGS. 7 and 8, since the effect of frequency division is greater than that of the above-described embodiment, it is more suitable when a slow CPU is used. The application of the present invention is not limited to the number of bits of one-side channel of one frame shown in the embodiment. The present invention can be applied to various bit numbers such as 16 bits, 24 bits, 32 bits, and 64 bits. In addition, the effective bit length in the total number of bits on one side channel can also be applied to any bit, that is, all the bits on one side channel may be effective bits, or the arbitrary number of bits may be effective bits. Good.

次に、上位ビットのビット数を増やすと、ノイズレベルが下がる効果があるので、この点について説明する。ここでは、片側チャネルが24ビットの場合を例にとって説明する。   Next, increasing the number of higher-order bits has the effect of lowering the noise level, so this point will be described. Here, a case where one side channel is 24 bits will be described as an example.

図9に示す表7、表8は、チャネルのビット数が24ビットで分周ビット数が4ビットの場合を示しており、各々図6に示す表1、表2に対応している。表8に示すように、符号付き10進数の最大値と最小値との差は、「2097151」であり、この差を示すのに必要なビット数は21ビットとなる。この例の場合のノイズレベルは、−18dBである。   Tables 7 and 8 shown in FIG. 9 show cases where the number of bits of the channel is 24 bits and the number of divided bits is 4 bits, and correspond to Tables 1 and 2 shown in FIG. As shown in Table 8, the difference between the maximum value and the minimum value of the signed decimal number is “2097151”, and the number of bits necessary to indicate this difference is 21 bits. The noise level in this example is -18 dB.

一方、図10に示す表9、表10は、図9の表7、表8に対応するものであるが、片側チャネルの24ビットから4ビット分だけ抽出して読み取るようにしている。そして、データ信号RDATAの下位側は、4ビットの区間で区切り、上位側は12ビットの区間としている。このようにすると、表10に示すように、符号付き10進数の最大値と最小値との差は、わずか「8191」となり、この差を示すのに必要なビット数は13ビットで済む。この例の場合のノイズレベルは、―66dBとなり、図9に示す場合に比較して著しく低減されることが分かる。   On the other hand, Tables 9 and 10 shown in FIG. 10 correspond to Tables 7 and 8 of FIG. 9, but only 4 bits are extracted from the 24 bits of the one-side channel and read. The lower side of the data signal RDATA is divided by a 4-bit section, and the upper side is a 12-bit section. In this way, as shown in Table 10, the difference between the maximum value and the minimum value of the signed decimal number is only “8191”, and the number of bits necessary to indicate this difference is only 13 bits. It can be seen that the noise level in this example is −66 dB, which is significantly reduced compared to the case shown in FIG.

また、ノイズ低減をさせるには、データ信号RDATAの上位側のビットを使用しない(初めから0にしておく)という手法も効果的である。上位より1ビット使わなくすると、音圧は元の最大振幅に対して1/2ずつ小さくなってゆくが、これはノイズに対しても同じだからである。図11に上位から1ビットずつ不使用にした場合のノイズの音圧レベルの減少度合い示す。   In order to reduce noise, a method of not using the upper bit of the data signal RDATA (set to 0 from the beginning) is also effective. If 1 bit is not used from the higher order, the sound pressure will be reduced by 1/2 with respect to the original maximum amplitude, because this is the same for noise. FIG. 11 shows the degree of reduction in the sound pressure level of noise when one bit is not used from the top.

2.音楽同時再生
上述した実施形態およびその他の態様においては、ファームウエアの書き換え用データ(もしくは参照用の更新データ)とオーディオ用データが別々の位置に記録されたコンパクトディスク35を用いて書き換えを行ったが、音楽等(音楽や案内音声など)を再生しながら、書き換えを行うこともできる。例えば、片側のチャネルが16ビットの場合に、下位8ビットを書き換え用のデータとして用い、上位8ビットは音楽再生用として用いる。楽音を示す16ビットのデータのうち、振幅に大きな影響を与えるのは上位側であるから、下位ビットをデータ書き換え用として用いても、若干の音質劣化はあるものの、人間の耳には音質劣化が感じないようにすることもできる。書き換え用に用いる下位ビットのビット数によるが、適宜なビット数であれば問題はない。この場合、再生される音楽が、なるべく最大振幅となるような楽曲であれば、その効果は大きい。このようにオーディオ用データをファームウエア書き換えと同時に再生すると、例えば、書き換え処理に対応した説明音声を記録し、書き換え時に操作手順案内を同期して再生することができる。なお、操作手順案内にBGMを重畳させることもできる。
2. Simultaneous music playback In the above-described embodiment and other aspects, rewriting was performed using a compact disc 35 in which firmware rewriting data (or reference update data) and audio data were recorded at different positions. However, rewriting can be performed while playing music or the like (music or guidance voice, etc.). For example, when the channel on one side is 16 bits, the lower 8 bits are used as data for rewriting, and the upper 8 bits are used for music reproduction. Of the 16-bit data representing the musical sound, the higher-order side has a great influence on the amplitude. Even if the lower-order bits are used for data rewriting, there is a slight deterioration in sound quality, but there is a slight deterioration in sound quality in the human ear. You can also avoid feeling. Depending on the number of lower bits used for rewriting, there is no problem as long as the number of bits is appropriate. In this case, if the music to be played is a music having the maximum amplitude as much as possible, the effect is great. When the audio data is reproduced at the same time as the firmware rewriting as described above, for example, an explanation voice corresponding to the rewriting process can be recorded, and the operation procedure guidance can be reproduced in synchronization with the rewriting. Note that BGM can be superimposed on the operation procedure guidance.

この場合のノイズについて考察すると、図12の表11に示すように、下位8ビットがノイズ成分となる。ここで、図12に示す表11、表12は、図6の表1、表2に対応するものである。この場合の符号付き10進数の最大値と最小値との差は、「255」となり、この差を示すのに必要なビット数は8ビットとなる。したがって、8ビット分のノイズが出ることになり、ファームウエア書き換えに使用した8ビットと同じで、ノイズ低減効果はない。なお、ノイズレベルは−48dBである。   Considering the noise in this case, as shown in Table 11 of FIG. 12, the lower 8 bits are noise components. Here, Tables 11 and 12 shown in FIG. 12 correspond to Tables 1 and 2 in FIG. In this case, the difference between the maximum value and the minimum value of the signed decimal number is “255”, and the number of bits necessary to indicate this difference is 8 bits. Accordingly, noise of 8 bits is generated, which is the same as 8 bits used for firmware rewriting and has no noise reduction effect. Note that the noise level is -48 dB.

3.書換指示コマンドの態様
上述した実施形態における書換指示の方法は一例であり、他にも種々の方法がある。例えば、図14に示すコマンドまたはコマンド認識パターンは、オーディオ用データではあり得ない、最大値と最小値が交互に繰り返されるパターンを書換開始のコマンドとする例である。図15は、最大値が一定時間以上継続するパターンを書換開始のコマンドとする例である。また、ミュート(0データ)を所定のパターンで配置し、ある決まった間隔のミュートパターンが認識できたら書換認識パターンと判定してもよい。
3. Mode of Rewrite Instruction Command The rewrite instruction method in the above-described embodiment is an example, and there are various other methods. For example, the command or command recognition pattern shown in FIG. 14 is an example in which a pattern in which a maximum value and a minimum value are alternately repeated, which cannot be audio data, is used as a rewrite start command. FIG. 15 is an example in which a pattern in which the maximum value continues for a certain time or longer is used as a rewrite start command. Alternatively, mute (0 data) may be arranged in a predetermined pattern, and if a mute pattern at a predetermined interval can be recognized, it may be determined as a rewrite recognition pattern.

4.その他
(イ)上述した実施形態においては、外部からデジタルオーディオ規格のオーディオ信号を提供する装置としてCDプレーヤを例にとったが、これに限らずDVDプレーヤ、MDプレーヤ、HDD(ハードディスク)プレーヤ、メモリプレーヤなど種々のオーディオ機器を用いることができる。
4). Others (a) In the above-described embodiment, a CD player is taken as an example of an apparatus for providing an audio signal of the digital audio standard from the outside. However, the present invention is not limited to this, and a DVD player, MD player, HDD (hard disk) player, memory Various audio devices such as a player can be used.

(ロ)上述した実施形態は、SPDIF規格のデジタルオーディオ信号に対する処理を行うものを対象にしたが、本発明の適用においては、これ以外のフォーマットのデジタル信号であっても構わない。要するに、所定のフォーマットの1フレーム内の所定タイミング位置にあるデータを抽出して書き換え処理を行うようにすればよい。また、ワードクロックLRCLKの周波数が違っても良い。例えば、44.1kHzや48kHzでもよい。 (B) The above-described embodiment is directed to processing for processing a SPDIF standard digital audio signal. However, in the application of the present invention, a digital signal of other formats may be used. In short, it is only necessary to perform rewriting processing by extracting data at a predetermined timing position in one frame of a predetermined format. Further, the frequency of the word clock LRCLK may be different. For example, it may be 44.1 kHz or 48 kHz.

(ハ)また、コンパクトディスクやDVDなどの記録媒体から読み取ったデータに限らず、例えば、所定のケーブルやインターネットを介して供給されるデータでも本発明は適用可能である。 (C) The present invention is not limited to data read from a recording medium such as a compact disk or DVD, but can be applied to data supplied via a predetermined cable or the Internet, for example.

(ニ)図6〜図8に示すように、多様な分周形態が可能であるが、例えば、コンパクトディスクに複数の分周形態のデータを記録しておき、CPUの処理速度に応じたデータを選択して書き換え処理を行うように構成してもよい。この場合においては、書換指示コマンドとして、分周態様を示すデータを含ませておけば、CPUは自己の速度に合致するコマンドを検出したときに書き換えを開始することができる。デジタル信号がインターネットなどを介して供給される場合も上記と同様である。 (D) As shown in FIG. 6 to FIG. 8, various frequency dividing modes are possible. For example, data in a plurality of frequency dividing modes is recorded on a compact disc and data corresponding to the processing speed of the CPU. A rewrite process may be performed by selecting. In this case, if the data indicating the frequency division mode is included as the rewrite instruction command, the CPU can start rewriting when it detects a command that matches its own speed. The same applies to the case where the digital signal is supplied via the Internet or the like.

(ホ)上述した実施形態においては、制御回路1は冷蔵庫を制御する回路であったが、制御回路1の制御対象はこれに限らず、エアコン、テレビ、電話機等種々の機器(家庭電化製品など)を制御対象とすることができる。 (E) In the embodiment described above, the control circuit 1 is a circuit that controls the refrigerator. However, the control circuit 1 is not limited to this, and various devices such as air conditioners, televisions, telephones (home appliances, etc.) ) Can be controlled.

(ヘ)DIR20とCPU10との接続は、図1に破線で示すようにスイッチSWを介して接続してもよい。この場合には、ファームウエアの書き換えを行うときだけ、スイッチSWをオンにする。スイッチSWのオンについては、操作者がスイッチ等を操作したときにオンとしてもよく、プログラムに基づくソフトウエア処理によりオンとしてもよい。 (F) The connection between the DIR 20 and the CPU 10 may be made via a switch SW as indicated by a broken line in FIG. In this case, the switch SW is turned on only when the firmware is rewritten. The switch SW may be turned on when the operator operates a switch or the like, or may be turned on by software processing based on a program.

(ト)上述した各実施の形態においては、1フレームmビットで構成される所定フォーマットのデジタル信号について、ビットクロックBCLKに基づいてmビットのフォーマットのまま読み取ることもでき、また、n分周された信号として読み取ることもできる。したがって、デジタル信号をmビットのフォーマットのまま読み取って処理することと、n分周された信号としてデータを抽出してプログラムの書き換えを行うことを混在させることができる。混在の態様によっては、時分割処理も可能であり、また、同時処理も可能である。 (G) In each of the above-described embodiments, a digital signal having a predetermined format composed of m bits per frame can be read in the m-bit format based on the bit clock BCLK, and is divided by n. It can also be read as a signal. Therefore, it is possible to mix reading and processing a digital signal in an m-bit format and rewriting a program by extracting data as a signal divided by n. Depending on the mode of mixing, time-sharing processing is possible, and simultaneous processing is also possible.

(チ)コンパクトディスク35内に、ファームウエア書き換え用データとオーディオ用データとを混在させず、ファームウエア書き換え用データだけを記録してもよい。 (H) The firmware rewriting data and the audio data may not be mixed in the compact disc 35, and only the firmware rewriting data may be recorded.

(リ)図1に示すCPU10に代えて、フラッシュメモリやRAMなどが内蔵されたCPUチップを用い、フラッシュメモリやRAM内のファームウエアやデータを書き換えるように構成してもよい。 (I) Instead of the CPU 10 shown in FIG. 1, a CPU chip having a built-in flash memory or RAM may be used to rewrite the firmware or data in the flash memory or RAM.

(ヌ)図1に示す実施形態においては、I2S規格を用いたが、本発明においてはこの規格に限らず、その他の種々のフォーマットを適用することができる。 (N) Although the I2S standard is used in the embodiment shown in FIG. 1, the present invention is not limited to this standard, and various other formats can be applied.

(ル)CPUの読み取りタイミングについては、実施形態で示した態様には限らない。例えば、図16(イ)に示すように、片側チャネルを4区間に区切った場合(より正確に表現すれば、片側チャネルの有効ビットを4区間に区切った場合)、各区間内で1回の読み取りタイミングが設定されればよいが、図16(ロ)に示すように4区間における区間3,4(下位側2ビットに相当)についてだけ読み取りタイミングを設定してもよい。この場合の区間3,4は「0」または「1」のデータの連続が書き込まれるが、区間1,2は任意のデータを書き込むことができる。また、図16(ハ)に示すように、各区間について読み取りタイミングを設定しても、区間1,2で抽出したデータは採用せずに無視し、区間3,4において読み取ったデータだけを抽出データとして採用してもよい。この場合においては、図16(ロ)の場合と同様に区間1,2は任意のデータを書き込むことができる。 (Le) The CPU read timing is not limited to the mode shown in the embodiment. For example, as shown in FIG. 16 (a), when the one-side channel is divided into four sections (more accurately, when the effective bits of the one-side channel are divided into four sections) The reading timing may be set, but the reading timing may be set only for the sections 3 and 4 (corresponding to the lower 2 bits) in the four sections as shown in FIG. In this case, the data of “0” or “1” is written in the sections 3 and 4, but any data can be written in the sections 1 and 2. In addition, as shown in FIG. 16C, even if the reading timing is set for each section, the data extracted in sections 1 and 2 are not adopted and ignored, and only the data read in sections 3 and 4 are extracted. It may be adopted as data. In this case, as in the case of FIG. 16B, arbitrary data can be written in the sections 1 and 2.

ここで、読み取りタイミングについて総括的にまとめると以下のとおりである。まず、読み取りタイミングは、1フレーム内の有効データ長をN個の区間に分けた場合の各区間内に設定されるサンプリングポイントである(図16(イ)の場合)。あるいは、図16(ヲ)のように、読み取りタイミングは、1フレーム内の有効データ長をN個の区間に分けた場合のM個(MはN未満)の区間内に設定されるサンプリングポイントである。また、図16(ハ)に示すように、読み取った抽出データのうち、特定のタイミングにあるものを無視してコマンドなどの解析や書き換え処理を行ってもよい。   Here, the reading timing is summarized as follows. First, the reading timing is a sampling point set in each section when the effective data length in one frame is divided into N sections (in the case of FIG. 16 (A)). Alternatively, as shown in FIG. 16 (W), the read timing is a sampling point set in M sections (M is less than N) when the effective data length in one frame is divided into N sections. is there. Further, as shown in FIG. 16C, analysis or rewrite processing of commands or the like may be performed while ignoring the read extracted data at a specific timing.

(ワ)上述した実施形態においてはCPU10を用いる例であったが、装置各部を制御するものとしてはDSP(デジタルシグナルプロセッサ)を用いても良い。要するに、プログラムに基づいて動作するプロセッサ装置であれば、本願発明を適用することができる。 (W) In the embodiment described above, the CPU 10 is used. However, a DSP (digital signal processor) may be used to control each part of the apparatus. In short, the present invention can be applied to any processor device that operates based on a program.

(カ)上述した実施形態においては、電子機器(家庭用冷蔵庫)の本体に入力回路2が内蔵されている例を示したが、入力回路2をアダプタ装置として本体とは別体に構成してもよい。より詳細に言えば、図17に示すように、制御回路1が設けられる本体側と入力回路2とを別体にするとともに、本体側に入力端子IN2を設け、この入力端子IN2に対してDIR2の出力線を着脱自在に接続するように構成する。この場合、入力端子IN2とDIR2の出力線とは、プラグ、ジャック、コネクタなどの着脱自在な接続端子を用いることによって接続すればよい。以上のように構成すると、ファームウエア等の書き換えをする時だけ、DIR2の出力側と入力端子IN2を接続すればよいので、通常の使用時には普通の電子機器となんら変わりない態様(例えば、電子機器が冷蔵庫であるなら、一般的な冷蔵庫とほぼ同じ態様)で使用することができる。 (F) In the above-described embodiment, the example in which the input circuit 2 is built in the main body of the electronic device (household refrigerator) has been shown. However, the input circuit 2 is configured as an adapter device separately from the main body. Also good. More specifically, as shown in FIG. 17, the main body side on which the control circuit 1 is provided and the input circuit 2 are separated, and an input terminal IN2 is provided on the main body side, and DIR2 is provided for the input terminal IN2. The output line is configured to be detachably connected. In this case, the input terminal IN2 and the output line of DIR2 may be connected by using a detachable connection terminal such as a plug, a jack, or a connector. With the above configuration, the output side of the DIR 2 and the input terminal IN2 only need to be connected only when rewriting the firmware or the like, so that it does not change from an ordinary electronic device during normal use (for example, an electronic device) If it is a refrigerator, it can be used in substantially the same manner as a general refrigerator).

本実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of this embodiment. 同実施形態におけるI2Sバスに含まれる信号を示す波形図である。It is a wave form diagram showing a signal contained in an I2S bus in the embodiment. 同実施形態においてデジタルオーディオ信号からデータを抽出する場合のタイミングを示すタイミングチャートである。4 is a timing chart showing timing when data is extracted from a digital audio signal in the embodiment. 同実施形態においては、データ抽出タイミングをハードウエアで抽出する場合の回路例を示すブロック図である。In the same embodiment, it is a block diagram which shows the circuit example in the case of extracting data extraction timing with a hardware. 同実施形態においてデジタルオーディオ信号のフォーマットに書き換え用のデータを埋め込む場合の処理方法を示す説明図である。FIG. 6 is an explanatory diagram showing a processing method when data for rewriting is embedded in the format of a digital audio signal in the embodiment. 同実施形態において4ビット分周を行う場合のフレームの内容を示す対応表である。6 is a correspondence table showing the contents of a frame when performing 4-bit frequency division in the embodiment. 同実施形態において8ビット分周を行う場合のフレームの内容を示す対応表である。6 is a correspondence table showing the contents of a frame when 8-bit frequency division is performed in the embodiment. 同実施形態において16ビット分周を行う場合のフレームの内容を示す対応表である。5 is a correspondence table showing the contents of a frame when performing 16-bit frequency division in the embodiment. 同実施形態において1フレームが24ビットの場合の分周の一態様におけるフレームの内容を示す対応表である。4 is a correspondence table showing the contents of a frame in one aspect of frequency division when one frame is 24 bits in the embodiment. 同実施形態において1フレームが24ビットの場合の分周の一態様におけるフレームの内容を示す対応表である。4 is a correspondence table showing the contents of a frame in one aspect of frequency division when one frame is 24 bits in the embodiment. 上位ビットを使用しない場合の雑音レベルの減少状態を示す図表である。It is a graph which shows the reduction state of the noise level when not using a high-order bit. 1フレームにおいて、オーディオ信号と書き換え用のデータとを混在させる場合の各フレームの内容を示す対応表である。10 is a correspondence table showing the contents of each frame when an audio signal and data for rewriting are mixed in one frame. 書換指示コマンドの他の例を示す図表である。12 is a chart showing another example of a rewrite instruction command. 書換指示コマンド認識の他の例を示す波形図である。It is a wave form diagram which shows the other example of rewriting instruction | command recognition. 書換指示コマンド認識の他の例を示す波形図である。It is a wave form diagram which shows the other example of rewriting instruction | command recognition. 読み取りタイミングの他の例を示すタイミングチャートである。It is a timing chart which shows the other example of reading timing. 図1に示す実施形態において、制御回路1が設けられる本体と入力回路2とを別体に構成した場合を示すブロック図である。In the embodiment shown in FIG. 1, it is a block diagram which shows the case where the main body provided with the control circuit 1 and the input circuit 2 are comprised separately.

符号の説明Explanation of symbols

10…CPU(抽出手段、書換手段)、11…メモリ、12…フラッシュメモリ(記憶手段、メモリ)、20…DIR、30…CDプレーヤ(外部のオーディオ機器)、35…コンパクトディスク(記録媒体)、IN…入力端子。 DESCRIPTION OF SYMBOLS 10 ... CPU (extraction means, rewriting means), 11 ... Memory, 12 ... Flash memory (storage means, memory), 20 ... DIR, 30 ... CD player (external audio device), 35 ... Compact disc (recording medium), IN: Input terminal.

Claims (3)

置各部を制御するプロセッサ装置使用るファームウエアまたはデータの少なくともいずれか一方が記憶される記憶手段と、
外部のオーディオ機器から入力端子を介してデジタルオーディオインターフェース規格のデジタル信号を受け付けてデータ信号に変換する入力回路と、
前記入力回路から入力される前データ信号の1フレーム中の所定タイミングで分周した位置にあるデータを抽出して解析することにより前記ファームウエアの書き換えを指示するコマンドおよび、前記ファームウエアの書き換え用データまたは参照用の更新データを認識する前記プロセッサ装置と、
前記プロセッサ装置が認識した前記書き換え用データまたは前記更新データにより前記記憶手段内のファームウエアまたはデータの少なくともいずれか一方を書き換える書換手段と
を具備する装置である電子機器において、
前記デジタル信号は、プロセッサ装置の処理速度に応じた複数の分周形態のデータを含んでおり、
前記データ信号から分周態様を示すデータが抽出され、その解析結果として前記プロセッサ装置が自己の処理速度に合致する書換指示コマンドを認識したときに、当該自己の処理速度に応じた分周形態のデータを選択して前記書換手段による書き換えを開始する
ことを特徴とする電子機器
Storage means for pulp processor device controls the instrumentation置各portion at least one of firmware or data that is used is stored,
An input circuit that converts the data signal receiving digital signals of the digital audio interface standard via the external input terminals from an audio device,
The command for instructing the rewriting of the firmware by the data extracted by the parsing in the dividing position at a predetermined timing in one frame before SL data signal from the input circuit are entered and, rewriting of the firmware The processor device for recognizing business data or reference update data;
In an electronic apparatus, comprising: rewriting means for rewriting at least one of firmware and data in the storage means by the rewriting data or the update data recognized by the processor device ,
The digital signal includes data of a plurality of frequency division forms according to the processing speed of the processor device,
When data indicating a frequency division mode is extracted from the data signal and the processor device recognizes a rewrite instruction command that matches the processing speed of its own as a result of the analysis, a frequency dividing mode corresponding to the processing speed of the self is obtained. Select data and start rewriting by the rewriting means
An electronic device characterized by that .
前記プロセッサ装置はさらに前記書換手段として機能することを特徴とする請求項1記載の電子機器。   The electronic device according to claim 1, wherein the processor device further functions as the rewriting unit. 前記プロセッサ装置、前記記憶手段、前記書換手段および前記プロセッサ装置によって制御される各部が設けられる装置本体と、前記入力回路が設けられるアダプタ部分とが別体に設けられ、前記装置本体には前記入力回路が出力するデータ信号が入力されるデータ入力端子が設けられ、前記データ入力端子と前記入力回路の出力側とが着脱自在に構成されていることを特徴とする請求項1または2記載の電子機器。 The apparatus main body provided with each part controlled by the processor device, the storage means, the rewriting means and the processor device, and the adapter part provided with the input circuit are provided separately, and the input to the apparatus main body is the input claim, characterized in that the circuit a data signal is inputted Lud over data input terminals provided to output, the previous and Kide over data input terminal and the output side of the input circuit is configured to detachably 1 Or the electronic device of 2.
JP2004344435A 2004-11-29 2004-11-29 Electronics Expired - Fee Related JP4839605B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004344435A JP4839605B2 (en) 2004-11-29 2004-11-29 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004344435A JP4839605B2 (en) 2004-11-29 2004-11-29 Electronics

Publications (2)

Publication Number Publication Date
JP2006155208A JP2006155208A (en) 2006-06-15
JP4839605B2 true JP4839605B2 (en) 2011-12-21

Family

ID=36633434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004344435A Expired - Fee Related JP4839605B2 (en) 2004-11-29 2004-11-29 Electronics

Country Status (1)

Country Link
JP (1) JP4839605B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10030878B2 (en) 2013-08-21 2018-07-24 Honeywell International Inc. User interaction with building controller device using a remote server and a duplex connection
US10047970B2 (en) 2013-08-21 2018-08-14 Honeywell International Inc. Devices and methods for interacting with an HVAC controller
US10088853B2 (en) 2012-05-02 2018-10-02 Honeywell International Inc. Devices and methods for interacting with an HVAC controller
US10145579B2 (en) 2013-05-01 2018-12-04 Honeywell International Inc. Devices and methods for interacting with a control system that is connected to a network
US10514677B2 (en) 2014-04-11 2019-12-24 Honeywell International Inc. Frameworks and methodologies configured to assist configuring devices supported by a building management system
US11841156B2 (en) 2018-06-22 2023-12-12 Honeywell International Inc. Building management system with natural language interface

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4823883B2 (en) * 2006-12-07 2011-11-24 池上通信機株式会社 Control signal arbitration method in digital audio signal processing apparatus
US20120072896A1 (en) * 2009-06-05 2012-03-22 Haruhito Watanabe Software updating system, electronic devices, and software updating method
JP5222403B2 (en) * 2009-06-08 2013-06-26 シャープ株式会社 Software update system, display unit, and software update method
JP4991817B2 (en) * 2009-10-05 2012-08-01 シャープ株式会社 Software update system, display unit, and software update method
JP4991818B2 (en) * 2009-10-05 2012-08-01 シャープ株式会社 Software update system, display unit, and software update method
JP2010282604A (en) * 2009-10-06 2010-12-16 Sharp Corp Software update system, electronic apparatus, and software update method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10320183A (en) * 1997-05-14 1998-12-04 Seiko Epson Corp Method for introducing program
JP2002149428A (en) * 2000-11-13 2002-05-24 Yamaha Corp Audio signal processor, and method for rewriting inside data of the audio signal processor
JP2003091428A (en) * 2001-09-14 2003-03-28 Accuphase Laboratory Inc Electronic equipment provided with program updating function, and program updating system for the electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10088853B2 (en) 2012-05-02 2018-10-02 Honeywell International Inc. Devices and methods for interacting with an HVAC controller
US10145579B2 (en) 2013-05-01 2018-12-04 Honeywell International Inc. Devices and methods for interacting with a control system that is connected to a network
US10508824B2 (en) 2013-05-01 2019-12-17 Ademco Inc. Devices and methods for interacting with a control system that is connected to a network
US10030878B2 (en) 2013-08-21 2018-07-24 Honeywell International Inc. User interaction with building controller device using a remote server and a duplex connection
US10047970B2 (en) 2013-08-21 2018-08-14 Honeywell International Inc. Devices and methods for interacting with an HVAC controller
US10054327B2 (en) 2013-08-21 2018-08-21 Honeywell International Inc. Devices and methods for interacting with an HVAC controller
US10670289B2 (en) 2013-08-21 2020-06-02 Ademco Inc. Devices and methods for interacting with an HVAC controller
US10782043B2 (en) 2013-08-21 2020-09-22 Ademco Inc. User interaction with building controller device using a remote server and a duplex connection
US10837667B2 (en) 2013-08-21 2020-11-17 Ademco Inc. Devices and methods for interacting with an HVAC controller
US11543143B2 (en) 2013-08-21 2023-01-03 Ademco Inc. Devices and methods for interacting with an HVAC controller
US10514677B2 (en) 2014-04-11 2019-12-24 Honeywell International Inc. Frameworks and methodologies configured to assist configuring devices supported by a building management system
US11841156B2 (en) 2018-06-22 2023-12-12 Honeywell International Inc. Building management system with natural language interface

Also Published As

Publication number Publication date
JP2006155208A (en) 2006-06-15

Similar Documents

Publication Publication Date Title
JP4839605B2 (en) Electronics
KR20060116383A (en) Method and apparatus for automatic setting equalizing functionality in a digital audio player
US7657335B2 (en) Digital audio signal reproducing apparatus
JP2002149428A (en) Audio signal processor, and method for rewriting inside data of the audio signal processor
JP4529605B2 (en) Electronics
JP4655164B2 (en) Electronics
JP2009289385A (en) Digital audio signal processing device and method
US8121713B2 (en) Electronic apparatus, method for generating digital signal, digital signal recording medium, and signal processing apparatus
JP4697346B2 (en) Playback device
JP4609599B2 (en) Electronics
JP2002095100A (en) Control data rewrite/add device, method, transmission method use therefor, and recording medium
JP2006085339A (en) Method for creating digital signal and digital signal recording medium
JP2000200465A (en) Audio signal processor
US8095696B2 (en) Control method for rewriting firmware on an electronic device
EP2149881A1 (en) Signal processing device
KR200344261Y1 (en) MP3 player for recording of sound regenerated in PC
KR20030057834A (en) An installation for language study having a comparative study mode and language study method thereof
JPH11231878A (en) Control method for sound field treatment
JP5648363B2 (en) Audio storage medium, audio device, and program update method for audio device
KR20140131735A (en) Method for reproducing high-quality sound source on mini audio set
KR20040041850A (en) Method of Automatically Setting Equalizer
KR20070101944A (en) Method for playing music using turntable effect and terminal using the same
JP2010278846A (en) Sound processor and program therefor
KR20100029315A (en) Method of playing exterior memory and audio apparatus using thereof
JP2009123255A (en) Reproducing device and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110706

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110906

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: 20110919

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141014

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees