JPH09160794A - Module test method using flash memory and test program storage rom card - Google Patents

Module test method using flash memory and test program storage rom card

Info

Publication number
JPH09160794A
JPH09160794A JP7345869A JP34586995A JPH09160794A JP H09160794 A JPH09160794 A JP H09160794A JP 7345869 A JP7345869 A JP 7345869A JP 34586995 A JP34586995 A JP 34586995A JP H09160794 A JPH09160794 A JP H09160794A
Authority
JP
Japan
Prior art keywords
test
program
card
test program
flash memory
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
JP7345869A
Other languages
Japanese (ja)
Inventor
Chiharu Nakayama
千治 中山
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7345869A priority Critical patent/JPH09160794A/en
Publication of JPH09160794A publication Critical patent/JPH09160794A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To secure the storage area for a test program, to shorten the loading time of the test program and also to hold the loaded test program even in the cut-off of a power supply so as to improve the operability and the working efficiency in a module test method. SOLUTION: When a TP ROM card 12 is put into a prescribed slot of a module 11 to be tested, a TP boot program 22 of the ROM of a CPU card 13 detects the card 12 to transfer and load the programs 23' and 24' included in the card 12 into a flash memory of the card 13. The control is shifted to a TP program 23 of the flash memory, and a test program 24 is set in an executable state. Then, a tester receives a test execution instruction through a terminal 17 connected to the card 13 and performs the test of the module 11 by analyzing the test result.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はフラッシュメモリを
構成部品とするワンチップマイクロコンピュータ搭載シ
ステムにおけるモジュール試験方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a module test system in a one-chip microcomputer mounting system having a flash memory as a component.

【0002】[0002]

【従来の技術】この種のモジュール試験方法に関連する
従来技術を以下に説明する。不揮発性のデータメモリ及
びCPU等の制御素子を有するICチップを内蔵したI
Cカードと称呼される携帯可能電子装置において、製造
されたICカードの良/不良を判定するためのテストプ
ログラム(試験プログラム)をICカードのデータメモ
リにロードして実行する従来の方式においては、製造後
に新たなテストプログラムを書き込みこれを実行させる
ことができないという問題を解消するため、例えば特開
昭63−73339号公報には、プログラム部に例えば
マスクROMの他に電気的に消去及び書き込み可能な読
み出し専用メモリ(EEPROM)や電気的に書き込み
可能な読み出し専用メモリ(EPROM)あるいはRA
M(ランダムアクセスメモリ)等の書き込み可能なメモ
リ部を割り付け、所定の条件が成立した時に、この書き
込み可能なメモリ部に携帯型電子装置の良、不良を判定
するテストプログラムを書き込む手段及びこの書き込ん
だテストプログラムを実行する手段を備えたことを特徴
とする携帯可能電子装置が提案されている。
2. Description of the Related Art A conventional technique related to this type of module test method will be described below. I incorporating an IC chip having a non-volatile data memory and a control element such as a CPU
In a portable electronic device called a C card, in a conventional method of loading a test program (test program) for determining pass / fail of a manufactured IC card into a data memory of the IC card and executing the test program, In order to solve the problem that a new test program cannot be written and executed after manufacturing, for example, in JP-A-63-73339, it is possible to electrically erase and write in the program section in addition to the mask ROM, for example. Read only memory (EEPROM), electrically writable read only memory (EPROM) or RA
A means for writing a test program for allocating a writable memory unit such as M (random access memory), and determining whether the portable electronic device is good or bad to the writable memory unit when a predetermined condition is satisfied, and the writing unit. There has been proposed a portable electronic device characterized in that it comprises means for executing a test program.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の方式の第1の問題点は、試験プログラム格納メモリ
に、製品に内蔵されるROM(読み出し専用メモリ)を
選択した場合には、試験プログラムの容量(サイズ)の
制限を受けることである。
However, the first problem of the above-mentioned conventional method is that when the ROM (read-only memory) incorporated in the product is selected as the test program storage memory, the test program It is limited by capacity (size).

【0004】これは、製品内蔵ROMには通常ユーザー
プログラムが格納されており、製造コストの点から考え
てもROM容量を安易に増大させることは不可能とされ
るため、自ずと試験プログラム容量の制限を受けること
になるからである。
This is because the ROM built into the product normally stores the user program, and it is impossible to easily increase the ROM capacity from the viewpoint of manufacturing cost. Therefore, the test program capacity is naturally limited. Because you will receive.

【0005】また、上記従来の方式の第2の問題点は、
試験プログラム格納メモリに製品内蔵RAMを選択した
場合には、試験プログラムによるモジュール試験の作業
効率が低くなることである。
The second problem of the above conventional method is that
When the product built-in RAM is selected as the test program storage memory, the work efficiency of the module test by the test program becomes low.

【0006】これは、製品の電源断等により製品内蔵R
AM上の試験プログラムが消去されてしまい、このため
再度試験プログラムのロード作業が必要とされることに
よる。
[0006] This is due to the built-in R
This is because the test program on the AM has been erased, and thus the test program loading operation is required again.

【0007】従って、本発明は、上記従来技術の問題点
を解消し、試験プログラムの充分な格納エリアを確保す
ることにより製品の保守性を向上するとともに、試験プ
ログラムのロード時間の短縮を達成し、更に製品の電源
断にあってもロードされた試験プログラムを保持するこ
とにより操作性を向上し、且つ作業効率を向上するモジ
ュール試験方式を提供することを目的とする。
Therefore, the present invention solves the above-mentioned problems of the prior art, improves the maintainability of the product by securing a sufficient storage area for the test program, and shortens the load time of the test program. Further, it is an object of the present invention to provide a module test system that improves the operability and the work efficiency by holding the loaded test program even when the product is powered off.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、フラッシュメモリを構成部品とするワン
チップマイクロコンピュータ搭載システムにおいて、試
験プログラムを格納するROMを搭載した試験プログラ
ム格納ROMカードより前記フラッシュメモリに試験プ
ログラムをロードし、前記フラッシュメモリ上の試験プ
ログラムで被試験対象のモジュールの試験を行うことを
特徴とするモジュール試験方式を提供する。
In order to achieve the above-mentioned object, the present invention provides a one-chip microcomputer mounting system having a flash memory as a component, from a test program storing ROM card equipped with a ROM storing a test program. There is provided a module test method characterized in that a test program is loaded into the flash memory and a module under test is tested by the test program on the flash memory.

【0009】本発明においては、好ましくは、製品モジ
ュールに試験プログラム格納ROM(「TP_ROM」
という)カード専用スロットを有し、さらに製品CPU
カードの論理アクセスメモリ空間を予め拡張させること
により、CPUからTP_ROMカードのプログラム格
納エリアを直接アクセスさせる手段を有し、前記TP_
ROMカード専用スロットにTP_ROMカードを挿入
することにより、製品に内蔵されるフラッシュメモリに
試験プログラムをメモリ−メモリ間転送でロードし、そ
の後はフラッシュメモリ上の試験プログラムを実行させ
るように制御する手段を有することを特徴としたもので
ある。
In the present invention, a test program storage ROM (“TP_ROM”) is preferably provided in the product module.
It has a dedicated slot for the card, and the product CPU
By expanding the logical access memory space of the card in advance, the CPU has means for directly accessing the program storage area of the TP_ROM card.
By inserting the TP_ROM card into the ROM card-dedicated slot, the test program is loaded into the flash memory built into the product by the memory-memory transfer, and thereafter the means for controlling the test program on the flash memory to be executed is provided. It is characterized by having.

【0010】本発明によれば、製品運用時に、大規模ユ
ーザープログラムが格納される製品内蔵フラッシュメモ
リ(一括消去型のEEPROM(電気的に消去及び書き
込み可能な読み出し専用メモリ))を、運用前の製品試
験時に利用する形態としたことにより、試験プログラム
の容量として十分なエリアを確保できる。
According to the present invention, the product built-in flash memory (batch erasing type EEPROM (electrically erasable and writable read-only memory)) in which a large-scale user program is stored is operated before the operation of the product. By adopting the form used during product testing, it is possible to secure a sufficient area for the capacity of the test program.

【0011】そして、試験プログラムはフラッシュメモ
リに格納されているので製品の電源断によってもプログ
ラムが消去されることはなく、このためモジュール検査
期間中における、電源断→電源入の度毎に試験プログラ
ムを再ロードすることが不要とされ、作業効率を向上で
きる。
Since the test program is stored in the flash memory, the program is not erased even when the power of the product is cut off. Therefore, during the module inspection period, the test program is deleted every time the power is turned off and the power is turned on. It is not necessary to reload, and work efficiency can be improved.

【0012】[0012]

【発明の実施の形態】本発明の実施の形態を図面を参照
して以下に詳細に説明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0013】図1は、本発明の一実施形態に係る試験方
式に係るハードウェアの構成例を示すものである。
FIG. 1 shows a configuration example of hardware according to a test system according to an embodiment of the present invention.

【0014】図1に示すように、本実施形態において
は、試験プログラム格納用ROMであるTP_ROMカ
ード12の専用スロットを具備してなる製品モジュール
11と、試験プログラム及び試験プログラムを制御する
ためのTP(試験プログラム)制御プログラムが格納さ
れたROMを搭載したTP_ROMカード12と、TP
ブートプログラム、及びユーザープログラムが格納され
たROMを搭載する製品CPUカード13と、その他の
被試験製品カード14、15、16と、CPUカード1
3に接続されたマン−マシンインターフェース(入出力
手段)としてのターミナル17と、から構成されてい
る。
As shown in FIG. 1, in this embodiment, a product module 11 having a dedicated slot for a TP_ROM card 12 which is a ROM for storing a test program, a test program, and a TP for controlling the test program. (Test program) TP_ROM card 12 having a ROM storing a control program, and TP
Product CPU card 13 having a ROM storing a boot program and a user program, other product cards under test 14, 15, 16 and CPU card 1
3 and a terminal 17 as a man-machine interface (input / output means) connected to the terminal 3.

【0015】図2は、本発明の一実施形態におけるソフ
トウェア構成の一例(メモリ配置)を示すものである。
FIG. 2 shows an example of a software configuration (memory allocation) in the embodiment of the present invention.

【0016】TP_ROMカード12のROMには、モ
ジュールの試験を行う試験プログラム24′と、試験プ
ログラムのスケジューリング制御等を行うTP制御プロ
グラム23′とが格納されている。
The ROM of the TP_ROM card 12 stores a test program 24 'for testing a module and a TP control program 23' for scheduling control of the test program.

【0017】また、CPUカード13のROMには、T
P_ROMカード12の専用スロットへの挿入を検知
し、TP_ROMカード12内に記憶格納されているプ
ログラムを製品CPUカード13のフラッシュメモリ
(F_ROM)にロードし、ロード終了時にフラッシュ
メモリ上のロードされたTP制御プログラム23に制御
を移すように構成されたTPブートプログラム22と、
ユーザープログラム21と、が格納されている。また、
図2に示すように、製品CPUカード13のフラッシュ
メモリ(F_ROM)は、製品モジュールの試験時にお
いて、TPブートプログラム22により、TP_ROM
カード12のROMからロードされた試験プログラム2
4と、これを管理制御するTP制御プログラム23と、
を記憶格納している。この製品CPUカード13のフラ
ッシュメモリ(F_ROM)は、製品運用時においては
ユーザープログラムを記憶保持する。
The ROM of the CPU card 13 has a T
The insertion of the P_ROM card 12 into the dedicated slot is detected, the program stored and stored in the TP_ROM card 12 is loaded into the flash memory (F_ROM) of the product CPU card 13, and at the end of loading, the loaded TP on the flash memory is loaded. A TP boot program 22 configured to transfer control to a control program 23,
A user program 21 and are stored. Also,
As shown in FIG. 2, the flash memory (F_ROM) of the product CPU card 13 is stored in the TP_ROM by the TP boot program 22 during the test of the product module.
Test program 2 loaded from ROM of card 12
4, and a TP control program 23 that manages and controls this,
Is stored in memory. The flash memory (F_ROM) of the product CPU card 13 stores and holds the user program during product operation.

【0018】本発明の一実施形態の動作について図面を
参照して以下に説明する。
The operation of one embodiment of the present invention will be described below with reference to the drawings.

【0019】TP_ROMカード12を被試験モジュー
ル11の所定の専用スロットに挿入すると、製品CPU
カード13ROM内のTPブートプログラム22が、T
P_ROMカード12の挿入を検知し、TP_ROMカ
ード12内のプログラム23′、24′を、製品CPU
カード13のフラッシュメモリ(F_ROM)へ、メモ
リ−メモリ間転送によりロードする。
When the TP_ROM card 12 is inserted into a predetermined dedicated slot of the module under test 11, the product CPU
The TP boot program 22 in the ROM of the card 13
When the insertion of the P_ROM card 12 is detected, the programs 23 'and 24' in the TP_ROM card 12 are stored in the product CPU.
It is loaded into the flash memory (F_ROM) of the card 13 by memory-memory transfer.

【0020】なお、TPブートプログラム22は例えば
一定周期でスロットへのTP_ROMカード12の挿入
の有無を監視するように構成されており、またTP_R
OMカード12は、好ましくは、被試験モジュール11
の電源がオン状態で挿抜可能な方式とされている。
The TP boot program 22 is configured to monitor whether or not the TP_ROM card 12 is inserted into the slot at regular intervals, and TP_R.
The OM card 12 is preferably the module under test 11
It is said that the system can be inserted and removed while the power is on.

【0021】フラッシュメモリ(F_ROM)への試験
プログラム転送が終了すると、ロードされたフラッシュ
メモリ上のTP制御プログラム23に制御が移され、試
験プログラム24が実行可能な状態になる。
When the transfer of the test program to the flash memory (F_ROM) is completed, the control is transferred to the TP control program 23 on the loaded flash memory, and the test program 24 becomes ready for execution.

【0022】この時点で、TP_ROMカード12は、
装置の試験を行うに際しては必要ではなくなる。
At this point, the TP_ROM card 12
It is not needed when testing the device.

【0023】モジュール検査者は、CPUカード13に
接続されたマン−マシンインターフェースであるターミ
ナル17から、試験実行指示、試験結果分析によりモジ
ュール検査を行う。
The module inspector conducts the module inspection from the terminal 17 which is a man-machine interface connected to the CPU card 13 by instructing the test execution and analyzing the test results.

【0024】上記第1の実施形態では、製品モジュール
に、TP_ROMカード12専用スロットを設けたが、
CPUカード13からメモリアクセスすることが可能で
あれば、特に専用スロットを設けることは必要とされ
ず、既存のカードスロットを利用することも可能であ
る。
In the first embodiment, the product module is provided with the TP_ROM card 12 dedicated slot.
If the memory can be accessed from the CPU card 13, it is not particularly necessary to provide a dedicated slot, and the existing card slot can be used.

【0025】そして、CPUカード13のフラッシュメ
モリ12は、通常大規模ユーザープログラムを格納する
のに十分な容量を有しており、このフラッシュメモリに
転送された試験プログラムは試験データの記憶保持に際
し、容量上の制限を受けない。
The flash memory 12 of the CPU card 13 usually has a sufficient capacity to store a large-scale user program, and the test program transferred to this flash memory stores the test data in storage. Not subject to capacity restrictions.

【0026】[0026]

【発明の効果】以上説明したように、本発明によれば、
製品運用時には大規模ユーザープログラムが格納される
製品内蔵フラッシュメモリを運用前の製品試験時に試験
プログラム格納メモリとして利用するようにしたことに
より、試験プログラムの容量としては十分なエリアを確
保できるため、試験プログラムの容量制限をほとんど受
けないという利点を有する。
As described above, according to the present invention,
By using the built-in flash memory that stores a large-scale user program during product operation as a test program storage memory during product testing before operation, a sufficient area for test program capacity can be secured. It has an advantage of being almost free from the capacity limitation of the program.

【0027】また、本発明によれば、試験プログラムの
格納メモリがフラッシュメモリとされるため、製品の電
源断によっても試験プログラムが消去されてしまうこと
がないため、電源断でも試験プログラムを再ロードする
ことは不要とされ、このため試験プログラムによるモジ
ュール試験の作業効率を向上するという効果を有する。
Further, according to the present invention, since the storage memory of the test program is the flash memory, the test program is not erased even when the power of the product is cut off. Therefore, the test program is reloaded even when the power is cut off. It is not necessary to do so, and this has the effect of improving the work efficiency of the module test by the test program.

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

【図1】本発明の一実施形態に係る試験方式を説明する
ためのハードウェア構成を示す図である。
FIG. 1 is a diagram showing a hardware configuration for explaining a test method according to an embodiment of the present invention.

【図2】本発明の一実施形態に係る試験方式を説明する
ためのソフトウェア構成(メモリ配置)を示す図であ
る。
FIG. 2 is a diagram showing a software configuration (memory arrangement) for explaining a test method according to an embodiment of the present invention.

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

11 被試験モジュール 12 TP_ROMカード 13 CPUカード 14〜15 製品カード 21 ユーザプログラム 22 TP制御ブートプログラム 23 TP制御プログラム 24 試験プログラム F_ROM フラッシュメモリ 11 Module under Test 12 TP_ROM Card 13 CPU Card 14-15 Product Card 21 User Program 22 TP Control Boot Program 23 TP Control Program 24 Test Program F_ROM Flash Memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】フラッシュメモリを構成部品とするワンチ
ップマイクロコンピュータ搭載システムにおいて、 試験プログラムを格納するROMを搭載した試験プログ
ラム格納ROMカードより前記フラッシュメモリに試験
プログラムをロードし、前記フラッシュメモリ上の前記
試験プログラムで被試験対象のモジュールの試験を行う
ことを特徴とするモジュール試験方式。
1. In a one-chip microcomputer mounting system having a flash memory as a component, the test program is loaded into the flash memory from a test program storing ROM card having a ROM storing the test program, and the test program is loaded on the flash memory. A module test method characterized in that a module to be tested is tested by the test program.
【請求項2】試験プログラム及びその制御プログラムを
格納した読み出し専用メモリを含むカードを所定のスロ
ットに挿入した際に、前記カードの前記スロットへの挿
入を検知し、前記カードの読み出し専用メモリ内の前記
プログラムを、製品運用時においてユーザープログラム
が格納されるフラッシュメモリへロードする手段を備
え、 前記フラッシュメモリ上にロードされた前記試験プログ
ラムの制御プログラムの制御の基に被試験対象モジュー
ルの試験プログラムが実行可能な状態に設定されること
を特徴とするモジュール試験方式。
2. When a card including a read-only memory storing a test program and its control program is inserted into a predetermined slot, the insertion of the card into the slot is detected, and the read-only memory of the card is stored. The program includes means for loading a flash memory in which a user program is stored during product operation, and the test program of the module under test is controlled under the control of the control program of the test program loaded on the flash memory. A module test method characterized by being set to an executable state.
JP7345869A 1995-12-08 1995-12-08 Module test method using flash memory and test program storage rom card Pending JPH09160794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7345869A JPH09160794A (en) 1995-12-08 1995-12-08 Module test method using flash memory and test program storage rom card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7345869A JPH09160794A (en) 1995-12-08 1995-12-08 Module test method using flash memory and test program storage rom card

Publications (1)

Publication Number Publication Date
JPH09160794A true JPH09160794A (en) 1997-06-20

Family

ID=18379550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7345869A Pending JPH09160794A (en) 1995-12-08 1995-12-08 Module test method using flash memory and test program storage rom card

Country Status (1)

Country Link
JP (1) JPH09160794A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61287776A (en) * 1985-05-14 1986-12-18 Minolta Camera Co Ltd Laser beam printer system
JPS6373339A (en) * 1986-09-17 1988-04-02 Toshiba Corp Portable electronic equipment
JPH06222946A (en) * 1993-01-22 1994-08-12 Hitachi Ltd Integrated circuit and testing method for the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61287776A (en) * 1985-05-14 1986-12-18 Minolta Camera Co Ltd Laser beam printer system
JPS6373339A (en) * 1986-09-17 1988-04-02 Toshiba Corp Portable electronic equipment
JPH06222946A (en) * 1993-01-22 1994-08-12 Hitachi Ltd Integrated circuit and testing method for the same

Similar Documents

Publication Publication Date Title
EP0442651B1 (en) Apparatus and method for background memory test during system start up
EP0991081B1 (en) Emulated EEPROM memory device and corresponding method
US6745278B2 (en) Computer capable of rewriting an area of a non-volatile memory with a boot program during self mode operation of the computer
US20050108491A1 (en) Method for testing flash memory power loss recovery
JP2004118826A (en) System unit booted using flash memory, and its booting method
CN109739769B (en) BOOTROM loading function automatic test method and device
CN106293832A (en) A kind of SOC is booted up method and system
JP3699890B2 (en) Nonvolatile semiconductor memory device
JP2000065899A (en) Semiconductor device, and its data rewriting method
US20070258288A1 (en) Flash programmer for programming NAND flash and NOR/NAND combined flash
CN105760191A (en) Embedded system equipment programming mass production method
JP2000099405A (en) Electronic equipment having flash memory
KR20010086400A (en) Method for making memory management table and memory device
US20080155309A1 (en) Memory card and debugging method employed by the same
JP3152535B2 (en) Data processing device
KR100791838B1 (en) Smart card and method for testing of smart card
CN110825421B (en) Firmware upgrading method, system and readable storage medium
JPH10214203A (en) Information processor
CN116185299A (en) Flash memory controller and related device and method
US6736325B1 (en) Codelets
JPH09160794A (en) Module test method using flash memory and test program storage rom card
WO1998013762A1 (en) Processing system and method for reading and restoring information in a ram configuration
KR20150102701A (en) Semiconductor device
JPH0371356A (en) Memory system
JPH09146774A (en) Personal computer system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980421