JPH02260199A - Program write method for controller and rom with built-in cpu - Google Patents

Program write method for controller and rom with built-in cpu

Info

Publication number
JPH02260199A
JPH02260199A JP1078254A JP7825489A JPH02260199A JP H02260199 A JPH02260199 A JP H02260199A JP 1078254 A JP1078254 A JP 1078254A JP 7825489 A JP7825489 A JP 7825489A JP H02260199 A JPH02260199 A JP H02260199A
Authority
JP
Japan
Prior art keywords
cpu
program
rom
land
writing
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
JP1078254A
Other languages
Japanese (ja)
Inventor
Shoji Sasaki
昭二 佐々木
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1078254A priority Critical patent/JPH02260199A/en
Publication of JPH02260199A publication Critical patent/JPH02260199A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Read Only Memory (AREA)

Abstract

PURPOSE:To prevent the reliability deterioration of program write by mounting face-fitting components on a substrate, and then writing a program to a CPU. CONSTITUTION:A CPU 1 is face-fitted and mounted on a substrate 4, and the section between plural leads 6 and a land on the substrate is connected by soldering 7. Patterns 5 are wired from the land, and connected to a programming land 2. The lands 2 are prepared as many as the number necessary for the number of the signal lines. After the completion of substrate mounting, by making a control pin 3 contact with the land 2, and sending a signal, the CPU is made into a program write mode, and the program is written. In such a method, since a lead bend is eliminated at the time of writing the program, and moisture absorption can be prevented, the deterioration of reliability due to the write can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分腎〕 本発明はシングルチップCPUを用いた制御装置に係り
、CPU内蔵のP−ROMへのプログラムの書き込み方
法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Applications] The present invention relates to a control device using a single-chip CPU, and relates to a method of writing a program into a P-ROM built into the CPU.

〔従来の技術〕[Conventional technology]

従来、制御装置にシングルチップCPUを用いる場合、
CPUの製造過程でプログラムが内蔵されるマスクRO
M内蔵のCPUを採用するのが一般的であった。しかし
、マスクROM内蔵CPUの場合汎用性が無く、プログ
ラム変更時の開発コスト、開発時間等のリスクが大きい
ことから、ユーザーでプログラムの書き込みが可能なP
−ROMを内蔵したシングルチップCPUが開発された
Conventionally, when using a single-chip CPU in a control device,
Mask RO has a built-in program during the CPU manufacturing process.
It was common to use a CPU with built-in M. However, a CPU with a built-in mask ROM lacks versatility, and there are large risks such as development costs and development time when changing programs.
-A single-chip CPU with built-in ROM was developed.

この種のCPUにはH8(日立製)等がある。このH8
の場合、汎用のP−ROMライタでプログラムを書き込
むために、H8を専用のアダプタに取り付けて、プログ
ラムの書き込みを行なうようになっている。
Examples of this type of CPU include H8 (manufactured by Hitachi). This H8
In this case, in order to write a program with a general-purpose P-ROM writer, the H8 is attached to a special adapter and the program is written.

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

上記従来技術では、P L CC(Plastic L
eacledChip Carrier)等々の基板に
面付実装するパッケージの場合、上記専用アダプタに取
り付ける際、リードが曲がる可能性があり、基板実装後
、リードとパターン(ランド)とが接触しないという不
具合が生じる。また、PLCC等の面付部品を基板に半
田付けする場合、周囲温度を250℃程度の高温にして
あらかじめ基板のランドに印刷された半田を溶かして半
田付けする半田リフロ一方式が用いられている。この方
式の場合、PLCCの部品自体が高温になるため、部品
に吸収された水分が膨張し、パッケージ割れの原因とな
る。そのため、面付部品の場合、吸湿しないように湿度
の管理をして保管する必要がある。しかし、上記方法で
プログラムの書き込みを行なうと湿度の管理が難かしく
なり、基板実装後の信頼性が低下するという問題がある
In the above conventional technology, P L CC (Plastic L
In the case of a package that is surface-mounted on a board such as a lead chip carrier, the leads may be bent when attached to the dedicated adapter, resulting in a problem that the leads and the pattern (land) do not come into contact with each other after mounting on the board. In addition, when soldering surface-mounted components such as PLCCs to a board, a solder reflow method is used in which the ambient temperature is raised to a high temperature of about 250°C and the solder printed on the lands of the board is melted and soldered. . In this method, the PLCC parts themselves become hot, and the moisture absorbed by the parts expands, causing package cracking. Therefore, in the case of surface-mounted parts, it is necessary to store them under controlled humidity to prevent them from absorbing moisture. However, when a program is written using the above method, it becomes difficult to manage humidity, and there is a problem that reliability after mounting on a board decreases.

本発明の目的は、プログラム書き込みによる信頼性の低
下を防止することにある。
An object of the present invention is to prevent a decrease in reliability due to program writing.

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

上記目的を達成するために、PLCC等の面付部品を基
板に実装した後、CPUにプログラムを書き込むように
しt−ものである。
In order to achieve the above object, a program is written in the CPU after surface-mounted components such as PLCC are mounted on a board.

〔作用〕[Effect]

本発明によれば、プログラムの書き込み時に発生するリ
ードの曲がり及び、吸湿を防止できるため、プログラム
書き込みにより信頼性を損なうことは無い。
According to the present invention, bending of the leads and moisture absorption that occur when writing a program can be prevented, so that reliability is not impaired by writing the program.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を用いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図、第2図は本発明の特徴を示す図である。FIGS. 1 and 2 are diagrams showing features of the present invention.

1はP−ROMを内蔵したシングルチップCPtJ。1 is a single chip CPtJ with built-in P-ROM.

2はP−ROMにプログラムを書き込む際、制御ピンを
接触するためのランド。3はプログラム書き込み時使用
する制御ピン。4は基板である。
2 is a land for contacting a control pin when writing a program to P-ROM. 3 is a control pin used when writing a program. 4 is a substrate.

CPtT1は基板4に面付は実装され、複数本あるリー
ド6と基板上のランド間は半田7によって接続される。
The CPtT1 is surface-mounted on the substrate 4, and the plurality of leads 6 and the lands on the substrate are connected by solder 7.

リード6が接続されたランドからはパターン5が配線さ
れ、プログラム用ランド2に接続される。このプログラ
ム用ランド2は、プログラム書き込みに必要な信号線の
個数だけ準備されている。基板実装完了後、プログラム
用ランド2に制御ピン3を接触させ、信号を送ることに
よりCPUIをプログラム書き込みモードにし、プログ
ラムの書き込みを行なう。この制御ピン3は部品面(面
付は部品搭載する側の基板面)のプログラム用ランド2
に接触させても良いし、プログラム用ランド2にスルー
ホールを設は半田面(部品搭載面の反対側の基板面)に
も同一のランドを設けることにより、半田面から接触さ
せることもできる。
A pattern 5 is wired from the land to which the lead 6 is connected and connected to the programming land 2. The programming lands 2 are prepared in the number of signal lines necessary for writing a program. After the board mounting is completed, the control pin 3 is brought into contact with the programming land 2 and a signal is sent to put the CPU in a program writing mode, and the program is written. This control pin 3 is the programming land 2 on the component side (the surface of the board on which the component is mounted).
Alternatively, by providing a through hole in the programming land 2 and providing the same land on the solder surface (the surface of the board opposite to the component mounting surface), contact can be made from the solder surface.

第3図はCPUIにプログラムを書き込む際の動作を示
すブロック図である。CPUIには少なくともシングル
チップモードとP−ROM書き込みモードとのモード選
択するための入力を備えており、例えばH8の場合、M
DO,MDI、Mn2の3本の選択入力があり、3本共
High入力の時シングルチップモード、3本共Low
の時P−ROM書き込みモードになる。制御装置として
CPUIを動作させるためにはシングルチップモードに
する必要があるため、MDO−Mn2の3本は抵抗10
.11.12を介して+5vに接続されている。これに
より、通常は3本共にHighとなり、シングルチップ
モードとなる。一方、抵抗10゜11.12とCPUI
のMDO,MDI、Mn2の端子間にはプログラム用ラ
ンド2が設けられており、制御ピン3を各々接触させ、
Loi+にすることにより、CPUIはP−ROM書き
込みモートにすることができる。CPUIのモードをP
−ROM書き込みモードにすると、シングルチップモー
ドではIloの機能を持つ端子がデータバスDO〜D7
とアドレスバスAO−A14に切り換わる。これらの端
子には各々プログラム用ランド2が設けられ、制御ピン
3が接触しているから、制御ピン3により指定のP−R
OM内のアドレスに順次指定のデータを書き込んでいく
ことにより、CPU1内のP−ROMにプログラムを書
き込むことができる。
FIG. 3 is a block diagram showing the operation when writing a program to the CPUI. The CPU is equipped with an input for selecting at least the single-chip mode and the P-ROM write mode; for example, in the case of the H8, the M
There are three selection inputs: DO, MDI, and Mn2.When all three inputs are high, it is in single-chip mode, and when all three are low.
When , the mode becomes P-ROM write mode. In order to operate the CPUI as a control device, it is necessary to set it to single-chip mode, so the three MDO-Mn2 wires are connected to a resistor of 10
.. Connected to +5v via 11.12. As a result, all three are normally set to High, resulting in a single-chip mode. On the other hand, resistance 10°11.12 and CPUI
A programming land 2 is provided between the MDO, MDI, and Mn2 terminals, and the control pins 3 are brought into contact with each other.
By setting it to Loi+, the CPUI can be placed in P-ROM write mode. Set CPUI mode to P
- When in ROM write mode, in single chip mode, the terminals with Ilo function are data buses DO to D7.
and switches to address bus AO-A14. Each of these terminals is provided with a programming land 2 and is in contact with the control pin 3, so the control pin 3 allows the designated P-R.
A program can be written to the P-ROM in the CPU 1 by sequentially writing designated data to addresses in the OM.

以上の構成により、基板実装後シングルチップCPU内
のP−ROMにプログラムを書き込むことができる。
With the above configuration, a program can be written to the P-ROM in the single-chip CPU after mounting on the board.

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

本発明によれば、シングルチップCPU内蔵のP−RO
Mへの書き込み時、リードの曲がり及び吸湿を防止でき
るので、ROM書き込みによる信頼性の低下を防止でき
る。
According to the present invention, a P-RO with a built-in single-chip CPU
Since bending and moisture absorption of the leads can be prevented when writing to M, reliability deterioration due to ROM writing can be prevented.

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

第1図はCPUを基板に搭載した時の上面図、第2図は
第1図の側面図、第3図は本発明の動作を示すブロック
図である。 1・・・CPU、2・・・プログラム用ランド、3・・
・制御ピン、4・・・基板、5・・・パターン、6・・
・リード、7・・・半田、10,11.12・・抵抗。
FIG. 1 is a top view of a CPU mounted on a board, FIG. 2 is a side view of FIG. 1, and FIG. 3 is a block diagram showing the operation of the present invention. 1...CPU, 2...Program land, 3...
・Control pin, 4... Board, 5... Pattern, 6...
・Lead, 7...Solder, 10, 11.12...Resistance.

Claims (1)

【特許請求の範囲】 1、プログラムを書き込み可能なP−ROM(Prog
ramableReadOnlyMemory)と、デ
ータの書き込み読み出しができるRAM(Randam
AccessMemory)と、上記P−ROMに書き
込まれたプログラムに従い制御信号を入力あるいは出力
するI/O(InputandOutputUnit)
を内蔵し、外部からのモード選択信号により少なくとも
シングルチップモードとP−ROM書き込みモードに切
換えることが可能なCPU (CentralProccessingUnit)を
用いた制御装置において、基板実装後、上記CPUに内
蔵されたP−ROMにプログラムを書き込むためのラン
ドを基板に設けたことを特徴とする制御装置。 2、特許請求の範囲第1項記載の制御装置において、前
記P−ROM書き込み用ランドに制御ピンを接触させ、
モード切換信号をCPUに印加することにより、CPU
のモードを切換え、他の制御ピンから、プログラムを書
き込むことを特徴としたCPU内蔵ROMへのプログラ
ム書き込み方法。
[Claims] 1. P-ROM (Prog.
ramableReadOnlyMemory) and RAM (Random) that can write and read data.
AccessMemory) and I/O (Input and Output Unit) that inputs or outputs control signals according to the program written in the P-ROM.
In a control device using a CPU (Central Processing Unit) that has a built-in CPU and can be switched between at least single-chip mode and P-ROM write mode by an external mode selection signal, after mounting on a board, the P-ROM built in the CPU is A control device characterized in that a land for writing a program to a ROM is provided on a board. 2. In the control device according to claim 1, a control pin is brought into contact with the P-ROM writing land;
By applying a mode switching signal to the CPU, the CPU
A method of writing a program to a built-in ROM of a CPU, which is characterized by switching the mode of the CPU and writing the program from other control pins.
JP1078254A 1989-03-31 1989-03-31 Program write method for controller and rom with built-in cpu Pending JPH02260199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1078254A JPH02260199A (en) 1989-03-31 1989-03-31 Program write method for controller and rom with built-in cpu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1078254A JPH02260199A (en) 1989-03-31 1989-03-31 Program write method for controller and rom with built-in cpu

Publications (1)

Publication Number Publication Date
JPH02260199A true JPH02260199A (en) 1990-10-22

Family

ID=13656859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1078254A Pending JPH02260199A (en) 1989-03-31 1989-03-31 Program write method for controller and rom with built-in cpu

Country Status (1)

Country Link
JP (1) JPH02260199A (en)

Similar Documents

Publication Publication Date Title
JP3718008B2 (en) Memory module and manufacturing method thereof
JPH03229955A (en) Microcomputer control device
JPS62130596A (en) Automatic electronic parts assembly apparatus
KR950012290B1 (en) Memory module
JPH02260199A (en) Program write method for controller and rom with built-in cpu
US5526275A (en) Probe for in-circuit emulator with flexible printed circuit board
JPS5938713B2 (en) circuit wiring connection device
JPH09223036A (en) Microcomputer unit for emulator
CN211240308U (en) Processor chip
JP2677562B2 (en) Multi-chip memory module
JPS62224836A (en) Semiconductor integrated circuit device
JPH0264999A (en) Program writing device
JPH03152633A (en) Program evaluating device for microcomputer
JP2537926B2 (en) Printed circuit boards for electronic devices that use semiconductor memory
KR200319278Y1 (en) Memory write system
JPS61105798A (en) P rom ic
JPS645889Y2 (en)
JPS62252600A (en) Mounting system for memory element of information equipment
JPS62230037A (en) Mounting structure
JPH03232292A (en) Circuit board
JP2002222597A (en) Circuit substrate having multi-write-in-surface
KR890006301Y1 (en) Disk driving apparatus
JPS59161892A (en) Pattern circuit board
JPS5922320B2 (en) Storage device
JPH0263150A (en) Package for semiconductor integrated circuit use