EP0997347B1 - Procedure and system for mode switching of a vehicle control apparatus - Google Patents

Procedure and system for mode switching of a vehicle control apparatus Download PDF

Info

Publication number
EP0997347B1
EP0997347B1 EP99121022A EP99121022A EP0997347B1 EP 0997347 B1 EP0997347 B1 EP 0997347B1 EP 99121022 A EP99121022 A EP 99121022A EP 99121022 A EP99121022 A EP 99121022A EP 0997347 B1 EP0997347 B1 EP 0997347B1
Authority
EP
European Patent Office
Prior art keywords
control device
memory
read
information item
switching over
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 - Lifetime
Application number
EP99121022A
Other languages
German (de)
French (fr)
Other versions
EP0997347A3 (en
EP0997347A2 (en
Inventor
Stefan Hartmann
Kai Volkmar
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.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Publication of EP0997347A2 publication Critical patent/EP0997347A2/en
Publication of EP0997347A3 publication Critical patent/EP0997347A3/en
Application granted granted Critical
Publication of EP0997347B1 publication Critical patent/EP0997347B1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D45/00Electrical control not provided for in groups F02D41/00 - F02D43/00
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2487Methods for rewriting
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/26Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0002Automatic control, details of type of controller or control system architecture
    • B60W2050/0004In digital systems, e.g. discrete-time systems involving sampling
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23305Transfer program into prom with passwords
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23323Select between entry and execution of program
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25032CAN, canbus, controller area network bus
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2637Vehicle, car, auto, wheelchair

Definitions

  • the invention relates to a method and a system for switching a Control device from operating mode to programming mode, in particular for motor vehicles according to the preamble of the claim 1.
  • From the generic DE 37 17 012 A1 is a method for switching a digital control unit known.
  • This control unit is provided with a diagnostic interface, via which the Control unit is fed a signal, this signal a switchover of the control unit from an operating mode to causes a programming mode.
  • WO 98 13567 A is a switchover of the control device disclosed by means of a continuous signal without memory changes.
  • the invention is therefore based on the object of a method for switching a control unit from an operating mode to to specify a programming mode which is sufficient Protection against unauthorized reprogramming of the control unit guaranteed and yet easy to use.
  • the advantage of the invention is that by this simple measure, information that is stored detected after switching the control unit off and on again and to switch the control unit into programming mode is being used. This is especially true in the event of a failure the operating voltage advantageous.
  • This method offers one Convenient possibility of switching the control unit from the operating mode in the programming mode with optimal utilization storage devices per se in the control device.
  • the signal for switching the Control device the content of a memory location of the read-only memory changed.
  • the Changeover signal can only be generated by special hardware can be omitted because the Changeover signal can only be generated by special hardware can be omitted.
  • a particularly simple way of switching information To enter into the read-only memory is that a Diagnostic bit actually present in the read-only memory changed and so the switching information is generated.
  • the changeover information is switched off the read-only memory is automatically deleted by the computer of the control unit, by resetting the diagnostic bit to its original state becomes.
  • Another embodiment of the invention relates to a system according to claim 6.
  • the signal for switching the control unit is advantageously carried out by an existing diagnostic device is generated.
  • a new operating program for the First transfer the control unit into a working memory of the computing unit and after deleting the memory locations in the read-only memory, which one contain the previous operating program, the new operating program then transferred to the read-only memory.
  • the memory locations of the main memory are advantageously reduced of the successful transfer to the read-only memory and can be deleted for other operating procedures of the control unit can be used.
  • the new operating program is operated by an external computing unit via a control unit adaptation unit to be programmed Transfer control unit.
  • the new operating program for example created in a PC and only after completed The finished program is transferred to the control unit.
  • control unit adaptation unit is for adaptation freely configurable to different interfaces and bus systems. That has the advantage that depending on the architecture of the control unit not An adaptation circuit must be created especially for each control unit, but through simple links within the control unit adaptation unit the right adjustment for each control unit is simply software can be created.
  • Automotive applications are, for example the regulation of the injection quantity, ABS, idling control or distance and speed controls. They are in the read-only memory required operating programs for the control unit and the associated parameters saved.
  • FIG. 1 shows a control device 1 as used in motor vehicles.
  • the control unit 1 is connected to the battery voltage U B and to terminal 15 of the motor vehicle.
  • the control unit 1 contains a microcomputer 2, which has a RAM 3.
  • the microcomputer 2 is connected via a bidirectional data line 18 to a read-only memory 4, which is designed here as a flash module.
  • the control unit 1 has a diagnostic interface 5 to which an external one Diagnostic device 6 can be connected.
  • This diagnostic interface 5 is bidirectional (Line 19) connected to the microcomputer 2.
  • control device 1 has a serial interface 7, via which from an external computing unit 8, e.g. B a new data in a PC Control unit 1 can be entered, between the interface 7 and the PC 8 a control unit adaptation unit 9 is connected.
  • an external computing unit 8 e.g. B a new data in a PC Control unit 1 can be entered, between the interface 7 and the PC 8 a control unit adaptation unit 9 is connected.
  • a first step if there is a signal from the diagnostic device 6 by the microcomputer 2 in the flash memory 4 an existing diagnostic bit changed. After a subsequent reset of the microcomputer 2 there is an initialization between the microcomputer 2 and the flash memory 4 (step 2).
  • the microprocessor 2 changes the diagnostic bit read. In this way, the microcomputer 2 receives the information that a new operating program is read into the flash memory 4 shall be.
  • step 4 the microcomputer 2 activates a RAM 3 in its working memory program loading routine as such.
  • step 5 the external PC 8 via interface 7 the new operating program to the main memory 3 of the microcomputer 2 transmitted.
  • step 6 required memory locations deleted by the microcomputer 2 in the flash memory 4.
  • an old operating program of the control unit is activated eliminated.
  • step 7 the microcomputer 2 describes the memory locations of the flash memory 4 prepared in this way with that in the main memory 3 filed new program.
  • the diagnostic bit is set to normal operation (Step 9).
  • control unit adaptation unit 9 will be discussed in more detail be the transfer of operating data and new operating programs from the personal computer 8 to a control device of any configuration allows.
  • This control unit adaptation unit 9 consists of a computing core 13, a flash memory 14 and a working memory 15 this control unit adaptation unit 9 a bus interface 11, a serial Interface 12 and an A / D converter 10. Depending on the configuration of the programming control unit 1 is the corresponding adaptation program stored in the flash memory 14.
  • control devices of a motor vehicle are usually via one today CAN bus connected.
  • the adjustment program the control unit adaptation unit 9, the bus interface 11 are activated and the new operating program from the personal computer 8 via the bus interface 11 to the control unit 1 not shown in this figure become.
  • the control units have other configurations, then corresponding default settings in the control unit adaptation unit 9, alternatively the serial interface 12 or the A / D converter 10 is activated to enable data exchange.

Description

Die Erfindung betrifft ein Verfahren und ein System zur Umschaltung eines Steuergerätes vom Betriebsmode in einen Programmiermode, insbesondere für Kraftfahrzeuge gemäß dem Oberbegriff des Patentanspruchs 1.The invention relates to a method and a system for switching a Control device from operating mode to programming mode, in particular for motor vehicles according to the preamble of the claim 1.

Aus der gattungsbildenden DE 37 17 012 A1 ist ein Verfahren zur Umschaltung eines digitalen Steuergerätes bekannt. Dieses Steuergerät ist mit einer Diagnoseschnittstelle versehen, über welche dem Steuergerät ein Signal zugeführt wird, wobei dieses Signal eine Umschaltung des Steuergerätes von einem Betriebsmode in einen Programmiermode bewirkt.From the generic DE 37 17 012 A1 is a method for switching a digital control unit known. This control unit is provided with a diagnostic interface, via which the Control unit is fed a signal, this signal a switchover of the control unit from an operating mode to causes a programming mode.

Um dem Steuergerät mitzuteilen, dass ein Umschalten vom Betriebsmodus in den Programmiermodus gewünscht wird, muss das Signal mindestens 2,5 Sekunden an der Diagnoseschnittstelle anliegen. Weiterhin ist Voraussetzung, dass das Fahrzeug bei der Umschaltung des Steuergerätes sich nicht in Bewegung befindet. Daher wird die Fahrzeuggeschwindigkeit detektiert und nur im Stillstand eine Umprogrammierung zugelassen.To inform the control unit that a switchover from the operating mode in programming mode is required Signal on the diagnostic interface for at least 2.5 seconds issue. It is also a requirement that the vehicle is at the switchover of the control unit is not in motion. Therefore, the vehicle speed is detected and Reprogramming only permitted when the machine is at a standstill.

In der WO 98 13567 A ist ein Umschalten des Steuergerätes mittels eines Dauersignales ohne Speicherverändenang offenbart.WO 98 13567 A is a switchover of the control device disclosed by means of a continuous signal without memory changes.

Gemäß DE 197 07 436 A wird an einem zweiten Eingang des Steuergerätes ein Signal angelegt, das das Steuergerät bei dessen Einschalten in den Programmiermodus überführt.According to DE 197 07 436 A is at a second input of the control unit applied a signal that the control unit at its Switched on switched to programming mode.

Die beschriebenen Verfahren bieten aber keine ausreichende Sicherheit, um eine Umprogrammierung des Steuergerätes durch unautorisierte Personen zu verhindern. However, the methods described do not offer sufficient Security to reprogram the control unit to prevent unauthorized persons.

Der Erfindung liegt somit die Aufgabe zugrunde, ein Verfahren zum Umschalten eines Steuergerätes von einem betriebsmode in einen Programmiermode anzugeben, welches einen ausreichenden Schutz vor unautorisierter Umprogrammierung des Steuergerätes gewährleistet und trotzdem einfach zu handhaben ist.The invention is therefore based on the object of a method for switching a control unit from an operating mode to to specify a programming mode which is sufficient Protection against unauthorized reprogramming of the control unit guaranteed and yet easy to use.

Erfindungsgemäß wird die Aufgabe durch die Merkmale des Patentanspruchs 1 gelöst.According to the invention the object is achieved by the features of the patent claim 1 solved.

Der Vorteil der Erfindung besteht darin, dass durch diese einfache Maßnahme, eine Information abgespeichert wird, die nach dem Aus- und wieder Einschalten des Steuergerätes erkannt und zur Umschaltung des Steuergerätes in den Programmiermodus genutzt wird. Dies ist insbesondere beim Ausfall der Betriebsspannung vorteilhaft.The advantage of the invention is that by this simple measure, information that is stored detected after switching the control unit off and on again and to switch the control unit into programming mode is being used. This is especially true in the event of a failure the operating voltage advantageous.

Insbesondere bei einer permanenten Datenspeicherung in Kraftfahrzeugen ist es notwendig, aktuelle Betriebsdaten und Programme laufend anzupassen. Dabei bietet dieses Verfahren eine komfortable Möglichkeit der Umschaltung des Steuergerätes von dem Betriebsmodus in den Programmiermodus bei optimaler Ausnutzung an sich im Steuergerät vorhandener Speichereinrichtungen.Especially with permanent data storage in motor vehicles it is necessary to have current operating data and programs constantly adapt. This method offers one Convenient possibility of switching the control unit from the operating mode in the programming mode with optimal utilization storage devices per se in the control device.

Vorteilhafterweise wird durch das Signal zur Umschaltung des Steuergerätes der Inhalt eines Speicherplatzes des Festwertspeichers geändert. Auf die Eingabe von komplizierten Zugangscodes und deren Abfrage kann verzichtet werden, da das Umschaltsignal nur durch eine spezielle Hardware erzeugt werden kann.Advantageously, the signal for switching the Control device the content of a memory location of the read-only memory changed. On entering complicated access codes and their query can be omitted because the Changeover signal can only be generated by special hardware can.

Eine besonders einfache Möglichkeit die Umschaltinformation in den Festwertspeicher einzugeben, besteht darin, dass ein an sich im Festwertspeicher vorhandenes Diagnosebit geändert wird und so die Umschaltinformation erzeugt wird. A particularly simple way of switching information To enter into the read-only memory is that a Diagnostic bit actually present in the read-only memory changed and so the switching information is generated.

Nach Abschluß des Programmiervorganges wird die Umschaltinformation aus dem Festwertspeicher automatisch durch den Rechner des Steuergerätes gelöscht, indem das Diagnosebit wieder in seinen Ursprungszustand zurückgesetzt wird.After the programming process has been completed, the changeover information is switched off the read-only memory is automatically deleted by the computer of the control unit, by resetting the diagnostic bit to its original state becomes.

In einer Weiterbildung wird nach Erkennen der Umschaltinformation durch das Steuergerät ein an sich vorhandener Programmladealgorithmus des Steuergerätes aktiviert und anschließend von einer externen Recheneinheit ein neues Betriebsprogramm für das Steuergerät eingelesen.In one development, after the switching information has been recognized by the Control unit an existing program loading algorithm of the control unit activated and then a new one from an external processor Operating program for the control unit read.

Eine weitere Ausgestaltung der Erfindung betrifft ein System nach Anspruch 6.Another embodiment of the invention relates to a system according to claim 6.

Durch die Speicherung der Umschaltinformation in dem an sich für andere Zwecke vorhandenen Festwertspeicher werden Speicherplätze in anderen Datenspeichern der Recheneinheit nicht beansprucht. Insbesondere durch die Verwendung des Diagnosebits wird der Bedarf an Speicherplatz auf ein Minimum reduziert. Zusätzlicher Aufwand zur Verschlüsselung der Umschaltinformation entfällt. By storing the switching information in the for others For the purpose of existing read-only memories, memory locations in other data memories are used the computing unit is not claimed. Especially through the Using the diagnostic bit minimizes the need for storage space reduced. Additional effort to encrypt the switching information eliminated.

Vorteilhafterweise wird das Signal zur Umschaltung des Steuergerätes durch ein an sich vorhandenes Diagnosegerät erzeugt.The signal for switching the control unit is advantageously carried out by an existing diagnostic device is generated.

Nach Einstellen des Programmiermodes wird ein neues Betriebsprogramm fürdas Steuergerät zunächst in einen Arbeitsspeicher der Recheneinheit übertragen und nach Löschung der Speicherplätze im Festwertspeicher, welche ein vorhergehendes Betriebsprogramm enthalten, wird das neue Betriebsprogramm anschließend in den Festwertspeicher übertragen.After setting the programming mode, a new operating program for the First transfer the control unit into a working memory of the computing unit and after deleting the memory locations in the read-only memory, which one contain the previous operating program, the new operating program then transferred to the read-only memory.

Vorteilhafterweise werden dabei die Speicherplätze des Arbeitsspeichers nach der erfolgten Übertragung in den Festwertspeicher gelöscht und können für weitere Betriebsabläufe des Steuergerätes genutzt werden.The memory locations of the main memory are advantageously reduced of the successful transfer to the read-only memory and can be deleted for other operating procedures of the control unit can be used.

In einer Ausgestaltung wird das neue Betriebsprogamm von einer externen Recheneinheit über eine Steuergeräteanpassungseinheit an das zu programmierende Steuergerät übertragen. Auf diese Art und Weise kann das neue Betriebsprogramm beispielsweise in einem PC erstellt werden und erst nach abgeschlossenen Arbeiten wird das fertige Programm in das Steuergerät übertragen.In one configuration, the new operating program is operated by an external computing unit via a control unit adaptation unit to be programmed Transfer control unit. In this way, the new operating program for example created in a PC and only after completed The finished program is transferred to the control unit.

In einer Ausgestaltung ist die Steuergeräteanpassungseinheit zur Anpassung an unterschiedliche Schnittstellen und Bussysteme frei konfigurierbar. Das hat den Vorteil, daß in Abhängigkeit von der Architektur des Steuergerätes nicht extra für jedes Steuergerät eine Anpassungsschaltung erstellt werden muß, sondern durch einfache Verknüpfungen innerhalb der Steuergeräteanpassungseinheit für jedes Steuergerät die richtige Anpassung einfach softwaremäßig erstellt werden kann.In one embodiment, the control unit adaptation unit is for adaptation freely configurable to different interfaces and bus systems. That has the advantage that depending on the architecture of the control unit not An adaptation circuit must be created especially for each control unit, but through simple links within the control unit adaptation unit the right adjustment for each control unit is simply software can be created.

Die Erfindung läßt zahlreiche Ausführungsformen zu. Eine davon soll anhand der in der Zeichnung dargestellten Figuren näher erläutert werden.The invention allows numerous embodiments. One of them should be based on of the figures shown in the drawing are explained in more detail.

Es zeigen:

Fig. 1
erfindungsgemäße Programmiereinrichtung
Fig. 2
Verfahren zur Erzeugung einer Umschaltinformation mit Hilfe der erfindungsgemäßen Programmiereinrichtung
Fig. 3
Steuergeräteänpassungseinheit
Show it:
Fig. 1
programming device according to the invention
Fig. 2
Method for generating switching information using the programming device according to the invention
Fig. 3
Steuergeräteänpassungseinheit

Gleiche Merkmale sind mit gleichen Bezugszeichen gekennzeichnet.Identical features are identified by the same reference symbols.

Bei Einrichtungen mit Mikrorechnern ist das zum Betrieb des Mikrorechners notwendige Programm in Festwertspeichern abgelegt. Für eine nachträgliche Programmierung sind verschiedene Festwertspeicher, z. B EEPROM oder Flash-Speicher bekannt geworden. Insbesondere bei dem Einsatz von solchen Mikrorechnern in Steuergeräten von Kraftfahrzeugen, wo eine Vielfalt von Daten verarbeitet werden muß, ist eine Umprogrammierung des Festwertspeichers notwendig. Dabei werden nicht nur Daten sondern auch ganze Programme laufend angepaßt.In the case of devices with microcomputers, this is for the operation of the microcomputer necessary program stored in read-only memories. For a subsequent one Programming are different read-only memories, e.g. B EEPROM or Flash memory became known. Especially when using such Microcomputers in control units of motor vehicles, where a variety of data must be processed is a reprogramming of the read-only memory necessary. Not only data but also entire programs constantly adjusted.

Für fertig aufgebaute Steuergeräte werden viele verschiedene Steuer- und Regelungsabläufe angewendet. Kraftfahrzeugtechnische Anwendungen sind beispielsweise die Regelung der Einspritzmenge, ABS, Leerlaufregelung oder Abstands- und Geschwindigkeitsregelungen. Im Festwertspeicher sind die jeweils erforderliche Betriebsprogramme für das Steuergerät und die zugehörigen Parameter gespeichert.There are many different control and regulation processes for fully assembled control units applied. Automotive applications are, for example the regulation of the injection quantity, ABS, idling control or distance and speed controls. They are in the read-only memory required operating programs for the control unit and the associated parameters saved.

Figur 1 zeigt ein Steuergerät 1, wie es in Kraftfahrzeugen eingesetzt wird.FIG. 1 shows a control device 1 as used in motor vehicles.

Das Steuergerät 1 ist dabei mit der Batteriespannung UB und mit Klemme 15 des Kraftfahrzeuges verbunden. Das Steuergerät 1 enthält einen Mikrorechner 2, welcher einen Arbeitsspeicher RAM 3 aufweist. Der Mikrorechner 2 ist über eine bidirektionale Datenleitung 18 mit einem Festwertspeicher 4 verbunden, welcher hier als Flash-Baustein ausgebildet ist.The control unit 1 is connected to the battery voltage U B and to terminal 15 of the motor vehicle. The control unit 1 contains a microcomputer 2, which has a RAM 3. The microcomputer 2 is connected via a bidirectional data line 18 to a read-only memory 4, which is designed here as a flash module.

Das Steuergerät 1 weist eine Diagnoseschnittstelle 5 auf, an welche ein externes Diagnosegerät 6 anschließbar ist. Diese Diagnoseschnittstelle 5 ist bidirektional (Leitung 19) mit dem Mikrorechner 2 verbunden. The control unit 1 has a diagnostic interface 5 to which an external one Diagnostic device 6 can be connected. This diagnostic interface 5 is bidirectional (Line 19) connected to the microcomputer 2.

Des weiteren weist das Steuergerät 1 eine serielle Schnittstelle 7 auf, über welche von einer externen Recheneinheit 8, z. B einem PC neue Daten in das Steuergerät 1 eingegeben werden, wobei zwischen der Schnittstelle 7 und dem PC 8 eine Steuergeräteanpassungseinheit 9 geschaltet ist.Furthermore, the control device 1 has a serial interface 7, via which from an external computing unit 8, e.g. B a new data in a PC Control unit 1 can be entered, between the interface 7 and the PC 8 a control unit adaptation unit 9 is connected.

Mit Hilfe der Figur 2 soll der Ablauf zur Änderung eines Betriebsprogramms in dem Flash-Speicher 4 erläutert werden.With the help of Figure 2, the sequence for changing an operating program in the flash memory 4 will be explained.

In einem ersten Schritt wird bei Vorliegen eines Signales des Diagnosegerätes 6 durch den Mikrorechner 2 im Flash-Speicher 4 ein an sich vorhandenes Diagnosebit geändert. Nach einem sich anschließenden Reset des Mikrorechners 2 erfolgt eine Initialisierung zwischen dem Mikrorechner 2 und dem Flash-Speicher 4 (Schritt 2). Dabei wird von dem Mikrorechner 2 das geänderte Diagnosebit gelesen. Auf diese Art und Weise erhält der Mikrorechner 2 die Information, daß ein neues Betriebsprogramm in den Flash-Speicher 4 eingelesen werden soll.In a first step, if there is a signal from the diagnostic device 6 by the microcomputer 2 in the flash memory 4 an existing diagnostic bit changed. After a subsequent reset of the microcomputer 2 there is an initialization between the microcomputer 2 and the flash memory 4 (step 2). The microprocessor 2 changes the diagnostic bit read. In this way, the microcomputer 2 receives the information that a new operating program is read into the flash memory 4 shall be.

Im Schritt 4 aktiviert der Mikrorechner 2 eine, in seinem Arbeitsspeicher RAM 3 an sich vorhandene Programmladeroutine. Im Schritt 5 wird von dem externen PC 8 über die Schnittstelle 7 das neue Betriebsprogramm an den Arbeitsspeicher 3 des Mikrorechners 2 übertragen. Gleichzeitig werden im Schritt 6 die benötigten Speicherplätze durch den Mikrorechner 2 im Flash-Speicher 4 gelöscht. Dabei wird gleichzeitig ein altes Betriebsprogramm des Steuergerätes eleminiert. In dem sich anschließenden Schritt 7 beschreibt der Mikrorechner 2 die so vorbereiteten Speicherplätze des Flash-Speichers 4 mit dem im Arbeitsspeicher 3 abgelegten neuen Programm. Nach Abschluß der Umprogrammierung des Flash-Speichers 4 wird das Diagnosebit auf normalen Betrieb gesetzt (Schritt 9). In dem sich anschließenden Schritt 10 wird der Arbeitsspeicher 3 des Mikrorechners 2 gelöscht und steht für andere Aufgaben zur Verfügung.In step 4, the microcomputer 2 activates a RAM 3 in its working memory program loading routine as such. In step 5, the external PC 8 via interface 7 the new operating program to the main memory 3 of the microcomputer 2 transmitted. At the same time in step 6 required memory locations deleted by the microcomputer 2 in the flash memory 4. At the same time, an old operating program of the control unit is activated eliminated. In the subsequent step 7, the microcomputer 2 describes the memory locations of the flash memory 4 prepared in this way with that in the main memory 3 filed new program. After reprogramming is complete of the flash memory 4, the diagnostic bit is set to normal operation (Step 9). In the subsequent step 10, the main memory 3 of the microcomputer 2 deleted and is available for other tasks.

Mit dem jetzt eingenommenen Zustand des Diagnosebits können normale Diagnosearbeiten durchgeführt werden. So wird mit Hilfe des Diagnosebits nicht nur die Einleitung einer Diagnose durch den Mikrorechner 2 ermöglicht, sondern es wird gleichzeitig zur Umprogrammierung des Mikrorechners genutzt.With the status of the diagnostics bit now assumed, normal diagnostics can work be performed. So with the help of the diagnostic bit only the initiation of a diagnosis by the microcomputer 2 enables, but it is also used to reprogram the microcomputer.

Gemäß Figur 3 soll noch näher auf die Steuergeräteanpassungseinheit 9 eingegangen werden, welches die Übertragung von Betriebsdaten und neuen Betriebsprogrammen von dem Personalcomputer 8 auf ein Steuergerät beliebiger Konfiguration ermöglicht.According to FIG. 3, the control unit adaptation unit 9 will be discussed in more detail be the transfer of operating data and new operating programs from the personal computer 8 to a control device of any configuration allows.

Soll nun ein neues Betriebsprogramm geladen werden, was im PC 8 vorliegt, so wird dieses über eine serielle Datenleitung 17 an die Steuergeräteanpassungseinheit 9 übertragen.If a new operating program is to be loaded, which is available in PC 8, this is via a serial data line 17 to the control unit adaptation unit 9 transferred.

Diese Steuergeräteanpassungseinheit 9 besteht aus einem Rechenkem 13, einem Flash-Speicher 14 und einem Arbeitsspeicher 15. Desweiteren weist diese Steuergeräteanpassungseinheit 9 eine Busschnittstelle 11, eine serielle Schnittstelle 12 und einen A/D-Wandler 10 auf. Je nach Konfiguration des zu programmierenden Steuergerätes 1 ist das entsprechende Anpassungsprogramm im Flashspeicher 14 abgelegt.This control unit adaptation unit 9 consists of a computing core 13, a flash memory 14 and a working memory 15 this control unit adaptation unit 9 a bus interface 11, a serial Interface 12 and an A / D converter 10. Depending on the configuration of the programming control unit 1 is the corresponding adaptation program stored in the flash memory 14.

Die Steuergeräte eines Kraftfahrzeuges sind heute üblicherweise über einen CAN-Bus verbunden. In diesem Falle würde durch das Anpassungsprogramm der Steuergeräteanpassungseinheit 9 die Busschnittstelle 11 aktiviert werden und das neue Betriebsprogramm vom Personalcomputer 8 über die Busschnittstelle 11 an das in dieser Figur nicht weiter dargestellte Steuergerät 1 übertragen werden. Haben die Steuergeräte andere Konfigurationen, so können durch entsprechende Voreinstellungen in der Steuergeräteanpassungseinheit 9, alternativ die serielle Schnittstelle 12 oder aber auch der A/D-Wandler 10 aktiviert werden, um somit einen Datenaustausch zu ermöglichen.The control devices of a motor vehicle are usually via one today CAN bus connected. In this case, the adjustment program the control unit adaptation unit 9, the bus interface 11 are activated and the new operating program from the personal computer 8 via the bus interface 11 to the control unit 1 not shown in this figure become. If the control units have other configurations, then corresponding default settings in the control unit adaptation unit 9, alternatively the serial interface 12 or the A / D converter 10 is activated to enable data exchange.

Claims (10)

  1. Method for switching over a control device from an operating mode into a programming mode, in particular for a control device of a motor vehicle, the switching over being carried out by means of a signal which is fed to the control device externally, characterized in that the external signal generates a switchover information item in a read-only memory (4) which stores at least an operating program and/or data for the control device (1) which is updated at predefined intervals, which switchover information item brings about the switching over into the programming mode when the control device (1) is activated.
  2. Method according to Claim 1, characterized in that the content of a memory location of the read-only memory (4) is changed by the signal for switching over the control device (1).
  3. Method according to Claim 2, characterized in that the switchover information item is generated by changing a diagnostic bit in the read-only memory (4).
  4. Method according to Claim 2 or 3, characterized in that a program-loading algorithm of the control device (1) is activated after the switchover information item has been detected, and a new operating program of the control device (1) is then read in.
  5. Method according to Claim 3, characterized in that the switchover information item is cleared from the read-only memory (4) after the programming operation has been terminated.
  6. System for switching over a control device from an operating mode into a programming mode, in particular for a motor vehicle, having a control device, and a device which generates an external signal for switching over the control device from the operating mode into the programming mode, the control device having an arithmetic unit which to a read-only memory and a diagnostic interface which supplies the external signal to the control device, characterized in that the signal for switching over the control device (1) into the operating mode generates a switchover information item in the read-only memory (4) which is connected to the diagnostic interface (5) via the arithmetic unit (2) and stores an operating program and/or data of the control device (1) which is updated at predefined intervals, which information item is read into the read-only memory (4) by the arithmetic unit (2) after said arithmetic unit (2) has been activated, and the arithmetic unit (2) activates the programming mode after the switchover information item has been read.
  7. System according to Claim 6, characterized in that the signal for switching over the control device (1) can be triggered by means of a diagnostic device (6).
  8. System according to Claim 6 or 7, characterized in that a new operating program of the control device (1) is firstly transmitted into a main memory (3) of the arithmetic unit (2) after the programming mode has been set, and is then transmitted into the read-only memory (4) after the memory locations in the read-only memory (4) which contain a previous operating program have been cleared.
  9. System according to Claim 8, characterized in that the new operating program is transmitted from an external arithmetic unit (8) via a control device adaptation unit (9) to the control device (1) which is to be programmed.
  10. System according to Claim 9, characterized in that the control device adaptation unit (9) is freely configurable in order to adapt to different interfaces and bus systems (10, 11, 12).
EP99121022A 1998-10-29 1999-10-21 Procedure and system for mode switching of a vehicle control apparatus Expired - Lifetime EP0997347B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE19849809A DE19849809C2 (en) 1998-10-29 1998-10-29 Method and device for programming a control device, in particular a motor vehicle
DE19849809 1998-10-29

Publications (3)

Publication Number Publication Date
EP0997347A2 EP0997347A2 (en) 2000-05-03
EP0997347A3 EP0997347A3 (en) 2000-11-02
EP0997347B1 true EP0997347B1 (en) 2004-08-18

Family

ID=7886003

Family Applications (1)

Application Number Title Priority Date Filing Date
EP99121022A Expired - Lifetime EP0997347B1 (en) 1998-10-29 1999-10-21 Procedure and system for mode switching of a vehicle control apparatus

Country Status (7)

Country Link
US (1) US6490491B1 (en)
EP (1) EP0997347B1 (en)
JP (1) JP2000148507A (en)
KR (1) KR20000029372A (en)
DE (2) DE19849809C2 (en)
ES (1) ES2227950T3 (en)
MY (1) MY122334A (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AUPP734298A0 (en) * 1998-11-26 1998-12-24 Aristocrat Leisure Industries Pty Ltd Electronic casino gaming with authentication and improved security
KR20020097363A (en) * 2001-06-20 2002-12-31 현대자동차주식회사 Method for reprograming of electronic control unit of vehicle
US20040054952A1 (en) * 2002-09-13 2004-03-18 Morrow James W. Device verification system and method
DE10341514A1 (en) * 2003-09-04 2005-04-14 Volkswagen Ag Controller area network (CAN) controller module, for motor vehicle, has serial interface for connection to external computer unit, via which it can be freely programmed, and connected to CAN analysis and simulation module
US8746547B2 (en) * 2003-10-09 2014-06-10 Medical Vision Research And Development Ab Medical indication device and identification method
DE10359487A1 (en) * 2003-12-18 2005-07-21 Bayerische Motoren Werke Ag Control unit with non-operational interface
JP4296598B2 (en) * 2004-04-30 2009-07-15 カシオ計算機株式会社 Communication terminal device and communication terminal processing program
DE102004052438A1 (en) * 2004-10-28 2006-05-04 Agtatec Ag Service programmer for automatic doors has applications memory supplying control programs to microprocessors
DE102008035557A1 (en) * 2008-07-30 2010-02-04 Bayerische Motoren Werke Aktiengesellschaft Method for introducing data, in particular a sequence control, into at least a first and a second control unit of a motor vehicle
BR112012005362A2 (en) 2009-09-15 2020-09-15 Kpit Cummins Infosystems Ltd. METHOD OF ENGINE ASSISTANCE SUPPLIES FOR A BASEADAN HYBRID VEHICLE EXPECTED RANGE OF PROPULSAN
KR20120065413A (en) 2009-09-15 2012-06-20 케이피아이티 커민즈 인포시스템즈 엘티디. Method of providing assistance for a hybrid vehicle based on user input
US8423214B2 (en) 2009-09-15 2013-04-16 Kpit Cummins Infosystems, Ltd. Motor assistance for a hybrid vehicle
CN102483020B (en) 2009-09-15 2015-03-04 Kpit技术有限责任公司 Method of converting vehicle into hybrid vehicle
DE102009047974B4 (en) * 2009-10-01 2022-09-01 Bayerische Motoren Werke Aktiengesellschaft Procedure for programming a control unit
JP5451705B2 (en) * 2011-09-21 2014-03-26 日立オートモティブシステムズ株式会社 Electronic control device for automobile and data communication method
JP6099381B2 (en) * 2012-12-10 2017-03-22 三菱電機株式会社 In-vehicle device
US10968927B2 (en) * 2018-04-02 2021-04-06 Eaton Intelligent Power Limited Hydraulic valve assembly with automated tuning

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62181910A (en) * 1986-02-04 1987-08-10 Automob Antipollut & Saf Res Center Air conditioner for vehicle
DE3717012A1 (en) * 1987-05-21 1988-12-08 Vdo Schindling METHOD FOR PROGRAMMING A DIGITAL CONTROL UNIT
JP2927484B2 (en) * 1989-01-25 1999-07-28 株式会社日立製作所 Automatic program generation method and apparatus
US5293610A (en) * 1989-08-04 1994-03-08 Motorola, Inc. Memory system having two-level security system for enhanced protection against unauthorized access
DE4309817A1 (en) * 1993-03-26 1994-09-29 Bayerische Motoren Werke Ag Switch arrangement for the interior lighting of motor vehicles
DE4425388B4 (en) * 1994-07-19 2005-07-21 Robert Bosch Gmbh control unit
US6512461B1 (en) * 1996-09-26 2003-01-28 Lear Automotive Dearborn, Inc. Method of teaching transmitter codes to remote receivers
US5880957A (en) * 1996-12-03 1999-03-09 Caterpillar Inc. Method for programming hydraulic implement control system
DE19707436C2 (en) * 1997-02-25 1999-09-23 Hella Kg Hueck & Co Control device for motor vehicles
JPH10247103A (en) * 1997-03-04 1998-09-14 Nissan Motor Co Ltd Memory rewrite device
US6185466B1 (en) * 1997-10-06 2001-02-06 Proteus Industries, Inc. Distributed digital control system including modules with multiple stored databases and selector
US6061617A (en) * 1997-10-21 2000-05-09 Case Corporation Adaptable controller for work vehicle attachments

Also Published As

Publication number Publication date
US6490491B1 (en) 2002-12-03
ES2227950T3 (en) 2005-04-01
EP0997347A3 (en) 2000-11-02
EP0997347A2 (en) 2000-05-03
DE59910263D1 (en) 2004-09-23
MY122334A (en) 2006-04-29
DE19849809A1 (en) 2000-05-11
DE19849809C2 (en) 2002-10-17
JP2000148507A (en) 2000-05-30
KR20000029372A (en) 2000-05-25

Similar Documents

Publication Publication Date Title
EP0997347B1 (en) Procedure and system for mode switching of a vehicle control apparatus
DE19642737C2 (en) System and method for controlling a device present in a motor vehicle
DE10027006B4 (en) System for controlling the operation of a motor vehicle and a method for starting such a system
WO1998055878A1 (en) Diagnostic device for monitoring a sub-system in a motor vehicle
DE4340048A1 (en) Device for exchanging data and method for operating the device
WO2006100232A1 (en) Method and device for configuring a control device and corresponding control device
DE19964013A1 (en) Method and device for controlling operations in a vehicle
EP1524803B1 (en) Method and apparatus to change a first mode of a controller to a second mode through a data-bus
EP2326959B1 (en) Method for activating functions of a tachograph
DE102016201769A1 (en) Method for updating software of a control unit, preferably for a motor vehicle
EP1187011A2 (en) Method for programming a control device
DE3210616A1 (en) COMPUTER
EP1000810B1 (en) Vehicle computer system
DE19730492A1 (en) Hydrostatic drive arrangement for closed or open circulation
WO2017125182A1 (en) Method for updating control device software, preferably for a motor vehicle
EP0664387B1 (en) Process to change the working mode of a control device in vehicles
DE19849810C2 (en) Arrangement for the transmission of operating data and / or operating programs
DE10007610B4 (en) Method for programming a control device for a motor vehicle
EP0834175B1 (en) Process for operating a controller with a programmable memory
DE102016106572A1 (en) METHOD FOR OPERATING A CONTROL DEVICE FOR A VEHICLE, CONTROL UNIT, OPERATING SYSTEM, MOTOR VEHICLE
EP1894101A1 (en) Method and apparatus for monitoring unauthorized access to the memory of an arithmetic unit, especially in a motor vehicle
DE4332063A1 (en) Method of programming a microcomputer circuit as well as a microcomputer circuit designed for this
WO2004042592A2 (en) Method for the secure checking of a memory region of a microcontroller in a control device and control device with a protected mikrocontroller
EP0952523B1 (en) Functional unit for a programmable controller having redundancy function
EP1089147B1 (en) Method and arrangement for initialising a number of identical control devices

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): DE ES FR GB SE

AX Request for extension of the european patent

Free format text: AL;LT;LV;MK;RO;SI

PUAL Search report despatched

Free format text: ORIGINAL CODE: 0009013

AK Designated contracting states

Kind code of ref document: A3

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE

AX Request for extension of the european patent

Free format text: AL;LT;LV;MK;RO;SI

17P Request for examination filed

Effective date: 20000926

AKX Designation fees paid

Free format text: DE ES FR GB SE

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: SIEMENS AKTIENGESELLSCHAFT

17Q First examination report despatched

Effective date: 20020722

RTI1 Title (correction)

Free format text: PROCEDURE AND SYSTEM FOR MODE SWITCHING OF A VEHICLE CONTROL APPARATUS

GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

RTI1 Title (correction)

Free format text: PROCEDURE AND SYSTEM FOR MODE SWITCHING OF A VEHICLE CONTROL APPARATUS

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): DE ES FR GB SE

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

Free format text: NOT ENGLISH

GBT Gb: translation of ep patent filed (gb section 77(6)(a)/1977)

Effective date: 20040818

REF Corresponds to:

Ref document number: 59910263

Country of ref document: DE

Date of ref document: 20040923

Kind code of ref document: P

REG Reference to a national code

Ref country code: SE

Ref legal event code: TRGR

REG Reference to a national code

Ref country code: ES

Ref legal event code: FG2A

Ref document number: 2227950

Country of ref document: ES

Kind code of ref document: T3

ET Fr: translation filed
PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed

Effective date: 20050519

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: ES

Payment date: 20081027

Year of fee payment: 10

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: SE

Payment date: 20081014

Year of fee payment: 10

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 20081014

Year of fee payment: 10

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20081021

Year of fee payment: 10

EUG Se: european patent has lapsed
REG Reference to a national code

Ref country code: FR

Ref legal event code: ST

Effective date: 20100630

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: FR

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20091102

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: GB

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20091021

REG Reference to a national code

Ref country code: ES

Ref legal event code: FD2A

Effective date: 20110412

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20091022

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: ES

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20110331

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: ES

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20091022

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 20181031

Year of fee payment: 20

REG Reference to a national code

Ref country code: DE

Ref legal event code: R071

Ref document number: 59910263

Country of ref document: DE