JP3037312B1 - State evaluation method of one-chip microcomputer - Google Patents

State evaluation method of one-chip microcomputer

Info

Publication number
JP3037312B1
JP3037312B1 JP11007394A JP739499A JP3037312B1 JP 3037312 B1 JP3037312 B1 JP 3037312B1 JP 11007394 A JP11007394 A JP 11007394A JP 739499 A JP739499 A JP 739499A JP 3037312 B1 JP3037312 B1 JP 3037312B1
Authority
JP
Japan
Prior art keywords
chip microcomputer
state
ram
power supply
program
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
JP11007394A
Other languages
Japanese (ja)
Other versions
JP2000207240A (en
Inventor
政彦 佐藤
Original Assignee
米沢日本電気株式会社
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 米沢日本電気株式会社 filed Critical 米沢日本電気株式会社
Priority to JP11007394A priority Critical patent/JP3037312B1/en
Application granted granted Critical
Publication of JP3037312B1 publication Critical patent/JP3037312B1/en
Publication of JP2000207240A publication Critical patent/JP2000207240A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Abstract

【要約】 【課題】 ワンチップマイクロコンピュータの試作の評
価段階において不具合等が発生した場合、ICE等のデ
バッガを接続することなく不具合の調査や評価を行うこ
とができるワンチップマイクロコンピュータの状態評価
方法を提供する。 【解決手段】 フラッシュROM14を搭載するワンチ
ップマイクロコンピュータの状態を評価するワンチップ
マイクロコンピュータの状態評価方法において、状態評
価時のワンチップマイクロコンピュータである電源制御
用コントローラ10のメモリ状態をフラッシュROM1
4に転送することにより、状態評価時の電源制御用コン
トローラ10の動作状態を待避する。
Abstract: PROBLEM TO BE SOLVED: To evaluate and evaluate a failure of a one-chip microcomputer without connecting a debugger such as an ICE when a failure occurs in an evaluation stage of a prototype of the one-chip microcomputer. I will provide a. SOLUTION: In a state evaluation method for a one-chip microcomputer which evaluates a state of a one-chip microcomputer equipped with a flash ROM 14, a memory state of a power supply controller 10 which is a one-chip microcomputer at the time of state evaluation is determined by a flash ROM 1.
4 to save the operating state of the power supply controller 10 at the time of state evaluation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ワンチップマイ
クロコンピュータの状態評価方法に関し、特に、ノート
型パーソナルコンピュータシステムにおけるワンチップ
マイクロコンピュータの状態評価方法に関する。
The present invention relates to a method for evaluating the state of a one-chip microcomputer, and more particularly to a method for evaluating the state of a one-chip microcomputer in a notebook personal computer system.

【0002】[0002]

【従来の技術】従来、ノート型パーソナルコンピュータ
(以下ノートPCと略称する)システムにおいて、電源
制御用コントローラは、ワンチップマイクロプロセッサ
が使われている。
2. Description of the Related Art Conventionally, in a notebook personal computer (hereinafter abbreviated as notebook PC) system, a one-chip microprocessor is used as a power supply controller.

【0003】この電源制御用コントローラの状態を、試
作や評価段階において評価する場合、インサーキットエ
ミュレータ(in−circuit emulato
r:ICE)等のデバッガを接続して動作を調べてい
る。動作を調べるに当たっては、ワンチップマイクロプ
ロセッサの実装されている箇所に、ソケット等を取り付
ける必要がある。
When the state of the power supply controller is evaluated at the stage of trial manufacture or evaluation, an in-circuit emulator (in-circuit emulator) is used.
r: ICE) and the like, and the operation is checked. To check the operation, it is necessary to attach a socket or the like to a place where the one-chip microprocessor is mounted.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、ソケッ
ト等を取り付けるためには、そのための実装スペースを
確保しなければならず、実装に際し、他の部品等と接触
したりして装置を元の状態に組み立てることができなく
なったり、また、実際の評価環境と変わってしまって不
具合発生の再現等ができなくなったりしてしまう。
However, in order to mount a socket or the like, it is necessary to secure a mounting space for the socket. In mounting the device, the device may return to its original state by contacting other components or the like. It may not be possible to assemble, or it may not be possible to reproduce the occurrence of a defect due to a change from the actual evaluation environment.

【0005】更に、不具合発生の都度、試作装置にIC
Eが接続できるようにすることは、装置を分解してソケ
ットに交換したりする必要があり、解析を開始するまで
に要する時間が長くなってしまう。
Further, every time a defect occurs, an IC is
In order to allow E to be connected, it is necessary to disassemble the device and replace it with a socket, and the time required for starting the analysis becomes long.

【0006】この発明の目的は、ワンチップマイクロコ
ンピュータの試作の評価段階において不具合等が発生し
た場合、ICE等のデバッガを接続することなく不具合
の調査や評価を行うことができるワンチップマイクロコ
ンピュータの状態評価方法を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a one-chip microcomputer which can investigate and evaluate a defect without connecting a debugger such as an ICE when a defect or the like occurs in an evaluation stage of a prototype of the one-chip microcomputer. It is to provide a condition evaluation method.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、この発明に係るワンチップマイクロコンピュータの
状態評価方法は、ROMを搭載するワンチップマイクロ
コンピュータの状態を評価するワンチップマイクロコン
ピュータの状態評価方法において、状態評価時の前記ワ
ンチップマイクロコンピュータのメモリ状態を前記RO
Mに転送することにより、状態評価時の前記ワンチップ
マイクロコンピュータの動作状態を退避し、前記ワンチ
ップマイクロコンピュータの作動後、前記ROMの書き
換え動作か否かを判断し、前記ROMの書き換え或いは
電源等の制御を行い、電源等の制御に際し、前記ワンチ
ップマイクロコンピュータへの設定信号が入力されたか
否かを判断し、前記設定信号が入力の場合、その時点の
メモリ状態の全てを前記ROMに転送し記憶することを
特徴としている。
In order to achieve the above object, a method for evaluating the state of a one-chip microcomputer according to the present invention comprises the step of evaluating the state of a one-chip microcomputer equipped with a ROM. The memory state of the one-chip microcomputer at the time of state evaluation is stored in the RO
M to save the operating state of the one-chip microcomputer at the time of state evaluation ,
After the operation of the microcomputer, the ROM
Judge whether it is a rewrite operation or not, and rewrite or
Controls the power supply, etc.
Is the setting signal input to the microcomputer?
And if the setting signal is input,
All the memory states are transferred to the ROM and stored .

【0008】上記構成を有することにより、状態評価時
のワンチップマイクロコンピュータのメモリ状態がRO
Mに転送されて、状態評価時のワンチップマイクロコン
ピュータの動作状態が退避され、ワンチップマイクロコ
ンピュータの作動後、ROMの書き換え動作か否かが判
断され、ROMの書き換え或いは電源等の制御が行わ
れ、電源等の制御に際し、ワンチップマイクロコンピュ
ータへの設定信号が入力されたか否かが判断され、設定
信号が入力の場合、その時点のメモリ状態の全てをRO
Mに転送し記憶される。これにより、ワンチップマイク
ロコンピュータの試作の評価段階において不具合等が発
生した場合、ICE等のデバッガを接続することなく不
具合の調査や評価を行うことができる。
[0008] Ri due to having the above-described configuration, the memory state of a one-chip micro computer at the time of the state evaluation is RO
M, the operating state of the one-chip microcomputer at the time of state evaluation is saved, and the one-chip microcomputer
After the computer is started, it is determined whether or not the
And rewrite of ROM or control of power supply etc. is performed.
To control the power supply, etc.
It is determined whether a setting signal has been input to the
If the signal is an input, all of the current memory states are
M and stored . Thus, when a defect or the like occurs in the evaluation stage of the one-chip microcomputer prototype, the defect can be investigated and evaluated without connecting a debugger such as an ICE.

【0009】また、この発明に係るプログラムを記録し
たコンピュータ読み取り可能な記録媒体により、上記ワ
ンチップマイクロコンピュータの状態評価方法を実現す
ることができ、この発明に係る電源制御用コントローラ
により、ワンチップマイクロコンピュータである電源制
御用コントローラの状態評価方法を実現することができ
る。
Further, the method for evaluating the state of the one-chip microcomputer can be realized by a computer-readable recording medium on which the program according to the present invention is recorded. A state evaluation method of a power supply controller which is a computer can be realized.

【0010】[0010]

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

【0011】図1は、この発明の実施の形態に係るワン
チップマイクロコンピュータを備えたノートPCの構成
を示すブロック図である。図1に示すように、ワンチッ
プマイクロコンピュータ10は、ノートPC11に備え
られている。
FIG. 1 is a block diagram showing a configuration of a notebook PC having a one-chip microcomputer according to an embodiment of the present invention. As shown in FIG. 1, a one-chip microcomputer 10 is provided in a notebook PC 11.

【0012】この電源制御用コントローラ10は、ワン
チップマイクロコンピュータで、MPU(micro
processing unit)12と、RAM(r
andom access memory)13と、フ
ラッシュROM(readonly memory)1
4と、I/O(input/output)ポート15
を有している。
The power supply controller 10 is a one-chip microcomputer, and is an MPU (microcontroller).
processing unit) 12 and RAM (r
random access memory) 13 and flash ROM (read only memory) 1
4 and I / O (input / output) port 15
have.

【0013】I/Oポート15には、ACアダプタ1
6、バッテリA17、バッテリB18、キーボード1
9、DC/DCコンバータ20、CPU(centra
l processing unit)21、及び電源
スイッチ22等が接続されている。CPU21には、液
晶ディスプレイ(liquid crystal di
splay:LCD)23が接続されている。
The I / O port 15 has an AC adapter 1
6, Battery A17, Battery B18, Keyboard 1
9, DC / DC converter 20, CPU (centra
1 processing unit) 21, a power switch 22, and the like. The CPU 21 includes a liquid crystal display (liquid crystal di).
spray: LCD) 23 is connected.

【0014】電源制御用コントローラ10は、ACアダ
プタ16を検出し、バッテリA17、バッテリB18の
充放電や残量アラームを制御する。また、ノートPC1
1のシステムの電源スイッチ22を検出し、DC/DC
コンバータ20を制御し、システムの電源を制御してい
る。更に、キーボード19のキー操作に基づく押下状態
を検出し、CPU21に押し下げキーの検出状態を送出
している。
The power supply controller 10 detects the AC adapter 16 and controls charging / discharging of the battery A 17 and the battery B 18 and a remaining amount alarm. Notebook PC1
1 detects the power switch 22 of the system 1 and detects DC / DC
The converter 20 is controlled to control the power supply of the system. Further, it detects a pressed state based on a key operation of the keyboard 19 and sends the detected state of the pressed down key to the CPU 21.

【0015】図2は、図1の電源制御用コントローラに
設けられたフラッシュROMとRAMの内部構成を示す
ブロック図である。図2に示すように、電源制御用コン
トローラ10のフラッシュROM14には、電源制御プ
ログラム24とフラッシュROM書き換えプログラム2
5が、ファームウェアとして組み込まれ、また、RAM
データ転送プログラム26が組み込まれると共に、RA
M転送データエリア27が設けられている。
FIG. 2 is a block diagram showing the internal configuration of the flash ROM and RAM provided in the power supply controller of FIG. As shown in FIG. 2, the power supply control program 24 and the flash ROM rewriting program 2
5 is incorporated as firmware, and RAM
The data transfer program 26 is incorporated and RA
An M transfer data area 27 is provided.

【0016】フラッシュROM書き換えプログラム25
は、CPU21を経由してファームウェアの書き換えを
行う。RAMデータ転送プログラム26は、試作や評価
時にキーボード19の複数のキーが同時に押し下げられ
た時、RAM13の制御データ28を、フラッシュRO
M14のRAM転送データエリア27に転送して記憶す
る処理を行う。また、RAM転送データエリア27に
は、RAM13の制御データ28を退避(セーブ)させ
る。
Flash ROM rewrite program 25
Rewrites the firmware via the CPU 21. The RAM data transfer program 26 stores the control data 28 of the RAM 13 in a flash RO
A process of transferring and storing the data in the RAM transfer data area 27 of M14 is performed. Further, the RAM transfer data area 27, causes retraction (saves) the RAM13 of the control data 28.

【0017】上記構成を有するノートPC11のシステ
ムにおいて、電源制御用コントローラ10は、ACアダ
プタ16、バッテリA17、バッテリB18、キーボー
ド19、DC/DCコンバータ20、CPU21、及び
電源スイッチ22等の動作を制御している。
In the notebook PC 11 system having the above configuration, the power control controller 10 controls the operations of the AC adapter 16, battery A17, battery B18, keyboard 19, DC / DC converter 20, CPU 21, power switch 22, and the like. are doing.

【0018】電源制御用コントローラ10のMPU12
は、フラッシュROM14に書き込まれている電源制御
プログラム24により動作する。電源制御プログラム2
4には、ACアダプタ16の脱着や、バッテリA17及
びバッテリB18の有無を検出したり、各バッテリA1
7,B18の充放電或いは残量アラームを制御するプロ
グラムが組み込まれている。
The MPU 12 of the power supply controller 10
Is operated by the power supply control program 24 written in the flash ROM 14. Power control program 2
4 includes detecting whether the AC adapter 16 is attached or detached, the presence or absence of the battery A17 and the battery B18, and
7, a program for controlling the charge / discharge or remaining amount alarm of B18 is incorporated.

【0019】また、ノートPC11のシステムの電源ス
イッチ22を検出し、DC/DCコンバータ20を制御
し、システムの電源を制御してCPU21が動作するプ
ログラムや、キーボード19の押し下げ状態を検出しC
PU21にキーの検出情報を送出するプログラムも組み
込まれている。
The power supply switch 22 of the system of the notebook PC 11 is detected, the DC / DC converter 20 is controlled, the power supply of the system is controlled, and the program for operating the CPU 21 and the depressed state of the keyboard 19 are detected.
A program for sending key detection information to the PU 21 is also incorporated.

【0020】電源制御用コントローラ10のフラッシュ
ROM14に組み込まれたフラッシュROM書き換えプ
ログラム25により、評価中などに電源制御プログラム
24に不具合が生じた場合、このフラッシュROM書き
換えプログラム25を起動し、CPU21を介して修正
した電源制御プログラムを読み出し、電源制御プログラ
ムエリア24に書き込んで新しいプログラムに更新する
ことができる。
When a problem occurs in the power supply control program 24 during evaluation or the like by the flash ROM rewrite program 25 incorporated in the flash ROM 14 of the power supply controller 10, the flash ROM rewrite program 25 is started, and The modified power control program can be read and written to the power control program area 24 to be updated with a new program.

【0021】従って、試作時や評価時において、電源制
御プログラム24の動作等に不具合が生じた場合、電源
制御プログラム24の動作状態におけるRAM13の制
御データ28を解析することで、不具合の原因等を究明
することが可能である。
Therefore, when a problem occurs in the operation of the power supply control program 24 at the time of trial manufacture or evaluation, the control data 28 of the RAM 13 in the operation state of the power supply control program 24 is analyzed to determine the cause of the problem. It is possible to determine.

【0022】しかしながら、RAM13の制御データ2
8は、電源制御プログラム24の動作によりその都度変
化しており、不具合の発生時のデータを把握することは
難しい。そこで、フラッシュROM14に、RAM13
の制御データ28をフラッシュROM14のRAM転送
データエリア27に転送する処理を行うRAMデータ転
送プログラム26を組み込む。
However, the control data 2 in the RAM 13
8 changes each time due to the operation of the power supply control program 24, and it is difficult to grasp data at the time of occurrence of a failure. Therefore, the flash ROM 14 stores the RAM 13
And a RAM data transfer program 26 for transferring the control data 28 to the RAM transfer data area 27 of the flash ROM 14.

【0023】このRAMデータ転送プログラム26を、
電源制御プログラム24の動作等に不具合が生じた際に
起動させることにより、RAM13の制御データ28を
フラッシュROM14のRAM転送データ27に記憶さ
せることができる。
This RAM data transfer program 26 is
When the power supply control program 24 is activated when a malfunction occurs, the control data 28 of the RAM 13 can be stored in the RAM transfer data 27 of the flash ROM 14.

【0024】図3は、図1のワンチップマイクロコンピ
ュータのフラッシュROM内プログラムの動作を示すフ
ローチャートである。図3に示すように、先ず、電源制
御用コントローラ10のMPU12が、フラッシュRO
M14のコードにより動き出す(ステップS101)。
FIG. 3 is a flowchart showing the operation of the program in the flash ROM of the one-chip microcomputer of FIG. As shown in FIG. 3, first, the MPU 12 of the power supply controller 10
The operation starts with the code of M14 (step S101).

【0025】次に、フラッシュ書き換え動作か否かをチ
ェックし(ステップS102)、フラッシュ書き換え
(Yes)であれば、フラッシュROMの書き換えプロ
グラム25が動作し(ステップS103)、電源制御プ
ログラム24の書き換えを行う。その後、ステップS1
01へ戻る。一方、フラッシュ書き換えでない(No)
場合、電源制御プログラム24が動作し(ステップS1
04)、バッテリの充放電制御やシステムの電源等を制
御する。
Next, it is checked whether or not the flash rewrite operation is performed (step S102). If the flash rewrite operation is performed (Yes), the rewrite program 25 of the flash ROM operates (step S103), and the rewrite of the power supply control program 24 is performed. Do. Then, step S1
Return to 01. On the other hand, it is not flash rewriting (No)
In this case, the power control program 24 operates (step S1).
04), battery charge / discharge control, system power supply, and the like are controlled.

【0026】次に、キーボード19の特定の複数キーが
押し下げられているかどうかをチェックし(ステップS
105)、押し下げられていない(No)場合、電源制
御プログラム24が繰り返し動作する。
Next, it is checked whether or not specific keys on the keyboard 19 are depressed (step S).
105) If not depressed (No), the power supply control program 24 operates repeatedly.

【0027】一方、キーボード19の特定の複数キーが
押し下げられている(Yes)場合、即ち、電源制御プ
ログラム24が動作中に不具合等が発生した場合、RA
M転送プログラム26が動作し(ステップS106)、
その時点の電源制御プログラム24のRAMデータ状態
が、フラッシュROM14のRAM転送データエリア2
7に書き込まれる。
On the other hand, when a plurality of specific keys on the keyboard 19 are depressed (Yes), that is, when a trouble or the like occurs while the power supply control program 24 is operating, RA
The M transfer program 26 operates (step S106),
The RAM data state of the power control program 24 at that time is stored in the RAM transfer data area 2 of the flash ROM 14.
7 is written.

【0028】その後、ステップS104へ戻り、また電
源制御プログラム24が動作して電源等の制御が行われ
る。このとき、RAMデータが変化しても、不具合発生
時のRAMデータの状態はフラッシュROM14のRA
M転送データエリア27に記憶されているので、後から
RAM転送データエリア27を読み出すことにより不具
合発生時のRAMデータの状態を知ることができる。
Thereafter, the flow returns to step S104, and the power supply control program 24 operates to control the power supply and the like. At this time, even if the RAM data changes, the state of the RAM data at the time of occurrence of a failure is determined by the RA in the flash ROM 14.
Since the data is stored in the M transfer data area 27, the state of the RAM data at the time of occurrence of the trouble can be known by reading the RAM transfer data area 27 later.

【0029】つまり、電源制御用コントローラ10の制
御に不具合が発生した場合や、電源制御用コントローラ
10の動作状態の確認や評価を行う場合において、キー
ボード19の特定の複数キーを同時に押し下げることを
トリガに、RAM転送プログラム26が起動し、そのと
きのRAM13にある電源制御用コントローラ10の制
御状態の制御データ28の全てを、フラッシュROM1
4内のRAM転送データ27に転送し、記憶することが
できる。
That is, when a problem occurs in the control of the power supply controller 10 or when the operation state of the power supply controller 10 is checked or evaluated, the simultaneous pressing of a plurality of specific keys on the keyboard 19 is triggered. Then, the RAM transfer program 26 is activated, and all the control data 28 in the control state of the power supply controller 10 in the RAM 13 at that time are stored in the flash ROM 1.
4 can be transferred to the RAM transfer data 27 and stored.

【0030】従って、後からCPU21を介してRAM
転送データ27を見て解析することにより、電源制御プ
ログラム24における不具合の原因等を究明することが
可能になる。
Therefore, the RAM is provided later via the CPU 21.
By analyzing the transfer data 27, it is possible to determine the cause of a problem in the power supply control program 24 and the like.

【0031】このように、この発明によれば、ノートP
C11の試作の評価段階において、ワンチップマイクロ
コンピュータ(マイコン)で構成されている電源制御用
コントローラ10等で不具合等が発生した場合、発生原
因を調べるため、電源制御用コントローラ10等にIC
E等のデバッガを接続することなく、電源制御用コント
ローラ10等のメモリ(RAM)状態をフラッシュRO
M14に転送することにより、不具合発生時の電源制御
用コントローラ10の動作状態を退避(セーブ)するこ
とが可能となる。
As described above, according to the present invention, note P
In the evaluation stage of the prototype C11, if a problem or the like occurs in the power supply controller 10 or the like constituted by a one-chip microcomputer (microcomputer), an IC is provided to the power supply controller 10 or the like in order to investigate the cause.
E without connecting a debugger such as E.
By transferring the M14, it is possible to the operating state of the power control controller 10 at the time of defect occurrence retracted (save).

【0032】その後、ノートPC11のシステム等をリ
セットしても、不具合発生時の電源制御用コントローラ
10の状態がフラッシュROM14に記憶されているた
め、後からそのフラッシュROM14に記憶された電源
制御用コントローラ10のメモリ状態を見ることで、不
具合発生の原因調査や評価を行うことができる。
After that, even if the system of the notebook PC 11 is reset, the state of the power supply controller 10 at the time of occurrence of the trouble is stored in the flash ROM 14. By looking at the 10 memory states, it is possible to investigate and evaluate the cause of the occurrence of the failure.

【0033】また、上述したワンチップマイクロコンピ
ュータである電源制御用コントローラ10の状態評価方
法における、電源制御処理、ファームウェアの書き換え
を行うフラッシュROM書き換え処理、前記RAMの制
御データをRAM転送データエリアに転送して記憶する
RAMデータ転送処理等の各処理は、コンピュータに実
行させるためのプログラムとしてコンピュータ読み取り
可能な記録媒体に記録されている。
In the above-described method for evaluating the state of the power supply controller 10 which is a one-chip microcomputer, the power supply control processing, the flash ROM rewriting processing for rewriting the firmware, and the control data of the RAM are transferred to the RAM transfer data area. Each process such as a RAM data transfer process to be stored and stored is recorded on a computer-readable recording medium as a program to be executed by a computer.

【0034】なお、上記実施の形態においては、電源制
御用コントローラ10の場合について説明したが、フラ
ッシュROM14を搭載するワンチップマイクロコンピ
ュータ(マイコン)で構成されるものであれば、電源制
御用コントローラ10に限るものではなく、他のコント
ローラについても同様に適用することができる。
In the above-described embodiment, the case of the power supply controller 10 has been described. However, if the power supply controller 10 is constituted by a one-chip microcomputer having a flash ROM 14, the power supply controller 10 may be used. However, the present invention is not limited to this, and can be similarly applied to other controllers.

【0035】また、RAM転送プログラム26が動作す
るトリガの条件、即ち、メモリ状態の転送を開始する設
定信号の入力を、キーボード19の特定の複数キーが押
下された場合で説明したが、マイコンのI/Oポート1
5の入力ポートの設定条件で置き換えてもよい。
The condition of the trigger for the RAM transfer program 26 to operate, that is, the input of the setting signal for starting the transfer of the memory state has been described when a plurality of specific keys on the keyboard 19 are pressed. I / O port 1
The setting condition of the input port of No. 5 may be replaced.

【0036】[0036]

【発明の効果】以上説明したように、この発明によれ
、状態評価時のワンチップマイクロコンピュータのメ
モリ状態がROMに転送されて、状態評価時のワンチッ
プマイクロコンピュータの動作状態が退避され、ワンチ
ップマイクロコンピュータの作動後、ROMの書き換え
動作か否かが判断され、ROMの書き換え或いは電源等
の制御が行われ、電源等の制御に際し、ワンチップマイ
クロコンピュータへの設定信号が入力されたか否かが判
断され、設定信号が入力の場合、その時点のメモリ状態
の全てをROMに転送し記憶されるので、ワンチップマ
イクロコンピュータの試作の評価段階において不具合等
が発生した場合、ICE等のデバッガを接続することな
く不具合の調査や評価を行うことができる。
As described in the foregoing, according to the present invention, state memory state evaluation when the one-chip microcomputer is transferred to the ROM, the operating state of the one-chip microcomputer when the state evaluation is saved , Wanchi
After operating the microcomputer, rewrite the ROM
It is determined whether or not the operation is in progress, and ROM rewriting or power supply etc.
Control is performed, and one-chip
Determines whether a setting signal has been input to the microcomputer.
If the setting signal is input, the current memory status
Are transferred to and stored in the ROM, so that if a failure or the like occurs in the evaluation stage of the prototype of the one-chip microcomputer, the failure can be investigated and evaluated without connecting a debugger such as an ICE.

【0037】また、この発明に係るプログラムを記録し
たコンピュータ読み取り可能な記録媒体により、上記ワ
ンチップマイクロコンピュータの状態評価方法を実現す
ることができ、この発明に係る電源制御用コントローラ
により、ワンチップマイクロコンピュータである電源制
御用コントローラの状態評価方法を実現することができ
る。
Further, the method for evaluating the state of the one-chip microcomputer can be realized by a computer-readable recording medium on which the program according to the present invention is recorded. A state evaluation method of a power supply controller which is a computer can be realized.

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

【図1】この発明の実施の形態に係るワンチップマイク
ロコンピュータを備えたノートPCの構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a notebook PC including a one-chip microcomputer according to an embodiment of the present invention.

【図2】図1の電源制御用コントローラに設けられたフ
ラッシュROMとRAMの内部構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing an internal configuration of a flash ROM and a RAM provided in the power supply controller of FIG. 1;

【図3】図1のワンチップマイクロコンピュータのフラ
ッシュROM内プログラムの動作を示すフローチャート
である。
FIG. 3 is a flowchart showing an operation of a program in a flash ROM of the one-chip microcomputer of FIG. 1;

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

10 電源制御用コントローラ 11 ノートPC 12 MPU 13 RAM 14 フラッシュROM 15 I/Oポート 16 ACアダプタ 17 バッテリA 18 バッテリB 19 キーボード 20 DC/DCコンバータ 21 CPU 22 電源スイッチ 23 液晶ディスプレイ 24 電源制御プログラム 25 フラッシュROM書き換えプログラム 26 RAMデータ転送プログラム 27 RAM転送データエリア 28 制御データ DESCRIPTION OF SYMBOLS 10 Power supply controller 11 Notebook PC 12 MPU 13 RAM 14 Flash ROM 15 I / O port 16 AC adapter 17 Battery A 18 Battery B 19 Keyboard 20 DC / DC converter 21 CPU 22 Power switch 23 Liquid crystal display 24 Power supply control program 25 Flash ROM rewrite program 26 RAM data transfer program 27 RAM transfer data area 28 control data

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 - 11/26 G06F 15/78 Continued on the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 11/22-11/26 G06F 15/78

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ROMを搭載するワンチップマイクロコン
ピュータの状態を評価するワンチップマイクロコンピュ
ータの状態評価方法において、 状態評価時の前記ワンチップマイクロコンピュータのメ
モリ状態を前記ROMに転送することにより、状態評価
時の前記ワンチップマイクロコンピュータの動作状態を
退避し、 前記ワンチップマイクロコンピュータの作動後、前記R
OMの書き換え動作か否かを判断し、前記ROMの書き
換え或いは電源等の制御を行い、 電源等の制御に際し、前記ワンチップマイクロコンピュ
ータへの設定信号が入力されたか否かを判断し、前記設
定信号が入力の場合、その時点のメモリ状態の全てを前
記ROMに転送し記憶 することを特徴とするワンチップ
マイクロコンピュータの状態評価方法。
1. A state evaluation method for a one-chip microcomputer which evaluates a state of a one-chip microcomputer equipped with a ROM, wherein a state of the memory of the one-chip microcomputer at the time of state evaluation is transferred to the ROM, thereby The operating state of the one-chip microcomputer at the time of evaluation
After the evacuation and the operation of the one-chip microcomputer, the R
It is determined whether or not an OM rewrite operation is performed, and the ROM write is performed.
Replacement or control of the power supply, etc.
Judge whether a setting signal has been input to the
When a constant signal is input, all the current memory states are
A state evaluation method for a one-chip microcomputer, wherein the state is transferred to and stored in a ROM .
【請求項2】前記メモリ状態の転送は、前記ワンチップ
マイクロコンピュータへの設定信号の入力により開始さ
れることを特徴とする請求項1に記載のワンチップマイ
クロコンピュータの状態評価方法。
2. The method according to claim 1, wherein the transfer of the memory state is started by input of a setting signal to the one-chip microcomputer.
【請求項3】前記メモリ状態が転送された後の前記RO
Mの転送エリアを読み出しにより、状態評価時の前記ワ
ンチップマイクロコンピュータの動作状態を評価するこ
とを特徴とする請求項1または2に記載のワンチップマ
イクロコンピュータの状態評価方法。
3. The RO after the memory state has been transferred.
3. The state evaluation method for a one-chip microcomputer according to claim 1, wherein an operation state of the one-chip microcomputer at the time of state evaluation is evaluated by reading the transfer area of M.
【請求項4】前記ワンチップマイクロコンピュータは、
電源制御用コントローラであることを特徴とする請求項
1〜のいずれかに記載のワンチップマイクロコンピュ
ータの状態評価方法。
4. The one-chip microcomputer comprises:
State evaluation method for one-chip microcomputer according to any one of claims 1 to 3, wherein the power is controlled for the controller.
【請求項5】請求項またはに記載のワンチップマイ
クロコンピュータの状態評価方法における、電源制御処
理、ファームウェアの書き換えを行うフラッシュROM
書き換え処理、前記RAMの制御データをRAM転送デ
ータエリアに転送して記憶するRAMデータ転送処理、
をコンピュータに実行させるためのプログラムを記録し
たコンピュータ読み取り可能な記録媒体。
5. A flash ROM for performing power supply control processing and rewriting firmware in the method for evaluating a state of a one-chip microcomputer according to claim 3 or 4.
Rewriting processing, RAM data transfer processing for transferring and storing the RAM control data to a RAM transfer data area,
Computer-readable recording medium that stores a program for causing a computer to execute the program.
【請求項6】フラッシュROMとRAMを備え、 前記フラッシュROMには、電源制御プログラムと、フ
ァームウェアの書き換えを行うフラッシュROM書き換
えプログラムと、前記RAMの制御データをRAM転送
データエリアに転送して記憶するRAMデータ転送プロ
グラムとが組み込まれていることを特徴とする請求項
記載のワンチップマイクロコンピュータの状態評価方法
に用いられる電源制御用コントローラ。
6. A flash ROM and a RAM, wherein a power supply control program, a flash ROM rewriting program for rewriting firmware, and control data of the RAM are transferred to a RAM transfer data area and stored in the flash ROM. claim, characterized in that the RAM data transfer program is incorporated 4
A power supply controller used in the method for evaluating a state of a one-chip microcomputer according to the above.
JP11007394A 1999-01-14 1999-01-14 State evaluation method of one-chip microcomputer Expired - Fee Related JP3037312B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11007394A JP3037312B1 (en) 1999-01-14 1999-01-14 State evaluation method of one-chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11007394A JP3037312B1 (en) 1999-01-14 1999-01-14 State evaluation method of one-chip microcomputer

Publications (2)

Publication Number Publication Date
JP3037312B1 true JP3037312B1 (en) 2000-04-24
JP2000207240A JP2000207240A (en) 2000-07-28

Family

ID=11664705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11007394A Expired - Fee Related JP3037312B1 (en) 1999-01-14 1999-01-14 State evaluation method of one-chip microcomputer

Country Status (1)

Country Link
JP (1) JP3037312B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9594415B2 (en) 2013-09-22 2017-03-14 Microsoft Technology Licensing, Llc Accessory device power management

Also Published As

Publication number Publication date
JP2000207240A (en) 2000-07-28

Similar Documents

Publication Publication Date Title
KR100396460B1 (en) Information handling system with suspend/resume operation
US7107482B2 (en) Program update apparatus and method
EP0752638A2 (en) Resume operations in an information processing system
US20100331057A1 (en) Portable Electronic Device and Wireless Communication Device
CN100388165C (en) Device and method for managing power in computer system
US5339444A (en) Portable computer resetting resume error caused from HDD loaded condition being changed and starting OS
CN105824388A (en) Power-on/off detection method, device and system
JPH11146572A (en) Uninterrupted power supply system, backup object device used for the system and record medium in which program for making computer operate as the backup object device are recorded
CN113832663B (en) Control chip fault recording method and device and control chip fault reading method
US20040052045A1 (en) Hard disk storage device incorporating dedicated user interface
KR960002037A (en) Calculator system and control method
US6122750A (en) Apparatus for, and method of, isolating hardware and power source problems
KR20210077542A (en) Apparatus and method for diagnosing can network sleep for vehicle
JP3037312B1 (en) State evaluation method of one-chip microcomputer
US20060132097A1 (en) Smart battery simulator
JP2788680B2 (en) Electronic device and data input / output control method thereof
US6618634B1 (en) Microcomputer system using repeated reset to enter different operating modes and method to do the same
TW201019103A (en) Test method for testing a monitoring unit, and server and computer system thereof
JP5022063B2 (en) Disaster prevention receiver
JP2005031903A (en) Information processor
CN116467705B (en) Full-time monitoring system and server for preventing server from invading
US20060132098A1 (en) Smart battery simulating system
JP3397612B2 (en) Battery control method and device
JP2001184772A (en) Electronic equipment and operation control method for the same
CN111459721B (en) Fault processing method, device and computer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080225

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

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

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees