JP2000181719A - Method for down loading program to communication equipment - Google Patents

Method for down loading program to communication equipment

Info

Publication number
JP2000181719A
JP2000181719A JP10356587A JP35658798A JP2000181719A JP 2000181719 A JP2000181719 A JP 2000181719A JP 10356587 A JP10356587 A JP 10356587A JP 35658798 A JP35658798 A JP 35658798A JP 2000181719 A JP2000181719 A JP 2000181719A
Authority
JP
Japan
Prior art keywords
program
data
update processing
update
communication 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.)
Pending
Application number
JP10356587A
Other languages
Japanese (ja)
Inventor
Ryuichi Awaya
龍一 粟屋
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP10356587A priority Critical patent/JP2000181719A/en
Publication of JP2000181719A publication Critical patent/JP2000181719A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To flexibly update the program of a communication equipment. SOLUTION: The firmware program of an incorporated communication system 1 is stored in a flash memory 3. At the time of updating the firmware pogrom, down loading data 11 is transferred from a common storage device through a data bus 8, a common line controller 7, a commination line 6, a network 5 and a communication line 4 as down loading data 11, Program data 12 for updating the firmware program and an update processing program 13 for rewriting the firmware program agasint the flash memory 3 are contained in the down loading data 11. Since the update processing program 13 is contained in down loading data 11, flexible correspondence can be executed even if the transfer data system of program data 12 is changed or the type of the flash memory 3 is changed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、携帯電話やファク
シミリ装置などの通信機器に、プログラム、特にファー
ムウェアプログラムをダウンロードする方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for downloading a program, particularly a firmware program, to a communication device such as a portable telephone or a facsimile machine.

【0002】[0002]

【従来の技術】フラッシュメモリなどをファームウェア
プログラムの格納用に備える通信機器にプログラムをダ
ウンロードすることに関連する先行技術は、たとえば特
開平7−64796などに開示されている。転送される
ファームウェアプログラムは、上位装置内の共通記憶媒
体に記憶されている。ファームウェアプログラムをデー
タとして転送した後は、通信機器に内蔵されているマス
クROMなどに予め記憶されている固定的な更新処理プ
ログラムが、転送されたファームウェアプログラムのデ
ータに基づいて、書換え可能な不揮発性メモリに対して
プログラムの更新処理を行う。マスクROMや、フラッ
シュメモりなどの書換え可能な不揮発性メモりは、一旦
格納されたデータを電源の供給が停止した後も保持する
ことができる不揮発性を有する。さらに、書込みには一
定のシーケンスを必要とし、単なるRAMのようなデー
タの書込み処理のみでは、データを記憶することはでき
ない。特にデータの更新を行う際には、それまで保持さ
れているデータを消去した後、新たなデータの書込みを
行う必要がある。しかも、データの消去は、一定のビッ
ト数を単位とするブロック毎に行う必要があり、プログ
ラムの更新部分が最小の消去ブロックサイズよりも小さ
くても、最小のブロックサイズ全体についてデータを一
旦消去した後、更新部分を含むブロック全体を新たに書
込む必要がある。
2. Description of the Related Art Prior art relating to downloading a program to a communication device having a flash memory or the like for storing a firmware program is disclosed in, for example, Japanese Patent Application Laid-Open No. 7-64796. The transferred firmware program is stored in a common storage medium in the host device. After the firmware program is transferred as data, a fixed update processing program stored in advance in a mask ROM or the like built in the communication device is rewritten based on the transferred firmware program data. Update the program to the memory. A rewritable nonvolatile memory such as a mask ROM or a flash memory has a nonvolatile property that data stored once can be retained even after power supply is stopped. Furthermore, a certain sequence is required for writing, and data cannot be stored only by writing data such as a simple RAM. In particular, when updating data, it is necessary to erase new data and then write new data. In addition, data must be erased for each block in units of a certain number of bits. Even if the updated portion of the program is smaller than the minimum erase block size, data is erased once for the entire minimum block size. Thereafter, it is necessary to newly write the entire block including the updated portion.

【0003】[0003]

【発明が解決しようとする課題】特開平7−64796
に開示されているようなダウンロードの方法では、たと
えばコストダウンの目的で書換え可能な不揮発性メモり
の種類を変更するような場合に、マスクROMに内蔵さ
れている更新処理プログラムでは、変更以前の書換え可
能な不揮発性メモリに固有の消去ブロックサイズや時定
数などが用いられているので、そのまま動作させること
ができない。このような場合、マスクROMに内蔵され
ている更新処理プログラムそのものも変更する必要があ
る。したがって、新規にマスクROMを準備することが
必要となり、マスクROMの新規な更新用プログラムの
ためのマスク費用も新たに発生する。このため、書換え
可能な不揮発性メモりの種類を変更しても、総合的¨な
費用が増加し、本来のコストダウンの目的と相反した事
態を招くという問題点がある。
Problems to be Solved by the Invention Japanese Patent Application Laid-Open No. 7-64796
In the case of changing the type of rewritable non-volatile memory for the purpose of cost reduction, for example, in the download method disclosed in Since the erasable block size and the time constant specific to the rewritable nonvolatile memory are used, the memory cannot be operated as it is. In such a case, it is necessary to change the update processing program itself stored in the mask ROM. Therefore, it is necessary to prepare a new mask ROM, and a mask cost for a new program for updating the mask ROM is newly generated. For this reason, even if the type of the rewritable nonvolatile memory is changed, there is a problem that the total cost increases and a situation contrary to the original cost reduction purpose is caused.

【0004】また何らかの理由によって、転送時のデー
タ形式を変更する必要が生じる場合もあり、マスクRO
M内蔵の固定的な更新処理プログラムで新しい転送時の
データ形式に対応させることが不可能であるという問題
点もある。
In some cases, it is necessary to change the data format at the time of transfer for some reason.
There is also a problem that it is impossible to make the fixed update processing program built in M correspond to the new data format at the time of transfer.

【0005】本発明の目的は、プログラムの更新を固定
的ではなく柔軟に行うことができる通信機器へのプログ
ラムのダウンロード方法を提供することである。
An object of the present invention is to provide a method of downloading a program to a communication device, which can flexibly update a program, not fixedly.

【0006】[0006]

【課題を解決するための手段】本発明は、プログラム格
納用として書換え可能なメモリを具備する通信機器に、
該通信機器の通信機能を介してプログラム更新用のデー
タを転送後の更新処理プログラムとをともに転送し、転
送後は該通信機器が転送された更新処理プログラムを実
行することを特徴とする通信機器へのプログラムのダウ
ンロード方法である。
SUMMARY OF THE INVENTION The present invention relates to a communication device having a rewritable memory for storing a program.
A communication device for transferring data for program update via a communication function of the communication device together with an updated processing program, and after the transfer, the communication device executes the transferred update program. How to download a program to

【0007】本発明に従えば、通信機器のプログラムを
更新するためのプログラム更新用データとともに、転送
後の更新処理プログラムも転送するダウンロードを行う
ので、書換え可能なメモりの種類を変更した場合でも、
メモりへのプログラムデータの格納のためシーケンスの
変更にも柔軟に対応し、変更されたメモりの種類に応じ
た手順でプログラムを更新することができる。また何ら
かの理由で転送データの形式を変更しても、変更された
データの形式に対応して更新用のプログラムデータを取
扱うことができるように更新処理プログラムを変更する
ことができるので、転送データの形式を改良してダウン
ロードの時間を短縮したりすることも可能となる。
[0007] According to the present invention, the update processing program after the transfer is downloaded together with the program update data for updating the program of the communication device. Therefore, even when the type of rewritable memory is changed, the data is updated. ,
Since the program data is stored in the memory, the sequence can be flexibly changed, and the program can be updated in a procedure according to the type of the changed memory. Also, even if the format of the transfer data is changed for some reason, the update processing program can be changed so that the update program data can be handled in accordance with the changed data format. It can also improve the format and shorten the download time.

【0008】また本発明は、前記通信機器を、通信ネッ
トワークを介して、プログラム更新用データおよび転送
後の更新処理プログラムのダウンロード制御を行う更新
制御手段と、データバス上のデータの該ネットワークへ
の送出制御を行う共通線制御手段とに接続することを特
徴とする。
The present invention also provides an update control means for controlling the communication device to download program update data and an updated update processing program via a communication network, and to transmit data on a data bus to the network. It is characterized by being connected to common line control means for performing transmission control.

【0009】本発明に従えば、通信ネットワークを介し
てプログラム変更用データおよび転送後の更新処理プロ
グラムのダウンロード制御を行う更新制御手段と、デー
タバス上のデータの該ネットワークへの送出制御を行う
共通線制御手段とに接続されるので、データバス上のデ
ータを通信機器にダウンロードすることができる。
According to the present invention, update control means for controlling download of program change data and transferred update processing program via a communication network, and common control for controlling transmission of data on a data bus to the network. Since it is connected to the line control means, data on the data bus can be downloaded to the communication device.

【0010】また本発明は、前記ネットワークには、前
記プログラム更新用のデータおよび転送後の更新処理プ
ログラムのダウンロード時に操作するシステム制御卓が
具備されることを特徴とする。
The present invention is also characterized in that the network is provided with a system control console operated when downloading the data for updating the program and the update processing program after the transfer.

【0011】本発明に従えば、ネットワークにはプログ
ラム更新用のデータおよび転送後の更新処理プログラム
のダウンロード時に操作するシステム制御卓が具備され
るので、システム制御卓を操作して、通信機器を動作さ
せるためのプログラムの更新用のデータとともに転送後
の更新処理プログラムをダウンロードすることができ
る。
According to the present invention, since the network is provided with a system control console operated when downloading data for updating the program and the update processing program after the transfer, the system control console is operated to operate the communication equipment. The update processing program after the transfer can be downloaded together with the data for updating the program for causing the update.

【0012】また本発明は、前記通信機器と前記ネット
ワークとは無線で接続されることを特徴とする。
Further, the present invention is characterized in that the communication device and the network are connected wirelessly.

【0013】本発明に従えば、通信ネットワークとは、
無線を介して接続されるので、たとえば携帯電話などの
無線を利用した通信機器のプログラムを容易に更新する
ことができる。
According to the invention, the communication network is:
Since the connection is established via wireless communication, a program of a communication device using wireless communication such as a mobile phone can be easily updated.

【0014】また本発明は、前記プログラム更新用のデ
ータおよび転送後の更新処理プログラムのダウンロード
時に、プログラム更新用のデータおよび転送後の更新処
理プログラムの格納場所を連続しない2つの記憶領域に
分割して個別に格納することを特徴とする。
Further, the present invention divides the storage location of the program update data and the transferred update processing program into two non-contiguous storage areas when downloading the program update data and the transferred update processing program. And stored individually.

【0015】本発明に従えば、プログラム更新用のデー
タと転送後の更新処理プログラムとを、連続しない2つ
の記憶領域に分割して個別に格納するので、ダウンロー
ド後の更新処理に記憶領域の管理を容易に行うことがで
きる。
According to the present invention, the data for updating the program and the update processing program after the transfer are divided into two non-contiguous storage areas and stored separately, so that the management of the storage areas is performed in the update processing after the download. Can be easily performed.

【0016】また本発明は、前記書換え可能なメモリに
格納されるプログラムは、ダウンロードされた前記更新
処理プログラムによるプログラム更新後に、更新処理プ
ログラムによって提供される更新処理プログラム自身の
格納領域の情報に従い、更新後に該更新処理プログラム
を消去することを特徴とする。
Further, according to the present invention, the program stored in the rewritable memory is, after the program is updated by the downloaded update processing program, according to information in a storage area of the update processing program itself provided by the update processing program. After the update, the update processing program is deleted.

【0017】本発明に従えば、ダウンロードされる更新
処理プログラムでプログラムの更新を行った後、更新処
理プログラムが提供する更新処理プログラム自信の格納
領域の情報に従って、更新後のプログラムで更新処理プ
ログラムを消去するので、更新処理プログラムを記憶し
ておく記憶領域が解放され、効率的なメモリの活用を行
うことができる。
According to the present invention, after updating the program with the downloaded update processing program, the update program is updated with the updated program according to the information of the storage area of the update processing program provided by the update processing program. Since the erasure is performed, the storage area for storing the update processing program is released, and the memory can be efficiently used.

【0018】また本発明は、前記更新処理プログラムと
ともに、転送される前記プログラム更新用のデータは、
圧縮されたデータ形式で転送され、該更新処理プログラ
ムが解凍して記憶領域に展開することを特徴とする。
Further, according to the present invention, the program update data transferred together with the update processing program includes:
The data is transferred in a compressed data format, and the update processing program is decompressed and expanded in a storage area.

【0019】本発明に従えば、プログラムの更新用デー
タは圧縮されたデータ形式で転送されるので、転送に要
する時間を短縮することができる。更新処理プログラム
は圧縮されたデータ形式を解凍して記憶領域に展開する
ので、プログラムの更新用のデータとして使用可能な状
態にすることができる。また、フラッシュメモリなどの
書換え可能な不揮発性メモリにプログラムを格納する場
合には、固有の消去ブロックサイズ毎に解凍して、プロ
グラムの更新時に必要となる記憶領域のサイズを低減す
ることもできる。また、データの解凍処理を更新制御プ
ログラムで行うので、データの圧縮処理を改良するよう
なときであっても併せて解凍処理についても変更するこ
とができ、転送時間の一層の短縮を図ることができる。
According to the present invention, since the update data of the program is transferred in a compressed data format, the time required for the transfer can be reduced. The update processing program decompresses the compressed data format and expands it in the storage area, so that it can be used as data for updating the program. When the program is stored in a rewritable nonvolatile memory such as a flash memory, the size of a storage area required for updating the program can be reduced by decompressing the program for each unique erase block size. Further, since the data decompression process is performed by the update control program, the decompression process can be changed at the same time even when the data compression process is improved, and the transfer time can be further reduced. it can.

【0020】本発明は、転送される前記更新処理プログ
ラムは、前記通信機器に前記書換え可能なメモリとして
搭載される不揮発性メモリに固有の消去ブロックサイズ
単位毎に、1回または複数回の更新処理を繰返して行う
ことを特徴とする。
[0020] In the present invention, the transferred update processing program may be updated once or plural times for each erase block size unit unique to a nonvolatile memory mounted on the communication device as the rewritable memory. Is repeatedly performed.

【0021】本発明に従えば、転送される更新処理プロ
グラムは、通信機器に搭載される書換え可能な不揮発性
メモリに固有の消去ブロックサイズ単位毎に1回または
複数回の更新処理を繰返して行うので、複数の消去ブロ
ック単位にまたがる更新処理を容易に行うことができ
る。
According to the present invention, the transferred update processing program repeats the update processing once or plural times for each erase block size unit unique to the rewritable nonvolatile memory mounted on the communication device. Therefore, it is possible to easily perform the update process over a plurality of erase block units.

【0022】[0022]

【発明の実施の形態】図1は、本発明の実施の一形態
で、プログラム更新のためのダウンロードを行う構成を
示す。組込み型通信システム1は、たとえば電話機、フ
ァクシミリ装置、テレビ電話装置などに組込まれ、デー
タ通信の機能を提供する。組込み型通信システム1に
は、制御装置となるプロセッサ2と、プロセッサ2が組
込み型通信システム1として必要な動作を行うためのフ
ァームウェアプログラムを格納する書換え可能な不揮発
性メモリとしてのフラッシュメモリ3とが含まれる。
FIG. 1 shows an embodiment of the present invention, in which a configuration for downloading for updating a program is shown. The built-in communication system 1 is built in, for example, a telephone, a facsimile machine, a video phone, and the like, and provides a data communication function. The embedded communication system 1 includes a processor 2 as a control device, and a flash memory 3 as a rewritable nonvolatile memory for storing a firmware program for the processor 2 to perform an operation required as the embedded communication system 1. included.

【0023】組込み型通信システム1は、通信路4を介
してネットワーク5と接続可能である。ネットワーク5
は、たとえば公衆電話回線網であり、通信路4はその加
入者線である。公衆電話回線網に接続する場合には、い
わゆるPPP接続を行う。ネットワーク5は、専用線の
回線であってもよい。ネットワーク5には通信路6を介
して共通線信号制御装置7が接続される。共通線信号制
御装置7は、データバス8を介して、中央処理装置9、
共通記憶装置10などに接続される。中央処理装置9
は、更新制御手段として、組込み型通信システム1にダ
ウンロードするファームウェアプログラムを格納する共
通記憶装置10から、データバス8を介してファームウ
ェアプログラムを読出し、共通線信号制御装置7から通
信路6、ネットワーク5および通信路4を介して組込み
型通信システム1に転送させることができる。この転送
のためには、組込み型通信システム1から中央処理装置
9に対してファームウェアプログラムの転送の要求を行
う。
The embedded communication system 1 can be connected to a network 5 via a communication path 4. Network 5
Is, for example, a public telephone line network, and the communication path 4 is its subscriber line. When connecting to a public telephone network, a so-called PPP connection is performed. The network 5 may be a dedicated line. A common line signal control device 7 is connected to the network 5 via a communication path 6. The common line signal control device 7 is connected to the central processing unit 9 via the data bus 8.
It is connected to the common storage device 10 and the like. Central processing unit 9
Reads the firmware program via the data bus 8 from the common storage device 10 storing the firmware program to be downloaded to the embedded communication system 1 as the update control means, and reads the firmware from the common line signal control device 7 to the communication path 6 and the network 5 And the data can be transferred to the embedded communication system 1 via the communication path 4. For this transfer, the embedded communication system 1 requests the central processing unit 9 to transfer the firmware program.

【0024】共通記憶装置10から組込み型通信システ
ム1に転送されるダウンロードデータ11は、プログラ
ムデータ12と更新処理プログラム13とから成る。本
実施形態では、フラッシュメモリ3に格納されるファー
ムウェアプログラムの更新時に、プログラムデータ12
とともに更新処理プログラム13もダウンロードデータ
11として転送するので、フラッシュメモリ3の交換の
ような場合にも、交換されるフラッシュ3に合わせた更
新処理プログラム13に変更することができ、柔軟に対
応させることができる。また、転送時のプログラムデー
タ12のデータ形式を、組込み型通信システム1側のフ
ァームウェアから独立に設定し、更新処理プログラム1
3でデータ形式に合わせたプログラムの更新を行わせる
ことができる。
The download data 11 transferred from the common storage device 10 to the embedded communication system 1 comprises program data 12 and an update processing program 13. In the present embodiment, when the firmware program stored in the flash memory 3 is updated, the program data 12
At the same time, the update processing program 13 is also transferred as the download data 11, so that even in the case of replacement of the flash memory 3, the update processing program 13 can be changed to the update processing program 13 according to the flash 3 to be replaced, so that it can be flexibly handled Can be. Further, the data format of the program data 12 at the time of transfer is set independently of the firmware of the embedded communication system 1, and the update processing program 1
In step 3, the program can be updated according to the data format.

【0025】さらにデータバス8には、システム制御卓
14を接続することもできる。システム制御卓14に
は、共通記憶装置10に格納されているファームウェア
プログラムを、組込み型通信システム1をその転送経路
とともに指定して転送させる操作を行うこともできる。
システム制御卓14に対して行われる操作は中央処理装
置9にデータバス8を介して転送され、中央処理装置
9、ダウンロードデータ11の形式のファームウェアプ
ログラムを共通記憶装置10から読出して組込み型通信
システム1に転送するように制御することができる。組
込み型通信システム1内には、ダウンロードされるデー
タやプログラムを一時的に記憶するRAM15も設けら
れる。
Further, a system control console 14 can be connected to the data bus 8. The system control console 14 can also perform an operation of transferring the firmware program stored in the common storage device 10 by specifying the embedded communication system 1 along with its transfer path.
Operations performed on the system control console 14 are transferred to the central processing unit 9 via the data bus 8, and the central processing unit 9 reads out a firmware program in the form of download data 11 from the common storage device 10 to read the embedded communication system. 1 can be controlled. The embedded communication system 1 also includes a RAM 15 for temporarily storing downloaded data and programs.

【0026】図2は、本発明の実施の他の形態、通信機
器である携帯電話端末21にファームウェアプログラム
をダウンロードするための構成を示す。本実施形態で
は、複数の携帯電話端末21を、接続して交換システム
として構成することができる。各携帯電話端末21内に
は、ファームウェアプログラムで動作するプロセッサ
と、ファームウェアプログラムを格納するフラッシュメ
モリ23とが含まれる。個々の携帯電話端末21は、無
線通信路24を介して公衆電話回線網などのネットワー
ク25に接続される。ネットワーク25は、通信路26
を介して交換機能を有するダイアルアップルータ27に
接続される。ダイアルアップルータ27は、商品名「イ
ーサネット」などのローカルエリアネットワーク(以下
「LAN」と略称する)28を介して中央処理装置29
や共通記憶装置30などと接続される。
FIG. 2 shows another embodiment of the present invention, a configuration for downloading a firmware program to a portable telephone terminal 21 which is a communication device. In the present embodiment, a plurality of mobile phone terminals 21 can be connected to form an exchange system. Each mobile phone terminal 21 includes a processor operated by a firmware program and a flash memory 23 for storing the firmware program. Each mobile phone terminal 21 is connected to a network 25 such as a public telephone network via a wireless communication path 24. The network 25 includes a communication path 26
Is connected to a dial-up router 27 having a switching function. The dial-up router 27 is connected to a central processing unit 29 via a local area network (hereinafter abbreviated as “LAN”) 28 such as a product name “Ethernet”.
And the common storage device 30.

【0027】共通記憶装置30内には、ダウンロードデ
ータ31が格納されており、ダウンロードデータ31
は、携帯電話端末21のフラッシュメモリ23に格納さ
れているファームウェアプログラムの更新用のプログラ
ムデータ32と、更新処理プログラム33とを含む。L
AN28には、ダウンロードデータ31を携帯電話端末
21にダウンロードする際に操作するパーソナルコンピ
ュータ34も接続される。
In the common storage device 30, download data 31 is stored.
Includes program data 32 for updating a firmware program stored in the flash memory 23 of the mobile phone terminal 21 and an update processing program 33. L
The AN 28 is also connected to a personal computer 34 that is operated when downloading the download data 31 to the mobile phone terminal 21.

【0028】携帯電話端末21では、プロセッサ22が
フラッシュメモリ23の未書込み状態の検出、または書
込まれている内容に異常があることの検出を、ファーム
ウェアプログラムの一環として行っている。未書込み状
態または内容の異常が検出されると、携帯電話端末21
から、中央処理装置29に対してダウンロードサービス
の要求が自動的に行われる。携帯電話端末21の使用者
が、ダウンロードサービスの要求を行うことができる。
またパーソナルコンピュータ34から、特定の携帯電話
端末21を指定してダウンロードサービスの要求を行う
こともできる。
In the portable telephone terminal 21, the processor 22 detects the unwritten state of the flash memory 23 or the abnormality of the written contents as part of the firmware program. When an unwritten state or an abnormal content is detected, the mobile phone terminal 21
Then, a request for a download service is automatically made to the central processing unit 29. The user of the mobile phone terminal 21 can request a download service.
Further, a request for a download service can be made from the personal computer 34 by specifying a specific mobile phone terminal 21.

【0029】中央処理装置29は、携帯電話端末21に
対して、プログラム更新の用意ができているときなど
に、ダウンロードサービスの提案を行うこともできる。
携帯電話端末21では、中央処理装置29からのダウン
ロードサービスの提案に応じて、ダウンロードサービス
の要求を行うこともできる。携帯電話端末21がダウン
ロードを要求する際には、携帯電話端末21の識別番号
を含む所定の書込み要求オーダを、無線通信路24、ネ
ットワーク25、通信路26、ダイアルアップルータ2
7およびLAN28を介して中央処理装置29に知らせ
る。
The central processing unit 29 can also propose a download service to the mobile phone terminal 21 when a program update is ready.
The mobile phone terminal 21 can also make a request for a download service in response to a proposal for the download service from the central processing unit 29. When the mobile phone terminal 21 requests a download, a predetermined write request order including the identification number of the mobile phone terminal 21 is sent to the wireless communication path 24, the network 25, the communication path 26, and the dial-up router 2.
7 and to the central processing unit 29 via the LAN 28.

【0030】中央処理装置29は、書込み要求オーダを
受取ると、その中の識別番号とデータとを解析して、ダ
ウンロードするプログラムデータ32と更新処理プログ
ラム33とから成るダウンロードデータ31を、共通記
憶装置30から読出す。共通記憶装置30から読出され
るダウンロードデータ31は、携帯電話端末21のフラ
ッシュメモリ23のみに書込むための識別信号を、たと
えば先頭に付加してLAN28、ダイアルアップルータ
27、通信路26、ネットワーク25および無線通信路
24を介して携帯電話端末21に送出される。ダウンロ
ードデータ31をRAM35に記憶して受取った携帯電
話端末21では、プロセッサ22が先頭に付加されてい
る識別番号に基づいて、プログラムデータ32をフラッ
シュメモリ23に書込むか否かを判断する。書込むと判
断されるときにはダウンロードデータ31として転送さ
れる更新処理プログラム33を実行し、フラッシュメモ
リ23にプログラムデータ32を書込む処理を行う。こ
こで、ダウンロード後の更新処理プログラム33にプロ
セッサ22の制御が移って更新処理がされる。ダウンロ
ードの際の携帯電話端末21と中央処理装置29との間
の信号のやり取りは、LAN28を介してパーソナルコ
ンピュータ34で表示し、監視することもできる。ま
た、パーソナルコンピュータ34の操作で、携帯電話端
末21を指定し、そのフラッシュメモリ23にファーム
ウェアプログラムをダウンロードするように指定するこ
とも可能である。この場合には、パーソナルコンピュー
タ34の操作で、携帯電話端末21の機種に関する識別
番号のみを指定し、指定した機種の携帯電話端末21す
べてに対し、一括してファームウェアプログラムをダウ
ンロードする制御も可能である。なお、携帯電話端末2
1は、いわゆる携帯電話や、簡易型のPHSなどを適用
対象とすることができる。
Upon receiving the write request order, the central processing unit 29 analyzes the identification number and the data in the order, and stores the download data 31 including the program data 32 to be downloaded and the update processing program 33 in the common storage device. Read from 30. In the download data 31 read from the common storage device 30, an identification signal for writing only into the flash memory 23 of the mobile phone terminal 21 is added, for example, to the head of the download data 31, and the LAN 28, the dial-up router 27, the communication path 26, the network 25, The data is transmitted to the mobile phone terminal 21 via the wireless communication path 24. In the mobile phone terminal 21 that has received the download data 31 stored in the RAM 35, the processor 22 determines whether to write the program data 32 to the flash memory 23 based on the identification number added to the head. When it is determined to write, the update processing program 33 transferred as the download data 31 is executed, and processing for writing the program data 32 to the flash memory 23 is performed. Here, the control of the processor 22 is transferred to the update processing program 33 after the download and the update processing is performed. The exchange of signals between the mobile phone terminal 21 and the central processing unit 29 at the time of downloading can be displayed on the personal computer 34 via the LAN 28 and monitored. It is also possible to specify the mobile phone terminal 21 by operating the personal computer 34 and to download the firmware program to the flash memory 23 thereof. In this case, by operating the personal computer 34, it is possible to specify only the identification number relating to the model of the mobile phone terminal 21 and to download the firmware program collectively to all the mobile phone terminals 21 of the specified model. is there. Note that the mobile phone terminal 2
1 can be applied to a so-called mobile phone, a simplified PHS, or the like.

【0031】以上説明した各実施形態の組込み型通信シ
ステム1や携帯電話端末21は、ダウンロードデータ1
1,31を一時的に記憶するRAM15,35などを備
えている。プログラムデータ12,32と更新処理プロ
グラム13,33とは、そのようなRAM15,35の
連続しない記憶領域に分けて格納することもできる。デ
ータ領域とプログラム領域とを分離して管理した方が、
RAM15,35の記憶領域の管理が容易だからであ
る。また、プログラムの格納にフラッシュメモリ3,2
3を用いる場合には、その記憶内容の更新を、固有の消
去ブロックサイズ単位毎に行う必要があり、また書込み
のシーケンスで一定の時定数を必要とする。フラッシュ
メモリ3,23の種類を変更すれば、時定数や固有の消
去ブロックサイズについても変更して書込み処理を行う
処理を行う必要がある。本発明では、更新処理プログラ
ム13,33をダウンロードデータ11,31の一部に
含めて転送し、柔軟に対応させることができる。転送さ
れるプログラムデータ12,32のデータサイズを、フ
ラッシュメモリ3,23の消去ブロックサイズより大き
い場合には、消去ブロックサイズ単位の更新処理をブロ
ックサイズ毎に複数回繰返すことによって、効率的な更
新処理を行うことができる。
The embedded communication system 1 and the portable telephone terminal 21 of each embodiment described above
RAMs 15 and 35 for temporarily storing data 1 and 31 are provided. The program data 12 and 32 and the update processing programs 13 and 33 can be stored separately in such discontinuous storage areas of the RAMs 15 and 35. If you manage the data area and the program area separately,
This is because the storage areas of the RAMs 15 and 35 can be easily managed. Also, flash memories 3 and 2 are used to store programs.
When 3 is used, it is necessary to update the storage content for each unique erase block size unit, and a constant time constant is required in the writing sequence. If the types of the flash memories 3 and 23 are changed, it is necessary to change the time constant and the unique erase block size to perform the writing process. According to the present invention, the update processing programs 13 and 33 are included in a part of the download data 11 and 31 and transferred, and can be flexibly handled. When the data size of the transferred program data 12 and 32 is larger than the erase block size of the flash memories 3 and 23, the update process of the erase block size unit is repeated a plurality of times for each block size, so that efficient update is performed. Processing can be performed.

【0032】ダウンロードデータ11,31には、更新
処理プログラム13,33が含まれるので、プログラム
データ12,32を圧縮して、更新処理プログラム1
3,33で圧縮されたデータの伸長のような解凍処理を
行うようにすることもできる。プログラムデータ12,
32を圧縮して転送するので、ダウンロードに要する時
間の短縮を図ることができる。また伸長されるプログラ
ムデータ12,32のデータサイズをフラッシュメモリ
3,23の消去ブロックサイズに合わせ、全体としてプ
ログラムデータ12,32のサイズが消去ブロックサイ
ズより大きくなるときには、複数回の解凍処理を行うよ
うにすれば、解凍処理に利用するRAM15,35の記
憶領域を最小限度に抑えることができる。
Since the download data 11 and 31 include the update processing programs 13 and 33, the program data 12 and 32 are compressed and updated.
Decompression processing such as decompression of the data compressed by 3, 33 may be performed. Program data 12,
32 is compressed and transferred, so that the time required for downloading can be reduced. The data size of the expanded program data 12, 32 is matched with the erase block size of the flash memories 3, 23, and when the size of the program data 12, 32 becomes larger than the erase block size as a whole, a plurality of decompression processes are performed. By doing so, the storage area of the RAMs 15 and 35 used for the decompression processing can be minimized.

【0033】さらに、更新処理プログラム13,33で
バージョン管理などを行い、バージョンが変わらなけれ
ばフラッシュメモリ3,23に格納される更新処理プロ
グラムをRAM15,35などに読出して、組込み型通
信システム1や携帯電話端末21のプロセッサ2,22
がダウンロードデータ11,31に含まれるプログラム
データ12,32に基づくファームウェアプログラムの
更新を行い、更新処理プログラム13,33にバージョ
ンアップがあるときのみダウンロードデータ11,31
に含めて転送するようにすることもできる。また、不揮
発性を有する書換え可能なメモリとして、フラッシュメ
モリ3,23ばかりではなく、他のEEPROMなどを
用いることもできる。
Further, version management and the like are performed by the update processing programs 13 and 33, and if the version does not change, the update processing program stored in the flash memories 3 and 23 is read out to the RAMs 15 and 35 and the like. Processors 2 and 22 of mobile phone terminal 21
Performs the update of the firmware program based on the program data 12 and 32 included in the download data 11 and 31, and the download data 11 and 31 only when the update processing programs 13 and 33 have a version upgrade.
Can also be included in the transfer. Further, not only the flash memories 3 and 23 but also another EEPROM or the like can be used as the nonvolatile rewritable memory.

【0034】[0034]

【発明の効果】以上のように本発明によれば、プログラ
ムの書換えに必要なプログラム更新用データとともに更
新処理プログラムも通信機器にダウンロードされるの
で、通信機器に予め更新処理プログラムを格納しておく
必要はない。プログラムを格納するメモリの種類などの
変更や、プログラム変更用のデータの転送形式などを変
更しても、データとともに転送する更新処理プログラム
を修正するによって、柔軟に対応させることができる。
As described above, according to the present invention, since the update processing program is also downloaded to the communication device together with the program update data required for rewriting the program, the communication device stores the update processing program in advance. No need. Even if the type of the memory for storing the program is changed or the transfer format of the data for changing the program is changed, the update processing program transferred together with the data can be flexibly dealt with.

【0035】また本発明によれば、LANなどのネット
ワーク上に存在するプログラム更新用のデータおよび更
新処理プログラムを、データバスに接続されるネットワ
ークを介して通信機器にダウンロードして利用すること
ができる。
According to the present invention, program update data and an update processing program existing on a network such as a LAN can be downloaded to a communication device via a network connected to a data bus and used. .

【0036】また本発明によれば、ネットワークを介し
てプログラム変更用のデータおよび更新処理プログラム
をダウンロードする際に、システム制御卓を操作して、
通信機器への転送処理を容易に行わせることができる。
According to the present invention, when downloading data for program change and an update processing program via a network, the system control console is operated to
Transfer processing to the communication device can be easily performed.

【0037】また本発明によれば、通信機器を無線でネ
ットワークと接続し、プログラム更新用のデータと更新
処理用プログラムとを容易にダウンロードすることがで
きる。
Further, according to the present invention, it is possible to connect a communication device to a network wirelessly and easily download program update data and an update processing program.

【0038】また本発明によれば、通信機器にダウンロ
ードされるプログラム変更用のデータと変更処理用プロ
グラムとは、連続しない2つの記憶領域に分割して個別
に格納されるので、ダウンロード後の更新処理時に記憶
領域の管理を容易に行うことができる。
According to the present invention, the program change data and the change processing program to be downloaded to the communication device are separately stored in two non-contiguous storage areas. At the time of processing, storage area management can be performed easily.

【0039】また本発明によれば、プログラム更新用の
データとともにダウンロードされる更新処理用プログラ
ムは、更新処理用プログラム自体が提供する格納領域の
情報に従って、更新されたプログラムが消去して、通信
機器のメモリの記憶領域を解放し、効率的なメモリの活
用を図ることができる。
Further, according to the present invention, the update processing program downloaded together with the program update data erases the updated program in accordance with the information in the storage area provided by the update processing program itself. The storage area of the memory can be released, and the memory can be efficiently used.

【0040】また本発明によれば、通信機器のプログラ
ムを更新するためのデータを圧縮して転送するので、転
送時間を削減することができる。更新処理プログラムに
よる圧縮データの解凍処理の際に、プログラム格納用と
して固有の消去ブロックサイズ毎に記憶内容の書換えが
可能な不揮発性メモリを使用すれば、固有の消去ブロッ
クサイズ毎に解凍処理を行い、プログラムの更新処理に
必要なメモリの作業領域の大きさを低減することができ
る。
Further, according to the present invention, the data for updating the program of the communication device is compressed and transferred, so that the transfer time can be reduced. At the time of decompression processing of compressed data by the update processing program, if a nonvolatile memory capable of rewriting the storage content for each unique erase block size is used for storing the program, the decompression processing is performed for each unique erase block size. In addition, the size of the work area of the memory required for the program update processing can be reduced.

【0041】また本発明によれば、通信機器のプログラ
ムを固有の消去ブロックサイズ毎に記憶内容の書換えが
可能な不揮発性メモリを格納し、更新用プログラムは固
有の消去ブロックサイズ単位毎に1回または複数回の更
新処理を繰返して行うので、複数の消去ブロック単位に
またがるプログラムの更新処理を行うことができる。
According to the present invention, the program of the communication device is stored in a nonvolatile memory capable of rewriting the storage content for each unique erase block size, and the update program is executed once for each unique erase block size unit. Alternatively, since the updating process is repeatedly performed a plurality of times, the updating process of the program over a plurality of erase block units can be performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の一形態でプログラムのダウンロ
ードを行う構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration for downloading a program according to an embodiment of the present invention.

【図2】本発明の実施の他の形態でプログラムのダウン
ロードを行う構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration for downloading a program according to another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 組込み型通信システム 2,22 プロセッサ 3,23 フラッシュメモリ 4,6,26 通信路 5,25 ネットワーク 7 共通線信号制御装置 9,29 中央処理装置 10,30 共通記憶装置 11,31 ダウンロードデータ 12,32 プログラムデータ 13,33 更新処理プログラム 14 システム制御卓 24 無線通信路 34 パーソナルコンピュータ DESCRIPTION OF SYMBOLS 1 Embedded communication system 2,22 Processor 3,23 Flash memory 4,6,26 Communication path 5,25 Network 7 Common line signal controller 9,29 Central processing unit 10,30 Common storage device 11,31 Download data 12,31 32 program data 13,33 update processing program 14 system control console 24 wireless communication path 34 personal computer

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 プログラム格納用として書換え可能なメ
モリを具備する通信機器に、該通信機器の通信機能を介
してプログラム更新用のデータを転送後の更新処理プロ
グラムとをともに転送し、転送後は該通信機器が転送さ
れた更新処理プログラムを実行することを特徴とする通
信機器へのプログラムのダウンロード方法。
An update processing program after transferring data for updating a program is transferred to a communication device having a rewritable memory for storing a program via a communication function of the communication device. A method of downloading a program to a communication device, wherein the communication device executes the transferred update processing program.
【請求項2】 前記通信機器を、通信ネットワークを介
して、プログラム更新用データおよび転送後の更新処理
プログラムのダウンロード制御を行う更新制御手段と、
データバス上のデータの該ネットワークへの送出制御を
行う共通線制御手段とに接続することを特徴とする請求
項1記載の通信機器へのプログラムのダウンロード方
法。
2. An update control means for controlling the communication device to download program update data and a transferred update processing program via a communication network,
2. The method according to claim 1, wherein the program is connected to common line control means for controlling transmission of data on a data bus to the network.
【請求項3】 前記ネットワークには、前記プログラム
更新用のデータおよび転送後の更新処理プログラムのダ
ウンロード時に操作するシステム制御卓が具備されるこ
とを特徴とする請求項2記載の通信機器へのプログラム
のダウンロード方法。
3. The program for a communication device according to claim 2, wherein the network is provided with a system control console operated when downloading the data for updating the program and the update processing program after the transfer. How to download.
【請求項4】 前記通信機器と前記ネットワークとは無
線で接続されることを特徴とする請求項1〜3のいずれ
かに記載の通信機器へのプログラムのダウンロード方
法。
4. The method for downloading a program to a communication device according to claim 1, wherein the communication device and the network are connected wirelessly.
【請求項5】 前記プログラム更新用のデータおよび転
送後の更新処理プログラムのダウンロード時に、プログ
ラム更新用のデータおよび転送後の更新処理プログラム
の格納場所を連続しない2つの記憶領域に分割して個別
に格納することを特徴とする請求項1〜4のいずれかに
記載の通信機器へのプログラムのダウンロード方法。
5. When the data for program update and the update processing program after transfer are downloaded, the storage location of the data for program update and the update processing program after transfer is divided into two non-contiguous storage areas and individually stored. The method for downloading a program to a communication device according to claim 1, wherein the program is stored.
【請求項6】 前記書換え可能なメモリに格納されるプ
ログラムは、ダウンロードされた前記更新処理プログラ
ムによるプログラム更新後に、更新処理プログラムによ
って提供される更新処理プログラム自身の格納領域の情
報に従い、更新後に該更新処理プログラムを消去するこ
とを特徴とする請求項1〜5のいずれかに記載の通信機
器へのプログラムのダウンロード方法。
6. The program stored in the rewritable memory, after updating the program by the downloaded update processing program, according to information in a storage area of the update processing program itself provided by the update processing program, The method according to any one of claims 1 to 5, wherein the update processing program is deleted.
【請求項7】 前記更新処理プログラムとともに、転送
される前記プログラム更新用のデータは、圧縮されたデ
ータ形式で転送され、該更新処理プログラムが解凍して
記憶領域に展開することを特徴とする請求項1〜6のい
ずれかに記載の通信機器へのプログラムのダウンロード
方法。
7. The program update data transferred together with the update processing program is transferred in a compressed data format, and the update processing program decompresses and expands the data in a storage area. Item 7. A method for downloading a program to a communication device according to any one of Items 1 to 6.
【請求項8】 転送される前記更新処理プログラムは、
前記通信機器に前記書換え可能なメモリとして搭載され
る不揮発性メモリに固有の消去ブロックサイズ単位毎
に、1回または複数回の更新処理を繰返して行うことを
特徴とする請求項1〜7のいずれかに記載の通信機器へ
のプログラムのダウンロード方法。
8. The update processing program to be transferred,
8. The method according to claim 1, wherein the update processing is repeated once or plural times for each erase block size unit unique to the nonvolatile memory mounted as the rewritable memory in the communication device. How to download programs to communication devices described in
JP10356587A 1998-12-15 1998-12-15 Method for down loading program to communication equipment Pending JP2000181719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10356587A JP2000181719A (en) 1998-12-15 1998-12-15 Method for down loading program to communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10356587A JP2000181719A (en) 1998-12-15 1998-12-15 Method for down loading program to communication equipment

Publications (1)

Publication Number Publication Date
JP2000181719A true JP2000181719A (en) 2000-06-30

Family

ID=18449779

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10356587A Pending JP2000181719A (en) 1998-12-15 1998-12-15 Method for down loading program to communication equipment

Country Status (1)

Country Link
JP (1) JP2000181719A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005991A (en) * 2001-06-25 2003-01-10 Toshiba Tec Corp Firmware update system and firmware distribution program and electronic equipment
JP2006510987A (en) * 2002-12-19 2006-03-30 クゥアルコム・インコーポレイテッド Downloadable configuration application for wireless devices
US7242990B2 (en) 2000-12-26 2007-07-10 Yamaha Corporation Digital mixing system, engine apparatus, console apparatus, digital mixing method, engine apparatus control method, console apparatus control method, and programs executing these control methods
US7669046B2 (en) 2004-08-03 2010-02-23 Panasonic Corporation Data processing apparatus and firmware update method
US7912564B2 (en) 2001-09-19 2011-03-22 Yamaha Corporation Digital mixing system with double arrangement for fail safe
JP2013519143A (en) * 2010-02-06 2013-05-23 エスティー‐エリクソン、ソシエテ、アノニム System and method for implementing a wireless stack in multiple wireless devices
CN107014122A (en) * 2017-04-24 2017-08-04 广东美的暖通设备有限公司 Control method, system and the computer-readable recording medium of refrigeration plant
JP2018097442A (en) * 2016-12-09 2018-06-21 日立オートモティブシステムズ株式会社 Electronic controller
JP2020088458A (en) * 2018-11-16 2020-06-04 株式会社デンソーテン Information processing apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7454258B2 (en) 2000-12-26 2008-11-18 Yamaha Corporation Digital mixing system, engine apparatus, console apparatus, digital mixing method, engine apparatus control method, console apparatus control method, and programs executing these control methods
US7242990B2 (en) 2000-12-26 2007-07-10 Yamaha Corporation Digital mixing system, engine apparatus, console apparatus, digital mixing method, engine apparatus control method, console apparatus control method, and programs executing these control methods
JP2003005991A (en) * 2001-06-25 2003-01-10 Toshiba Tec Corp Firmware update system and firmware distribution program and electronic equipment
US7920933B2 (en) 2001-09-19 2011-04-05 Yamaha Corporation Digital mixing system with double arrangement for fail safe
US7912564B2 (en) 2001-09-19 2011-03-22 Yamaha Corporation Digital mixing system with double arrangement for fail safe
JP2006510987A (en) * 2002-12-19 2006-03-30 クゥアルコム・インコーポレイテッド Downloadable configuration application for wireless devices
JP2011188511A (en) * 2002-12-19 2011-09-22 Qualcomm Inc Downloadable configuring application for wireless device
KR101145987B1 (en) * 2002-12-19 2012-05-15 콸콤 인코포레이티드 Downloadable configuring application for a wireless device
US8737981B2 (en) 2002-12-19 2014-05-27 Qualcomm Incorporated Downloadable configuring application for a wireless device
US9191276B2 (en) 2002-12-19 2015-11-17 Qualcomm Incorporated Downloadable configuring application for a wireless device
US7669046B2 (en) 2004-08-03 2010-02-23 Panasonic Corporation Data processing apparatus and firmware update method
JP2013519143A (en) * 2010-02-06 2013-05-23 エスティー‐エリクソン、ソシエテ、アノニム System and method for implementing a wireless stack in multiple wireless devices
JP2018097442A (en) * 2016-12-09 2018-06-21 日立オートモティブシステムズ株式会社 Electronic controller
CN107014122A (en) * 2017-04-24 2017-08-04 广东美的暖通设备有限公司 Control method, system and the computer-readable recording medium of refrigeration plant
JP2020088458A (en) * 2018-11-16 2020-06-04 株式会社デンソーテン Information processing apparatus

Similar Documents

Publication Publication Date Title
US6704298B1 (en) Repeater amplifier apparatus
US6173397B1 (en) Processing apparatus and an operation control information update system employing the processing apparatus
JP3550210B2 (en) Software update method for industrial robots
JP2000181719A (en) Method for down loading program to communication equipment
US7047283B1 (en) Apparatus and method of upgrading program of firmware board
KR20030073824A (en) A method and apparatus for upgrading a system firmware by using an universal serial bus
JP2000293366A (en) Method for updating module for set top box
KR100416809B1 (en) Memory structure of unit for remote download and method thereof
JPH1063498A (en) Operation program modifying method for radio base station
JP2003044307A (en) Radio communication equipment, method for rewriting its boot program, and program
JP2007042038A (en) Device and method for controlling terminal equipment
JPH11282690A (en) Method for writing control program, information processor and information processing system
JP2007193501A (en) Firmware download device
US6510316B2 (en) Wireless communication apparatus
JPH0764796A (en) Firmware program down-load system
JP2004280340A (en) Starting system for radio base station
JP3714070B2 (en) Communication terminal device and received data processing method of communication terminal device
KR20020089812A (en) Method for updating of flash memory in mobile communication system
JP2000172508A (en) Information recording device and its firmware renewing method
JP2000148466A (en) Information processor, and control program updating method of information processor
KR20030041605A (en) Apparatus and method for remote upgrading of program in communication system
KR20000074918A (en) Apparatus and method for upgrading boot rom codes of mobile telecommunication system
JP2011108161A (en) Information processor
JPH0644064A (en) Firmware reloading system
JP2002094639A (en) Mobile telephone, and method of rewriting software used for it, and storage medium having stored its control program