JP3799471B2 - Microcomputer direction setting method and microcomputer direction setting system - Google Patents

Microcomputer direction setting method and microcomputer direction setting system Download PDF

Info

Publication number
JP3799471B2
JP3799471B2 JP2000391872A JP2000391872A JP3799471B2 JP 3799471 B2 JP3799471 B2 JP 3799471B2 JP 2000391872 A JP2000391872 A JP 2000391872A JP 2000391872 A JP2000391872 A JP 2000391872A JP 3799471 B2 JP3799471 B2 JP 3799471B2
Authority
JP
Japan
Prior art keywords
extended
microcomputer
pin
select
port
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
JP2000391872A
Other languages
Japanese (ja)
Other versions
JP2002196847A (en
Inventor
吉弘 塩谷
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.)
Sumitomo Wiring Systems Ltd
Original Assignee
Sumitomo Wiring Systems 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 Sumitomo Wiring Systems Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2000391872A priority Critical patent/JP3799471B2/en
Publication of JP2002196847A publication Critical patent/JP2002196847A/en
Application granted granted Critical
Publication of JP3799471B2 publication Critical patent/JP3799471B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Microcomputers (AREA)
  • Semiconductor Integrated Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、マイコンの仕様判別方法およびマイコンの仕様判別システムに関し、詳しくは、マイコンに接続される複数の電子機器を各仕様の判別が不可能な場合であっても、マイコンの仕向けを最多の拡張機能が付加された拡張仕様に変更してシステムを確実に動作させることができるマイコンの仕様判別方法およびマイコンの仕様判別システムに関する。
