Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3670128B2 - Navigation device - Google Patents
[go: Go Back, main page]

JP3670128B2 - Navigation device - Google Patents

Navigation device Download PDF

Info

Publication number
JP3670128B2
JP3670128B2 JP865698A JP865698A JP3670128B2 JP 3670128 B2 JP3670128 B2 JP 3670128B2 JP 865698 A JP865698 A JP 865698A JP 865698 A JP865698 A JP 865698A JP 3670128 B2 JP3670128 B2 JP 3670128B2
Authority
JP
Japan
Prior art keywords
identification data
model identification
model
random access
specific
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
JP865698A
Other languages
Japanese (ja)
Other versions
JPH11201772A (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.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
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 Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP865698A priority Critical patent/JP3670128B2/en
Publication of JPH11201772A publication Critical patent/JPH11201772A/en
Application granted granted Critical
Publication of JP3670128B2 publication Critical patent/JP3670128B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Navigation (AREA)
  • Traffic Control Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Instructional Devices (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、基本的な仕様が同一のハードウエアに同一の実行プログラムを搭載して、価格帯又は仕向け先等が異なる複数の機種を実現する車載用ナビゲーション装置に関する。
【0002】
【従来の技術】
GPS(Global Positioning System )衛星から送られてくるGPS信号を利用して車両の現在位置を検出するナビゲーション装置が既に実用化され、広く普及している。また、車載用ナビゲーション装置は、車載用オーディオ装置及びTVチューナー等に接続されて、これらの装置の操作部及びディスプレイ部としても使用される。
【0003】
ところで、ナビゲーション装置は、価格帯や仕向け先等に応じて、基本的な仕様は同じでも各種表示画面や付加的な機能(例えば、エアコンの状態表示の有無など)が異なる複数の機種を開発する必要がある。この場合、従来は、図7に示すように、基本的な仕様が同一のハードウエアA1 ,A2 ,A3 に対し、各機種毎に異なる実行プログラム(ソフトウエア)A,B,Cが搭載される。
【0004】
また、車載用ナビゲーション装置では、実行プログラムをフラッシュメモリ等の書替え可能な記憶装置に記憶しておき、プログラムのバージョンアップを可能にしているものも多い。バージョンアップ用プログラムは、例えば最新の地図データとともにCD−ROMに記録して供給される。
【0005】
【発明が解決しようとする課題】
従来のナビゲーション装置では、各機種毎に異なる実行プログラムが必要であるため、バージョンアップに際しては機種毎にCD−ROMを作成する必要があり、CD−ROMの作成コストが高くなる。また、メーカーにおいても、各機種毎にソフトウエアを管理する必要があり、煩雑である。
【0006】
以上から本発明の目的は、基本的なハードウエア仕様が同一の機種に対し、同一の実行プログラムで各機種毎の動作を可能としたナビゲーション装置を提供することである。
【0007】
【課題を解決するための手段】
上記した課題は、GPS衛星からの信号により車両の位置を検出して車両周囲の地図画像をディスプレイに表示するナビゲーション装置において、機種識別用データを発生する機種識別用データ発生手段と、複数の機種に共通の主プログラムと複数の機種別副プログラムとにより構成される実行プログラムを記憶する実行プログラム記憶手段と、前記実行プログラム記憶手段に記憶された前記実行プログラムに従って処理を実行する処理手段と、不揮発性メモリ及びダイナミックランダムアクセスメモリとを有し、前記処理手段は、前記機種識別用データ発生手段で発生した前記機種識別用データを前記不揮発性メモリに複写し、更に該不揮発性メモリに複写した前記機種識別用データを前記ダイナミックランダムアクセスメモリに複写して、前記主プログラムに従って処理を実行中に前記ダイナミックランダムアクセスメモリに複写した前記機種識別用データを参照して前記複数の機種別副プログラムのうちから特定の機種別副プログラムを呼び出すことを特徴とするナビゲーション装置により解決する。
【0008】
以下、本発明の作用について説明する。
CD−ROMの作成コストを削減するためには、1枚のCD−ROMに複数の機種別実行プログラムを記録しておくことが考えられる。しかし、ナビゲーション装置の実行プログラムは比較的サイズが大きいので、1枚のCD−ROMに複数の実行プログラムを記録すると、地図データ等の他のデータを記録するための容量が少なくなってしまう。
【0009】
そこで、本発明においては、実行ファイルを、1つの主プログラムと、複数の機種別副プログラムとで構成する。また、ナビゲーション装置に機種識別用データ発生手段を設け、この機種識別用データ発生手段により機種固有の機種識別用データを発生させる。機種識別用データ発生手段は、例えば複数の端子と、これらの端子に選択的に接続された抵抗素子、すなわちハードウエアにより構成する。処理手段は、主プログラムに従って動作しているときに機種識別用データにより機種を識別し、機種固有の処理を実行する場合には、機種識別用データにより示される特定の機種別副プログラムを呼び出す。
【0010】
このように、本発明においては、ナビゲーション装置として各機種に共通する部分を主プログラムで処理し、各機種固有の部分を機種別副プログラムで処理するので、1つの実行プログラムにより各機種固有の機能を実現できる。これにより、CD−ROM又はDVD−ROM(以下、単に「CD−ROM」という)等の製造コストが低減されるとともに、ソフトウエアの管理が容易になる。
【0011】
なお、機種毎に固有の処理を実行しようとする毎に機種識別用データ発生手段(ハードウエア)から機種識別用データを読み込んでいては、処理に時間がかかってしまう。このため、機種識別用データは、ダイナミックランダムアクセスメモリ(Dynamic Random Access Memory:以下、DRAMという)に記憶しておくことが好ましい。しかし、DRAMに記憶されたデータは電源をオフにしたときに消えてしまう。また、DRAMに記憶されたデータは、ノイズ等の原因により動作中に書き替えられてしまうおそれもある。DRAMに記憶された機種識別用データが書き替えられてしまうと、他の機種用の副プログラムが実行されて、他の機種用の表示画面が表示されるなどの誤動作が発生するおそれがある。
【0012】
このような不具合を防ぐために、本発明においては、機種識別用データ発生手段から取得した機種識別用データを不揮発性メモリに複写する。このとき、機種識別用データ発生手段からデータを複数回読み出し、最も出現頻度が高い値を機種識別用データとすることが好ましい。そして、不揮発性メモリに記憶された機種識別用データをDRAMに複写し、実行プログラムを実行中に各機種別の副プログラムを呼び出すときには、DRAMに記憶されている機種識別用データを参照する。
【0013】
また、請求項3に記載の発明においては、DRAMに記憶されている機種識別用データと不揮発性メモリに記憶されている機種識別用データとを定期的に比較し、DRAMに記録されている機種識別用データに異常がないか否かを検査する。これにより、他の機種用の機種別副プログラムが実行されることを確実に回避できる。
【0014】
【発明の実施の形態】
以下、本発明の実施の形態について、添付の図面を参照して説明する。
図1は本発明の実施の形態のナビゲーション装置を示すブロック図である。本実施の形態においては、図2に示すように、3種類のナビゲーション装置A,B,Cについて共通の実行プログラムAで動作させる場合について説明する。ナビゲーション装置A,B,CのハードウエアA1 ,A2 ,A3 の仕様は基本的に同じであり、細部の仕様(例えば、他の装置と接続するためのポートの有無や、後述するI/Oポート12の端子a〜dに接続されるチップ抵抗の有無等)のみが若干異なる。
【0015】
CPU11、I/O(Input-Output)ポート12、SRAM(Static Random Access Memory )13、フラッシュメモリ14、DRAM15及びインターフェース16等が共通バスライン20に接続されており、この共通バスライン20を介して相互にデータが送受される。また、共通バスライン20には、GPS受信機と接続されるインターフェース(図示せず)及びディスプレイに接続されるインターフェース(図示せず)等も接続されている。
【0016】
I/Oポート12は、機種毎(ナビゲーション装置A,B,C毎)に異なる機種識別用データを発生する。すなわち、I/Oポート12は4個の端子a〜dを備えており、これらの端子a〜dと電源ラインVccとの間には、ナビゲーション装置の機種A,B,Cに応じて、チップ抵抗18が選択的に接続される。例えば、図3に示すように、ナビゲーション装置Aでは端子cにのみチップ抵抗18が接続され、ナビゲーション装置Bでは端子bにのみチップ抵抗18が接続され、ナビゲーション装置Cでは端子b,c,dにチップ抵抗18が接続されている。I/Oポート12は、チップ抵抗18を介して電源電圧が入力された端子を“1”、チップ抵抗が接続されていない端子を“0”として、4ビットの機種識別用データとする。つまり、各機種毎にチップ抵抗の接続状態は異なるので、機種識別用データにより機種を識別することができる。なお、本実施の形態において、機種識別用データの最下位ビットはパリティビットとする。
【0017】
フラッシュメモリ14は書替え可能なメモリであり、このフラッシュメモリ14にはハードウエアをナビゲーション装置として動作させるための実行プログラムが記憶される。SRAM13は機種識別用データ及び後述するエラー履歴を記憶するための不揮発性メモリであり、このSRAM13は、ナビゲーション装置の電源がオフになってもバッテリー(図示せず)によりバックアップされて、記憶した機種識別用データを保持する。DRAM15も機種識別用データを記憶するためのメモリであり、このDRAM15はナビゲーション装置の電源がオフになると、データは消えてしまう。
【0018】
インターフェース16はCD−ROM駆動装置17と接続され、CD−ROM駆動装置17に装填されたCD−ROMから読み出したバージョンアップ用プログラム又は地図データをバスライン20に出力する。CPU11は、フラッシュメモリ14に記憶されている実行プログラムに従ってGPS受信機で受信したGPS信号から車両の現在位置を検出したり、CD−ROMから読み出した地図データを基に地図画像を描画したり、車両の現在位置を出発地として目的地までの誘導経路を探索し、その誘導経路に沿って車両を目的地まで案内すべく種々の案内情報をディスプレイに表示する。また、バージョンアップ時には、CPU11はCD−ROMからバージョンアップ用プログラムを読み出してフラッシュメモリ14に書き込む。
【0019】
図4は本実施の形態のナビゲーション装置の実行プログラムの構成を示す模式図である。この実行プログラムは、1つのメインルーチン(主プログラム)と、3つの機種別サブルーチン(機種別副プログラム)A,B.Cとにより構成されている。CPU11はメインルーチンに従った処理を実行し、I/Oポート12から機種識別用データを入力してSRAM13及びDRAM15にコピーする。そして、機種毎に異なる処理が必要なときに、DRAM15に記憶されている機種識別用データを参照して、メインルーチンから呼び出す機種別サブルーチンを選択する。機種別サブルーチンAはナビゲーション装置A用のサブルーチンであり、ナビゲーション装置Aに固有の機能、固有の表示及び遷移するタイミング等を実現するためのプログラムが記述されている。同様に、機種別サブルーチンB,Cはそれぞれナビゲーション装置B,Cに固有の機能、固有の表示及び遷移するタイミング等を実現するためのプログラムが記述されている。
【0020】
図5は本実施の形態のナビゲーション装置の電源オン時の動作を示すフローチャート、図6は機種識別用データの遷移を示す模式図である。
まず、ナビゲーション装置の電源をオンにすると、ステップS1において、CPU11は、SRAM13からDRAM15に機種識別用データをコピーする。そして、ステップS2に移行し、コピーが正常に行われたか否かをチェックする。コピーが正常に行われなかった場合、例えばDRAM15に記憶されたデータが“0000”の場合(工場出荷時又はSRAMがクリアされたとき)はステップS3に移行し、DRAM15に機種識別用データが正常にコピーされた場合はステップS8に移行する。
【0021】
ステップS2でDRAM15への機種識別用データのコピーに失敗した場合、ステップS3において、CPU11はSRAM13に記憶されているデータを読み出し、データが空(“0000”)か否かを調べる。そして、データが空でない場合はステップS4に移行してSRAM13にエラー履歴を残した後、ステップS5に移行する。一方、ステップS3でデータが空のときは、ステップS3からステップS5に直接移行する。ここで、エラー履歴が不要な場合は、ステップS3,S4を省略してもよい。
【0022】
ステップS5において、CPU11はI/Oポート12から機種識別用データを読み出し、SRAM13に格納する。このとき、エラーの発生を防止するために、CPU11はI/Oポート12から機種識別用データを11回読み出し、最も出現頻度が多い値を正常な機種識別用データとしてSRAM13に格納する。そして、SRAM13からDRAM15に機種識別用データをコピーする。
【0023】
次に、ステップS6に移行し、CPU11は、SRAM13及びDRAM15に格納したデータにパリティーエラーがあるか否かを調べる。パリティーエラーがある場合はステップS7に移行してSRAM13にエラー履歴を残した後、ステップS8に移行する。一方、ステップS6でパリティーエラーが発生していない場合は、ステップS6からステップS8に直接移行する。ここで、エラー履歴が不要な場合は、ステップS6,S7を省略してもよい。
【0024】
ステップS8において、CPU11はフラッシュメモリ14に書き込まれた実行プログラムに従って所定の処理(例えば、GPS受信機で受信したGPS信号から車両の現在位置を検出したり、車両の現在位置の周囲の地図データをCD−ROMから読み出して地図を描画する動作)を行う。また、必要に応じて、DRAM15に記憶されている機種識別用データを参照し、その機種識別用データにより示される機種別サブルーチンを呼び出して、機種固有の処理を実行する。
【0025】
この間、CPU11は定期的にDRAM15及びSRAM13にそれぞれ記憶されている機種識別用データを比較する。すなわち、ステップS9において、CPU11は一定時間(例えば、10分間)が経過したか否かを調べ、経過した場合はステップS10に移行して、DRAM15及びSRAM13に記憶されている機種識別用データを比較する。そして、両者の値が一致している場合はステップS8に戻り、処理を継続する。一方、両者の値が一致していない場合は、ステップS11に移行して、エラー履歴をSRAM13に保存する。ここで、エラー履歴が不要な場合はステップS11を省略してもよい。その後、ステップS1に戻って、SRAM13からDRAM15に機種識別用データのコピーを行い、ステップS2以降の処理を繰り返す。
【0026】
本実施の形態においては、実行プログラムを各機種共通にできるので、バージョンアップの際に機種毎にCD−ROMを作成する必要がない。これにより、CD−ROMの作成コストが低減される。また、各機種毎の実行ファイルを1枚のCD−ROMに格納する場合に比べて必要とする記憶容量が削減でき、バージョンアップ用プログラム以外のデータ(地図データ等)を格納する容量を確保することができる。更に、メーカーにおいては、複数の機種の実行ファイルを共通化できるので、ソフトウエアの管理が容易になる。
【0027】
また、本実施の形態においては、SRAM13及びDRAM15にそれぞれ記憶されている機種識別用データを定期的に比較し、両者が異なる場合にはSRAM13からDRAM15に機種識別用データを再度コピーするので、異なる機種用のサブルーチンが実行されることを確実に防止できる。
更に、本実施の形態においては、仮に機種識別用データにエラーが発生してもエラー履歴をSRAM13に記憶した後に処理を継続するので、ナビゲーション装置としての機能が失われることはない。
【0028】
なお、上述の実施の形態においては10分間毎にSRAM13及びDRAM15にそれぞれ記憶されている機種識別用データを比較する場合について説明したが、SRAM13及びDRAM15に記憶されている機種識別用データの比較は、一定の処理毎、例えばメインルーチンからサブルーチンA,B,Cのいずれかに処理が移行する前に行うようにしてもよい。
【0029】
また、上述の実施の形態においては、機種識別用データ発生手段としてI/Oポート12及びチップ抵抗18を用いた場合について説明したが、機種識別用データ発生手段の構成はこれに限定されるものではなく、ハードウエアにより機種固有のデータを発生するものであればよい。
【0030】
【発明の効果】
以上説明したように、本発明によれば、機種識別用データを発生する機種識別用データ発生手段と、主プログラムと複数の機種別副プログラムとにより構成される実行プログラムを記憶する実行プログラム記憶手段とを有し、処理手段は、主プログラムを実行中に前記機種識別用データを参照して、前記複数の機種別副プログラムのうちから特定の機種別副プログラムを呼び出すので、複数の機種のナビゲーション装置に搭載する実行プログラムを共通化することができる。
【0031】
この場合に、不揮発性メモリ及びダイナミックランダムアクセスメモリを備え、前記機種識別用データ発生手段で発生した機種識別用データを前記不揮発性メモリ及び前記ダイナミックランダムアクセスメモリに記憶させておき、機種別副プログラムを読み出すときにはダイナミックランダムアクセスメモリに記憶している機種識別用データを参照するようにすることにより、処理速度の向上が図れる。更に、定期的に前記不揮発性メモリ及び前記ダイナミックランダムアクセスメモリにそれぞれ記憶されている機種識別用データを比較して機種識別用データの異状の有無を検査することにより、他の機種用の副プログラムを実行してしまうことを確実に防止できる。
【図面の簡単な説明】
【図1】本発明の実施の形態のナビゲーション装置を示すブロック図である。
【図2】本発明の実施の形態に係る3種類のナビゲーション装置のハードウエア及びソフトウエア構成を示す模式図である。
【図3】同じくその3種類のナビゲーション装置におけるチップ抵抗の接続状態及び機種識別用データを示す模式図である。
【図4】実施の形態のナビゲーション装置の実行プログラムの構成を示す模式図である。
【図5】実施の形態のナビゲーション装置の電源オン時の動作を示すフローチャートである。
【図6】実施の形態のナビゲーション装置における機種識別用データの遷移を示す模式図である。
【図7】従来のナビゲーション装置のハードウエア及びソフトウエア構成を示す模式図である。
【符号の説明】
11 CPU、
12 I/Oポート、
13 SRAM、
14 フラッシュメモリ、
15 DRAM、
16 インターフェース、
17 CD−ROM駆動装置、
18 チップ抵抗、
20 共通バスライン。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an in-vehicle navigation device that implements a plurality of models having different price ranges or destinations by mounting the same execution program on hardware having the same basic specifications.
[0002]
[Prior art]
Navigation devices that detect the current position of a vehicle using a GPS signal sent from a GPS (Global Positioning System) satellite have already been put into practical use and are widely used. The in-vehicle navigation device is connected to an in-vehicle audio device, a TV tuner, and the like, and is also used as an operation unit and a display unit of these devices.
[0003]
By the way, depending on the price range, destination, etc., the navigation device develops a plurality of models having the same basic specifications but different display screens and additional functions (for example, whether or not an air conditioner is displayed). There is a need. In this case, conventionally, as shown in FIG. 7, different execution programs (software) A, B, and C are mounted for each model on hardware A1, A2, and A3 having the same basic specifications. .
[0004]
In many on-vehicle navigation devices, an execution program is stored in a rewritable storage device such as a flash memory so that the program can be upgraded. The version upgrade program is supplied, for example, recorded on a CD-ROM together with the latest map data.
[0005]
[Problems to be solved by the invention]
Since the conventional navigation apparatus requires different execution programs for each model, it is necessary to create a CD-ROM for each model when upgrading the version, which increases the cost of creating the CD-ROM. In addition, the manufacturer also needs to manage software for each model, which is complicated.
[0006]
As described above, an object of the present invention is to provide a navigation apparatus that can operate each model with the same execution program for models having the same basic hardware specifications.
[0007]
[Means for Solving the Problems]
In the navigation device that detects the position of a vehicle by a signal from a GPS satellite and displays a map image around the vehicle on a display, the above-described problem is a model identification data generating unit that generates model identification data, and a plurality of models. An execution program storage means for storing an execution program composed of a common main program and a plurality of model-specific subprograms, a processing means for executing processing according to the execution program stored in the execution program storage means, and a nonvolatile memory And a random access memory, and the processing means copies the model identification data generated by the model identification data generation means to the nonvolatile memory, and further copies the model identification data to the nonvolatile memory. Copy the model identification data to the dynamic random access memory Navigation, characterized in that call a specific model-specific subprogram from among said dynamic random access said copied into the memory by referring to the model identification data of the plurality of model-specific sub-program while executing processing in accordance with the main program Solve by equipment.
[0008]
The operation of the present invention will be described below.
In order to reduce the production cost of the CD-ROM, it is conceivable to record a plurality of model-specific execution programs on one CD-ROM. However, since the execution program of the navigation device is relatively large, if a plurality of execution programs are recorded on one CD-ROM, the capacity for recording other data such as map data is reduced.
[0009]
Therefore, in the present invention, the execution file is composed of one main program and a plurality of model-specific subprograms. The navigation device is provided with model identification data generating means, and the model identification data generating means generates model identification data unique to the model. The model identification data generating means is constituted by, for example, a plurality of terminals and resistance elements selectively connected to these terminals, that is, hardware. The processing means identifies the model by the model identification data when operating in accordance with the main program, and calls a specific model-specific subprogram indicated by the model identification data when executing the model-specific processing.
[0010]
In this way, in the present invention, as a navigation device, a part common to each model is processed by the main program, and a part specific to each model is processed by the model-specific subprogram. Can be realized. This reduces the manufacturing cost of a CD-ROM or DVD-ROM (hereinafter simply referred to as “CD-ROM”) and facilitates software management.
[0011]
Note that it takes time to read the model identification data from the model identification data generating means (hardware) every time the process unique to each model is to be executed. For this reason, it is preferable to store the model identification data in a dynamic random access memory (hereinafter referred to as DRAM). However, the data stored in the DRAM disappears when the power is turned off. In addition, data stored in the DRAM may be rewritten during operation due to noise or the like. If the model identification data stored in the DRAM is rewritten, a malfunction may occur such that a sub-program for another model is executed and a display screen for another model is displayed.
[0012]
In order to prevent such a problem, in the present invention , the model identification data acquired from the model identification data generating means is copied to the nonvolatile memory. At this time, it is preferable to read the data from the model identification data generating means a plurality of times and use the value with the highest appearance frequency as the model identification data. Then, the model identification data stored in the non-volatile memory is copied to the DRAM, and the model identification data stored in the DRAM is referred to when calling the subprogram for each model during execution of the execution program.
[0013]
In the invention described in claim 3 , the model identification data stored in the DRAM and the model identification data stored in the nonvolatile memory are periodically compared, and the model recorded in the DRAM. Check whether there is any abnormality in the identification data. As a result, it is possible to reliably avoid executing the model-specific subprograms for other models.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
FIG. 1 is a block diagram showing a navigation device according to an embodiment of the present invention. In the present embodiment, as shown in FIG. 2, a case where three types of navigation devices A, B, and C are operated by a common execution program A will be described. The specifications of the hardware A1, A2, and A3 of the navigation devices A, B, and C are basically the same, and detailed specifications (for example, the presence / absence of ports for connecting to other devices, I / O ports described later) Only the presence or absence of chip resistors connected to the 12 terminals a to d) is slightly different.
[0015]
A CPU 11, an input / output (I / O) port 12, an SRAM (Static Random Access Memory) 13, a flash memory 14, a DRAM 15, an interface 16, and the like are connected to the common bus line 20. Data is sent and received between each other. The common bus line 20 is also connected to an interface (not shown) connected to the GPS receiver, an interface (not shown) connected to the display, and the like.
[0016]
The I / O port 12 generates different model identification data for each model (each navigation device A, B, C). That is, the I / O port 12 has four terminals a to d, and a chip between these terminals a to d and the power supply line Vcc depends on the models A, B, and C of the navigation device. A resistor 18 is selectively connected. For example, as shown in FIG. 3, in the navigation device A, the chip resistor 18 is connected only to the terminal c, in the navigation device B, the chip resistor 18 is connected only to the terminal b, and in the navigation device C, to the terminals b, c, and d. A chip resistor 18 is connected. The I / O port 12 uses 4-bit model identification data with “1” as the terminal to which the power supply voltage is input via the chip resistor 18 and “0” as the terminal to which the chip resistor is not connected. That is, since the connection state of the chip resistor is different for each model, the model can be identified by the model identification data. In the present embodiment, the least significant bit of the model identification data is a parity bit.
[0017]
The flash memory 14 is a rewritable memory, and this flash memory 14 stores an execution program for operating hardware as a navigation device. The SRAM 13 is a non-volatile memory for storing model identification data and an error history, which will be described later. The SRAM 13 is backed up by a battery (not shown) and stored even when the power of the navigation device is turned off. Holds identification data. The DRAM 15 is also a memory for storing model identification data. The DRAM 15 loses data when the power of the navigation device is turned off.
[0018]
The interface 16 is connected to the CD-ROM drive device 17 and outputs the upgrade program or map data read from the CD-ROM loaded in the CD-ROM drive device 17 to the bus line 20. The CPU 11 detects the current position of the vehicle from the GPS signal received by the GPS receiver according to the execution program stored in the flash memory 14, draws a map image based on the map data read from the CD-ROM, A guidance route to the destination is searched using the current position of the vehicle as a departure point, and various guidance information is displayed on the display in order to guide the vehicle to the destination along the guidance route. At the time of version upgrade, the CPU 11 reads the version upgrade program from the CD-ROM and writes it in the flash memory 14.
[0019]
FIG. 4 is a schematic diagram showing a configuration of an execution program of the navigation device of the present embodiment. This execution program includes one main routine (main program), three model-specific subroutines (model-specific subprograms) A, B. C. The CPU 11 executes processing according to the main routine, inputs model identification data from the I / O port 12, and copies it to the SRAM 13 and the DRAM 15. When different processing is required for each model, model type subroutines to be called from the main routine are selected with reference to model identification data stored in the DRAM 15. The model-specific subroutine A is a subroutine for the navigation device A, and describes a program for realizing functions unique to the navigation device A, unique display, transition timing, and the like. Similarly, the model-specific subroutines B and C describe programs for realizing functions unique to the navigation devices B and C, unique display and transition timing, respectively.
[0020]
FIG. 5 is a flowchart showing the operation of the navigation device of this embodiment when the power is turned on, and FIG. 6 is a schematic diagram showing the transition of model identification data.
First, when the power of the navigation device is turned on, the CPU 11 copies the model identification data from the SRAM 13 to the DRAM 15 in step S1. Then, the process proceeds to step S2, and it is checked whether or not copying has been performed normally. If the copying is not performed normally, for example, if the data stored in the DRAM 15 is “0000” (at the time of factory shipment or when the SRAM is cleared), the process proceeds to step S 3, and the model identification data is normal in the DRAM 15. If it has been copied, the process proceeds to step S8.
[0021]
If copying of the model identification data to the DRAM 15 fails in step S2, the CPU 11 reads the data stored in the SRAM 13 in step S3 and checks whether the data is empty (“0000”). If the data is not empty, the process proceeds to step S4 to leave an error history in the SRAM 13, and then the process proceeds to step S5. On the other hand, when the data is empty in step S3, the process directly proceeds from step S3 to step S5. Here, when the error history is unnecessary, steps S3 and S4 may be omitted.
[0022]
In step S <b> 5, the CPU 11 reads model identification data from the I / O port 12 and stores it in the SRAM 13. At this time, in order to prevent the occurrence of an error, the CPU 11 reads the model identification data from the I / O port 12 11 times, and stores the value with the highest appearance frequency in the SRAM 13 as normal model identification data. Then, the model identification data is copied from the SRAM 13 to the DRAM 15.
[0023]
Next, the process proceeds to step S6, and the CPU 11 checks whether or not the data stored in the SRAM 13 and the DRAM 15 has a parity error. If there is a parity error, the process proceeds to step S7 and an error history is left in the SRAM 13, and then the process proceeds to step S8. On the other hand, if no parity error has occurred in step S6, the process directly proceeds from step S6 to step S8. Here, when the error history is unnecessary, steps S6 and S7 may be omitted.
[0024]
In step S8, the CPU 11 performs predetermined processing (for example, detecting the current position of the vehicle from the GPS signal received by the GPS receiver according to the execution program written in the flash memory 14, or obtaining map data around the current position of the vehicle. Read out from the CD-ROM and draw a map). If necessary, the model identification data stored in the DRAM 15 is referred to, and the model-specific subroutine indicated by the model identification data is called to execute the model-specific processing.
[0025]
During this time, the CPU 11 periodically compares the model identification data stored in the DRAM 15 and the SRAM 13 respectively. That is, in step S9, the CPU 11 checks whether or not a predetermined time (for example, 10 minutes) has elapsed. If it has elapsed, the process proceeds to step S10, and the model identification data stored in the DRAM 15 and the SRAM 13 are compared. To do. And when both values correspond, it returns to step S8 and continues processing. On the other hand, if the values do not match, the process proceeds to step S11 and the error history is stored in the SRAM 13. Here, step S11 may be omitted when the error history is unnecessary. Thereafter, the process returns to step S1, the model identification data is copied from the SRAM 13 to the DRAM 15, and the processes in and after step S2 are repeated.
[0026]
In the present embodiment, since the execution program can be made common to all models, it is not necessary to create a CD-ROM for each model when upgrading the version. Thereby, the production cost of CD-ROM is reduced. In addition, the required storage capacity can be reduced as compared with the case where the execution file for each model is stored on one CD-ROM, and a capacity for storing data (such as map data) other than the upgrade program is secured. be able to. Furthermore, since manufacturers can share execution files for a plurality of models, software management becomes easy.
[0027]
In the present embodiment, the model identification data stored in the SRAM 13 and the DRAM 15 are periodically compared. If the two are different, the model identification data is copied from the SRAM 13 to the DRAM 15 again. It is possible to reliably prevent the subroutine for the model from being executed.
Furthermore, in the present embodiment, even if an error occurs in the model identification data, the processing is continued after the error history is stored in the SRAM 13, so that the function as a navigation device is not lost.
[0028]
In the above embodiment, the case where the model identification data stored in the SRAM 13 and the DRAM 15 is compared every 10 minutes has been described. However, the comparison of the model identification data stored in the SRAM 13 and the DRAM 15 is performed as follows. Alternatively, it may be performed every predetermined process, for example, before the process shifts from the main routine to any of the subroutines A, B, and C.
[0029]
In the above-described embodiment, the case where the I / O port 12 and the chip resistor 18 are used as the model identification data generating unit has been described. However, the configuration of the model identification data generating unit is limited to this. Instead, any data that generates model-specific data by hardware may be used.
[0030]
【The invention's effect】
As described above, according to the present invention, model identification data generating means for generating model identification data, and an execution program storage means for storing an execution program composed of a main program and a plurality of model-specific subprograms. And the processing means refers to the model identification data while executing the main program, and calls a specific model-specific subprogram from the plurality of model-specific subprograms. The execution program installed in the apparatus can be shared.
[0031]
In this case, a nonvolatile memory and a dynamic random access memory are provided, and model identification data generated by the model identification data generating means is stored in the nonvolatile memory and the dynamic random access memory, and the model-specific subprogram is stored. The processing speed can be improved by referring to the model identification data stored in the dynamic random access memory when reading. Further, by substituting the model identification data stored in the nonvolatile memory and the dynamic random access memory periodically to check whether there is any abnormality in the model identification data, subprograms for other models Can be reliably prevented.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a navigation device according to an embodiment of the present invention.
FIG. 2 is a schematic diagram showing hardware and software configurations of three types of navigation devices according to the embodiment of the present invention.
FIG. 3 is a schematic diagram showing chip resistor connection states and model identification data in the three types of navigation devices.
FIG. 4 is a schematic diagram illustrating a configuration of an execution program of the navigation device according to the embodiment.
FIG. 5 is a flowchart showing an operation of the navigation device of the embodiment when the power is turned on.
FIG. 6 is a schematic diagram showing transition of model identification data in the navigation device of the embodiment.
FIG. 7 is a schematic diagram showing a hardware and software configuration of a conventional navigation apparatus.
[Explanation of symbols]
11 CPU,
12 I / O ports,
13 SRAM,
14 Flash memory,
15 DRAM,
16 interface,
17 CD-ROM drive,
18 Chip resistance,
20 Common bus line.

Claims (4)

GPS衛星からの信号により車両の位置を検出して車両周囲の地図画像をディスプレイに表示するナビゲーション装置において、
機種識別用データを発生する機種識別用データ発生手段と、
複数の機種に共通の主プログラムと複数の機種別副プログラムとにより構成される実行プログラムを記憶する実行プログラム記憶手段と、
前記実行プログラム記憶手段に記憶された前記実行プログラムに従って処理を実行する処理手段と、
不揮発性メモリ及びダイナミックランダムアクセスメモリと
を有し、
前記処理手段は、前記機種識別用データ発生手段で発生した前記機種識別用データを前記不揮発性メモリに複写し、更に該不揮発性メモリに複写した前記機種識別用データを前記ダイナミックランダムアクセスメモリに複写して、
前記主プログラムに従って処理を実行中に前記ダイナミックランダムアクセスメモリに複写した前記機種識別用データを参照して前記複数の機種別副プログラムのうちから特定の機種別副プログラムを呼び出すことを特徴とするナビゲーション装置。
In a navigation device that detects the position of a vehicle by a signal from a GPS satellite and displays a map image around the vehicle on a display,
Model identification data generating means for generating model identification data;
Execution program storage means for storing an execution program composed of a main program common to a plurality of models and a plurality of model-specific subprograms;
Processing means for executing processing according to the execution program stored in the execution program storage means ;
A non-volatile memory and a dynamic random access memory ;
The processing means copies the model identification data generated by the model identification data generating means to the nonvolatile memory, and further copies the model identification data copied to the nonvolatile memory to the dynamic random access memory. do it,
Navigation that calls a specific model-specific subprogram from among the plurality of model-specific subprograms with reference to the model identification data copied to the dynamic random access memory during processing according to the main program apparatus.
前記機種識別用データ発生手段は、複数の端子と、これらの端子に選択的に接続された抵抗素子とにより構成されることを特徴とする請求項1に記載のナビゲーション装置。  The navigation apparatus according to claim 1, wherein the model identification data generating means includes a plurality of terminals and resistive elements selectively connected to the terminals. 前記処理手段は、定期的に前記不揮発性メモリと前記ダイナミックランダムアクセスメモリとに記憶されている機種識別用データを比較することにより、前記ダイナミックランダムアクセスメモリに記録されている機種識別用データの異常の有無を検査することを特徴とする請求項1に記載のナビゲーション装置。The processing means periodically compares the model identification data stored in the non-volatile memory and the dynamic random access memory, thereby causing an abnormality in the model identification data recorded in the dynamic random access memory. The navigation apparatus according to claim 1 , wherein the presence or absence of a check is checked. 前記処理手段は、前記機種識別用データ発生手段から機種識別用データを複数回読み出して、最も出現頻度が高い値を前記不揮発性メモリに複写することを特徴とする請求項1に記載のナビゲーション装置。2. The navigation apparatus according to claim 1 , wherein the processing unit reads the model identification data from the model identification data generating unit a plurality of times, and copies a value having the highest appearance frequency to the nonvolatile memory. .
JP865698A 1998-01-20 1998-01-20 Navigation device Expired - Fee Related JP3670128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP865698A JP3670128B2 (en) 1998-01-20 1998-01-20 Navigation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP865698A JP3670128B2 (en) 1998-01-20 1998-01-20 Navigation device

Publications (2)

Publication Number Publication Date
JPH11201772A JPH11201772A (en) 1999-07-30
JP3670128B2 true JP3670128B2 (en) 2005-07-13

Family

ID=11698986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP865698A Expired - Fee Related JP3670128B2 (en) 1998-01-20 1998-01-20 Navigation device

Country Status (1)

Country Link
JP (1) JP3670128B2 (en)

Also Published As

Publication number Publication date
JPH11201772A (en) 1999-07-30

Similar Documents

Publication Publication Date Title
US6253281B1 (en) Method for updating firmware of a computer peripheral device
KR100248757B1 (en) Method of damaged rom bios recovery function
US6601132B2 (en) Nonvolatile memory and method of writing data thereto
KR100541781B1 (en) Information processing apparatus and method
US5951684A (en) Method of booting a computer system with identifying a CD-ROM disk drive of the system and a method of loading a device driver
JP4789420B2 (en) Data processing apparatus for vehicle control system
US6081892A (en) Initial program load
JP3670128B2 (en) Navigation device
US20050144611A1 (en) Method for determining program code
JPH10214203A (en) Information processor
JP5084853B2 (en) Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program
CN114356384A (en) Vehicle-mounted system updating method, vehicle-mounted system detecting method and vehicle-mounted system detecting system
JP2006338445A (en) Abnormal information storage device
US5731972A (en) Electronic apparatus which inhibits control of certain objects during initialization processing
JP2000293376A (en) Circuit and method for switching boot program
US20050177768A1 (en) Update detection device and update detection program
US20250165325A1 (en) Embedded Device in a Vehicle
EP1302851A2 (en) Improvements relating to reprogramming an electronic apparatus
JP2007257271A (en) Memory diagnosis method, microcomputer system and program
JPH04326423A (en) Version-up control system
JP3070681B2 (en) Failure processing dynamic change method, failure processing dynamic change device, and recording medium therefor
US7596717B2 (en) Microcomputer and debugging method
JPS62162140A (en) Computer system
JP2506199B2 (en) Electronics
JPH11203115A (en) Control device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050413

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090422

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100422

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110422

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120422

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120422

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130422

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130422

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140422

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees