[go: up one dir, main page]

JP2008146381A - Embedded computer equipment - Google Patents

Embedded computer equipment Download PDF

Info

Publication number
JP2008146381A
JP2008146381A JP2006333249A JP2006333249A JP2008146381A JP 2008146381 A JP2008146381 A JP 2008146381A JP 2006333249 A JP2006333249 A JP 2006333249A JP 2006333249 A JP2006333249 A JP 2006333249A JP 2008146381 A JP2008146381 A JP 2008146381A
Authority
JP
Japan
Prior art keywords
inspection
program
end flag
embedded computer
individual
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
JP2006333249A
Other languages
Japanese (ja)
Inventor
Hidehiko Watanabe
秀彦 渡辺
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006333249A priority Critical patent/JP2008146381A/en
Publication of JP2008146381A publication Critical patent/JP2008146381A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

【課題】組み込みコンピュータ機器のボードを、種々のアプリケーションで共通に使用できるようにして、検査コストなどを削減する。
【解決手段】書き換え可能な不揮発性記憶装置(Flash ROM6)に、製造工程で実行する共通の基本検査プログラムを格納しておく。着脱可能な不揮発性メモリカードのSDカード7に、アプリケーションプログラムと個別検査プログラムを格納しておく。製造時には検査終了フラグをOFFにしておく。電源ON時に検査終了フラグがOFFであることを検出すると、基本検査プログラムと、外部インターフェイスデバイスなどに関する個別検査プログラムを実行する。検査結果がすべて正常なら検査終了フラグをセットする。Flash ROM6に、外部装置との通信時に使用する電子証明書を格納しておくが、電子証明書を使用しないアプリケーションのボードでは、検査工程で電子証明書を消去する。
【選択図】図1
A board of an embedded computer device can be used in common for various applications to reduce inspection costs.
A common basic inspection program to be executed in a manufacturing process is stored in a rewritable nonvolatile storage device (Flash ROM 6). An application program and an individual inspection program are stored in the SD card 7 of a removable nonvolatile memory card. The inspection end flag is set to OFF at the time of manufacturing. When it is detected that the inspection end flag is OFF when the power is turned on, a basic inspection program and an individual inspection program relating to an external interface device and the like are executed. If all the inspection results are normal, the inspection end flag is set. An electronic certificate used when communicating with an external device is stored in the Flash ROM 6. However, in an application board that does not use an electronic certificate, the electronic certificate is erased in an inspection process.
[Selection] Figure 1

Description

本発明は、組み込みコンピュータ機器(又は装置)に関し、特に、外部拡張インターフェイスを有する組み込みコンピュータ機器の製造工程における検査方法に関する。   The present invention relates to an embedded computer device (or apparatus), and more particularly to an inspection method in a manufacturing process of an embedded computer device having an external expansion interface.

プリンタやコピー機などを制御するために、マイクロコンピュータを搭載した制御基板が用いられる。このような制御基板は、プリンタやコピー機などに部品として組み込まれるので、組み込みコンピュータ機器と呼ばれる。汎用的な外部拡張インターフェイスを有する組み込みコンピュータ機器では、実現するアプリケーション毎に、外部拡張インターフェイスに様々なデバイスを取り付けて最終的な製品とする。また、外部機器との暗号通信の機能を持つ組み込みコンピュータ機器においては、組み込みコンピュータ機器を認証するための電子証明書を不揮発性メモリに書き込んでおく。   In order to control a printer, a copier, etc., a control board equipped with a microcomputer is used. Such a control board is called a built-in computer device because it is built as a part in a printer or a copier. In an embedded computer device having a general-purpose external extension interface, various devices are attached to the external extension interface for each application to be realized as a final product. In an embedded computer device having a function of encryption communication with an external device, an electronic certificate for authenticating the embedded computer device is written in a nonvolatile memory.

外部拡張インターフェイスを有する組み込みコンピュータ機器の製造工程では、組み込みコンピュータ機器がもつ各機能のチェックを行うとともに、外部拡張インターフェイスに接続される代表的なデバイスについての機能チェックを行う。これらのチェック用プログラムは、オンボードの不揮発性記憶装置に格納されている。以下に、組み込みコンピュータ機器の試験検査に関する従来技術の例をあげる。   In the manufacturing process of an embedded computer device having an external extension interface, each function of the embedded computer device is checked and a function check is performed on a representative device connected to the external extension interface. These check programs are stored in an on-board nonvolatile storage device. The following are examples of prior art relating to testing and testing of embedded computer equipment.

特許文献1に開示された「電子制御ユニット用機能検査装置」は、電子制御ユニットの検査用の構成部材を兼用化して、設備コストを低減したものである。検査制御部には、電子制御ユニットの機能の良不良を判定する検査プログラムが格納されている。入力信号出力ボード部を、電子制御ユニットの入力回路に接続して、入力信号を与える。入力信号出力ボード部は、複数のリレーブロックを備える。負荷供給ボード部を、電子制御ユニットの出力回路に接続して、出力信号に対応した負荷を与える。負荷供給ボード部は、複数の負荷回路ブロックを備える。測定装置部を、負荷供給ボード部に接続して、負荷の動作を検出する。   The “functional inspection device for electronic control unit” disclosed in Patent Document 1 is a component that also serves as a component for inspection of the electronic control unit, thereby reducing equipment costs. The inspection control unit stores an inspection program for determining whether the function of the electronic control unit is good or bad. The input signal output board unit is connected to the input circuit of the electronic control unit to provide an input signal. The input signal output board unit includes a plurality of relay blocks. The load supply board unit is connected to the output circuit of the electronic control unit to give a load corresponding to the output signal. The load supply board unit includes a plurality of load circuit blocks. The measuring device unit is connected to the load supply board unit to detect the operation of the load.

特許文献2に開示された「組み込み機器」は、試験と監視が容易にできる組み込み機器である。組み込み機器の動作の試験を行うための組み込み機器用ICが、組み込み機器に内蔵されている。組み込み機器用ICの通信部は、外部機器から試験項目データを受信し、外部機器に対し試験結果を送信する。組み込み機器用ICの試験部は、受信した試験項目データに基づいて組み込み機器の試験を行い、試験結果を通信部に受け渡す。組み込み機器用ICの試験結果収集部で試験結果を収集し、組み込み機器用ICの試験結果記憶部に試験結果を記憶する。   The “built-in device” disclosed in Patent Document 2 is a built-in device that can be easily tested and monitored. Embedded device ICs for testing the operation of embedded devices are built in embedded devices. The communication unit of the embedded device IC receives the test item data from the external device and transmits the test result to the external device. The embedded device IC testing unit tests the embedded device based on the received test item data and delivers the test result to the communication unit. Test results are collected by the test result collection unit of the embedded device IC, and the test results are stored in the test result storage unit of the embedded device IC.

特許文献3に開示された「回路検証装置」は、検査回路のハードウェアを変更することなく、同一ハードウェア構成で多品種の回路基板の検査をするものである。回路検証装置は、コンピュータシステム等からなる制御部により、少なくとも一部がPLD化された検証回路部を制御して、回路動作の検証を行う。用途に応じて、検証回路部のPLDの内容(PLDにロードされるPLDプログラム)を変更すると共に、制御部の制御プログラムを入れ替える。   The “circuit verification device” disclosed in Patent Document 3 inspects various types of circuit boards with the same hardware configuration without changing the hardware of the inspection circuit. The circuit verification apparatus controls a verification circuit unit at least partially converted to a PLD by a control unit including a computer system or the like to verify circuit operation. Depending on the application, the contents of the PLD of the verification circuit unit (PLD program loaded into the PLD) are changed, and the control program of the control unit is replaced.

特許文献4に開示された「機能検査方法」は、検査のための余計なメモリを持つことなく、組込み電子機器の機能検査が確実にできる方法である。外部ホスト端末から検査プログラムやデータを、バウンダリスキャンセルにセットする。検査プログラムやデータを、検査対象となる電子機器に送信する。電子機器は、検査プログラムやデータを入力として所定の動作を行う。出力値を計測手段に送信して計測する。
特開2001-265615号公報 特開2004-046299号公報 特開2004-199537号公報 特開2006-208054号公報
The “function inspection method” disclosed in Patent Document 4 is a method that can reliably perform a function inspection of an embedded electronic device without having an extra memory for the inspection. Set the inspection program and data from the external host terminal to the boundary scan cell. The inspection program and data are transmitted to the electronic device to be inspected. The electronic device performs a predetermined operation with an inspection program and data as inputs. The output value is transmitted to the measuring means and measured.
Japanese Patent Laid-Open No. 2001-265615 Japanese Patent Laid-Open No. 2004-046299 JP 2004-199537 A JP 2006-208054 JP

しかし、従来の組み込みコンピュータ機器では、次のような問題がある。製造工程で使用するオンボードのデバイスチェックプログラムをアプリケーション毎に実装すると、ボードをそれぞれのアプリケーション毎に作り分けなければならない。また、暗号通信用の電子証明書を書き込んだボードを、電子証明書と無関係なアプリケーションで使用すると、メモリに残った電子証明書が悪意の第三者に悪用される可能性がある。   However, conventional embedded computer devices have the following problems. If an on-board device check program used in the manufacturing process is installed for each application, a board must be created for each application. Further, if the board on which the electronic certificate for encryption communication is written is used in an application unrelated to the electronic certificate, the electronic certificate remaining in the memory may be misused by a malicious third party.

本発明の目的は、上記従来の問題を解決して、組み込みコンピュータ機器のボードを、全アプリケーションで共通に使用できるようにして、コストを削減することである。また、電子証明書を不正使用できないようにして、セキュリティを高める。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described conventional problems and reduce the cost by allowing a board of an embedded computer device to be used in common for all applications. It also increases security by preventing unauthorized use of electronic certificates.

上記の課題を解決するために、本発明では、組み込みコンピュータ機器を、システムを制御する中央制御装置と、初期処理プログラムと製造工程で実行する基本検査プログラムを含む各種プログラムを格納する書き換え可能な不揮発性記憶装置と、アプリケーションプログラムと製造工程で実行する個別検査プログラムを含む各種プログラムを格納する着脱可能な不揮発性メモリカードと、各プログラムを実行するための一時記憶装置と、外部拡張装置を接続するための外部インターフェイスと、製造工程における検査が終了したか否かを示す検査終了フラグをOFFとして不揮発性記憶装置に設定する手段と、検査終了フラグを調べる手段と、検査終了フラグがOFFであることに応じて基本検査プログラムと個別検査プログラムを実行する手段と、各検査プログラムによる検査結果がすべて正常の場合に検査終了フラグをONに設定する手段とを具備する構成とした。   In order to solve the above problems, in the present invention, a rewritable nonvolatile memory storing various programs including an embedded computer device, a central control device for controlling the system, an initial processing program, and a basic inspection program executed in a manufacturing process. A removable storage device, a removable nonvolatile memory card for storing various programs including an application program and an individual inspection program executed in the manufacturing process, a temporary storage device for executing each program, and an external expansion device An external interface, a means for setting an inspection end flag indicating whether or not an inspection in the manufacturing process has been completed to OFF in the nonvolatile memory device, a means for checking the inspection end flag, and an inspection end flag being OFF Means for executing basic inspection program and individual inspection program according to Result of inspection by the inspection program is all the configuration and means for setting the inspection end flag to ON when the normal.

基本検査プログラムは、中央制御装置が搭載されている主基板の各回路を検査するプログラムを含む。個別検査プログラムは、外部拡張装置を検査するプログラムを含む。または、基本検査プログラムは、中央制御装置が搭載されている主基板の各回路と外部拡張装置を検査するプログラムを含み、個別検査プログラムは、外部拡張装置を検査するプログラムを選択的に実行するプログラムを含む。外部装置との暗号通信で使用する電子証明書を不揮発性記憶装置に保持する手段と、個別検査プログラムにより電子証明書を消去する手段とを備える。   The basic inspection program includes a program for inspecting each circuit of the main board on which the central controller is mounted. The individual inspection program includes a program for inspecting the external expansion device. Alternatively, the basic inspection program includes a program for inspecting each circuit on the main board on which the central controller is mounted and the external expansion device, and the individual inspection program is a program for selectively executing a program for inspecting the external expansion device. including. Means for holding an electronic certificate used in encrypted communication with an external device in a non-volatile storage device, and means for erasing the electronic certificate by an individual inspection program.

上記のように構成したことにより、アプリケーション毎にボードを変更することなく共通に使用できるため、部品の共通化が可能となり、製造上の管理コストが削減できる。また、電子証明書を必要としないアプリケーションプログラムのみを使うボードでは、電子証明書を不正使用できないようになり、システムの信頼性が向上する。   By configuring as described above, the board can be used in common without changing the application for each application, so that the parts can be shared and the management cost in manufacturing can be reduced. In addition, a board that uses only an application program that does not require an electronic certificate prevents unauthorized use of the electronic certificate, thereby improving system reliability.

以下、本発明を実施するための最良の形態について、図1〜図5を参照しながら詳細に説明する。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to FIGS.

本発明の実施例は、共通の基本検査プログラムを書き換え可能な不揮発性記憶装置に格納し、アプリケーションプログラムと個別検査プログラムを着脱可能な不揮発性メモリカードに格納し、検査終了フラグをOFFに設定して不揮発性記憶装置に保持し、電源ON時に検査終了フラグを調べ、検査終了フラグがOFFの場合に、基本検査プログラムと個別検査プログラムを実行し、各検査プログラムによる検査結果がすべて正常の場合に検査終了フラグをONに設定する組み込みコンピュータ機器である。   In an embodiment of the present invention, a common basic inspection program is stored in a rewritable nonvolatile storage device, an application program and an individual inspection program are stored in a removable nonvolatile memory card, and an inspection end flag is set to OFF. If the inspection end flag is OFF when the power is on, the basic inspection program and the individual inspection program are executed when the inspection end flag is OFF. It is an embedded computer device that sets the inspection end flag to ON.

図1は、本発明の実施例における組み込みコンピュータ機器のブロック図である。図1において、主基板1は、メインのコントロールユニット(Main board)である。副基板2は、オプションのPCMCIAインターフェイス(PCMCIA CARD Board)である。PCMCIA CARD Boardは、PCIバスでMain boardと接続される。ACアダプタ3は、電源を供給する手段である。CPU4は、中央制御装置である。SDRAM5は、プログラムを実行するための一時記憶装置である。Flash ROM6は、ブートローダプログラムや基本検査プログラムを格納した書き換え可能な不揮発性記憶装置である。基本検査プログラムは、主基板の各回路を検査するプログラムである。SDカード7は、アプリケーションプログラムや個別検査プログラムを格納した着脱可能な不揮発性メモリカードである。個別検査プログラムは、副基板などの外部拡張装置を検査するプログラムである。SDカードコントローラ8は、SDカードをコントロールする回路である。RTC9は、リアルタイムクロックである。LED10は、状態表示用のLEDである。SW11は、モード設定用などのスイッチである。POWER12は、ACアダプタからの入力を内部電圧に変換する電源部である。   FIG. 1 is a block diagram of an embedded computer device in an embodiment of the present invention. In FIG. 1, a main board 1 is a main control unit (Main board). The sub board 2 is an optional PCMCIA interface (PCMCIA CARD Board). The PCMCIA CARD Board is connected to the Main board via a PCI bus. The AC adapter 3 is means for supplying power. The CPU 4 is a central control device. The SDRAM 5 is a temporary storage device for executing a program. The Flash ROM 6 is a rewritable nonvolatile storage device that stores a boot loader program and a basic inspection program. The basic inspection program is a program for inspecting each circuit on the main board. The SD card 7 is a detachable nonvolatile memory card that stores application programs and individual inspection programs. The individual inspection program is a program for inspecting an external expansion device such as a sub-board. The SD card controller 8 is a circuit that controls the SD card. RTC 9 is a real time clock. The LED 10 is a status display LED. SW11 is a switch for mode setting or the like. POWER12 is a power supply unit that converts an input from the AC adapter into an internal voltage.

LANコネクタ13は、ネットワークと接続されるLANインターフェイスである。シリアル通信コネクタ14は、外部装置や検査用PCと通信するRS232Cインターフェイスである。PCI/PCMCIA Bridge15は、PCIバスとPCMCIAを繋ぐブリッジチップである。PCMCIAスロット16は、PCMCIAカードを接続するインターフェイスである。USBホストカード17は、USBホスト回路である。USBホストカードには、USB/RS232C変換コネクタが接続される。   The LAN connector 13 is a LAN interface connected to a network. The serial communication connector 14 is an RS232C interface that communicates with an external device or an inspection PC. PCI / PCMCIA Bridge 15 is a bridge chip that connects the PCI bus and PCMCIA. The PCMCIA slot 16 is an interface for connecting a PCMCIA card. The USB host card 17 is a USB host circuit. A USB / RS232C conversion connector is connected to the USB host card.

図2は、組み込みコンピュータ機器の検査工程における接続方法を示すブロック図である。図2において、検査用PC18は、工場で組み込みコンピュータ機器を検査する装置である。図3は、組み込みコンピュータ機器の検査工程の流れ図である。図4は、組み込みコンピュータ機器の初期処理プログラムの流れ図である。図5は、組み込みコンピュータ機器の個別検査プログラムの流れ図である。   FIG. 2 is a block diagram showing a connection method in an inspection process of an embedded computer device. In FIG. 2, an inspection PC 18 is an apparatus for inspecting embedded computer equipment in a factory. FIG. 3 is a flowchart of an inspection process for an embedded computer device. FIG. 4 is a flowchart of the initial processing program of the embedded computer device. FIG. 5 is a flowchart of an individual inspection program for an embedded computer device.

上記のように構成された本発明の組み込みコンピュータ機器の機能と動作を説明する。最初に、組み込みコンピュータ機器の検査方法の概要を説明する。書き換え可能な不揮発性記憶装置(Flash ROM6)に、初期処理プログラムと製造工程で実行する基本検査プログラムを含む各種プログラムを格納しておく。これらのプログラムは、アプリケーションプログラムやオプション機器が異なっても共通に必要なプログラムである。個別検査プログラムとアプリケーションプログラムを含む各種のプログラムを着脱可能な不揮発性メモリカード(SDカード7)に格納しておく。これらのプログラムは、アプリケーションプログラムやオプション機器ごとに異なるプログラムである。   The function and operation of the embedded computer device of the present invention configured as described above will be described. First, an outline of an inspection method for embedded computer equipment will be described. Various programs including an initial processing program and a basic inspection program executed in the manufacturing process are stored in a rewritable nonvolatile storage device (Flash ROM 6). These programs are necessary in common even if application programs and optional devices are different. Various programs including an individual inspection program and an application program are stored in a removable nonvolatile memory card (SD card 7). These programs are different for each application program and optional device.

製造時には、Flash ROM6内の検査終了フラグをOFFにリセットしておく。検査用PCを接続して電源ONする。検査終了フラグを調べて、OFFなら基本検査プログラムと個別検査プログラムを実行する。製造工程における検査結果がすべて正常の場合に、検査終了フラグをONにセットする。Flash ROM6に、外部装置との通信時に使用する電子証明書を格納しておくが、アプリケーションプログラムで電子証明書を使用しないボードでは、検査終了時に消去しておく。   At the time of manufacture, the inspection end flag in the Flash ROM 6 is reset to OFF. Connect the inspection PC and turn on the power. The inspection end flag is checked, and if it is OFF, the basic inspection program and the individual inspection program are executed. When all the inspection results in the manufacturing process are normal, the inspection end flag is set to ON. The Flash ROM 6 stores an electronic certificate that is used when communicating with an external device. However, on a board that does not use an electronic certificate in an application program, the electronic certificate is deleted when the inspection ends.

次に、図1を参照しながら、組み込みコンピュータ機器について説明する。ACアダプタ3から電源を供給し、ACアダプタ3からの入力を電源部(POWER3)で内部電圧に変換する。メインのコントロールユニットである主基板1(Main board)に、オプションのPCMCIAインターフェイスである副基板2(PCMCIA CARD Board)が接続されている。副基板2(PCMCIA CARD Board)は、PCIバスで主基板1(Main board)と接続されている。Flash ROM6に、ブートローダプログラムや基本検査プログラムが格納されている。着脱可能な不揮発性メモリカードであるSDカード7には、アプリケーションプログラムや個別検査プログラムが格納されている。SDカード7は、SDカードコントローラ8でコントロールされる。   Next, an embedded computer device will be described with reference to FIG. Power is supplied from the AC adapter 3, and the input from the AC adapter 3 is converted into an internal voltage by the power supply unit (POWER3). An optional sub board 2 (PCMCIA CARD Board) which is an optional PCMCIA interface is connected to a main board 1 (Main board) which is a main control unit. The sub board 2 (PCMCIA CARD Board) is connected to the main board 1 (Main board) by a PCI bus. The flash ROM 6 stores a boot loader program and a basic inspection program. The SD card 7 which is a detachable nonvolatile memory card stores application programs and individual inspection programs. The SD card 7 is controlled by the SD card controller 8.

各プログラムは、実行エリアであるSDRAM5に展開されて、中央制御装置としてのCPU4で実行される。スイッチ(SW11)で動作モードなどを設定し、RTC9(リアルタイムクロック)で時刻情報を発生する。LED10に動作状態を表示する。LANコネクタ13を介してネットワークと接続できる。シリアル通信コネクタ14を介して、外部装置や検査装置とRS232Cで通信する。PCI/PCMCIA Bridge15で、PCIバスとPCMCIAを繋ぐ。PCMCIAスロット16は2チャンネルあり、オプションで様々なデバイスが接続される。ここでは、USBホストカード17が接続されている。USBホストカード17には、USB/RS232C変換コネクタが接続されている。   Each program is expanded on the SDRAM 5 which is an execution area, and is executed by the CPU 4 as a central control unit. The operation mode is set by the switch (SW11), and time information is generated by the RTC 9 (real time clock). The operating status is displayed on LED10. It can be connected to the network via the LAN connector 13. Via the serial communication connector 14, it communicates with an external device and an inspection device by RS232C. Connect PCI bus to PCMCIA with PCI / PCMCIA Bridge15. PCMCIA slot 16 has 2 channels, and various devices can be connected as an option. Here, the USB host card 17 is connected. A USB / RS232C conversion connector is connected to the USB host card 17.

次に、図2を参照しながら、組み込みコンピュータ機器の検査工程における接続方法を説明する。組み込みコンピュータ機器の主基板1と検査用PC18が、RS232Cで接続されている。副基板2と検査用PC18が、USBシリアルインターフェイスで接続されている。組み込みコンピュータ機器で実行される検査プログラムと、検査用PC18で実行される検査用プログラムとの間で、コマンドやデータが通信される。   Next, a connection method in the inspection process of the embedded computer device will be described with reference to FIG. The main board 1 of the embedded computer device and the inspection PC 18 are connected by RS232C. The sub board 2 and the inspection PC 18 are connected by a USB serial interface. Commands and data are communicated between an inspection program executed by the embedded computer device and an inspection program executed by the inspection PC 18.

次に、図3を参照しながら、組み込みコンピュータ機器の検査手順の概要を説明する。組み込みコンピュータ機器は、工場での検査が完了していない状態では、Flash ROM6上の検査終了フラグがOFFの状態になっている。検査用PCを接続して、ステップ1で電源をONにすると、ブートシーケンスが開始される。ステップ2で、セルフチェック(自己診断)を実施する。ステップ3で、CPU4や各種デバイスの初期設定を行うINITプロセスが起動される。ステップ4で、初期処理プログラムが実行される。ステップ5で、検査終了フラグを調べる。検査終了フラグがONであれば、通常の起動となり、ステップ6で、SDカード7上にあるアプリケーションプログラムを、SDRAM5上のRAMディスクに展開して起動する。検査終了フラグがOFFであれば、ステップ7で検査プログラムを実行する。   Next, an outline of an inspection procedure for the embedded computer device will be described with reference to FIG. In the state where the inspection at the factory is not completed, the embedded computer device has the inspection end flag on the Flash ROM 6 turned off. When the inspection PC is connected and the power is turned on in step 1, the boot sequence is started. In step 2, a self-check (self-diagnosis) is performed. In step 3, an INIT process for initializing the CPU 4 and various devices is started. In step 4, an initial processing program is executed. In step 5, the inspection end flag is checked. If the inspection end flag is ON, normal startup is performed. In step 6, the application program on the SD card 7 is loaded on the RAM disk on the SDRAM 5 and started. If the inspection end flag is OFF, the inspection program is executed in step 7.

次に、図4を参照しながら、初期処理プログラムの処理手順を説明する。ステップ11で、各種環境変数を設定する。ステップ12で、SDカード7のチェックとマウントを実行する。ステップ13で、検査終了フラグをチェックする。検査終了フラグがONであれば、通常の起動となり、ステップ14で、SDカード7上にあるアプリケーションプログラムを、SDRAM5上のRAMディスクに展開して、ステップ15で起動する。検査終了フラグがOFFの場合、ステップ16で、基本検査プログラムを実行する。ステップ17で、SDカード7上に個別検査プログラムが存在するかチェックする。存在していなければ検査を終了する。存在していれば、ステップ18で個別検査プログラムを実行する。この実行後、ステップ19で検査終了フラグをチェックし、検査終了フラグがONであれば、ステップ20で、SDカード7上の個別検査プログラムを削除する。各検査プログラムで異常が検出されれば、検査用PCに通知されて異常処理が行なわれる。この点は従来と同様であるので、詳細は省略する。   Next, the processing procedure of the initial processing program will be described with reference to FIG. In step 11, various environment variables are set. In step 12, the SD card 7 is checked and mounted. In step 13, the inspection end flag is checked. If the inspection end flag is ON, normal activation is performed. In step 14, the application program on the SD card 7 is expanded on the RAM disk on the SDRAM 5, and activated in step 15. If the inspection end flag is OFF, the basic inspection program is executed in step 16. In step 17, it is checked whether an individual inspection program exists on the SD card 7. If it does not exist, the inspection is terminated. If it exists, the individual inspection program is executed in step 18. After this execution, the inspection end flag is checked in step 19, and if the inspection end flag is ON, the individual inspection program on the SD card 7 is deleted in step 20. If an abnormality is detected in each inspection program, the inspection PC is notified and abnormality processing is performed. Since this point is the same as in the prior art, details are omitted.