【0002】
【従来の技術】
一般に自動車には、パワーウインドを制御するもの、キーレスエントリーを行なうもの、あるいはカーステレオやエアコンを制御するもの等の電子機器が搭載されているが、これらの電子機器はマイクロコンピュータ(以下、マイコンという)が搭載されたECU(Electronic Control Unit)によって制御されている。
【0003】
ところで、自動車の種類や仕様によって電子機器の仕様が異なるが、仕様別にECUを作るのではなく、マイコンのソフトウェアを変更して対応している。
【0004】
具体的には、マイコン側ではソフトウェアー上で各仕様に対応した信号状態(電圧値)を予め記憶しておき、マイコンのセレクトポートに入力される各仕様の電圧値を検知することによって各仕様を判別し、各仕様に応じてソフトウェアーを切換えて車種毎の仕様に対応するものに変更している。
【0005】
例えば、2つの車両の仕様として、パワーウインドの基本機能のみの基本仕様と、パワーウインドの基本仕様にキーレスエントリーの拡張機能が付加された拡張仕様との2種類の仕様がある場合を考える。
【0006】
まず、マイコンを基本仕様の車種のECUに搭載する場合には、マイコンのセレクトポートを基板のグランド側に接続し(プルダウン)、0Vの入力電圧に設定する。そして、マイコンの立上がり時等にセレクトポートを読み取ったときにLow信号(0V)を検出することにより、基本仕様に接続されたものと判断してマイコンのソフトウェアを基本仕様に切換え設定する。
【0007】
また、マイコンを拡張仕様の車種のECUに搭載する場合には、マイコンのセレクトポートをマイコンの基準電位である5Vの電源に接続し(プルアップ)、5Vの入力電圧に設定する。そして、マイコンの立上がり時等にセレクトポートを読み取ったときにHi信号(5V)を検出することにより、拡張仕様に接続されたものと判断してマイコンのソフトウェアを拡張仕様に切換え設定する。
【0008】
【発明が解決しようとする課題】
しかしながら、このようなマイコンの仕向設定方法にあっては、コストパフォーマンスを考慮して1つのマイコンで拡張仕様に対応するようにソフトウェアー上で制御する場合に、何等かの原因によりマイコンの仕様を決定するセレクトポートのピンが基板から外れる等して重大な欠陥が生じた場合に、マイコンの仕様を設定することができないという問題があった。
【0009】
例えば、マイコンを拡張仕様の車種に搭載したときに、セレクトピンが基板から外れてしまうと、マイコンの立上がり時等にセレクトポートを読み取ったときにその入力状態が不定となってしまうので、基本仕様に設定されるか拡張仕様に設定されるか予想できず、マイコンを正常に動作させない事態を招来してしまうおそれがあった。
【0010】
そこで本発明は、何等かの原因によりマイコンのセレクトポートのピンが基板から外れる等して重大な欠陥が生じた場合であっても、各仕様の内の最多の拡張機能が付加された拡張仕様に切換え設定するようにして、各仕様で制御する電子機器を確実に動作させることができるマイコンの仕向設定方法およびマイコンの仕向設定システムを提供することを目的としている。
【0011】
【課題を解決するための手段】
第1の発明は、上記課題を解決するために、マイコンに接続可能な複数の電子機器の仕様が、基本機能からなる基本仕様と基本仕様に少なくとも1つ以上の拡張機能を組合せて構成される複数の拡張仕様がある場合に、マイコンを前記仕様のうちの任意の仕様に対応する仕向に設定するマイコンの仕向設定方法であって、前記マイコンのセレクトポートをプルダウンに設定することによって電子機器の仕様を基本仕様に設定し、前記マイコンのセレクトポートをプルアップに設定することによって電子機器の仕様を拡張仕様に設定するマイコン仕向設定方法において、前記セレクトポートとして、内部スイッチによって接続されるプルアップ抵抗を内蔵したものを用い、前記セレクトポートを読み取るときには、内部スイッチをONしてプルアップ抵抗を前記セレクトポートに接続することにより、前記セレクトポートがプルアップあるいはプルダウンに設定されていないときに、前記拡張仕様の内の最多の拡張機能が付加された拡張仕様に設定することを特徴としている。
【0012】
第2の発明は、上記課題を解決するために、マイコンに接続可能な複数の電子機器の仕様が、基本機能からなる基本仕様と基本仕様に少なくとも1つ以上の拡張機能を組合せて構成される複数の拡張仕様がある場合に、マイコンを前記仕様のうちの任意の仕様に対応する仕向に設定するマイコンの仕向設定システムであって、前記マイコンのセレクトポートをプルダウンに設定することによって電子機器の仕様を基本仕様に設定し、前記マイコンのセレクトポートをプルアップに設定することによって電子機器の仕様を拡張仕様に設定するマイコン仕向設定方法において、前記セレクトポートとして、内部スイッチによって接続されるプルアップ抵抗を内蔵したものを有し、前記セレクトポートを読み取るときには、内部スイッチをONしてプルアップ抵抗を前記セレクトポートに接続することにより、前記セレクトポートがプルアップあるいはプルダウンに設定されていないときに、前記拡張仕様の内の最多の拡張機能が付加された拡張仕様に設定する設定手段を有することを特徴としている。
【0013】
第1および第2の発明によれば、何等かの原因によりマイコンのセレクトポートのピンが基板から外れる等して重大な欠陥が生じた場合であっても、各仕様の内の最多の拡張機能が付加された拡張仕様に切換え設定するようにして、各仕様で制御する電子機器を確実に動作させることができる。
【0014】
【発明の実施の形態】
以下、本発明の実施形態を図面に基づいて説明する。
【0015】
図1〜5は本発明に係るマイコンの仕向設定方法およびマイコンの仕向設定システムの一実施形態を示す図である。
【0016】
まず、構成を説明する。図1において、1は車両に搭載され、車両の各種電子機器を制御するECUであり、このECU1にはCPU(Central Processing Unit)2が内蔵されている。このCPU2は内部バス3、内部スイッチ6およびプルアップ抵抗7が内蔵されている。
【0017】
このCPU2はセレクトポート8を備えており、このセレクトポート8はセレクトピン(図示略)が接続され、セレクトポート8はセレクトピンを介して電子機器の基板に接続されるようになっている。
【0018】
ここで、CPU2の詳しい説明を行なう前に、本実施形態の仕様について説明する。
【0019】
車両の種類によってCPU2に接続される電子機器の仕様が異なっており、当然のことながらCPU2の設定も機種毎(仕様毎)に応じて変更される。本実施形態では、図2(a)に示すようにCPU2にパワーウインド11を制御するパワーウインド制御回路12を制御する基本機能のみの仕様Aと、図2(b)に示すようにパワーウインド制御回路12を制御する基本仕様にドア13をリモートコントローラ14により施錠、開錠するキーレスエントリー制御手段15を制御する拡張機能が付加された仕様Bとの2種類の仕様がある場合を考える。
【0020】
図2(a)に示す基本仕様では、図3(a)に示すように、セレクトポート8に接続されるセレクトピン21をグランドGに接続し、内部スイッチ6に相当するプルアップスイッチ22をONしてセレクトポート8に入力される電圧を電圧検知部23によって検知したときにこの電圧値に基づいてCPUを仕様Aに設定する。
【0021】
一方、図2(b)に示す拡張仕様では、図3(b)に示すように、セレクトポート8に接続されるセレクトピン21をVCC(5V)に接続し、内部スイッチ6に相当するプルアップスイッチ22をONしてセレクトポート8に入力される電圧を電圧検知部23によって検知したときにこの電圧値に基づいてCPUを仕様Bに設定する。
【0022】
本実施形態では、図3(c)に示すように、何等かの原因によってセレクトピン21が基板から外れてしまい、セレクトポート8の入力状態が不定なときでも制御を行なうものである。
【0023】
再び図1において、CPU2のスリープ状態から立上がり時に内部バス3からPU信号を出力して、内部スイッチ6をONさせてプルアップ抵抗7をセレクトポート8に接続する。このとき、セレクトポート8の状態を読み取り、PD信号として内部バス3に入力することにより、図示しないCPU2の判定部によって仕様を判別して仕向を設定する。
【0024】
具体的には、セレクトピンがグランドGに接続されていると、検知電圧V={5/(100+5)}×5≒0(V)となるため、仕様Aに設定する。
【0025】
また、セレクトピンがVCC(5V)に接続されていると、検知電圧V≒5(V)となるため、仕様Bに設定する。
【0026】
一方、図3(c)に示すように、セレクトピン21が何等かの原因によって基板から外れてしまった場合でも、プルアップスイッチ22をONしてセレクトポート8の電圧をCPUの内部電源電圧VDD(=5V)にするので、図3(b)と同様にしてCPUを仕様Bに設定する。
【0027】
本実施形態では、セレクトポート8の入力状態が不定なときでも、内部スイッチ6の働きにより仕様Bに自動的に設定するので、セレクトポート8に接続されたセレクトピンが基板から外れてしまう等して仕様を正しく判別することができない場合でも、CPU2の仕向を拡張機能が最も多い仕様に対応するように設定することで電子機器を確実に動作させることができるという効果を得ることができるのである。本実施形態では、CPU2および内部スイッチ6が設定手段を構成している。
【0028】
なお、本実施形態では、2種類の仕様について説明しているが、これに限らない。
【0029】
本実施形態では、図4(b)に示すように、基本仕様A、基本仕様Aに拡張機能Bを付加した拡張仕様、基本仕様Aに拡張機能Cを付加した拡張仕様、基本仕様Aに拡張機能B、Cを付加した拡張仕様の4種類の仕様をCPU2で設定することも可能である。なお、図4(a)は2種類の仕様にCPU2を対応させた上記実施形態のピンの状態を仕向の関係を示す図であり、比較のために用いている。
【0030】
図4(b)に示す仕様の場合には、図5に示すように、CPU2にセレクトポート8と設定手段を2つ設けて、セレクトポート8とセレクトポート8′にセレクトピンを接続するようにすればハードウェア上で問題はない。
【0031】
なお、セレクトポート8にはピン1を、セレクトポート8′にはピン2を接続するものとする。
【0032】
この場合、ピン1、2がグランドに接続されていれば、基本仕様AにCPUを仕向け、ピン1が5Vに、ピン2がグランドに接続されていれば、基本仕様A+BにCPUを仕向け、ピン1がグランドに、ピン2が5Vに接続されていれば、基本仕様A+CにCPUを仕向け、ピン1、2が5Vに接続されていれば、基本仕様A+B+CにCPUを仕向ける。
【0033】
ここで、ピン1をLow、ピン2もLowに設定して基本仕様Aに設定する場合において、何等かの原因によってLowに設定すべきピン1が外れてしまったときには、内部スイッチ6の働きによりセレクトポート8がHiに設定されるので、基本仕様Aに拡張仕様Bを追加した(A+B)仕様にCPUを切換え設定する。
【0034】
また、何等かの原因によってLowに設定すべきピン2が外れてしまったときには、内部スイッチ6′の働きによりセレクトポート8′がHiに設定されるので、基本仕様Aに拡張仕様Cを追加した(A+C)仕様にCPUを切換え設定する。
【0035】
次に、ピン1をLow、ピン2をHiに設定して(A+C)仕様に設定する場合において、何等かの原因によってLowに設定すべきピン1が外れてしまったときには、内部スイッチ6の働きによりセレクトポート8がHiに設定されるので、CPUは本来の(A+C)仕様に拡張仕様Cを追加した(A+B+C)仕様に切換え設定される。
【0036】
ここで、Hiに設定すべきピン2が外れてしまったときには、内部スイッチ6′の働きによりセレクトポート8′がHiに設定されるので、CPUは本来の(A+C)仕様に切換え設定される。
【0037】
次に、ピン1をHi、ピン2をLowに設定して(A+B)仕様に設定する場合において、何等かの原因によってLowに設定すべきピン2が外れてしまったときには、内部スイッチ6′の働きによりセレクトポート8′がHiに設定されるので、CPUは本来の(A+B)仕様に拡張仕様Cを追加した(A+B+C)仕様に切換え設定される。
【0038】
ここで、Hiに設定すべきピン1が外れてしまったときには、内部スイッチ6の働きによりセレクトポート8がHiに設定されるので、CPUは本来の(A+B)仕様に切換え設定される。
【0039】
次に、ピン1をHi、ピン2もHiに設定して(A+B+C)仕様に設定する場合において、何等かの原因によってHiに設定すべきピン1が外れてしまったときには、内部スイッチ6の働きによりセレクトポート8がHiに設定されるので、CPUは本来の(A+B+C)仕様に切換え設定される。
【0040】
また、Hiに設定すべきピン2が外れてしまったときには、内部スイッチ6′の働きによりセレクトポート8′がHiに設定されるので、CPUは本来の(A+B)仕様に切換え設定される。
【0041】
さらに、セレクトピンが3つ以上設けられている場合にでも適用できる。
【0042】
図4(c)でセレクトピンが3つ設けられている場合の例を説明するが、この場合には、CPU2にセレクトポート8と設定手段を3つ設けてセレクトポート8に3つのセレクトピンを接続すればハードウェア上で問題はない。なお、セレクトポートについては図示省略する。
【0043】
なお、ピン1に接続されるセレクトポートを第1ポートとし、ピン2に接続されるセレクトポートを第2ポートとし、ピン3に接続されるセレクトポートを第3ポートする。
【0044】
この場合、セレクトピン1、2、3がグランドに接続されていれば、基本仕様AにCPU2を仕向け、セレクトピン1がグランドに、セレクトピン2が5Vに、セレクトピン3がグランドに接続されていれば、基本仕様A+拡張機能Bからなる拡張仕様に仕向け、セレクトピン1がグランドに、セレクトピン2がグランドに、セレクトピン3が5Vに接続されていれば、基本仕様A+拡張機能Cからなる拡張仕様に仕向け、セレクトピン1が5Vに、セレクトピン2がグランドに仕向け、セレクトピン3がグランドに接続されていれば、基本仕様A+拡張機能Dからなる拡張仕様に仕向け、セレクトピン1がグランドに、セレクトピン2が5Vに、セレクトピン3が5Vに接続されていれば、基本仕様A+拡張機能B+拡張機能Cからなる拡張仕様に仕向け、セレクトピン1が5Vに、セレクトピン2が5Vに、セレクトピン3がグランドに接続されていれば、基本仕様A+拡張機能B+拡張機能Dからなる拡張仕様に仕向け、セレクトピン1が5Vに、セレクトピン2がグランドに、セレクトピン3が5Vに接続されていれば、基本仕様A+拡張機能C+拡張機能Dからなる拡張仕様に仕向け、セレクトピン1、2、3が5Vに接続されていれば、基本仕様A+拡張機能B+拡張機能C+拡張機能Dからなる拡張仕様に仕向ける。すなわち、セレクトピンP1、2、3が3つの場合には、CPU2は8つの仕様に対応して仕向けられる。
【0045】
ここで、ピン1〜3をLowに設定して基本仕様Aに設定する場合において、何等かの原因によってLowに設定すべきピン1が外れてしまったときには、内部スイッチの働きにより第1ポートがHiに設定されるので、基本仕様Aに拡張仕様Dを追加した(A+D)仕様にCPUを切換え設定する。
【0046】
また、何等かの原因によってLowに設定すべきピン2が外れてしまったときには、内部スイッチの働きにより第2ポートがHiに設定されるので、基本仕様Aに拡張仕様Bを追加した(A+B)仕様にCPUを切換え設定する。
【0047】
また、何等かの原因によってLowに設定すべきピン3が外れてしまったときには、内部スイッチの働きにより第3ポートがHiに設定されるので、基本仕様Aに拡張仕様Cを追加した(A+C)仕様にCPUを切換え設定する。
【0048】
次に、ピン1、3をLowに、ピン2をHiに設定して(A+B)仕様に設定する場合において、何等かの原因によってLowに設定すべきピン1が外れてしまったときには、内部スイッチの働きにより第1ポートがHiに設定されるので、基本仕様Aに拡張仕様BとDを追加した(A+B+D)仕様にCPUを切換え設定する。
【0049】
また、何等かの原因によってHiに設定すべきピン2が外れてしまったときには、内部スイッチの働きにより第2ポートがHiに設定されるので、基本仕様Aに拡張仕様Bを追加した本来の(A+B)仕様にCPUを切換え設定する。
【0050】
また、何等かの原因によってLowに設定すべきピン3が外れてしまったときには、内部スイッチの働きにより第3ポートがHiに設定されるので、本来の(A+B)仕様Aに拡張仕様Cを追加した(A+B+C)仕様にCPUを切換え設定する。
【0051】
次に、ピン1、2をLowに、ピン3をHiに設定して(A+C)仕様に設定する場合において、何等かの原因によってLowに設定すべきピン1が外れてしまったときには、内部スイッチの働きにより第1ポートがHiに設定されるので、本来の(A+C)仕様に拡張仕様Dを追加した(A+C+D)仕様にCPUを切換え設定する。
【0052】
また、何等かの原因によってLowに設定すべきピン2が外れてしまったときには、内部スイッチの働きにより第2ポートがHiに設定されるので、本来の(A+C)仕様に拡張仕様Bを追加した(A+B+C)仕様にCPUを切換え設定する。
【0053】
また、何等かの原因によってHiに設定すべきピン3が外れてしまったときには、内部スイッチの働きにより第3ポートがHiに設定されるので、基本仕様Aに拡張仕様Cを追加した本来の(A+C)仕様にCPUを切換え設定する。
【0054】
次に、ピン1をHiに、ピン2、3をLowに設定して(A+D)仕様に設定する場合において、何等かの原因によってHiに設定すべきピン1が外れてしまったときには、内部スイッチの働きにより第1ポートがHiに設定されるので、基本仕様Aに拡張仕様Dを追加した本来の(A+D)仕様にCPUを切換え設定する。
【0055】
また、何等かの原因によってLowに設定すべきピン2が外れてしまったときには、内部スイッチの働きにより第2ポートがHiに設定されるので、本来の(A+D)仕様に拡張仕様Bを追加した本来の(A+B+D)仕様にCPUを切換え設定する。
【0056】
また、何等かの原因によってLowに設定すべきピン3が外れてしまったときには、内部スイッチの働きにより第3ポートがHiに設定されるので、本来の(A+D)仕様に拡張仕様Cを追加した(A+C+D)仕様にCPUを切換え設定する。
【0057】
次に、ピン1をLowに、ピン2、3をHiに設定して(A+B+C)仕様に設定する場合において、何等かの原因によってLowに設定すべきピン1が外れてしまったときには、内部スイッチの働きにより第1ポートがHiに設定されるので、本来の(A+B+C)仕様に拡張仕様Dを追加した(A+B+C+D)仕様にCPUを切換え設定する。
【0058】
また、何等かの原因によってHiに設定すべきピン2が外れてしまったときには、内部スイッチの働きにより第2ポートがHiに設定されるので、基本仕様Aに拡張仕様BとCを追加した本来の(A+B+C)仕様にCPUを切換え設定する。
【0059】
また、何等かの原因によってHiに設定すべきピン3が外れてしまったときには、内部スイッチの働きにより第3ポートがHiに設定されるので、基本仕様Aに拡張仕様BとCを追加した本来の(A+B+C)仕様にCPUを切換え設定する。
【0060】
次に、ピン1、2をHiに、ピン3をLowに設定して(A+B+D)仕様に設定する場合において、何等かの原因によってHiに設定すべきピン1が外れてしまったときには、内部スイッチの働きにより第1ポートがHiに設定されるので、基本仕様Aに拡張仕様BとDを追加した本来の(A+B+D)仕様にCPUを切換え設定する。
【0061】
また、何等かの原因によってHに設定すべきピン2が外れてしまったときには、内部スイッチの働きにより第2ポートがHiに設定されるので、基本仕様Aに拡張仕様BとDを追加した本来の(A+B+D)仕様にCPUを切換え設定する。
【0062】
また、何等かの原因によってLowに設定すべきピン3が外れてしまったときには、内部スイッチの働きにより第3ポートがHiに設定されるので、本来の(A+B+D)仕様に拡張仕様Cを追加した(A+B+C+D)仕様にCPUを切換え設定する。
【0063】
次に、ピン1、3をHiに、ピン2をLowに設定して(A+C+D)仕様に設定する場合において、何等かの原因によってHiに設定すべきピン1が外れてしまったときには、内部スイッチの働きにより第1ポートがHiに設定されるので、基本仕様Aに拡張仕様CとDを追加した本来の(A+C+D)仕様にCPUを切換え設定する。
【0064】
また、何等かの原因によってLowに設定すべきピン2が外れてしまったときには、内部スイッチの働きにより第2ポートがHiに設定されるので、本来の仕様(A+C+D)に拡張仕様Bを追加した(A+B+C+D)仕様にCPUを切換え設定する。
【0065】
また、何等かの原因によってHiに設定すべきピン3が外れてしまったときには、内部スイッチの働きにより第3ポートがHiに設定されるので、基本仕様Aに拡張仕様CとDを追加した本来の(A+C+D)仕様にCPUを切換え設定する。
【0066】
次に、ピン1〜3をHiに設定して(A+B+C+D)仕様に設定する場合において、何等かの原因によってHiに設定すべきピン1が外れてしまったときには、内部スイッチの働きにより第1ポートがHiに設定されるので、基本仕様Aに拡張仕様B、C、Dを追加した本来の(A+B+C+D)仕様にCPUを切換え設定する。
【0067】
また、何等かの原因によってLowに設定すべきピン2が外れてしまったときには、内部スイッチの働きにより第2ポートがHiに設定されるので、基本仕様Aに拡張仕様B、C、Dを追加した本来の(A+B+C+D)仕様にCPUを切換え設定する。
【0068】
また、何等かの原因によってLowに設定すべきピン3が外れてしまったときには、内部スイッチの働きにより第3ポートがHiに設定されるので、基本仕様Aに拡張仕様B、C、Dを追加した本来の(A+B+C+D)仕様にCPUを切換え設定する。
【0069】
なお、セレクトピンが4つ以上の場合は上述したようにセレクトポートと設定部がセレクトピンの数と同数だけ増大するだけで基本的な制御は同じであるため、説明を省略する。
【0070】
【発明の効果】
本発明によれば、何等かの原因によりマイコンのセレクトポートのピンが基板から外れる等して重大な欠陥が生じた場合であっても、各仕様の内の最多の拡張機能が付加された拡張仕様に切換え設定するようにして、各仕様で制御する電子機器を確実に動作させることができる。
【図面の簡単な説明】
【図1】本発明に係るマイコンの仕向設定方法およびマイコンの仕向設定システムの一実施形態を示す図であり、そのCPUの構成図である。
【図2】(a)は一実施形態のCPUに接続される基本仕様を示す図、(b)はCPUに接続される拡張仕様を示す図、(c)はセレクトピンが基板から外れたときにCPUが仕向けられる拡張仕様を示す図である。
【図3】(a)は一実施形態の基本仕様をCPUに接続した状態を示す回路図、(b)は拡張仕様をCPUに接続した状態を示す回路図、(c)はセレクトピンが外れた状態を示す回路図である。
【図4】(a)は一実施形態のセレクトピンが1ピンのときのピンの状態と仕向の関係を示す図、(b)はセレクトピンが2ピンのときのピンの状態と仕向の関係を示す図、(c)はセレクトピンが3ピンのときのピンの状態と仕向の関係を示す図である。
【図5】セレクタピンが2ピンのときのCPUの構成を示す図である。
【符号の説明】
2 CPU(設定手段)
6 内部スイッチ(設定手段)
7 プルアップ抵抗
8 セレクトポート
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a microcomputer specification determination method and a microcomputer specification determination system. More specifically, even when a plurality of electronic devices connected to a microcomputer cannot be determined for each specification, the microcomputer is most frequently used. The present invention relates to a microcomputer specification determination method and a microcomputer specification determination system that can change the extended specification to which an extended function is added and operate the system reliably.
[0002]
[Prior art]
In general, automobiles are equipped with electronic devices such as those that control power windows, those that perform keyless entry, and those that control car stereos and air conditioners. These electronic devices are microcomputers (hereinafter referred to as microcomputers). ) Is controlled by an ECU (Electronic Control Unit).
[0003]
By the way, although the specification of an electronic device changes with kinds and specifications of a motor vehicle, it does not make ECU for every specification, but changes the software of microcomputer and responds.
[0004]
Specifically, on the microcomputer side, the signal state (voltage value) corresponding to each specification is stored in advance on the software, and each specification is detected by detecting the voltage value of each specification input to the select port of the microcomputer. The software is switched according to each specification and changed to the one corresponding to the specification for each vehicle type.
[0005]
For example, let us consider a case in which there are two types of specifications of two vehicles: a basic specification with only a basic function of the power window and an extended specification in which a keyless entry extended function is added to the basic specification of the power window.
[0006]
First, when the microcomputer is mounted on the ECU of a vehicle model of the basic specification, the select port of the microcomputer is connected to the ground side of the board (pull down), and the input voltage is set to 0V. Then, when the select port is read when the microcomputer starts up or the like, a Low signal (0 V) is detected to determine that the microcomputer is connected to the basic specifications, and the microcomputer software is switched to the basic specifications.
[0007]
When the microcomputer is mounted on an ECU of an extended specification vehicle type, the select port of the microcomputer is connected to a 5 V power source that is the reference potential of the microcomputer (pull-up), and the input voltage is set to 5 V. Then, by detecting the Hi signal (5 V) when the select port is read when the microcomputer starts up, it is determined that the microcomputer is connected to the extended specification, and the microcomputer software is switched to the extended specification.
[0008]
[Problems to be solved by the invention]
However, in such a microcomputer setting method, when controlling with software so that one microcomputer can support the extended specifications in consideration of cost performance, the microcomputer specifications can be changed for some reason. There is a problem that the specification of the microcomputer cannot be set when a serious defect occurs because the pin of the select port to be determined is detached from the board.
[0009]
For example, if the select pin is removed from the board when the microcomputer is mounted on an extended specification model, the input state will be undefined when the select port is read when the microcomputer starts up. It could not be predicted whether it would be set to the extended specification or the extended specification, and there was a risk that the microcomputer would not operate normally.
[0010]
Therefore, the present invention provides an extended specification to which the most extended functions of each specification are added even when a serious defect occurs due to the select port pin of the microcomputer being detached from the board for some reason. It is an object of the present invention to provide a microcomputer setting method and a microcomputer setting system capable of reliably operating an electronic device controlled according to each specification.
[0011]
[Means for Solving the Problems]
In the first invention, in order to solve the above-described problem, the specifications of a plurality of electronic devices connectable to the microcomputer are configured by combining a basic specification composed of basic functions and a basic specification with at least one extended function. A microcomputer setting method for setting a microcomputer to a destination corresponding to any of the above specifications when there are a plurality of extended specifications, and by setting the select port of the microcomputer to a pull-down, In the microcomputer-oriented setting method in which the specification of the electronic device is set to the extended specification by setting the specification to the basic specification and setting the select port of the microcomputer to the pull-up, the pull-up connected by the internal switch as the select port When reading the select port using a built-in resistor, turn on the internal switch and pull By connecting a pop-up resistor to the select port, when the select port is not set to pull-up or pull-down, it is set to an extended specification to which the most extended functions of the extended specifications are added. It is a feature.
[0012]
In the second invention, in order to solve the above-described problem, the specifications of a plurality of electronic devices connectable to the microcomputer are configured by combining a basic specification composed of basic functions and a basic specification with at least one extended function. A microcomputer setting system for setting a microcomputer to a destination corresponding to any of the above specifications when there are a plurality of extended specifications, and by setting the select port of the microcomputer to a pull-down, In the microcomputer-oriented setting method in which the specification of the electronic device is set to the extended specification by setting the specification to the basic specification and setting the select port of the microcomputer to the pull-up, the pull-up connected by the internal switch as the select port When reading the select port, turn on the internal switch. A setting means for setting the extended specification to which the most extended functions of the extended specifications are added when the select port is not set to pull-up or pull-down by connecting a pull-up resistor to the select port; It is characterized by having.
[0013]
According to the first and second inventions, even if a serious defect occurs due to a cause of the select port pin of the microcomputer being detached from the board for some reason, the maximum number of extended functions in each specification. Thus, the electronic device controlled by each specification can be surely operated by switching to the extended specification to which is added.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0015]
1 to 5 are views showing an embodiment of a microcomputer setting method and a microcomputer setting system according to the present invention.
[0016]
First, the configuration will be described. In FIG. 1, reference numeral 1 denotes an ECU that is mounted on a vehicle and controls various electronic devices of the vehicle. The ECU 1 includes a CPU (Central Processing Unit) 2. The CPU 2 includes an internal bus 3, an internal switch 6, and a pull-up resistor 7.
[0017]
The CPU 2 includes a select port 8. The select port 8 is connected to a select pin (not shown), and the select port 8 is connected to a substrate of an electronic device via the select pin.
[0018]
Here, before describing the CPU 2 in detail, the specifications of the present embodiment will be described.
[0019]
The specification of the electronic device connected to the CPU 2 differs depending on the type of vehicle, and the setting of the CPU 2 is naturally changed according to the model (for each specification). In the present embodiment, as shown in FIG. 2 (a), the specification A of only the basic function for controlling the power window control circuit 12 for controlling the power window 11 to the CPU 2, and the power window control as shown in FIG. 2 (b). Consider a case in which there are two types of specifications, the specification B to which an extended function for controlling the keyless entry control means 15 for locking and unlocking the door 13 by the remote controller 14 is added to the basic specification for controlling the circuit 12.
[0020]
In the basic specification shown in FIG. 2A, as shown in FIG. 3A, the select pin 21 connected to the select port 8 is connected to the ground G, and the pull-up switch 22 corresponding to the internal switch 6 is turned on. When the voltage input to the select port 8 is detected by the voltage detector 23, the CPU is set to the specification A based on this voltage value.
[0021]
On the other hand, in the extended specification shown in FIG. 2B, as shown in FIG. 3B, the select pin 21 connected to the select port 8 is connected to VCC (5 V), and a pull-up corresponding to the internal switch 6 is performed. When the switch 22 is turned on and the voltage input to the select port 8 is detected by the voltage detector 23, the CPU is set to the specification B based on this voltage value.
[0022]
In the present embodiment, as shown in FIG. 3C, the control is performed even when the select pin 21 is detached from the substrate for some reason and the input state of the select port 8 is indefinite.
[0023]
In FIG. 1 again, when the CPU 2 rises from the sleep state, the PU signal is output from the internal bus 3, the internal switch 6 is turned on, and the pull-up resistor 7 is connected to the select port 8. At this time, the state of the select port 8 is read and input to the internal bus 3 as a PD signal, whereby the specification is determined by the determination unit of the CPU 2 (not shown) and the destination is set.
[0024]
Specifically, when the select pin is connected to the ground G, the detection voltage V = {5 / (100 + 5)} × 5≈0 (V), so the specification A is set.
[0025]
When the select pin is connected to VCC (5 V), the detection voltage V≈5 (V), so the specification B is set.
[0026]
On the other hand, as shown in FIG. 3C, even when the select pin 21 is disconnected from the board for some reason, the pull-up switch 22 is turned on to set the voltage of the select port 8 to the internal power supply voltage VDD of the CPU. (= 5V), the CPU is set to the specification B in the same manner as in FIG.
[0027]
In this embodiment, even when the input state of the select port 8 is indefinite, the specification B is automatically set by the function of the internal switch 6, so that the select pin connected to the select port 8 is disconnected from the board. Even if the specification cannot be correctly determined, it is possible to obtain an effect that the electronic device can be operated reliably by setting the direction of the CPU 2 to correspond to the specification having the most extended functions. . In the present embodiment, the CPU 2 and the internal switch 6 constitute a setting unit.
[0028]
In the present embodiment, two types of specifications are described, but the present invention is not limited to this.
[0029]
In the present embodiment, as shown in FIG. 4B, the basic specification A, the extended specification in which the extended function B is added to the basic specification A, the extended specification in which the extended function C is added to the basic specification A, and the extended to the basic specification A The CPU 2 can also set four types of extended specifications to which functions B and C are added. FIG. 4A is a diagram showing the relationship between the pin states of the above embodiment in which the CPU 2 corresponds to two types of specifications, and is used for comparison.
[0030]
In the case of the specification shown in FIG. 4B, as shown in FIG. 5, the CPU 2 is provided with two select ports 8 and setting means, and the select pins are connected to the select ports 8 and 8 '. Then there is no problem on the hardware.
[0031]
It is assumed that pin 1 is connected to select port 8 and pin 2 is connected to select port 8 '.
[0032]
In this case, if the pins 1 and 2 are connected to the ground, the CPU is directed to the basic specification A, and if the pin 1 is connected to 5 V and the pin 2 is connected to the ground, the CPU is directed to the basic specification A + B. If 1 is connected to ground and pin 2 is connected to 5V, the CPU is directed to the basic specification A + C, and if pins 1 and 2 are connected to 5V, the CPU is directed to the basic specification A + B + C.
[0033]
Here, when the pin 1 is set to Low and the pin 2 is also set to Low and set to the basic specification A, if the pin 1 to be set to Low is removed for some reason, the internal switch 6 functions. Since the select port 8 is set to Hi, the CPU is switched to the (A + B) specification in which the extended specification B is added to the basic specification A.
[0034]
Further, when the pin 2 that should be set to Low is disconnected for some reason, the select port 8 'is set to Hi by the action of the internal switch 6', so the extended specification C is added to the basic specification A. The CPU is switched and set to the (A + C) specification.
[0035]
Next, when the pin 1 is set to Low and the pin 2 is set to Hi and set to the (A + C) specification, if the pin 1 to be set to Low is disconnected for some reason, the function of the internal switch 6 is Since the select port 8 is set to Hi, the CPU is switched to the (A + B + C) specification in which the extended specification C is added to the original (A + C) specification.
[0036]
Here, when the pin 2 to be set to Hi is disconnected, the select port 8 'is set to Hi by the action of the internal switch 6', so that the CPU is switched to the original (A + C) specification.
[0037]
Next, when the pin 1 is set to Hi and the pin 2 is set to Low and set to (A + B) specification, if the pin 2 to be set Low is removed for some reason, the internal switch 6 ' Since the select port 8 'is set to Hi by the operation, the CPU is switched to the (A + B + C) specification obtained by adding the extended specification C to the original (A + B) specification.
[0038]
Here, when the pin 1 to be set to Hi is disconnected, the select port 8 is set to Hi by the action of the internal switch 6, so that the CPU is switched to the original (A + B) specification.
[0039]
Next, when the pin 1 is set to Hi and the pin 2 is also set to Hi and set to the (A + B + C) specification, when the pin 1 to be set to Hi is disconnected for some reason, the function of the internal switch 6 is Since the select port 8 is set to Hi, the CPU is switched to the original (A + B + C) specification.
[0040]
When the pin 2 to be set to Hi is disconnected, the select port 8 'is set to Hi by the action of the internal switch 6', so that the CPU is switched to the original (A + B) specification.
[0041]
Furthermore, the present invention can be applied even when three or more select pins are provided.
[0042]
FIG. 4C illustrates an example in which three select pins are provided. In this case, the CPU 2 is provided with three select ports 8 and setting means, and the select port 8 is provided with three select pins. If connected, there is no problem in hardware. The select port is not shown.
[0043]
The select port connected to pin 1 is the first port, the select port connected to pin 2 is the second port, and the select port connected to pin 3 is the third port.
[0044]
In this case, if the select pins 1, 2, and 3 are connected to the ground, the CPU 2 is directed to the basic specification A, the select pin 1 is connected to the ground, the select pin 2 is connected to 5V, and the select pin 3 is connected to the ground. If the select pin 1 is connected to the ground, the select pin 2 is connected to the ground, and the select pin 3 is connected to 5V, the basic specification A + the extended function C is formed. For the extended specification, if the select pin 1 is set to 5V, the select pin 2 is set to the ground, and the select pin 3 is connected to the ground, the select pin 1 is set to the extended specification consisting of the basic specification A and the extended function D. If the select pin 2 is connected to 5V and the select pin 3 is connected to 5V, the extension consisting of the basic specification A + the extended function B + the extended function C If the select pin 1 is connected to 5V, the select pin 2 is connected to 5V, and the select pin 3 is connected to the ground, the select pin 1 is directed to the extended specification consisting of the basic specification A + extended function B + extended function D. If the select pin 2 is connected to the ground and the select pin 3 is connected to 5V to 5V, then the select pin 1, 2, 3 is connected to 5V for the extended specification consisting of the basic specification A + extended function C + extended function D If so, the extension specification consisting of basic specification A + extended function B + extended function C + extended function D is used. That is, when there are three select pins P1, 2, and 3, the CPU 2 is directed to correspond to eight specifications.
[0045]
Here, when the pins 1 to 3 are set to Low and set to the basic specification A, if the pin 1 to be set to Low is disconnected due to some cause, the first port is set by the action of the internal switch. Since it is set to Hi, the CPU is switched to the (A + D) specification in which the extended specification D is added to the basic specification A.
[0046]
In addition, when the pin 2 to be set to Low is disconnected for some reason, the second port is set to Hi by the action of the internal switch, so the extended specification B is added to the basic specification A (A + B) Set the CPU to the specification.
[0047]
Further, when the pin 3 that should be set to Low is disconnected for some reason, the third port is set to Hi by the action of the internal switch, so the extended specification C is added to the basic specification A (A + C) Set the CPU to the specification.
[0048]
Next, when the pins 1 and 3 are set to Low and the pin 2 is set to Hi and set to (A + B) specification, when the pin 1 to be set to Low is disconnected for some reason, the internal switch Since the first port is set to Hi by the action of the above, the CPU is switched and set to the specification (A + B + D) in which the extended specifications B and D are added to the basic specification A.
[0049]
Further, when the pin 2 to be set to Hi is disconnected due to some cause, the second port is set to Hi by the action of the internal switch. A + B) Set the CPU to the specification.
[0050]
In addition, when pin 3 that should be set to Low is disconnected for some reason, the third port is set to Hi by the action of the internal switch, so the extended specification C is added to the original (A + B) specification A The CPU is switched to the (A + B + C) specification.
[0051]
Next, when the pins 1 and 2 are set to Low and the pin 3 is set to Hi and set to the (A + C) specification, when the pin 1 to be set to Low is disconnected for some reason, the internal switch Since the first port is set to Hi by the action of the above, the CPU is switched to the (A + C + D) specification in which the extended specification D is added to the original (A + C) specification.
[0052]
In addition, when pin 2 that should be set to Low is disconnected for some reason, the second port is set to Hi by the action of the internal switch, so the extended specification B is added to the original (A + C) specification. Switch and set CPU to (A + B + C) specification.
[0053]
Further, when the pin 3 to be set to Hi is disconnected for some reason, the third port is set to Hi by the action of the internal switch. A + C) Switch the CPU to the specification.
[0054]
Next, when the pin 1 is set to Hi, the pins 2 and 3 are set to Low and set to the (A + D) specification, when the pin 1 to be set to Hi is disconnected for some reason, the internal switch Since the first port is set to Hi by the action of the above, the CPU is switched to the original (A + D) specification obtained by adding the extended specification D to the basic specification A.
[0055]
In addition, when pin 2 that should be set to Low is disconnected for some reason, the second port is set to Hi by the action of the internal switch, so the extended specification B is added to the original (A + D) specification. The CPU is switched and set to the original (A + B + D) specification.
[0056]
In addition, when pin 3 that should be set to Low is disconnected for some reason, the third port is set to Hi by the action of the internal switch, so the extended specification C is added to the original (A + D) specification. Switch and set the CPU to (A + C + D) specifications.
[0057]
Next, when pin 1 is set to Low, pins 2 and 3 are set to Hi (A + B + C) specification, and pin 1 to be set to Low is disconnected for some reason, an internal switch Since the first port is set to Hi by the action of the above, the CPU is switched to the (A + B + C + D) specification in which the extended specification D is added to the original (A + B + C) specification.
[0058]
Further, when the pin 2 to be set to Hi is disconnected for some reason, the second port is set to Hi by the action of the internal switch, so that the extended specifications B and C are added to the basic specification A The CPU is switched to the (A + B + C) specification.
[0059]
In addition, when the pin 3 to be set to Hi is disconnected for some reason, the third port is set to Hi by the action of the internal switch, so that the extended specifications B and C are added to the basic specification A The CPU is switched to the (A + B + C) specification.
[0060]
Next, when the pins 1 and 2 are set to Hi and the pin 3 is set to Low and set to the (A + B + D) specification, when the pin 1 to be set to Hi is disconnected for some reason, the internal switch Since the first port is set to Hi by the action of the above, the CPU is switched to the original (A + B + D) specification obtained by adding the extended specifications B and D to the basic specification A.
[0061]
Further, when the pin 2 to be set to H is disconnected for some reason, the second port is set to Hi by the action of the internal switch, so that the extended specifications B and D are added to the basic specification A. The CPU is switched to the (A + B + D) specification.
[0062]
In addition, when pin 3 that should be set to Low is removed for some reason, the third port is set to Hi by the action of the internal switch, so the extended specification C is added to the original (A + B + D) specification. Switch and set CPU to (A + B + C + D) specifications.
[0063]
Next, when the pins 1 and 3 are set to Hi and the pin 2 is set to Low and set to the (A + C + D) specification, when the pin 1 to be set to Hi is disconnected for some reason, the internal switch Since the first port is set to Hi by the action of the above, the CPU is switched to the original (A + C + D) specification obtained by adding the extended specifications C and D to the basic specification A.
[0064]
In addition, when pin 2 that should be set to Low is disconnected for some reason, the second port is set to Hi by the action of the internal switch, so the extended specification B is added to the original specification (A + C + D) Switch and set CPU to (A + B + C + D) specifications.
[0065]
In addition, when the pin 3 to be set to Hi is disconnected for some reason, the third port is set to Hi by the action of the internal switch, so the extended specifications C and D are added to the basic specification A. The CPU is switched to the (A + C + D) specification.
[0066]
Next, when the pins 1 to 3 are set to Hi and set to the (A + B + C + D) specification, if the pin 1 to be set to Hi is removed for some reason, the first port is operated by the action of the internal switch. Is set to Hi, the CPU is switched to the original (A + B + C + D) specification in which the extended specifications B, C, and D are added to the basic specification A.
[0067]
In addition, when pin 2 that should be set to Low is disconnected for some reason, the second port is set to Hi by the action of the internal switch, so the extended specifications B, C, and D are added to the basic specification A The CPU is switched to the original (A + B + C + D) specification.
[0068]
In addition, when pin 3 that should be set to Low is removed for some reason, the third port is set to Hi by the action of the internal switch, so the extended specifications B, C, and D are added to the basic specification A The CPU is switched to the original (A + B + C + D) specification.
[0069]
If there are four or more select pins, the basic control is the same as the number of select ports and setting units increased by the same number as the number of select pins as described above, and the description thereof will be omitted.
[0070]
【The invention's effect】
According to the present invention, even if a serious defect occurs due to the select port pin of the microcomputer being detached from the board due to some cause, the extension with the most extended functions of each specification is added. By switching to the specification, the electronic equipment controlled by each specification can be operated reliably.
[Brief description of the drawings]
FIG. 1 is a diagram showing an embodiment of a microcomputer setting method and a microcomputer setting system according to the present invention, and is a block diagram of the CPU.
2A is a diagram showing basic specifications connected to the CPU of one embodiment, FIG. 2B is a diagram showing extended specifications connected to the CPU, and FIG. 2C is a diagram when the select pin is removed from the substrate; It is a figure which shows the extended specification to which CPU is directed to.
3A is a circuit diagram showing a state in which the basic specifications of one embodiment are connected to the CPU, FIG. 3B is a circuit diagram showing a state in which the extended specifications are connected to the CPU, and FIG. It is a circuit diagram which shows the state.
FIG. 4A is a diagram illustrating a relationship between a pin state and a destination when the select pin is one pin according to an embodiment; FIG. 4B is a relationship between a pin state and a destination when the select pin is two pins; FIG. 8C is a diagram showing the relationship between the pin state and the destination when the select pin is 3 pins.
FIG. 5 is a diagram illustrating a configuration of a CPU when there are two selector pins.
[Explanation of symbols]
2 CPU (setting means)
6 Internal switch (setting means)
7 Pull-up resistor 8 Select port

Claims (2)

マイコンに接続可能な複数の電子機器の仕様が、基本機能からなる基本仕様と基本仕様に少なくとも1つ以上の拡張機能を組合せて構成される複数の拡張仕様がある場合に、マイコンを前記仕様のうちの任意の仕様に対応する仕向に設定するマイコンの仕向設定方法であって、
前記マイコンのセレクトポートをプルダウンに設定することによって電子機器の仕様を基本仕様に設定し、前記マイコンのセレクトポートをプルアップに設定することによって電子機器の仕様を拡張仕様に設定するマイコン仕向設定方法において、
前記セレクトポートとして、内部スイッチによって接続されるプルアップ抵抗を内蔵したものを用い、
前記セレクトポートを読み取るときには、内部スイッチをONしてプルアップ抵抗を前記セレクトポートに接続することにより、前記セレクトポートがプルアップあるいはプルダウンに設定されていないときに、前記拡張仕様の内の最多の拡張機能が付加された拡張仕様に設定することを特徴とするマイコンの仕向設定方法。
If the specifications of multiple electronic devices that can be connected to the microcomputer include a basic specification consisting of basic functions and a plurality of extended specifications configured by combining at least one extended function with the basic specifications, It is a microcomputer setting method for setting to a specification corresponding to any of the specifications,
A microcomputer-oriented setting method in which the specification of the electronic device is set to a basic specification by setting the select port of the microcomputer to a pull-down, and the specification of the electronic device is set to an extended specification by setting the select port of the microcomputer to a pull-up In
As the select port, use a built-in pull-up resistor connected by an internal switch,
When reading the select port, an internal switch is turned on and a pull-up resistor is connected to the select port. A microcomputer setting method characterized in that an extended specification with an extended function is set.
マイコンに接続可能な複数の電子機器の仕様が、基本機能からなる基本仕様と基本仕様に少なくとも1つ以上の拡張機能を組合せて構成される複数の拡張仕様がある場合に、マイコンを前記仕様のうちの任意の仕様に対応する仕向に設定するマイコンの仕向設定システムであって、
前記マイコンのセレクトポートをプルダウンに設定することによって電子機器の仕様を基本仕様に設定し、前記マイコンのセレクトポートをプルアップに設定することによって電子機器の仕様を拡張仕様に設定するマイコン仕向設定方法において、
前記セレクトポートとして、内部スイッチによって接続されるプルアップ抵抗を内蔵したものを有し、前記セレクトポートを読み取るときには、内部スイッチをONしてプルアップ抵抗を前記セレクトポートに接続することにより、前記セレクトポートがプルアップあるいはプルダウンに設定されていないときに、前記拡張仕様の内の最多の拡張機能が付加された拡張仕様に設定する設定手段を有することを特徴とするマイコンの仕向設定システム。
If the specifications of multiple electronic devices that can be connected to the microcomputer include a basic specification consisting of basic functions and a plurality of extended specifications configured by combining at least one extended function with the basic specifications, It is a microcomputer setting system for setting to a specification corresponding to any of these specifications,
A microcomputer-oriented setting method in which the specification of the electronic device is set to a basic specification by setting the select port of the microcomputer to a pull-down, and the specification of the electronic device is set to an extended specification by setting the select port of the microcomputer to a pull-up In
The select port has a built-in pull-up resistor connected by an internal switch. When the select port is read, the select switch is turned on to connect the pull-up resistor to the select port. A microcomputer setting system, comprising setting means for setting an extended specification to which a maximum number of extended functions of the extended specifications are added when a port is not set to pull-up or pull-down.
JP2000391872A 2000-12-25 2000-12-25 Microcomputer direction setting method and microcomputer direction setting system Expired - Fee Related JP3799471B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000391872A JP3799471B2 (en) 2000-12-25 2000-12-25 Microcomputer direction setting method and microcomputer direction setting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000391872A JP3799471B2 (en) 2000-12-25 2000-12-25 Microcomputer direction setting method and microcomputer direction setting system

Publications (2)

Publication Number Publication Date
JP2002196847A JP2002196847A (en) 2002-07-12
JP3799471B2 true JP3799471B2 (en) 2006-07-19

Family

ID=18857951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000391872A Expired - Fee Related JP3799471B2 (en) 2000-12-25 2000-12-25 Microcomputer direction setting method and microcomputer direction setting system

Country Status (1)

Country Link
JP (1) JP3799471B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100518570B1 (en) * 2003-05-06 2005-10-04 삼성전자주식회사 Circuit and method for detecting disc drive
JP2010122728A (en) * 2008-11-17 2010-06-03 Yuhshin Co Ltd Indicator part control device

Also Published As

Publication number Publication date
JP2002196847A (en) 2002-07-12

Similar Documents

Publication Publication Date Title
US10880117B2 (en) Control area network (CAN) transceivers with automatic polarity detection
EP3862230B1 (en) Communication system and vicarious inputting and outputting unit
KR100187739B1 (en) Control system of automotive air conditioning device
JP3557335B2 (en) Interface circuit
US20020161938A1 (en) Increasing control information from a single general purpose input/output (GPIO) mechanism
JP3799471B2 (en) Microcomputer direction setting method and microcomputer direction setting system
US9145100B2 (en) In-vehicle ECU
JP2009132366A (en) Switch control device for vehicle
JP3524294B2 (en) Switch open / closed state detection circuit
JPH07160378A (en) Magnetic disk connecting device
JP3748514B2 (en) Sensor state detection device
KR102452535B1 (en) Apparatus and method for preventing misoperating of sunroof for vehicle
JP4730356B2 (en) Power control device
JPH08265859A (en) Switch input discrimination circuit
KR100298744B1 (en) Reset control apparatus of automobile
JP2005102418A (en) Inverter device
JP2003297166A (en) Courtesy switching device
JP3347769B2 (en) Multiplex transmission equipment
KR102518236B1 (en) System and method for determining cause of wake-up
JP5640518B2 (en) In-vehicle ECU
JP3595302B2 (en) Switch device
KR100786497B1 (en) Input module of automobile
JP2000137644A (en) Memory control circuit
US20090100306A1 (en) Electronic unit
JPH09172470A (en) Electronic controller

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050920

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060410

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees