JP2007058659A - Method for testing hardware of on-vehicle device and method for writing software for product - Google Patents
Method for testing hardware of on-vehicle device and method for writing software for product Download PDFInfo
- Publication number
- JP2007058659A JP2007058659A JP2005244371A JP2005244371A JP2007058659A JP 2007058659 A JP2007058659 A JP 2007058659A JP 2005244371 A JP2005244371 A JP 2005244371A JP 2005244371 A JP2005244371 A JP 2005244371A JP 2007058659 A JP2007058659 A JP 2007058659A
- Authority
- JP
- Japan
- Prior art keywords
- software
- eeprom
- microcomputer
- writing
- written
- 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
Links
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は、車載装置のハードウエアテスト方法及び製品用ソフトウエア書き込み方法に関し、特に、車内LANインターフェースを有効に利用した車載装置のハードウエアテスト方法及び製品用ソフトウエア書き込み方法に関する。 The present invention relates to an in-vehicle device hardware test method and a product software writing method, and more particularly to an in-vehicle device hardware test method and a product software writing method that effectively use an in-vehicle LAN interface.
通常、メータ装置をはじめとする車載装置では、出荷前に車載装置のハードウエアテストが実行されると共に製品用ソフトウエアの書き込みが行われる。図5は、従来のメータ装置に含まれるメータ基板上の概略構成を示すブロック図である。図6は、従来のテスト及び書込工程を示すフローチャートである。 In general, in-vehicle devices such as a meter device, a hardware test of the in-vehicle device is executed before shipment and product software is written. FIG. 5 is a block diagram showing a schematic configuration on a meter board included in a conventional meter device. FIG. 6 is a flowchart showing a conventional test and writing process.
図5に示すように、メータ基板90には、マイクロコンピュータ91、EEPROM(Electrically Erasable and Programmable ROM)92、外部接続用コネクタ93、EEPROM書込用端子94及びテストモード用端子95が搭載されている。マイクロコンピュータ91は、マスクROM91a及び図示しないCPUCentral Processing Unit)やRAM(Random Access Memory)を含み、このメータ基板90を含むメータ装置の制御を司る。EEPROM92には、製品用ソフトウエアが格納される。
As shown in FIG. 5, the
また、外部接続用コネクタ93には車内LANや外部装置が接続可能であり、EEPROM書込用端子94にはEEPROMライタ9が接続される。テストモード用端子95は、グランドに落とすことによって、マイクロコンピュータ91をテストモードに設定するためのものである。
An in-vehicle LAN or an external device can be connected to the
ハードウエアテスト及び製品ソフトウエア書込時においては、図6に示すように、ステップS901において、EEPROM書込用端子94をEEPROMライタ9に接続する。次に、ステップS902において、この製品用ソフトウエアを、EEPROM書込用端子94を介して、EEPROM92に書き込み、ステップS903において、製品用ソフトウエアの書き込みが終了する。
At the time of hardware test and product software writing, as shown in FIG. 6, the
次に、ステップS904において、メータ基板90上のテストモード用端子95をグランドに接続することによって、マイクロコンピュータ91をテストモードに設定する。そして、ステップS905において、マイクロコンピュータ91は、マスクROM91aに予め格納されているテストモード用ソフトウエアに基づいて、ハードウエアテストを実行し、ステップS906において、ハードウエアテストが終了する。なお、ハードウエアテストでは、LCD(Liquid Crystal Display)のセグメント表示や指針動作、インジケータの動作チェック等が行われる。
Next, in step S904, the
なお、この出願の発明に直接関連する先行技術文献はないが、一般的な集積回路のセルフテスト方法は例えば以下の特許文献に示されている。
ところが、上述の従来の構成及び工程によるテスト及び書込方法では、メータ基板90に、EEPROM書込用端子94及びテストモード用端子95が必要となり、小型化への障害となる。また、マイクロコンピュータ91に搭載されるROMは、マスクROM91aであるため、予めこのROM91a上にテストモード用ソフトウエアを格納しておく必要がある。したがって、マスクROM91a上にテストモード用ソフトウエアの格納領域を確保しておく必要があるため、大容量のマスクROM91aが必要となり、コストアップを招いていた。
However, in the test and writing method according to the conventional configuration and process described above, the
よって本発明は、上述した現状に鑑み、マイクロコンピュータに大容量のROMを搭載することを不要としてコストダウンをもたらし、且つ、テストモード用端子を不要として小型化を促進することができる車載装置のハードウエアテスト方法及び製品用ソフトウエア書き込み方法を提供することを課題としている。 Therefore, in view of the present situation described above, the present invention provides an in-vehicle device that can reduce the cost by eliminating the need for mounting a large-capacity ROM in the microcomputer, and can promote downsizing without the need for a test mode terminal. It is an object to provide a hardware test method and a software writing method for products.
上記課題を解決するためになされた請求項1記載の車載装置のハードウエアテスト方法は、車内LAN及び書込装置に接続可能な外部接続用コネクタと、車内LANインターフェース及びフラッシュROMを搭載するマイクロコンピュータと、製品用ソフトウエアが書き込まれるEEPROMと、を有する車載装置のハードウエアテストを実行する方法であって、前記外部接続用コネクタに接続された前記書込装置によって、前記車内LANインターフェースを介して、前記フラッシュROMに前記ハードウエアテストに関するソフトウエアを書き込み、この書き込んだソフトウエアを用いて前記ハードウエアテストを実行する、ことを特徴とする。
A hardware test method for an in-vehicle device according to
請求項1記載の発明によれば、外部接続用コネクタに接続された書込装置によって、車内LANインターフェースを介してフラッシュROMにハードウエアテストに関するソフトウエアが書き込まれ、この書き込まれたソフトウエアを用いてハードウエアテストが実行される。 According to the first aspect of the present invention, software related to the hardware test is written into the flash ROM via the in-vehicle LAN interface by the writing device connected to the external connection connector, and the written software is used. The hardware test is executed.
上記課題を解決するためになされた請求項2記載の車載装置の製品用ソフトウエア書き込み方法は、請求項1記載のハードウエアテスト方法による前記ハードウエアテストの実行後に、前記外部接続用コネクタに接続された書込装置によって、前記EEPROMに前記製品用ソフトウエアを書き込む、ことを特徴とする。
The method for writing software for a product of an in-vehicle device according to
請求項2記載の発明によれば、外部接続用コネクタを利用してEEPROMに製品用ソフトウエアが書き込まれる。 According to the second aspect of the present invention, the product software is written in the EEPROM using the external connection connector.
請求項1記載の発明によれば、外部接続用コネクタに接続された書込装置によって、車内LANインターフェースを介してフラッシュROMにハードウエアテストに関するソフトウエアを書き込み、この書き込んだソフトウエアを用いてハードウエアテストを実行する。したがって、マイクロコンピュータに搭載されるROMに予めハードウエアテストに関するソフトウエアを格納する必要がなくなるため、マイクロコンピュータに大容量のROMを搭載することが不要となり、コストダウンをもたらすことができる。また、テストモード用端子が不要となるため、装置の小型化も促進される。 According to the first aspect of the present invention, the software relating to the hardware test is written into the flash ROM via the in-vehicle LAN interface by the writing device connected to the external connector, and the hardware is written using the written software. Run the wear test. Therefore, it is not necessary to previously store software relating to the hardware test in the ROM mounted on the microcomputer, so that it is not necessary to mount a large-capacity ROM on the microcomputer, and the cost can be reduced. In addition, since the test mode terminal is not required, downsizing of the apparatus is promoted.
請求項2記載の発明によれば、外部接続用コネクタを利用してEEPROMに製品用ソフトウエアを書き込む。したがって、EEPROM書込用端子も不要となり、更にコストダウン及び装置の小型化を促進することができる。 According to the second aspect of the invention, the product software is written in the EEPROM using the external connection connector. Therefore, an EEPROM writing terminal is not required, and further cost reduction and downsizing of the apparatus can be promoted.
以下、本発明の実施の形態を図面に基づいて説明する。まず、図1及び図2を用いて、本発明の前提となる車載装置の構成について説明する。図1は、車内LANとしてのCANを説明するための図である。図2は、車内LANに接続された車載装置としてのメータECUを示すブロック図である。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. First, the configuration of an in-vehicle device that is a premise of the present invention will be described with reference to FIGS. 1 and 2. FIG. 1 is a diagram for explaining CAN as an in-vehicle LAN. FIG. 2 is a block diagram showing a meter ECU as an in-vehicle device connected to the in-vehicle LAN.
図1に示すように、車両内には、エンジンECU(Electronic Control Unit)1、ドアECU2、メータECU3等を接続するCAN(Controller Area Network)バス4が敷設されている。CANバス4は、コストや汎用性等の観点から車内LANとして多用されているCANをプロトコルとして、エンジンECU1、ドアECU2、メータECU3等の車載装置を通信接続するものである。
As shown in FIG. 1, a CAN (Controller Area Network)
エンジンECU1、ドアECU2、メータECU3はそれぞれ、エンジン、ドア及びメータに関する制御を担う車載装置である。勿論、車内には、図示しない他種のECUもCANバス4に接続されている。
The engine ECU 1, the
図2に示すように、例えばメータECU3に対応するメータ基板30は、マイクロコンピュータ31、EEPROM32及び外部接続用コネクタ33を搭載しており、該外部接続用コネクタ33がCANバスコネクタ43に接続されてCANバス4に接続されている。本発明では、このような車内通信システムを前提として構成される車載装置を、ハードウエアテストや製品用ソフトウエア書き込みのために有効に利用する。
As shown in FIG. 2, for example, the
図3は、本発明の一実施形態に係る、車載装置に含まれるメータ基板上の概略構成を示すブロック図である。図4は、本発明の一実施形態に係るテスト及び書込工程を示すフローチャートである。 FIG. 3 is a block diagram showing a schematic configuration on the meter board included in the in-vehicle device according to the embodiment of the present invention. FIG. 4 is a flowchart illustrating a test and writing process according to an embodiment of the present invention.
図3に示すように、メータ基板30には、マイクロコンピュータ31、EEPROM32及び外部接続用コネクタ33が搭載されている。このメータ基板30には、フラッシュROM/EEPROMライタ5(請求項の書込装置に対応)が接続可能である。
As shown in FIG. 3, a
マイクロコンピュータ31は、CANI/F(インターフェース)32a及びフラッシュROM32b、並びに図示しないCPUやRAMを含み、このメータ基板30を含むメータ装置の制御を司る。CANI/F32aは、車内LANとしてのCANを用いて他装置(ECU)と通信するためのインターフェースである。フラッシュROM32bは、データの消去、書き込みを自由に行なうことができ、電源を切っても内容が消えないメモリの一種である。
The
EEPROM32は、電気的な操作によって、後からバイト単位でデータを書き換えたり、消去したりが可能なROMであり、ここでは、マイクロコンピュータ31に接続されて、製品用ソフトウエアが書き込まれる。外部接続用コネクタ33は、マイクロコンピュータ31に内部接続され、図2で示したようなCANバスコネクタ43や例えばフラッシュROM/EEPROMライタ5等が外部接続可能なコネクタである。
The EEPROM 32 is a ROM in which data can be rewritten and erased in byte units later by electrical operation. Here, the EEPROM 32 is connected to the
また、フラッシュROM/EEPROMライタ5は、上記外部接続用コネクタ33に内部接続されて、テストモード用ソフトウエア(請求項のハードウエアテストに関するソフトウエアに対応)や製品用ソフトウエアを書き込むための装置である。
Further, the flash ROM /
このような構成を前提として、ハードウエアテスト及び製品ソフトウエア書込時においては、図4に示すように、ステップS1において、外部接続用コネクタ33に接続された上記フラッシュROM/EEPROMライタ5によって、CAN通信を利用して、マイクロコンピュータ31のフラッシュROM32bへ、テストモード用ソフトウエアを書き込む。なお、この書き込みが終了すると、ハードウエアテストをスムーズに行うために、外部接続用コネクタ33からフラッシュROM/EEPROMライタ5を一旦分離する。
On the premise of such a configuration, at the time of hardware test and product software writing, as shown in FIG. 4, in step S1, the flash ROM /
次に、ステップS2おいて、マイクロコンピュータ31は、フラッシュROM32bへ書き込まれたテストモード用ソフトウエアに基づいて、ハードウエアテストを実行し、ステップS3において、ハードウエアテストが終了する。なお、ハードウエアテストでは、LCDのセグメント表示や指針動作、インジケータの動作チェック等が行われる。上記ステップS1〜ステップS3によって、従来のようにメータ基板上にテストモード用端子を搭載する必要がなくなるうえにマイクロコンピュータに搭載するROMも小容量でよくなる。
Next, in step S2, the
ハードウエアテストが終了すると、ステップS4において、外部接続用コネクタ33を再度フラッシュROM/EEPROMライタ5に接続する。そして、ステップS5において、製品用ソフトウエアを、外部接続用コネクタ33を介して、マイクロコンピュータ31に転送してEEPROM32に書き込み、ステップS6において、製品用ソフトウエアの書き込みが終了する。なお、ここでの書き込みにも、CAN通信が利用される。
When the hardware test is completed, the
以上説明したように、本発明の実施形態によれば、マイクロコンピュータに搭載されるROMに予めテストモード用ソフトウエアを格納する必要がなくなるため、マイクロコンピュータに大容量のROMを搭載することが不要となり、コストダウンをもたらすことができる。なお、マイクロコンピュータに搭載されるROMの容量が従来と同等であるとすると、自由に使用可能な容量が増えるため、より多くのバリエーションに対応可能となり、品番削減の効果が得られる。 As described above, according to the embodiment of the present invention, it is not necessary to store test mode software in the ROM mounted on the microcomputer in advance, so that it is not necessary to mount a large-capacity ROM on the microcomputer. As a result, the cost can be reduced. If the capacity of the ROM mounted on the microcomputer is equivalent to the conventional capacity, the capacity that can be freely used increases, so that it is possible to deal with more variations and the effect of reducing the product number can be obtained.
また、従来のように、テストモード用端子やEEPROM書込用端子も不要となるので、更にコストダウン及び装置の小型化を促進することができる。また、基板分離時の基板配置が容易になり、メータの意匠設計の自由度が大きくなる。 Further, since a test mode terminal and an EEPROM writing terminal are not required as in the prior art, further cost reduction and downsizing of the apparatus can be promoted. Moreover, the board | substrate arrangement | positioning at the time of board | substrate separation becomes easy, and the freedom degree of the design design of a meter becomes large.
なお、上記実施形態では、車内LANとしてCANを例示したが、車内LANとしてはSWSやMUT等の他種のプロトコルであってもよい。 In the above embodiment, CAN is exemplified as the in-vehicle LAN, but the in-vehicle LAN may be another type of protocol such as SWS or MUT.
5 フラッシュROM/EEPROMライタ(書込装置)
30 メータ基板
31 マイクロコンピュータ
32 EEPROM
32a CANインターフェース(車内LANインターフェース)
32b フラッシュROM
33 外部接続用コネクタ
5 Flash ROM / EEPROM writer (writing device)
30
32a CAN interface (in-vehicle LAN interface)
32b Flash ROM
33 External connector
Claims (2)
車内LANインターフェース及びフラッシュROMを搭載するマイクロコンピュータと、
製品用ソフトウエアが書き込まれるEEPROMと、
を有する車載装置のハードウエアテストを実行する方法であって、
前記外部接続用コネクタに接続された前記書込装置によって、前記車内LANインターフェースを介して、前記フラッシュROMに前記ハードウエアテストに関するソフトウエアを書き込み、
この書き込んだソフトウエアを用いて前記ハードウエアテストを実行する、
ことを特徴とする車載装置のハードウエアテスト方法。 An external connection connector connectable to the in-vehicle LAN and the writing device;
A microcomputer equipped with an in-vehicle LAN interface and a flash ROM;
EEPROM where product software is written,
A method for performing a hardware test of an in-vehicle device having
Write the software related to the hardware test to the flash ROM via the in-vehicle LAN interface by the writing device connected to the external connection connector,
The hardware test is executed using the written software.
A hardware test method for an in-vehicle device.
前記外部接続用コネクタに接続された書込装置によって、前記EEPROMに前記製品用ソフトウエアを書き込む、
ことを特徴とする車載装置の製品用ソフトウエア書き込み方法。 After execution of the hardware test by the hardware test method according to claim 1,
The product software is written in the EEPROM by a writing device connected to the external connection connector.
A method for writing software for a product of an in-vehicle device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005244371A JP2007058659A (en) | 2005-08-25 | 2005-08-25 | Method for testing hardware of on-vehicle device and method for writing software for product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005244371A JP2007058659A (en) | 2005-08-25 | 2005-08-25 | Method for testing hardware of on-vehicle device and method for writing software for product |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007058659A true JP2007058659A (en) | 2007-03-08 |
Family
ID=37922084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005244371A Pending JP2007058659A (en) | 2005-08-25 | 2005-08-25 | Method for testing hardware of on-vehicle device and method for writing software for product |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007058659A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7933735B2 (en) | 2007-01-31 | 2011-04-26 | Denso Corporation | Semiconductor integrated circuit |
CN102589603A (en) * | 2012-01-20 | 2012-07-18 | 南京申华汽车电子有限公司 | Comprehensive test system for automobile instruments |
JP2014032488A (en) * | 2012-08-02 | 2014-02-20 | Denso Corp | Shipping inspection device of control device |
CN104019845A (en) * | 2014-06-17 | 2014-09-03 | 上海德意达电子电器设备有限公司 | Instrument test box |
TWI760673B (en) * | 2019-12-30 | 2022-04-11 | 新唐科技股份有限公司 | Electronic device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09120364A (en) * | 1995-10-25 | 1997-05-06 | Denshi Giken:Kk | Method and device for inspecting computer-mounted product |
JP2004348178A (en) * | 2003-05-19 | 2004-12-09 | Denso Corp | Program writing method |
-
2005
- 2005-08-25 JP JP2005244371A patent/JP2007058659A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09120364A (en) * | 1995-10-25 | 1997-05-06 | Denshi Giken:Kk | Method and device for inspecting computer-mounted product |
JP2004348178A (en) * | 2003-05-19 | 2004-12-09 | Denso Corp | Program writing method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7933735B2 (en) | 2007-01-31 | 2011-04-26 | Denso Corporation | Semiconductor integrated circuit |
CN102589603A (en) * | 2012-01-20 | 2012-07-18 | 南京申华汽车电子有限公司 | Comprehensive test system for automobile instruments |
JP2014032488A (en) * | 2012-08-02 | 2014-02-20 | Denso Corp | Shipping inspection device of control device |
CN104019845A (en) * | 2014-06-17 | 2014-09-03 | 上海德意达电子电器设备有限公司 | Instrument test box |
TWI760673B (en) * | 2019-12-30 | 2022-04-11 | 新唐科技股份有限公司 | Electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103328271B (en) | Information of vehicles acquisition device and vehicle information acquisition method | |
JP6428652B2 (en) | In-vehicle update device, update system, and update processing program | |
US8458531B2 (en) | Non-volatile memory card apparatus and method for updating memory capacity information | |
CN107506309B (en) | Terminal, flash memory data writing method and computer readable storage medium | |
JP2007058659A (en) | Method for testing hardware of on-vehicle device and method for writing software for product | |
DE112018004181T5 (en) | Control device, control method and computer program | |
CN108449313B (en) | Electronic device, Internet service system risk early warning method and storage medium | |
JP6620891B2 (en) | Relay device, relay method, and computer program | |
CN111439257A (en) | Memory parking system, method, terminal and cloud server | |
CN109857426A (en) | Bootloader method for updating program, device, electronic equipment and storage medium | |
CN109388345A (en) | Method for reading data, display device and the computer readable storage medium of memory | |
JP2007203764A (en) | Displaying device for vehicle | |
CN112767565A (en) | OBU issuing and activating method and device based on vehicle machine and electronic equipment | |
JP6237543B2 (en) | In-vehicle device | |
EP3208156B1 (en) | Vehicular display device | |
WO2023045755A1 (en) | Data storage method and apparatus, and terminal device and storage medium | |
CN110377272B (en) | Method and device for realizing SDK based on TBOX | |
US9323516B2 (en) | Electronic device system and electronic device | |
JP2001242917A (en) | Method and device for controlling drive sequence in vehicle and memory means | |
US9128641B2 (en) | Parameter setting apparatus and method for automotive open system architecture-based software | |
JP2005228055A (en) | Ic for memory control | |
JP2001125790A (en) | Program reloading method for on-vehicle electronics | |
US20070088471A1 (en) | System for transmitting vehicle state information | |
JP5756666B2 (en) | Electronic control unit | |
JP2015219838A (en) | Information processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071206 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101224 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110412 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110523 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110621 |