次に、図5を参照しながら、個別検査プログラムの処理手順を説明する。個別検査プログラムでは、個別検査プログラムの起動を明示するため、ステップ21でLED10を点滅させる。その後、オプション機器ありの場合、すなわち、USBホストおよびUSBシリアルケーブルがある場合は、ステップ22で、USBホストとUSBシリアルドライバをロードし、ステップ23で、USBシリアル変換器の有無をチェックする。ステップ24で、USBシリアル変換器が確認できれば、オプション機器であるUSBホストとUSBシリアルケーブルが正しく動作していることが分かる。   Next, the processing procedure of the individual inspection program will be described with reference to FIG. In the individual inspection program, the LED 10 is blinked in step 21 in order to clearly indicate the activation of the individual inspection program. Thereafter, if there is an optional device, that is, if there is a USB host and a USB serial cable, the USB host and USB serial driver are loaded at step 22 and the presence / absence of a USB serial converter is checked at step 23. If you can confirm the USB serial converter in step 24, you can see that the optional USB host and USB serial cable are working properly.

USBシリアル変換器が正しく検出できると、ステップ25で、USBシリアル変換器デバイスに、「@@@USB CARDDETECT OK@@@」の文字を送信する。検査用PC側はこれを受信し、「@@@USB COMMAND Received@@@」を返送し、USBシリアル経由の送受信が正しくできたことを確認できる。また、USBシリアル変換器が見つからない場合、ステップ26で、LED10を消灯して終了する。オプション機器が無いアプリケーションの場合、USBホストのシリアルドライバのロードステップから、USBシリアル変換器へのUSBシリアル変換器検出結果の通知ステップまでの処理手順(ステップ22〜26)は実行されない。   If the USB serial converter can be detected correctly, in step 25, the characters “@@@ USB CARDDETECT OK @@@” are sent to the USB serial converter device. The inspection PC receives this and sends back “@@@ USB COMMAND Received @@@” to confirm that the transmission / reception via the USB serial has been performed correctly. If no USB serial converter is found, in step 26, the LED 10 is turned off and the process ends. In the case of an application without an optional device, the processing procedure (steps 22 to 26) from the USB host serial driver load step to the USB serial converter detection result notification step to the USB serial converter is not executed.

USBシリアルのチェックが完了すると、個別検査プログラムは、ステップ27で、検査終了フラグをONにする。このとき、他の機器との暗号通信用の電子証明書が不要なアプリケーションプログラムのみを使用するボードでは、Flash ROM6上に書き込まれた電子証明書を消去する。電子証明書の消去が完了すると、ステップ28で、シリアル通信コネクタ14を介してRS232Cで、「@@@Rescue Certificate Delete OK@@@」を送出し、検査用PC側に検査終了を通知し、ステップ29で、LED10を点灯して終了する。なお、他の機器との暗号通信用の電子証明書が必要なアプリケーションプログラムを使用するボードでは、電子証明書の消去に関連する手順は実行しない。   When the USB serial check is completed, the individual inspection program turns the inspection end flag ON in step 27. At this time, in a board that uses only an application program that does not require an electronic certificate for encryption communication with another device, the electronic certificate written on the Flash ROM 6 is erased. When the deletion of the electronic certificate is completed, in step 28, send "@@@ Rescue Certificate Delete OK @@@" via RS232C via the serial communication connector 14, and notify the inspection PC to the inspection end, In step 29, the LED 10 is turned on and the process ends. Note that on a board that uses an application program that requires an electronic certificate for encryption communication with another device, the procedure related to erasing the electronic certificate is not executed.

個別検査プログラムは、アプリケーションごとに作成されて、SDカード7に格納されているため、主基板1(Main board)を全てのアプリケーションに共通の構成にしても、SDカード7のみ交換すれば、オプション機器を実装するアプリケーション毎に対応することができる。個別検査プログラムは、プログラムの実体を有するものでもよいし、他の場所にあるプログラムを選択的に実行するように指示するスクリプトなどであってもよい。また、検査用PCが参照して検査プログラムを選択することができるテーブルなどの形式であってもよい。基本検査プログラムに、外部拡張装置を検査する検査プログラムを含めておき、個別検査プログラムで必要な検査プログラムを選択的に実行するようにしてもよい。   Since the individual inspection program is created for each application and stored in the SD card 7, even if the main board 1 (Main board) is configured to be common to all applications, it is optional if only the SD card 7 is replaced. It can correspond to each application that implements the device. The individual inspection program may have a program entity, or may be a script that instructs to selectively execute a program at another location. Further, it may be in the form of a table or the like which can be selected by referring to the inspection PC. An inspection program for inspecting the external expansion device may be included in the basic inspection program, and a necessary inspection program may be selectively executed by the individual inspection program.

上記のように、本発明の実施例では、組み込みコンピュータ機器を、共通の基本検査プログラムを書き換え可能な不揮発性記憶装置に格納し、アプリケーションプログラムと個別検査プログラムを着脱可能な不揮発性メモリカードに格納し、検査終了フラグをOFFに設定して不揮発性記憶装置に保持し、電源ON時に検査終了フラグを調べ、検査終了フラグがOFFの場合に、基本検査プログラムと個別検査プログラムを実行し、各検査プログラムによる検査結果がすべて正常の場合に検査終了フラグをONに設定する構成としたので、アプリケーション毎にボードを変更することなく共通に使用できるため、部品の共通化が可能となり、製造上の管理コストが削減できる。   As described above, in the embodiment of the present invention, the embedded computer device is stored in a rewritable nonvolatile storage device with a common basic inspection program, and the application program and the individual inspection program are stored in a removable nonvolatile memory card. The inspection end flag is set to OFF and stored in the nonvolatile storage device. When the power is turned on, the inspection end flag is checked. When the inspection end flag is OFF, the basic inspection program and the individual inspection program are executed. Since the inspection end flag is set to ON when all the inspection results by the program are normal, it can be used in common without changing the board for each application, so it is possible to share parts and manage manufacturing Cost can be reduced.

本発明の組み込みコンピュータ機器は、外部拡張インターフェイスを備えて、種々のオプション機器を接続でき、多様なアプリケーションプログラムを利用できる組み込みコンピュータ機器として最適である。   The embedded computer device of the present invention is optimal as an embedded computer device that includes an external expansion interface, can connect various optional devices, and can use various application programs.

本発明の実施例における組み込みコンピュータ機器のブロック図である。It is a block diagram of the embedded computer apparatus in the Example of this invention. 本発明の実施例における組み込みコンピュータ機器の検査工程における接続方法を示すブロック図である。It is a block diagram which shows the connection method in the test | inspection process of the embedded computer apparatus in the Example of this invention. 本発明の実施例における組み込みコンピュータ機器の検査工程の流れ図である。It is a flowchart of the inspection process of the embedded computer apparatus in the Example of this invention. 本発明の実施例における組み込みコンピュータ機器の初期処理プログラムの流れ図である。It is a flowchart of the initial processing program of the embedded computer apparatus in the Example of this invention. 本発明の実施例における組み込みコンピュータ機器の個別検査プログラムの流れ図である。It is a flowchart of the individual test | inspection program of the embedded computer apparatus in the Example of this invention.

符号の説明Explanation of symbols

1・・・主基板、2・・・副基板、3・・・ACアダプタ、4・・・CPU、5・・・SDRAM、6・・・Flash ROM、7・・・SDカード、8・・・SDカードコントローラ、9・・・RTC、10・・・LED、11・・・SW、12・・・POWER、13・・・LANコネクタ、14・・・シリアル通信コネクタ、15・・・PCI/PCMCIA Bridge、16・・・PCMCIAスロット、17・・・USBホストカード、18・・・検査用PC。 DESCRIPTION OF SYMBOLS 1 ... Main board, 2 ... Sub board, 3 ... AC adapter, 4 ... CPU, 5 ... SDRAM, 6 ... Flash ROM, 7 ... SD card, 8 ...・ SD card controller, 9 ... RTC, 10 ... LED, 11 ... SW, 12 ... POWER, 13 ... LAN connector, 14 ... serial communication connector, 15 ... PCI / PCMCIA Bridge, 16 ... PCMCIA slot, 17 ... USB host card, 18 ... PC for inspection.

Claims (6)

システムを制御する中央制御装置と、初期処理プログラムと製造工程で実行する基本検査プログラムを含む各種プログラムを格納する書き換え可能な不揮発性記憶装置と、アプリケーションプログラムと製造工程で実行する個別検査プログラムを含む各種プログラムを格納する着脱可能な不揮発性メモリカードと、前記各プログラムを実行するための一時記憶装置と、外部拡張装置を接続するための外部インターフェイスと、製造工程における検査が終了したか否かを示す検査終了フラグをOFFとして前記不揮発性記憶装置に設定する手段と、前記検査終了フラグを調べる手段と、前記検査終了フラグがOFFであることに応じて前記基本検査プログラムと前記個別検査プログラムを実行する手段と、前記各検査プログラムによる検査結果がすべて正常の場合に前記検査終了フラグをONに設定する手段とを具備することを特徴とする組み込みコンピュータ機器。   Includes a central controller that controls the system, a rewritable nonvolatile storage device that stores various programs including an initial processing program and a basic inspection program executed in the manufacturing process, and an individual inspection program executed in the application program and the manufacturing process A removable nonvolatile memory card for storing various programs, a temporary storage device for executing each program, an external interface for connecting an external expansion device, and whether inspection in the manufacturing process is completed Means for setting the inspection end flag to OFF in the nonvolatile storage device, means for checking the inspection end flag, and executing the basic inspection program and the individual inspection program in response to the inspection end flag being OFF And all the inspection results by each inspection program Embedded computer equipment, characterized by comprising means for setting the inspection end flag to ON when normally. 前記基本検査プログラムは、前記中央制御装置が搭載されている主基板の各回路を検査するプログラムを含むことを特徴とする請求項1記載の組み込みコンピュータ機器。   2. The embedded computer apparatus according to claim 1, wherein the basic inspection program includes a program for inspecting each circuit of a main board on which the central control unit is mounted. 前記個別検査プログラムは、前記外部拡張装置を検査するプログラムを含むことを特徴とする請求項1記載の組み込みコンピュータ機器。   The embedded computer device according to claim 1, wherein the individual inspection program includes a program for inspecting the external expansion device. 前記基本検査プログラムは、前記中央制御装置が搭載されている主基板の各回路と前記外部拡張装置を検査するプログラムを含み、前記個別検査プログラムは、前記外部拡張装置を検査するプログラムを選択的に実行するプログラムを含むことを特徴とする請求項1記載の組み込みコンピュータ機器。   The basic inspection program includes a program for inspecting each circuit of the main board on which the central controller is mounted and the external expansion device, and the individual inspection program selectively selects a program for inspecting the external expansion device. The embedded computer device according to claim 1, further comprising a program to be executed. 外部装置との暗号通信で使用する電子証明書を前記不揮発性記憶装置に保持する手段と、前記個別検査プログラムにより前記電子証明書を消去する手段とを備えることを特徴とする請求項1記載の組み込みコンピュータ機器。   2. The apparatus according to claim 1, further comprising: means for holding an electronic certificate used for encryption communication with an external device in the nonvolatile storage device; and means for erasing the electronic certificate by the individual inspection program. Embedded computer equipment. 初期処理プログラムと製造工程で実行する基本検査プログラムを含む各種プログラムを書き換え可能な不揮発性記憶装置に格納し、アプリケーションプログラムと製造工程で実行する個別検査プログラムを含む各種プログラムを着脱可能な不揮発性メモリカードに格納し、製造工程における検査が終了したか否かを示す検査終了フラグをOFFとして前記不揮発性記憶装置に設定し、電源ON時に前記検査終了フラグを調べ、前記検査終了フラグがOFFの場合に、前記基本検査プログラムと前記個別検査プログラムを実行し、前記各検査プログラムによる検査結果がすべて正常の場合に前記検査終了フラグをONに設定することを特徴とする組み込みコンピュータ機器の検査方法。   Various programs including initial processing programs and basic inspection programs executed in the manufacturing process are stored in a rewritable non-volatile storage device, and various programs including application programs and individual inspection programs executed in the manufacturing process are removable. When the test end flag stored in the card and indicating whether or not the test in the manufacturing process is completed is set to the nonvolatile storage device as OFF, the test end flag is checked when the power is turned on, and the test end flag is OFF And executing the basic inspection program and the individual inspection program, and setting the inspection end flag to ON when all the inspection results of the inspection programs are normal.
JP2006333249A 2006-12-11 2006-12-11 Embedded computer equipment Pending JP2008146381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006333249A JP2008146381A (en) 2006-12-11 2006-12-11 Embedded computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006333249A JP2008146381A (en) 2006-12-11 2006-12-11 Embedded computer equipment

Publications (1)

Publication Number Publication Date
JP2008146381A true JP2008146381A (en) 2008-06-26

Family

ID=39606493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006333249A Pending JP2008146381A (en) 2006-12-11 2006-12-11 Embedded computer equipment

Country Status (1)

Country Link
JP (1) JP2008146381A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63118951A (en) * 1986-11-07 1988-05-23 Oki Electric Ind Co Ltd Single chip microcomputer
JPH06236447A (en) * 1993-02-09 1994-08-23 Mitsubishi Electric Corp Microcomputer for ic card
JP2000231499A (en) * 1999-02-12 2000-08-22 Mitsubishi Electric Corp Extended inspection program reading test equipment
JP2006139638A (en) * 2004-11-15 2006-06-01 Murata Mach Ltd Inspection method for electronic instrument

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63118951A (en) * 1986-11-07 1988-05-23 Oki Electric Ind Co Ltd Single chip microcomputer
JPH06236447A (en) * 1993-02-09 1994-08-23 Mitsubishi Electric Corp Microcomputer for ic card
JP2000231499A (en) * 1999-02-12 2000-08-22 Mitsubishi Electric Corp Extended inspection program reading test equipment
JP2006139638A (en) * 2004-11-15 2006-06-01 Murata Mach Ltd Inspection method for electronic instrument

Similar Documents

Publication Publication Date Title
CN108519938B (en) Memory chip compatibility test method, system and test host
US20080133165A1 (en) Test apparatus and device interface
CN106547653B (en) Computer system fault state detection method, device and system
JP2006242638A (en) Semiconductor inspection equipment
EP2028594A2 (en) Manufacturing method and testing method for data transfer apparatus, and the data transfer apparatus
US20120131385A1 (en) Testing mehtod for unit under test
EP4318284A1 (en) Secure boot device and method
CN110739025A (en) storage equipment power failure test method, device and system
CN110362434B (en) Object testing method and equipment
CN111277476B (en) Gateway controller function verification method, device, computer equipment and storage medium
US20080115108A1 (en) Microcomputer having security function for memory access and debugging method of the same
CN110719854A (en) Method for commissioning air conditioning system, computer readable storage medium and air conditioning system
JP5941993B2 (en) Method and apparatus for detecting defects in connection lines between a plurality of independent electronic components and a central processing unit
CN114138587B (en) Reliability verification method, device and equipment for server power supply firmware upgrade
US20080068036A1 (en) Semiconductor test system capable of virtual test and semiconductor test method thereof
CN114496053A (en) Data anomaly detection method, device and equipment and computer readable storage medium
JP2008146381A (en) Embedded computer equipment
CN101452417B (en) Monitoring method and monitoring device thereof
US11516029B2 (en) Process measuring device having a plug-in memory unit
KR100834915B1 (en) Embedded system for testing using PC and method
JP3667844B2 (en) Control board inspection system for control device of separate type air conditioner
CN111651381A (en) Semiconductor device and data protection method
CN119382836B (en) Method, device, system and storage medium for verifying serial communication bus
JP4344147B2 (en) Computer extended function testing device
JP2008097246A (en) Information processor, operation method thereof and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090710

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100712

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101116