JPH03184132A - Microcomputer element - Google Patents

Microcomputer element

Info

Publication number
JPH03184132A
JPH03184132A JP1324353A JP32435389A JPH03184132A JP H03184132 A JPH03184132 A JP H03184132A JP 1324353 A JP1324353 A JP 1324353A JP 32435389 A JP32435389 A JP 32435389A JP H03184132 A JPH03184132 A JP H03184132A
Authority
JP
Japan
Prior art keywords
cpu
function
ice
socket
debugging
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
JP1324353A
Other languages
Japanese (ja)
Inventor
Tadashi Nose
能勢 忠司
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.)
Renesas Semiconductor Manufacturing Co Ltd
Kansai Nippon Electric Co Ltd
Original Assignee
Renesas Semiconductor Manufacturing Co Ltd
Kansai Nippon Electric 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 Renesas Semiconductor Manufacturing Co Ltd, Kansai Nippon Electric Co Ltd filed Critical Renesas Semiconductor Manufacturing Co Ltd
Priority to JP1324353A priority Critical patent/JPH03184132A/en
Publication of JPH03184132A publication Critical patent/JPH03184132A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the stray capacity and the inductance of a cable and to attain the debugging free from mistakes by providing a connecting socket of an external device for control of emulator function onto the surface of a CPU containing an in-circuit emulator function. CONSTITUTION:A CPU containing an in-circuit emulator ICE function and a RAM is set into a microcomputer element 10, and a connecting socket 10a of an external device 11 for control of emulator function is provided onto the surface of an element. The device 11 contains a keyboard 12 and a floppy disk 13 together with an adaptor 14 extended via a cable 4 led from the device main body put into the socket 10a. Thus the ICE function serving as a pseudo CPU can be directly set into a CPU socket 5 so as to reduce the stray capacity and the inductance of the cable 4 and to attain the debugging free from mistakes.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、インサーキットエ主ユレータ(以下、単にI
CEと称す、)機能を備えたマイクロコンピュータ素子
に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is directed to an in-circuit controller (hereinafter simply referred to as
It relates to a microcomputer element with a function called CE.

(従来の技術) マイクロコンピュータ(以下、単にマイコンと称す、)
を用いた応用機器の開発においてソフトウェアの開発に
際しては、開発中の応用機器にICEを接続し、機器込
みでソフトのデバッグを行う。上記ICEは、エミュレ
ーシッン制御部とブレークポイント制御部とトレースメ
モリ部と代行メモリ部等を具備し、例えば第2図に示す
ように、ソフトウェア開発用の親計算機(1)と開発中
の応用機器(2)の間にICE(3)を接続する。ここ
で、応用機器(2〉に接続する際、ICE本体より導出
した多数のケーブル(4)で延長されたアダプタを応用
機器(2)のCPUソケット(5)に差し込んでICE
(3)を結合し、まずエミエレーション機能によりCP
Uの機能を代行する。工< ユレーシッンの実現手段と
しては、対象とする本来のCPUと同−又は同等機能、
或はより高速なCPUを用いてソフトウェア的にシ主ユ
レートする。又、他に実時間トレース機能、ブレーク機
能、メモリ代行機能、及びメモリやレジスタ内容の表示
、変更機能を有する。
(Prior art) Microcomputer (hereinafter simply referred to as microcomputer)
When developing software for application equipment using ICE, an ICE is connected to the application equipment under development and the software is debugged using the equipment. The above-mentioned ICE is equipped with an emulation control section, a breakpoint control section, a trace memory section, a proxy memory section, etc. As shown in FIG. Connect ICE (3) between devices (2). When connecting to the application device (2), insert the adapter extended by multiple cables (4) led out from the ICE main body into the CPU socket (5) of the application device (2) and connect the ICE.
(3) is combined, and first the CP is
Acts on behalf of U. As a means of realizing the system, the same or equivalent functions as the original CPU to be targeted,
Alternatively, it can be executed using software using a faster CPU. It also has a real-time trace function, a break function, a memory proxy function, and a function to display and change the contents of memory and registers.

上記構成において親計算機(1)にプログラムを組み込
んでICE(3,)を作動させ、ICE(3)を擬似C
PUとして応用機器(2)を動かす。そこで、その作動
経過をチエツクしながら、逐次、プログラムに変更・修
正を加えていき、最終的にプログラムを仕上げてROM
化する。
In the above configuration, a program is installed in the parent computer (1) to operate ICE (3,), and ICE (3) is
Run application equipment (2) as a PU. Therefore, while checking the operation progress, changes and corrections were made to the program one after another, and finally the program was completed and stored in the ROM.
become

又、上記ICE(3)の他、第3図に示すように、プロ
グラムを組み込んだICE(6)も知られており、その
本体よりケーブル(4)で延長されたアダプタ(7)を
応用機器(2〉のCPUソケット (5)に差し込む、
上記ICE(6)においても同様にフロッピーディスク
(8)をセントし、キーボード(9)を操作してデバッ
グを行えばよい。
In addition to the above-mentioned ICE (3), as shown in Figure 3, an ICE (6) with a built-in program is also known, and an adapter (7) extended from the main body with a cable (4) can be used as an application device. (Plug it into the CPU socket (5) of (2),
In the above-mentioned ICE (6), debugging can be performed by inserting the floppy disk (8) and operating the keyboard (9).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、上述したICE (3)又は(6)によって
デバッグを行う際、ケーブル(4)やアダプタ(7〉を
介してICE (3)(6)をCPUソケット(5)に
接続している。そこで、ケーブル(4)等の浮遊容量、
インダクタンス等による信号遅延が生じ、又、ICE(
3)(6)のハードウェアも周辺にバードウェアを付加
していて本来のCPUとは若干、異なるため、デバッグ
を行ってプログラム化した後、本来のCPUによってケ
ーブル(4)もアダプタ(7)もない状態で応用機器(
2)を作動させても、十分、動かないことがあるという
不具合があった。特に、近年、マイコンを動かすクロッ
ク信号が高周波になると、ハードウェアの応答やケーブ
ル(4)の浮遊容量やインダクタンス等による影響が顕
著になり、デバッグによる主スが生じ易かった。更に、
ICE (3)(6)のハードウェアは、各CPU専用
でCPU毎に異なるため、装置も高価になるという不具
合がある。
By the way, when debugging with the above-mentioned ICE (3) or (6), the ICE (3) (6) is connected to the CPU socket (5) via the cable (4) or adapter (7). , stray capacitance of cable (4), etc.
Signal delays occur due to inductance, etc., and ICE (
3) The hardware in (6) also has hardware added to the periphery and is slightly different from the original CPU, so after debugging and programming, the cable (4) and adapter (7) are connected to the original CPU. The applied equipment (
There was a problem in that even if 2) was activated, it sometimes did not work properly. In particular, in recent years, when the clock signal that drives a microcomputer has become a high frequency, the effects of hardware response, stray capacitance and inductance of the cable (4), etc. have become noticeable, making it easy for debugging problems to occur. Furthermore,
Since the hardware of ICE (3) and (6) is dedicated to each CPU and differs from CPU to CPU, there is a problem that the equipment becomes expensive.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、RAMを持つインサーキットエ文ユレータ機
能を備えたCPUが組み込まれると共に、表面に上記エ
ミュレータ機能制御用外部機器の接続用ソケットを設け
たことを特徴とし、又、上記ソケットにインサーキット
エミュレータ制御用外部機器を接続したことを特徴とす
る。
The present invention is characterized in that a CPU with RAM and an in-circuit emulator function is incorporated, and a socket for connecting an external device for controlling the emulator function is provided on the surface, and the socket is provided with an in-circuit emulator function. The feature is that an external device for controlling the emulator is connected.

〔作用〕[Effect]

上記技術的手段によれば、ICE機能を組み込んだマイ
コン素子を、開発に係る応用機器のCPUソケットに差
し込むと共に、マイコン素子表面のソケットに外部機器
を接続し、外部機器にてICEを制御してソフトのデバ
ッグを行う。
According to the above technical means, a microcomputer element incorporating an ICE function is inserted into a CPU socket of an application device under development, an external device is connected to a socket on the surface of the microcomputer element, and the ICE is controlled by the external device. Perform software debugging.

〔実施例〕〔Example〕

本発明の実施例を第1図を参照して以下に説明する0図
において(10)はマイコン素子、(11)はICE制
御用外部機器である。上記マイコン素子(10)は、R
AMを持つICE機能を備えたCPUが組み込まれると
共に、素子表面にICE制御用外部機器(11)の接続
用ソケフ)(10a)が設けられ、応用機器(2)(第
2図参照)のCPUソケット(5)に素子のリードを差
し込む、外部機器(11)は、キーボード(12)及び
フロンビーディスク(13)を装備すると共に、機器本
体より導出したケーブル(4)で延長されたアダプタ(
14)を上記ソケット(10a )に差し込んでマイコ
ン素子(10)のICE機能に結合する。そして、プロ
グラム内容をICE機能のRAMに書き込んだり、IC
E機能を盛り込むためCPUに内蔵されたブレーキング
ポイントレジスタの書き込み、ブレーク又はステップ時
の刻々のレジスタ、フラング等の内容やメモリ内容の読
み出し或は表示を行う。
An embodiment of the present invention will be described below with reference to FIG. 1. In FIG. 0, (10) is a microcomputer element, and (11) is an external device for ICE control. The microcomputer element (10) is R
A CPU with an ICE function with AM is incorporated, and a socket (10a) for connecting an external device for ICE control (11) is provided on the element surface, and a CPU of an applied device (2) (see Figure 2) is provided. The external device (11), into which the element leads are inserted into the socket (5), is equipped with a keyboard (12) and a Fronby disk (13), as well as an adapter (4) extended by a cable (4) led out from the device main body.
14) is inserted into the socket (10a) and connected to the ICE function of the microcomputer element (10). Then, write the program contents to the RAM of the ICE function,
In order to incorporate the E function, it writes to the braking point register built into the CPU, and reads or displays the contents of registers, flags, etc. and memory contents at the moment of a break or step.

上記構成に基づき本発明の動作を次に説明する。まずマ
イコン素子(10)を応用機器(2)のCPUソケット
(5)に差し込むと共に、マイコン素子(lO)のソケ
ット(10a)にアダプタ(14)を差し込み、マイコ
ン素子(10)と外部機器(11)とを結合する。そこ
で、外部機器(11)にてマイコン素子(10)のRA
Mにプログラム内容を書き込んだり、ブレーキングポイ
ントレジスタの書き込みやブレーク又はステンプ時のレ
ジスタ、フラッグ等の読み出しを行い、応用機器(2)
をプログラムに基づいて作動させ、デバッグを行う。そ
して、RAMに書き込んだプログラム内容を適宜、書き
換え、修正を加えてデバッグした後、プログラムをRO
M化し、ICE機能を除いた本来のCPUに組み込む。
The operation of the present invention will be explained below based on the above configuration. First, insert the microcomputer element (10) into the CPU socket (5) of the application device (2), and insert the adapter (14) into the socket (10a) of the microcomputer element (10), and then connect the microcomputer element (10) and the external device (11). ). Therefore, the RA of the microcomputer element (10) is
Write the program contents to M, write the braking point register, read the registers, flags, etc. at break or step, and write the program contents to the application device (2).
operate based on the program and debug it. Then, after rewriting and debugging the program contents written to RAM as appropriate, the program is loaded into RO.
M and incorporate it into the original CPU without the ICE function.

そうすると、擬似CPUとしてのICE機能を直接、C
PUソケ7ト(5)に差し込むことができ、ハード的に
最終的な状態でデバッグできてケーブル(4)が不要と
なる。又、外部機器(11)はICE機能への書き込み
、又は読み出しを行うモニタリング機能を持つに過ぎな
いため、マイコン素子(10)が変わっても同様に新た
なマイコン素子(10)に対して用いることができ、汎
用が可能となる。
Then, the ICE function as a pseudo CPU can be directly
It can be inserted into the PU socket (5), allowing debugging in the final state of the hardware, eliminating the need for a cable (4). Furthermore, since the external device (11) only has a monitoring function for writing to or reading from the ICE function, even if the microcomputer element (10) is changed, it cannot be used for the new microcomputer element (10) in the same way. can be used for general purpose purposes.

又、lチップマイコンも同様にデバッグ用のEPROM
バージッンではなく、RAMバージッンで外部機器接続
ソケットを設け、同様にデバッグできる。
In addition, l-chip microcontrollers also use EPROM for debugging.
An external device connection socket is provided in the RAM virgin instead of the virgin, and debugging is possible in the same way.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、ICE機能を備えたCPUをマイコン
素子に組み込んで、応用機器のCPUソケットに差し込
むと共に、マイコン素子表面に設けたソケットにICE
制御用外部機器のアダプタを差し込んでマイコン素子に
結合し、システムデバッグを行うようにしたから、ハー
ド的に最終的な状態でデバッグでき、配線ケーブルの浮
遊容量やハードウェア等の影響がなくなってデバッグの
ミスが排除され、又、外部機器もマイコン素子毎に汎用
となり、作業コストの低減化を図ることができる。また
、本発明に係るマイコン素子を使用することにより、該
応用機器のメンテナンスも容易となる。
According to the present invention, a CPU equipped with an ICE function is incorporated into a microcomputer element, and the CPU is inserted into a CPU socket of an application device, and an ICE is inserted into a socket provided on the surface of the microcomputer element.
Since system debugging is performed by plugging in the adapter of the external control device and connecting it to the microcontroller element, debugging can be performed in the final state of the hardware, eliminating the influence of stray capacitance of wiring cables and hardware, etc. In addition, external equipment can be made general-purpose for each microcomputer element, and work costs can be reduced. Furthermore, by using the microcomputer element according to the present invention, maintenance of the applied equipment becomes easy.

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

第1図は本発明に係るマイコン素子の実施例を示す外部
機器を含めた概略斜視図、第2図と第3図は従来のIC
Eによるデバッグ作業の各具体例を示すブロック図と要
部概略斜視図である。 (10) マイクロコンピュータ素子、 (11) −外部機器、 (10a )−・・ソケッ ト。 特 許 出 願 人 関西日本電気株式会社、− 代 理 人 江 原 省 吾 第 図
FIG. 1 is a schematic perspective view including external equipment showing an embodiment of the microcomputer element according to the present invention, and FIGS. 2 and 3 are conventional ICs.
FIG. 2 is a block diagram and a schematic perspective view of main parts showing specific examples of debugging work performed by E. (10) Microcomputer element, (11) -external device, (10a) - socket. Patent applicant Kansai NEC Co., Ltd. - Agent Shogo Ebara

Claims (2)

【特許請求の範囲】[Claims] (1)RAMを持つインサーキットエミュレータ機能を
備えたCPUが組み込まれると共に、表面に上記エミュ
レータ制御用外部機器の接続用ソケットを設けたことを
特徴とするマイクロコンピュータ素子。
(1) A microcomputer element incorporating a CPU with RAM and an in-circuit emulator function, and having a socket for connecting an external device for controlling the emulator on its surface.
(2)インサーキットエミュレータ機能制御用外部機器
を接続したことを特徴とする請求項(1)記載のマイク
ロコンピュータ素子。
(2) The microcomputer device according to claim (1), further comprising an external device for controlling an in-circuit emulator function.
JP1324353A 1989-12-13 1989-12-13 Microcomputer element Pending JPH03184132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1324353A JPH03184132A (en) 1989-12-13 1989-12-13 Microcomputer element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1324353A JPH03184132A (en) 1989-12-13 1989-12-13 Microcomputer element

Publications (1)

Publication Number Publication Date
JPH03184132A true JPH03184132A (en) 1991-08-12

Family

ID=18164834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1324353A Pending JPH03184132A (en) 1989-12-13 1989-12-13 Microcomputer element

Country Status (1)

Country Link
JP (1) JPH03184132A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01276246A (en) * 1988-04-27 1989-11-06 Fujitsu Ltd Debugging device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01276246A (en) * 1988-04-27 1989-11-06 Fujitsu Ltd Debugging device

Similar Documents

Publication Publication Date Title
US6957180B1 (en) System and a method for communication between an ICE and a production microcontroller while in a halt state
US6289300B1 (en) Integrated circuit with embedded emulator and emulation system for use with such an integrated circuit
US6230119B1 (en) Integrated circuit with embedded emulator and emulation system for use with such an integrated circuit
US20050165597A1 (en) Apparatus and method for performing hardware and software co-verification testing
US8112267B2 (en) System and a method for checking lock-step consistency between an in circuit emulation and a microcontroller
US6425122B1 (en) Single stepping system and method for tightly coupled processors
JPH03184132A (en) Microcomputer element
JPS6112297B2 (en)
Kline et al. The in-circuit approach to the development of microcomputer-based products
Howard A background debugging mode driver package for modular microcontrollers
JPS63271542A (en) Rom debugger
KR100189977B1 (en) Emulator system having trace function and trace method
JPH04101238A (en) Debugging system
JPH0233178B2 (en)
JPH11167501A (en) Program debugging system and program debugging method
JPH01112344A (en) System for controlling test of input/output control software
JPH01112440A (en) Debugging device
JP2000163280A (en) Microprocessor, microprogram debug system, and microprocessor built-in device
JPS59202546A (en) Debugging device
JPH01253044A (en) Input/output controller
JPH07219805A (en) In-circuit emulator
JPH0272439A (en) Trace system and trace substrate structure of memory contained in mpu chip
JPH0373011B2 (en)
JPH01253043A (en) Input/output controller
JPH06301569A (en) Emulator for peripheral lsi