JP2006011531A - Downloading method for program - Google Patents
Downloading method for program Download PDFInfo
- Publication number
- JP2006011531A JP2006011531A JP2004183737A JP2004183737A JP2006011531A JP 2006011531 A JP2006011531 A JP 2006011531A JP 2004183737 A JP2004183737 A JP 2004183737A JP 2004183737 A JP2004183737 A JP 2004183737A JP 2006011531 A JP2006011531 A JP 2006011531A
- Authority
- JP
- Japan
- Prior art keywords
- program
- firmware
- flash memory
- downloaded
- writing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、プログラムのダウンロード方法に係り、特に、有線LANまたは無線LANのアクセスポイント(AP)、ブルートゥースモジュール等の機器におけるその機器の機能等を決定するプログラムであるファームウェアを、PC等の他の機器からダウンロードするために使用して好適なプログラムのダウンロード方法に関する。 The present invention relates to a program download method, and in particular, firmware that is a program for determining the function of a device such as a wired LAN or wireless LAN access point (AP), Bluetooth module, etc. The present invention relates to a program download method suitable for use in downloading from a device.
LANのアクセスポイント(AP)、ブルートゥースモジュール等の機器は、その機能変更、バージョンアップ等のために内部の書き替え可能なフラッシュメモリ等の不揮発性メモリに格納されているファームウェア等のプログラム(以下、単に、ファームウェアという)を外部からダウンロードして書き替え可能に構成されている。このバージョンアップ等のためのファームウェアのダウンロードの方法は、まず、PC等の外部の他の機器からファームウェアをダウンロードすべき機器の内部に備えられるRAMに書き込みプログラムをロードして、その後、ファームウェアをダウンロードするという方法で行われており、ファームウェアのダウンロードに時間がかかるものであった。 Devices such as LAN access points (AP), Bluetooth modules, etc. have programs such as firmware (hereinafter referred to as “flash”) stored in non-volatile memory such as internal rewritable flash memory for function change, version upgrade, etc. It is configured so that it can be downloaded from outside and rewritten. In order to download the firmware for this version upgrade, etc., first of all, the writing program is loaded from the external device such as a PC into the RAM provided in the device to be downloaded, and then the firmware is downloaded. It took a long time to download the firmware.
図3は従来技術によるファームウェアのダウンロード方法を説明する図である。ここで説明する従来技術は、ファームウェアをダウンロードすべき機器がブルートゥースモジュールであるものとしている。図3において、11はブルートゥースモジュール、12はフラッシュメモリ、13はRAM、14はポート、15はブートプログラム、16は書き込みプログラム、17はPC、18はInfファイルである。 FIG. 3 is a diagram for explaining a firmware download method according to the prior art. The prior art described here assumes that the device whose firmware is to be downloaded is a Bluetooth module. In FIG. 3, 11 is a Bluetooth module, 12 is a flash memory, 13 is a RAM, 14 is a port, 15 is a boot program, 16 is a write program, 17 is a PC, and 18 is an Inf file.
ブルートゥースモジュール11は、図3に示すように、書き替え可能な不揮発性メモリであるフラッシュメモリ12と、RAM13と、PC17に接続するためのインタフェースとしてのポート14とを備えて構成されている。そして、ファームウェアのダウンロードのために、ブルートゥースモジュール11をブートモードでリセットすると、図3(a)に示すように、ブルートゥースモジュール11は、図示しないROM等に格納されたブートプログラム15をRAM13にロードして起動される。
As shown in FIG. 3, the Bluetooth
PC17をブルートゥースモジュール11のポート14に接続してPC17から書き込みプログラム16を送信すると、図3(b)に示すように、この書き込みプログラム16は、ブートプログラム15を介してRAM13に取り込まれる。書き込みプログラム16をRAM13にロードした後、ブルートゥースモジュール11は、図3(c)に示すように、書き込みプログラム16を介してフラッシュメモリ12にファームウェア等のデータをダウンロードできるようになる。
When the
ところで、ブルートゥースモジュール11に備えられるフラッシュメモリ12は、4Mバイト、8Mバイト、16Mバイト等様々な容量のものがあり、さらに、同じ容量のフラッシュメモリであっても、ブロックという単位に区切られておりそのブロック構成も様々である。このため、容量、ブロック構成が共に一致しなければフラッシュメモリは別物であるので、フラッシュメモリの種類は非常に多い。そして、ファームウェアのダウンロードにはデータを送るPC17に設けられるホストプログラムとフラッシュメモリへの書き込みプログラムとにより、図3(d)に示すように行われる。
Incidentally, the
すなわち、PC17は、ファームウェアのダウンロードに先立って、フラッシュメモリ12の構成を示す情報を有するInfファイル18を読み込み、このInfファイル18のデータをブルートゥースモジュール11に送信し、その後に、ダウンロードすべきファームウェアをブルートゥースモジュール11に送信する。ブルートゥースモジュール11の書き込みプログラム16は、Infファイル18を受信した後にファームウェアを受信すると、受信したInfファイル18に含まれるフラッシュメモリ12の構成を示す情報を使用してフラッシュメモリ12にファームウェアをダウンロードする。
That is, prior to downloading the firmware, the PC 17 reads the
なお、ファームウェアのダウンロード方法に関する従来技術として、例えば、特許文献1等に記載された技術が知られている。
前述した従来技術によるファームウェアのダウンロード方法は、PCからファームウェアをダウンロードすべき機器のRAMに書き込みプログラムを書き込んだ後にファームウェアを送信してダウンロードしなければならず、また、ファームウェアを格納する不揮発性メモリであるフラッシュメモリが変わる度に、PC内のホストプログラムにフラッシュメモリのブロック構成を教えるInfファイルとそのフラッシュメモリに対応する書き込みプログラムとを新調しなければならず、ファームウェアのダウンロードに時間がかかり、作業の負担も大きいという問題点を有している。 The firmware download method according to the prior art described above requires a firmware to be downloaded after writing a write program into a RAM of a device to which the firmware is to be downloaded from a PC, and is a non-volatile memory for storing the firmware. Every time a flash memory changes, an Inf file that tells the host program in the PC the flash memory block configuration and a writing program corresponding to the flash memory must be renewed. There is also a problem that the burden of is large.
本発明の目的は、前述した従来技術の問題点を解決し、全ての種類のフラッシュメモリに対して、Infファイルを不必要とし、書き込みプログラムを共通に使用することを可能にして、書き込みプログラムの汎用性を高めると共にその作成の負荷を軽減し、ファームウェアのダウンロードを迅速に行うことができるようにしたファームウェアのダウンロード方法を提供することにある。 The object of the present invention is to solve the above-mentioned problems of the prior art, make an Inf file unnecessary for all types of flash memory, and enable a common use of a write program, An object of the present invention is to provide a method for downloading firmware that enhances versatility, reduces the load of creation, and allows firmware to be downloaded quickly.
本発明によれば前記目的は、送信側となる機器から受信側の機器へのプログラムのダウンロード方法において、前記送信側となる機器は、前記受信側の機器にダウンロードするプログラムを有しており、前記受信側の機器が、書き込みプログラムを格納するメモリとダウンロードされたプログラムを格納する不揮発性メモリとを備え、前記受信側となる機器の不揮発性メモリに前記送信側となる機器内のプログラムをダウンロードするとき、前記送信側となる機器と前記受信側となる機器とを通信回線またはバスラインを介して接続し、前記送信側となる機器から前記受信側となる機器にプログラムを送信すると、前記受信側となる機器内の書き込みプログラムが、前記不揮発性メモリが有するエレクトリック・シグネチャコマンドにより不揮発性メモリの型番を読み取り、自プログラムが保持している不揮発性メモリの型番固有のデータに基づいて送信側の機器から送られてきたプログラムを不揮発性メモリに書き込むことにより達成される。 According to the present invention, the object is to download a program from a device on the transmission side to a device on the reception side, wherein the device on the transmission side has a program to be downloaded to the device on the reception side, The receiving device has a memory for storing a writing program and a non-volatile memory for storing a downloaded program, and downloads the program in the transmitting device to the non-volatile memory of the receiving device. When the transmission side device and the reception side device are connected via a communication line or a bus line, and the program is transmitted from the transmission side device to the reception side device, the reception side The writing program in the device on the side is not valid due to the electric signature command of the nonvolatile memory. Nonvolatile read the model number of the memory, the own program is accomplished by writing a program sent from the transmission side apparatus on the basis of the model number-specific data of the nonvolatile memory held in the nonvolatile memory.
また、前記目的は、前述のプログラムのダウンロード方法において、前記ダウンロードされるプログラムがファームウェアであることにより達成される。 The object is achieved in the above-described program download method, wherein the downloaded program is firmware.
また、前記目的は、前述のプログラムのダウンロード方法において、前記受信側となる機器内の書き込みプログラムが、前記不揮発性メモリに予め格納されており、プログラムのダウンロード時、受信側となる機器内のRAMにロードされることにより達成される。 In addition, in the above-described program download method, a write program in the receiving device is stored in advance in the non-volatile memory, and a RAM in the receiving device is downloaded when the program is downloaded. This is achieved by loading the
さらに、前記目的は、前述のプログラムのダウンロード方法において、前記受信側となる機器がブルートゥースモジュールであることにより達成される。 Further, the object is achieved in the above-described program download method, in which the receiving device is a Bluetooth module.
本発明によれば、有線LANまたは無線LANのアクセスポイント(AP)、ブルートゥースモジュール等の機器の機能を決定するプログラムであるファームウェアのダウンロードを短時間に効率的に行うことができる。 According to the present invention, it is possible to efficiently download firmware, which is a program for determining the function of a device such as a wired LAN or wireless LAN access point (AP) or a Bluetooth module, in a short time.
以下、本発明によるファームウェアのダウンロード方法の実施形態を図面により詳細に説明する。 Embodiments of a firmware download method according to the present invention will be described below in detail with reference to the drawings.
図1は本発明の一実施形態によるファームウェアをダウンロード方法を説明する図である。図1の符号は図3の場合と同一である。なお、ここで説明する本発明の実施形態は、ファームウェアがダウンロードされる機器がブルートゥースモジュールであるとし、また、従来技術での図3(a)〜図3(c)までの処理が済んで、書き込みプログラム16がブルートゥースモジュール11のRAM13に格納された状態にあるものとする。
FIG. 1 is a diagram illustrating a method for downloading firmware according to an embodiment of the present invention. The reference numerals in FIG. 1 are the same as those in FIG. In the embodiment of the present invention described here, it is assumed that the device to which the firmware is downloaded is a Bluetooth module, and the processing from FIG. 3A to FIG. It is assumed that the
本発明の実施形態によるファームウェアのダウンロードは、図1に示すように、図示しないディスプレイ及びキーボード等の入力装置を備えるPC17と、フラッシュメモリ12を有するブルートゥースモジュール11のポート14とを通信回線、バスライン、ブルートゥースによる無線等により接続し、ポート14を介してPC17からブルートゥースモジュール11にファームウェアを送信することにより行われる。
As shown in FIG. 1, the firmware download according to the embodiment of the present invention is performed by connecting a
通常、ブルートゥースモジュール11等に備えられるフラッシュメモリ12は、すでに説明したように、その容量、ブロック構成の相違等により多数の種類があるが、その種類としての型番を保持している。この型番等の情報は、認証等に使用するコマンドとして、フラッシュメモリが特有に有しているエレクトロニック・シグネチャコマンドに含まれている。
Usually, the
そして、ブルートゥースモジュール11のRAM16に書き込みプログラム16が格納されると、書き込みプログラム16は、フラッシュメモリ12からエレクトロニック・シグネチャコマンドを読み取り、読み取ったエレクトロニック・シグネチャコマンドに含まれるフラッシュメモリ固有の型番を抽出する。その後、書き込みプログラム16は、PC17からダウンロードすべきファームウェアが送信されてくると、自プログラムが保持している不揮発性メモリの型番固有のデータ、すなわち、そのフラッシュメモリの書き込み開始アドレス、終了アドレス、ブロックの大きさを含むブロック構成の情報に基づいて、受け取ったファームウェアをフラッシュメモリ12に格納する。
When the
前述した本発明の実施形態によれば、書き込みプログラムがフラッシュメモリのエレクトロニック・シグネチャコマンドを読み取ることにより、スタート・エンド・アドレスを知ることができるので、PCは、フラッシュメモリのブロック構成を意識することなくダウンロードすべきファームウェアを送ることにより、どのような種類のフラッシュに対しても、Infファイルを要することなく、書き込みプログラムを共通に使用してファームウェアをダウンロードすることが可能になり、汎用性を高めると共にプログラムの作成の負荷を軽減することができる。 According to the above-described embodiment of the present invention, the PC can be aware of the block configuration of the flash memory because the write program can know the start / end address by reading the electronic signature command of the flash memory. By sending the firmware to be downloaded without any problem, it is possible to download the firmware using a writing program in common without requiring an Inf file for any type of flash, thus improving versatility. At the same time, the load of creating a program can be reduced.
前述した本発明の実施形態は、従来技術の場合と同様に、書き込みプログラムを、PCからブルートゥースモジュールのRAMに格納した後に、PCからファームウェアをダウンロードするとして説明したが、本発明は、書き込みプログラムを予めブルートゥースモジュール内のフラッシュメモリに格納しておいて使用することができる。これにより、ファームウェアのダウンロードをより短時間により効率的に行うことが可能となる。以下、この場合のファームウェアのダウンロード方法について説明する。 In the embodiment of the present invention described above, the writing program is stored in the RAM of the Bluetooth module from the PC and then the firmware is downloaded from the PC, as in the case of the prior art. It can be used by storing it in a flash memory in the Bluetooth module in advance. As a result, the firmware can be downloaded more efficiently in a shorter time. Hereinafter, a firmware download method in this case will be described.
図2は書き込みプログラムを予めブルートゥースモジュール内フラッシュメモリを格納しておいた場合のファームウェアのダウンロードについて説明する図である。図2の符号は図1の場合と同一である。 FIG. 2 is a diagram for explaining downloading of firmware when a writing program is stored in the flash memory in the Bluetooth module in advance. The reference numerals in FIG. 2 are the same as those in FIG.
図2に示すように、ファームウェアをダウンロードすべきブルートゥースモジュール11のフラッシュメモリ12には、その一部に予め書き込みプログラム16が格納されている。そして、このブルートゥースモジュール11は、電源投入時等のリセット時に、図2(a)に示すように、フラッシュメモリ12内の書き込みプログラム16がRAM13にロードされる。
As shown in FIG. 2, a
その後、PC17からポートを介してダウンロードすべきファームウェアを送りこむことにより、書き込みプログラム16は、前述で説明した場合と同様に、フラッシュメモリが特有に有しているエレクトロニック・シグネチャコマンドを読み出して、そこに含まれる情報を使用して、フラッシュメモリ12の空き部分にファームウェアを格納してダウンロードすることができる。
After that, by sending the firmware to be downloaded from the PC 17 through the port, the
前述したようにフラッシュメモリ12に予め書き込みプログラム16を格納しておくことにより、ブルートゥースモジュール11は、リセット後、数μSecで自動的にフラッシュメモリ12への書き込み可能状態になるので、ファームウェアのダウンロードをより短時間により効率的に行うことが可能となる。
As described above, by storing the
11 ブルートゥースモジュール
12 フラッシュメモリ
13 RAM
14 ポート
15 ブートプログラム
16 書き込みプログラム
17 PC
18 Infファイル
11
14
18 Inf file
Claims (4)
前記送信側となる機器は、前記受信側の機器にダウンロードするプログラムを有しており、
前記受信側の機器は、書き込みプログラムを格納するメモリとダウンロードされたプログラムを格納する不揮発性メモリとを備え、
前記受信側となる機器の不揮発性メモリに前記送信側となる機器内のプログラムをダウンロードするとき、
前記送信側となる機器と前記受信側となる機器とを通信回線またはバスラインを介して接続し、前記送信側となる機器から前記受信側となる機器にプログラムを送信すると、
前記受信側となる機器内の書き込みプログラムは、前記不揮発性メモリが有するエレクトリック・シグネチャコマンドにより不揮発性メモリの型番を読み取り、自プログラムが保持している不揮発性メモリの型番固有のデータに基づいて送信側の機器から送られてきたプログラムを不揮発性メモリに書き込むことを特徴とするプログラムのダウンロード方法。 In the method of downloading the program from the sending device to the receiving device,
The device on the transmission side has a program downloaded to the device on the reception side,
The receiving device includes a memory for storing a writing program and a nonvolatile memory for storing a downloaded program,
When downloading the program in the transmitting device to the non-volatile memory of the receiving device,
When connecting the device on the transmission side and the device on the reception side via a communication line or bus line, and transmitting the program from the device on the transmission side to the device on the reception side,
The writing program in the device on the receiving side reads the model number of the non-volatile memory by the electric signature command of the non-volatile memory, and transmits it based on the data specific to the model number of the non-volatile memory held by its own program. A program download method, wherein a program sent from a device on the side is written into a nonvolatile memory.
4. The program downloading method according to claim 1, wherein the receiving device is a Bluetooth module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004183737A JP2006011531A (en) | 2004-06-22 | 2004-06-22 | Downloading method for program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004183737A JP2006011531A (en) | 2004-06-22 | 2004-06-22 | Downloading method for program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006011531A true JP2006011531A (en) | 2006-01-12 |
Family
ID=35778770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004183737A Withdrawn JP2006011531A (en) | 2004-06-22 | 2004-06-22 | Downloading method for program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006011531A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9261449B2 (en) | 2011-09-28 | 2016-02-16 | Aoi Seiki Co., Ltd. | Test preprocessing apparatus, test preprocessing method, and specimen processing apparatus |
-
2004
- 2004-06-22 JP JP2004183737A patent/JP2006011531A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9261449B2 (en) | 2011-09-28 | 2016-02-16 | Aoi Seiki Co., Ltd. | Test preprocessing apparatus, test preprocessing method, and specimen processing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6428652B2 (en) | In-vehicle update device, update system, and update processing program | |
US7856614B2 (en) | Programmable system-on-chip apparatus and method for updating firmware | |
KR101555210B1 (en) | Apparatus and method for downloadin contents using movinand in portable terminal | |
JPWO2008117520A1 (en) | MEMORY CONTROLLER, NONVOLATILE MEMORY SYSTEM, AND HOST DEVICE | |
US20100064036A1 (en) | Peripheral device operation method, peripheral device and host | |
US20120209939A1 (en) | Memory system capable of adding time information to data obtained via network | |
JP4784100B2 (en) | Processing device and firmware download method thereof. | |
US20050207232A1 (en) | Access method for a NAND flash memory chip, and corresponding NAND flash memory chip | |
US20070233750A1 (en) | Data control apparatus and method | |
US8638455B2 (en) | Program executing apparatus, image processing apparatus and non-transitory computer readable medium for activating an equipment using stored variable | |
JP2006011531A (en) | Downloading method for program | |
JP4840553B2 (en) | Wireless communication apparatus, boot program rewriting method and program | |
EP2194458A2 (en) | Request processing device, request processing system, and access testing method | |
JP2007052558A (en) | Flash memory rewrite device, flash memory rewrite method and flash memory rewrite program | |
US20110082995A1 (en) | Information processing apparatus | |
US20070192645A1 (en) | Battery management system chip and data-accessing method of the same | |
JP2008090408A (en) | Microcomputer, data writing device, and its writing method | |
JP4723334B2 (en) | DMA transfer system | |
JP4005950B2 (en) | Microcontroller | |
KR100966999B1 (en) | Apparatus and method for updating flash memory | |
KR101900729B1 (en) | Method for running PLC operating system | |
JP2006201878A (en) | Microcomputer | |
JP3912447B2 (en) | Memory system and method of using external nonvolatile memory | |
JPH09128320A (en) | Peripheral equipment | |
KR100231158B1 (en) | Rom down loading method of cpu board |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070904 |