DE102009027923A1 - Method for operating a control device - Google Patents

Method for operating a control device Download PDF

Info

Publication number
DE102009027923A1
DE102009027923A1 DE102009027923A DE102009027923A DE102009027923A1 DE 102009027923 A1 DE102009027923 A1 DE 102009027923A1 DE 102009027923 A DE102009027923 A DE 102009027923A DE 102009027923 A DE102009027923 A DE 102009027923A DE 102009027923 A1 DE102009027923 A1 DE 102009027923A1
Authority
DE
Germany
Prior art keywords
software
test
interface
user
control unit
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.)
Withdrawn
Application number
DE102009027923A
Other languages
German (de)
Inventor
Michael Mutter
Bruno Floreani
Greg Carrum Robinson
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.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
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 Robert Bosch GmbH filed Critical Robert Bosch GmbH
Priority to DE102009027923A priority Critical patent/DE102009027923A1/en
Priority to PCT/EP2010/057688 priority patent/WO2011009670A1/en
Publication of DE102009027923A1 publication Critical patent/DE102009027923A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Abstract

Die Erfindung betrifft ein Verfahren zum Betreiben eines Steuergeräts, das mindestens eine Hardware-Komponente, einen Mikrocontroller und eine Schnittstelle aufweist, wobei in einem Anwendermodus auf dem Mikrocontroller eine Anwender-Software ausgeführt wird und die mindestens eine Hardware-Komponente sowie die Schnittstelle in dem Anwendermodus betrieben werden und wobei in einem Testmodus auf dem Mikrocontroller eine Test-Software (20), die von der Anwender-Software getrennt ist, ausgeführt wird und die mindestens eine Hardware-Komponente sowie die Schnittstelle in dem Testmodus betrieben werden.The invention relates to a method for operating a control device which has at least one hardware component, a microcontroller and an interface, with user software being executed on the microcontroller in a user mode and the at least one hardware component and the interface in user mode are operated and test software (20), which is separate from the user software, is executed in a test mode on the microcontroller and the at least one hardware component and the interface are operated in the test mode.

Description

Die Erfindung betrifft ein Verfahren zum Betreiben eines Steuergeräts und eine Anordnung zum Betreiben eines Steuergeräts.The The invention relates to a method for operating a control device and an arrangement for operating a controller.

Stand der TechnikState of the art

Elektronische Steuergeräte (Electronic Control Units, ECUS), die bspw. zur Umsetzung von Steuerfunktionen innerhalb eines Fahrzeugs ausgebildet sind, benötigen u. a. eine Schnittstelle. Diese ermöglicht das Testen von Hardwarekomponenten des Steuergeräts, sobald die Hardware-Komponenten des Steuergeräts in einem Gehäuse hierfür angeordnet sind und somit kein direkter Zugang zu den Hardwarekomponenten des Steuergeräts mehr gegeben ist. Dabei wird vorausgesetzt, dass es möglich ist, die Schnittstelle (Interface) auch während der Produktion bspw. durch ein Update anzupassen, ohne dabei jedoch eine bereits in dem Steuergerät installierte Kunden-Software zu verändern.electronic Control Units (Electronic Control Units, ECUS), the bspw. designed to implement control functions within a vehicle, need u. a. an interface. This allows Testing hardware components of the controller as soon as possible the hardware components of the controller in a housing arranged therefor and thus no direct access more is given to the hardware components of the controller. It is assumed that it is possible to use the interface (Interface) even during production, for example, by a Update without, however, one already in the controller installed customer software change.

Ein Verfahren zum Testen von Software einer Steuereinheit eines Fahrzeugs ist aus der Druckschrift DE 103 03 489 A1 bekannt. Hierbei wird durch ein Testsystem eine von der Steuereinheit steuerbare Regelstrecke wenigstens teilweise simuliert, wobei Ausgangssignale von der Steuereinheit erzeugt werden und diese Ausgangssignale der Steuereinheit zu ersten Hardware-Bausteinen über eine erste Verbindung übertragen werden und Signale von zweiten Hardware-Bausteinen als Eingangssignale zur Steuereinheit über eine zweite Verbindung übertragen werden. Die Ausgangssignale werden als erste Steuerwerte in der Software bereitgestellt und zusätzlich über eine Kommunikationsschnittstelle bezogen auf die Regelstrecke in Echtzeit zum Testsystem übertragen.A method for testing software of a control unit of a vehicle is known from the document DE 103 03 489 A1 known. In this case, a control system controllable by the control unit is at least partially simulated, whereby output signals are generated by the control unit and these output signals of the control unit are transmitted to first hardware modules via a first connection and signals from second hardware modules as input signals to the control unit via a second connection to be transmitted. The output signals are provided as first control values in the software and additionally transmitted in real time to the test system via a communication interface in relation to the controlled system.

Offenbarung der ErfindungDisclosure of the invention

Vor diesem Hintergrund werden ein Verfahren und ein Steuergerät mit den Merkmalen der unabhängigen Patentansprüche vorgestellt. Weitere Ausgestaltungen der Erfindung ergeben sich durch die abhängigen Patentansprüche.In front This background is a method and a controller with the features of the independent claims presented. Further embodiments of the invention will become apparent by the dependent claims.

Mit dem Verfahren können die Hardware-Komponenten über die Schnittstelle getestet werden. Das Verfahren kann üblicherweise für ein Steuergerät eines Fahrzeugs verwendet werden. Im Testmodus können nicht nur die Hardware-Komponenten, sondern auch die Schnittstelle selbst getestet werden, da diese üblicherweise auch als Hardware-Komponente ausgebildet ist. Die Schnittstelle ist als Bus-Schnittstelle bzw. Bus-Interface ausgebildet, die durch Ausführen der Anwender-Software auf dem Microcontroller normal betrieben wird. Falls die Test-Software ausgeführt wird, übernimmt die Schnittstelle u. a. die Funktion einer Test-Schnittstelle.With The method allows the hardware components over the interface will be tested. The process can usually used for a control unit of a vehicle become. In test mode, not only the hardware components, but also the interface itself will be tested as these are usually is also designed as a hardware component. The interface is designed as a bus interface or bus interface through Running the user software on the microcontroller is operated normally. If the test software is running will take over the interface u. a. the function of a Test interface.

Ein Spezialfall ist gegeben, wenn eine der Hardwarekomponenten als ein zweiter Microcontroller ausgebildet ist, z. B. aus Redundanzgründen bzw. für einen Notlauf. Dann kann dieser zweite Microcontroller optional im Testmodus vom Hauptprozessor des ersten Microcontrollers, auf dem entweder die Anwender-Software oder die Test-Software ausgeführt wird, dazu veranlasst werden, ebenfalls in einen Testmodus mit einem separaten Programm zu wechseln. Es besteht aber auch die Option, dass der genannte zweite Microcontroller genauso wie die übrigen Hardware-Komponenten behandelt wird.One Special case is given when one of the hardware components as a second microcontroller is formed, for. B. for redundancy reasons or for an emergency run. Then this second microcontroller can optionally in test mode from the main processor of the first microcontroller, running either the user software or the test software is, to be made, also in a test mode with a separate program to switch. But there is also the option that said second microcontroller just like the rest Hardware components is treated.

Die im Rahmen der Erfindung beschriebene Technik ist übertragbar, so dass diese für Steuergeräte eines Fahrzeugs aber auch für alle anderen Arten von Steuergeräten, bspw. Computer, Kommunikationseinrichtungen, mechanische Vorrichtungen, bspw. für Türen usw., eingesetzt werden kann. Es wird insgesamt eine flexible Software-Technik bereitgestellt, die es gestattet, dass ein Einsatz zusätzlicher Hardware für das Steuergerät nicht nötig ist.The technology described in the invention is transferable, so this for control units of a vehicle but also for all other types of ECUs, For example, computers, communication equipment, mechanical devices, eg. for doors, etc., can be used. It will Overall, a flexible software technology provided it that allows use of additional hardware for the control unit is not necessary.

Die Software, die üblicherweise in einem Steuergerät des Fahrzeugs zur Anwendung kommt, umfasst spezielle Anwender- bzw. Kunden-Software, die u. a. dazu ausgebildet ist, Funktionen auszuführen, durch die eine selbsttätige Um- oder Reprogrammierung dieser Anwender-Software möglich ist.The Software, usually in a control unit of the vehicle includes special user or Customer Software u. a. is designed to perform functions through the automatic reprogramming or reprogramming of this User software is possible.

In geschützten und getrennten Speicherbereichen innerhalb des Steuergeräts sind die genannten Software-Module für den Anwendermodus einerseits und den Testmodus andererseits, die separat gebootet werden können, gespeichert. Die Reprogrammierungs-Software ist dazu ausgebildet, Updates bzw. Aktualisierungen der Test-Software durchzuführen oder zu erlauben, ohne dabei die Anwender-Software zu beeinflussen. Die typischerweise für die Test-Software vorgesehene Reprogrammierungs-Software kann weiterhin die Einschalt- bzw. Startup-Software umfassen, die dazu ausgebildet ist, zu entscheiden, wann eine nächste Version der Test-Software zur Anwendung oder Ausführung kommt. Falls eine beschriebene Reprogrammierungs-Software in einer Ausgestaltung nicht vorhanden ist, kann alternativ eine Startup-Software als zusätzliche Software vorgesehen sein, die dazu programmiert ist zu entscheiden, wann die Test-Software zur Anwendung kommt.In protected and separate storage areas within the controller are the software modules mentioned for the user mode on the one hand and the test mode on the other hand, the can be booted separately stored. The reprogramming software is trained to perform updates or updates of the test software or to allow, without affecting the user software. The reprogramming software typically provided for the test software may also include the power-on or start-up software that is designed to decide when a next Version of the test software for application or execution comes. If a described reprogramming software in one embodiment is not available, alternatively a startup software as additional Software that is programmed to decide when the test software is used.

Durch Umsetzung der Erfindung ergibt sich u. a., dass eine Aktualisierung bzw. ein Update der Test-Software möglich ist, ohne dass hierbei die Anwender-Software beeinträchtigt oder beeinflusst wird. Der Testmodus und somit ein Screening kann auch während der Herstellung und/oder Produktion des Steuergeräts ausgeführt werden. Weiterhin ist es möglich, die Test-Software auch während der Produktion zu verändern und dadurch zu optimieren. Erweiterte und komplexe Test-Software kann zur Beschleunigung der Rechengeschwindigkeit eingeführt werden, ohne dabei die Qualität oder Planung der Anwender-Software zu beeinflussen. Daraus ergibt sich u. a. die Möglichkeit, dass automatische Tests für das Steuergerät ausgeführt werden können. Außerdem können Schnittstellen des Steuergeräts oder eines Testgeräts verkleinert und Strategien zur Kontrolle paralleler Testverfahren umgesetzt werden. Üblicherweise sind die Anforderungen der Test-Software von Anforderungen des Anwenders oder Kunden getrennt.Implementation of the invention results inter alia in that an update or an update of the test software is possible without the user software being impaired or influenced. The test mode and thus a screening can also during production and / or production of the controller are executed. It is also possible to modify the test software during production and thereby optimize it. Advanced and complex test software can be introduced to speed up computational speed without affecting the quality or design of the user software. As a result, among other things, the possibility that automatic tests for the control unit can be performed. In addition, interfaces of the control device or of a test device can be reduced and strategies for controlling parallel test methods can be implemented. Usually, the requirements of the test software are separate from requirements of the user or customer.

Bei der Entwicklung und Produktion des Steuergeräts kann die Schnittstelle als Test-Schnittstelle (Testinterface) zum Einsatz kommen, die derart ausgebildet ist, dass während der Entwicklung und/oder Produktion keine Änderungen der Anwender bzw. Kunden-Software innerhalb des Steuergeräts und keine zusätzliche Hardware, die weitere Kosten verursacht, nötig sind. Außerdem wird die Geschwindigkeit der Schnittstelle nicht beeinträchtigt. Mit herkömmlichen Steuergeräten ist es üblicherweise nicht möglich, diese genannten Anforderungen zu erfüllen.at The development and production of the control unit can be the Interface as test interface (test interface) is used come that is designed so that during development and / or Production no changes of the user or customer software inside the controller and no extra Hardware, which causes further costs, are necessary. Furthermore the speed of the interface is not affected. It is common with conventional controllers not possible to meet these requirements.

Im Rahmen der Erfindung kann alternativ oder ergänzend vorgesehen sein, dass für einen Test, eine Anwender- bzw. Kundenfunktion und ggf. das Bootprogramm voneinander getrennte, unabhängige Softwareprogramme existieren, die in getrennten Speicherbereichen eines Microcontrollers des Steuergeräts abgelegt werden. Mittels eines von außen an das Steuergerät angelegten Musters oder einer bestimmten Signalsequenz, das bzw. die im Anwendungsbetrieb nicht auftreten kann, wird dann mit der Start-Software entschieden, welche der beiden Softwaren, ob nun die Test-Software oder die Anwender-Software nach einem Reset des Steuergeräts ausgeführt werden soll.in the The scope of the invention may be alternatively or additionally provided be that for a test, a user or customer function and possibly the boot program separate, independent Software programs exist in separate memory areas a microcontroller of the controller are stored. By means of an externally applied to the control unit Pattern or a particular signal sequence that is in use can not occur is then decided with the startup software, which of the two softwares, whether the test software or the user software after a reset of the controller should.

Durch die Trennung der Software bzw. der Programme wird u. a. erreicht, dass diese vollkommen unabhängig voneinander erstellt und im Steuergerät reprogrammiert werden können. Dadurch wird z. B. bei einer Änderung eines Testprogramms, das von der Test-Software ausgeführt wird, keine erneute Kundenfreigabe erforderlich. Änderungen und/oder Optimierungen des Testmodus sind daher auch sehr viel leichter in eine laufende Serie einzubringen.By the separation of the software or programs is u. a. reached, that these are created completely independently of each other and can be reprogrammed in the control unit. Thereby is z. For example, when changing a test program, the the test software is running, no customer resubmission required. Changes and / or optimizations of the test mode are therefore much easier to incorporate into a running series.

Weiterhin hat der Umstand, dass beide Programme bzw. beide Arten der Software auf demselben Microcontroller laufen, den Vorteil, dass das Testprogramm Zugriff auf das gesamte Steuergerät hat und somit keine speziellen Testinterfaces in die Hardware eingebaut werden müssen, die ansonsten zusätzliche Kosten und zusätzlichen Testaufwand aufgrund der dann erheblich erhöhten Komplexität zur Folge hätten. Außerdem ist so keine Abstimmung zwischen der Test-Software bzw. dem Testprogramm und der Anwender-Software bzw. dem Kundenprogramm erforderlich, da sie nicht gleichzeitig auf dem Steuergerät laufen können. Die Hardware, Interrupts etc. können dabei von den beiden Programmen auf unterschiedliche, für den jeweiligen Zweck optimale Art genutzt werden. Als Kommunikationsschnittstelle zur Bereitstellung einer Verbindung zu einem Teststeuerungscomputer wird die vorhandene, ansonsten durch die Anwender-Software genutzte Schnittstelle genutzt, ohne dies in der Anwender-Software in irgendeiner Form berücksichtigen zu müssen.Farther has the fact that both programs or both types of software run on the same microcontroller, the advantage of having the test program Has access to the entire controller and thus no special test interfaces have to be installed in the hardware, the otherwise additional costs and additional Test effort due to the then significantly increased complexity Consequence would have. Also, there is no vote between the test software or the test program and the user software or the customer program required, as they are not simultaneously can run on the control unit. The hardware, Interrupts etc. can be used by the two programs in different, optimal for each purpose type be used. As a communication interface for deployment a connection to a test control computer becomes the existing, otherwise used by the user software interface, without taking this into account in the user software in any way to have to.

Das beschriebene Steuergerät ist dazu ausgebildet, sämtliche Schritte des vorgestellten Verfahrens durchzuführen. Dabei können einzelne Schritte dieses Verfahrens auch von einzelnen Komponenten des Steuergeräts durchgeführt werden. Weiterhin können Funktionen des Steuergeräts oder Funktionen von einzelnen Komponenten des Steuergeräts als Schritte des Verfahrens umgesetzt werden. Außerdem ist es möglich, dass Schritte des Verfahrens als Funktionen einzelner Komponenten des Steuergeräts oder des Steuergeräts realisiert werden.The described control unit is designed to all Perform steps of the presented method. there Individual steps of this procedure can also be done by individuals Components of the controller are performed. Furthermore, functions of the controller or Functions of individual components of the controller as Steps of the procedure are implemented. Besides that is it possible that steps of the procedure as functions individual components of the control unit or the control unit will be realized.

Weitere Vorteile und Ausgestaltungen der Erfindung ergeben sich aus der Beschreibung und den beiliegenden Zeichnungen.Further Advantages and embodiments of the invention will become apparent from the Description and the accompanying drawings.

Es versteht sich, dass die voranstehend genannten und die nachstehend noch zu erläuternden Merkmale nicht nur in der jeweils angegebenen Kombination, sondern auch in anderen Kombinationen oder in Alleinstellung verwendbar sind, ohne den Rahmen der vorliegenden Erfindung zu verlassen.It it is understood that the above and the following yet to be explained features not only in each case specified combination, but also in other combinations or can be used in isolation, without the scope of the present To leave invention.

Kurze Beschreibung der ZeichnungenBrief description of the drawings

1 zeigt eine schematische Darstellung zu einer Integration einer Schnittstelle als Test-Schnittstelle in einem Steuergerät nach dem Stand der Technik. 1 shows a schematic representation of an integration of an interface as a test interface in a control unit according to the prior art.

2 zeigt eine schematische Darstellung zu einer ersten Ausführungsform eines erfindungsgemäßen Verfahrens zur Integration einer Schnittstelle als Test-Schnittstelle in einem Steuergerät. 2 shows a schematic representation of a first embodiment of a method according to the invention for integrating an interface as a test interface in a control unit.

3 zeigt eine schematische Darstellung zu einer zweiten Ausführungsform eines erfindungsgemäßen Verfahrens zur Integration einer Schnittstelle als Test-Schnittstelle in einem Steuergerät. 3 shows a schematic representation of a second embodiment of a method according to the invention for integrating an interface as a test interface in a control unit.

4 zeigt in schematischer Darstellung eine Ausführungsform einer erfindungsgemäßen Anordnung. 4 shows a schematic representation of an embodiment of an arrangement according to the invention.

Ausführungsformen der ErfindungEmbodiments of the invention

Die Erfindung ist anhand von Ausführungsformen in den Zeichnungen schematisch dargestellt und wird nachfolgend unter Bezugnahme auf die Zeichnungen ausführlich beschrieben.The The invention is based on embodiments in the drawings schematically illustrated and will be described below with reference to the drawings described in detail.

Die Figuren werden zusammenhängend und übergreifend beschrieben, gleiche Bezugszeichen bezeichnen gleiche Komponenten.The Figures become coherent and comprehensive described, like reference numerals designate like components.

Die schematische Darstellung des Stands der Technik in 1 umfasst eine Anwendung 2 für ein Steuergerät, die eine Anwendungs-Software eines Kunden sowie eine Test-Software für eine Test-Schnittstelle gemeinsam umfasst. Dabei werden die Anwendungs-Software und die Test-Software von der Anwendung 2 ausgeführt. Dieser Anwendung 2 sind weiterhin Anwendungs-Unterbrechungen 4 (Interrupts) zugeordnet. Außerdem ist hier eine Reprogrammierungs-Software 6, die eine Reprogrammierungs-Software des Kunden umfasst, gezeigt. Dieser Reprogrammierungs-Software 6 ist eine Unterbrechungs- bzw. Interrupt-Vektor-Tabelle 8 zugeordnet. Zwischen der Interrupt-Vektor-Tabelle 8 und den Anwendungs-Unterbrechungen 4 besteht eine Verbindung 10, über die die Anwendungs-Unterbrechungen 4 mit Interrupt-Vektoren eines Microcontrollers des Steuergeräts verbunden sind. Die Reprogrammierungs-Software 6 ist zur Ausführung 12 der Anwendung 2 ausgebildet, falls während eines Betriebs des Steuergeräts keine Anfrage zu einer Reprogrammierung vorliegt.The schematic representation of the prior art in 1 includes an application 2 for a control unit which jointly comprises a customer's application software and a test interface for a test interface. The application software and the test software are used by the application 2 executed. This application 2 are still application interruptions 4 (Interrupts) assigned. Also, here is a reprogramming software 6 showing a reprogramming software of the customer shown. This reprogramming software 6 is an interrupt vector table 8th assigned. Between the interrupt vector table 8th and the application breaks 4 there is a connection 10 about which the application breaks 4 are connected to interrupt vectors of a microcontroller of the controller. The reprogramming software 6 is for execution 12 the application 2 if there is no request for reprogramming during operation of the control unit.

2 zeigt schematisch eine Darstellung zur Umsetzung einer Test-Schnittstellentechnik für ein Steuergerät im Rahmen einer ersten Ausführungsform des erfindungsgemäßen Verfahrens in einem Testmodus. Dabei ist eine Anwendung 16 gezeigt, die Anwender-Software eines Kunden umfasst, wobei die Anwender-Software zur Durchführung der Anwendung ausgeführt wird. Dieser Anwendung 16 sind Anwendungs-Unterbrechungen 18 zugeordnet. 2 schematically shows a representation for the implementation of a test interface technology for a control unit in a first embodiment of the method according to the invention in a test mode. Here is an application 16 shown comprising user software of a customer, wherein the user software is executed to execute the application. This application 16 are application interruptions 18 assigned.

Getrennt von der Anwendung 16 ist weiterhin eine Test-Software 20 vorgesehen. Diese Test-Software 20 ist somit von der Anwender-Software für die Anwendung 16 hinsichtlich eines Speicherorts räumlich und außerdem auch funktionell getrennt. Der Test-Software 20 sind weiterhin Test-Software-Interrupts (Unterbrechungen) 22 zugeordnet. Es ist zudem vorgesehen, dass die Anwendung 16 einen allgemeinen Dienst (Common Service) zum Starten der Test-Software 20 aufweist.Separated from the application 16 is still a test software 20 intended. This test software 20 is thus of the user software for the application 16 spatially and also functionally separated in terms of a storage location. The test software 20 are still test software interrupts (interruptions) 22 assigned. It is also intended that the application 16 a common service to start the test software 20 having.

Eine Reprogrammierungs-Software 24 ist anwenderspezifisch ausgewählt. Dieser Reprogrammierungs-Software 24 sind Reprogrammierungs-Unterbrechungen 26, eine Startup-Software 28 sowie eine Unterbrechungs- bzw. Interrupt-Vektor-Tabelle 30 zugeordnet. Dabei ist vorgesehen, dass die Startup-Software 28, die auch als Einschalt-Software bezeichnet wird, dazu ausgebildet ist, zu entscheiden, welche Software, ob nun die Anwender-Software der Anwendung 16 zur Durchführung eines Anwendermodus oder die Test-Software zur Durchführung des Testmodus ausgeführt wird. Die Interrupt-Vektor-Tabelle 30 ist dazu ausgebildet, eine Verbindung 32 zwischen aktuell ausgeführten Software-Interrupts und Interrupt-Vektoren eines Microcontrollers des Steuergeräts bereitzustellen. Eine Entscheidung 34 darüber, welche Software durchgeführt wird, wird von der Startup-Software 28 getroffen. Bei Ausführung des Verfahrens ist vorgesehen, dass eine nicht gezeigte Schnittstelle des Steuergeräts bei Ausführung der Anwender-Software als herkömmliche Schnittstelle betrieben wird. Falls die Test-Software 20 ausgeführt wird, wird diese Schnittstelle als Test-Schnittstelle betrieben.A reprogramming software 24 is selected user-specifically. This reprogramming software 24 are reprogramming interruptions 26 , a startup software 28 and an interrupt vector table 30 assigned. It is envisaged that the startup software 28 , which is also referred to as power-on software, is designed to decide which software, whether the user software of the application 16 to execute a user mode or the test software to perform the test mode. The interrupt vector table 30 is trained to connect 32 provide between currently executing software interrupts and interrupt vectors of a controller's microcontroller. A decision 34 about what software is being run is provided by the startup software 28 met. In carrying out the method, it is provided that an interface, not shown, of the control device is operated as a conventional interface when the user software is executed. If the test software 20 is executed, this interface is operated as a test interface.

Die in 3 gezeigte schematische Darstellung zu einer zweiten Ausführungsform zur Umsetzung der im Rahmen der Erfindung vorgesehenen Test-Schnittstellentechnik in einem Testmodus unterscheidet sich von der in 2 gezeigten Ausführungsform durch das Fehlen der Reprogrammierungs-Software 24 sowie der Reprogrammierungs-Unterbrechungen 26. Ähnlich wie in dem anhand von 2 dargestellten Beispiel ist die Interrupt-Vektor-Tabelle 30 zur Bereitstellung einer Verbindung 32 zu den Software-Unterbrechungen, d. h. den Anwendungs-Unerbrechungen 18 und/oder den Schnittstellen-Unterbrechungen 22 ausgebildet. Eine Auswahl einer auszuführenden Software und demnach eine Entscheidung 34 darüber, ob die Anwender-Software, mit der die Anwendung 16 auszuführen ist, oder ob die Test-Software 20 ausgeführt wird, wird von der Startup-Software 28 getroffen.In the 3 shown schematic representation of a second embodiment for implementing the provided in the context of the invention test interface technology in a test mode differs from that in 2 embodiment shown by the lack of reprogramming software 24 as well as the reprogramming interruptions 26 , Similar as in the basis of 2 The example shown is the interrupt vector table 30 to provide a connection 32 to the software interruptions, ie the application interruptions 18 and / or the interface interrupts 22 educated. A selection of software to run and, therefore, a decision 34 about whether the user software with which the application 16 or whether the test software 20 is run by the startup software 28 met.

Bei Durchführung des Verfahrens gemäß mindestens einer der anhand von 2 oder 3 beschriebenen Ausführungsformen ist vorgesehen, dass die Test-Software 20 in einer festgelegten Weise angesteuert und somit zur Umsetzung von Funktionen im Testmodus aufgefordert wird. Somit ergibt sich, dass die Test-Software nicht mehr verändert werden muss, sobald diese geschrieben bzw. verfasst ist. Außerdem ist das Verfahren dazu geeignet, die Test-Software 20 in einer festgelegten Weise auszuführen, so dass auch hier eine Änderung der Anwender-Software nicht nötig ist. Die Ausführung kann über ein Zurücksetzen bzw. Reset oder durch direkte Ausführung der Startup-Software 28 erfolgen. Das Verfahren ist betriebssicher auszuführen. Eine Speicherung der beschriebenen unterschiedlichen Software-Module kann in getrennten Speicherbereichen eines nichtflüchtigen Speichers (nonvaletibe memory, NVM) oder eines initialisierten Arbeitsspeichers (RAM) erfolgen.In carrying out the method according to at least one of the basis of 2 or 3 described embodiments, it is provided that the test software 20 is triggered in a defined manner and thus requested to implement functions in the test mode. This means that the test software does not have to be changed once it has been written or written. In addition, the method is suitable for the test software 20 execute in a fixed manner, so that a change of the user software is not necessary here. Execution can be done by resetting or resetting or by running the startup software directly 28 respectively. The procedure must be carried out reliably. A storage of the described different software modules can take place in separate storage areas of a nonvolatile memory (NVM) or of an initialized random access memory (RAM).

Die Test-Software 20 weist in Ausgestaltung einen allgemeinen Wert zum automatischen Beenden eines Betrieb im Testmodus auf. Mit dem Verfahren wird ein Anruf der Anwendungs-Software in einen nichtflüchtigen Speicher oder einen initialisierten Arbeitsspeicher gespeichert.The test software 20 has in design a general value for automatically terminating an operation in the test mode. The method stores a call to the application software in nonvolatile memory or initialized memory.

Die Ausführung kann über einen Reset oder direkt über die Startup-Software 28 erfolgen.The execution can be done via a reset or directly via the startup software 28 respectively.

Die Startup-Software 28 ist dazu geeignet, Anfragen für Unterbrechungen für eine jeweils ausgeführte Software in einer festgelegten Weise umzuleiten, so dass die bereits geschriebene Software nicht mehr verändert werden muss. Außerdem ist die Startup-Software 28 dazu ausgebildet, Datensätzen von der jeweils ausgeführten Software, d. h. der Anwendungs-Software oder der Test-Software, in festgelegter Weise auszuführen.The startup software 28 is capable of redirecting requests for interrupts for each running software in a defined manner, so that the already written software does not need to be changed. Also, the startup software 28 designed to execute data sets of the respectively executed software, ie the application software or the test software, in a defined way.

4 zeigt in schematischer Darstellung eine Ausführungsform einer erfindungsgemäßen Anordnung mit einem Steuergerät 38, das innerhalb eines Gehäuses 40 angeordnet ist. Dieses Steuergerät 38 umfasst mehrere Hardware-Komponenten 42, 44, 46, die zur Umsetzung von Funktionen des Steuergeräts 38 ausgebildet sind. Während eines normalen, anwenderbezogenen Betriebs des Steuergeräts 38 läuft auf einem Microcontroller 49 eine Anwender-Software, die in einem ersten Speicherbereich 48 gespeichert ist. Außerdem umfasst das Steuergerät 38 eine Schnittstelle 50, über die eine Verbindung 52 der Hardware-Komponenten 42, 44, 46 zu Geräten außerhalb des Gehäuses 40 des Steuergeräts 38 möglich ist. 4 shows a schematic representation of an embodiment of an arrangement according to the invention with a control unit 38 that inside a case 40 is arranged. This controller 38 includes several hardware components 42 . 44 . 46 necessary to implement functions of the control unit 38 are formed. During normal, user-related operation of the controller 38 runs on a microcontroller 49 a user software operating in a first memory area 48 is stored. In addition, the controller includes 38 an interface 50 , about which a connection 52 the hardware components 42 . 44 . 46 to devices outside the case 40 of the control unit 38 is possible.

Auf einem zweiten Speicherbereich 54 des Microcontrollers 49 ist, von der Anwender-Software getrennt, eine Test-Software gespeichert. Bei einer ersten Betriebssituation wird die Anwender-Software ausgeführt, in diesem Fall funktioniert die Schnittstelle 50 in herkömmlicher Weise anwenderspezifisch. In einer zweiten, alternativen Betriebssituation wird die separate Test-Software ausgeführt, so dass die Schnittstelle 50 die Funktion einer Test-Schnittstelle übernimmt.On a second storage area 54 of the microcontroller 49 is, separated from the user software, stored a test software. In a first operating situation, the user software is executed, in this case, the interface works 50 customary in a conventional manner. In a second, alternative operating situation, the separate test software is executed, so that the interface 50 assumes the function of a test interface.

ZITATE ENTHALTEN IN DER BESCHREIBUNGQUOTES INCLUDE IN THE DESCRIPTION

Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list The documents listed by the applicant have been automated generated and is solely for better information recorded by the reader. The list is not part of the German Patent or utility model application. The DPMA takes over no liability for any errors or omissions.

Zitierte PatentliteraturCited patent literature

  • - DE 10303489 A1 [0003] DE 10303489 A1 [0003]

Claims (9)

Verfahren zum Betreiben eines Steuergeräts (38) das mindestens eine Hardware-Komponente (42, 44, 46), einen Microcontroller (49) und eine Schnittstelle (50) aufweist, wobei in einem Anwendermodus auf dem Microcontroller (49) eine Anwender-Software ausgeführt wird und die mindestens eine Hardware-Komponente (42, 44, 46) sowie die Schnittstelle (50) in dem Anwendermodus betrieben werden, und wobei in einem Testmodus auf dem Microcontroller (49) eine Test-Software (20), die von der Anwender-Software getrennt ist, ausgeführt wird und die mindestens eine Hardware-Komponenten (42, 44, 46) sowie die Schnittstelle (50) in dem Testmodus betrieben werden.Method for operating a control device ( 38 ) the at least one hardware component ( 42 . 44 . 46 ), a microcontroller ( 49 ) and an interface ( 50 ), wherein in a user mode on the microcontroller ( 49 ) user software is executed and the at least one hardware component ( 42 . 44 . 46 ) as well as the interface ( 50 ) in the user mode, and wherein in a test mode on the microcontroller ( 49 ) a test software ( 20 ), which is separate from the user software, and the at least one hardware component ( 42 . 44 . 46 ) as well as the interface ( 50 ) in the test mode. Verfahren nach Anspruch 1, bei dem entweder die Anwender-Software oder die Test-Software (20) hochgefahren wird.Method according to Claim 1, in which either the user software or the test software ( 20 ) is raised. Verfahren nach Anspruch 1 oder 2, bei dem auf dem Steuergerät (38) eine Startup-Software (28) ausgeführt wird, die darüber entscheidet, mit welcher Software das Steuergerät (38) betrieben wird.Method according to Claim 1 or 2, in which on the control unit ( 38 ) a startup software ( 28 ), which decides with which software the control unit ( 38 ) is operated. Verfahren nach Anspruch 4, bei dem mit der Startup-Software (28) Unterbrechungs-Abfragen zu einer ausgeführten Software umgeleitet werden.Method according to Claim 4, in which the startup software ( 28 ) Interrupt requests are redirected to a running software. Verfahren nach Anspruch 3 oder 4, bei dem mit der Startup-Software (28) ein Datensatz zu einer ausgeführten Software gelesen wird.Method according to Claim 3 or 4, in which the startup software ( 28 ) a record is read to a running software. Verfahren nach einem der voranstehenden Ansprüche, bei dem auf dem Steuergerät (38) eine zusätzliche Reprogrammierungs-Software (24) ausgeführt wird.Method according to one of the preceding claims, in which on the control unit ( 38 ) an additional reprogramming software ( 24 ) is performed. Verfahren nach einem der voranstehenden Ansprüche, bei dem die Hardware-Komponenten (42, 44, 46) und/oder die Schnittstelle (50) über die Schnittstelle (50) getestet werden bzw. wird.Method according to one of the preceding claims, in which the hardware components ( 42 . 44 . 46 ) and / or the interface ( 50 ) via the interface ( 50 ) be tested. Steuergerät, das mindestens eine Hardware-Komponente (42, 44, 46), einen Microcontroller (49) und eine Schnittstelle (50) aufweist, wobei in einem Anwendermodus auf dem Microcontroller (49) eine Anwender-Software auszuführen ist und die mindestens eine Hardware-Komponente (42, 44, 46) sowie die Schnittstelle (50) in dem Anwendermodus betrieben werden, und wobei in einem Testmodus auf dem Microcontroller (49) eine Test-Software (20), die von der Anwender-Software getrennt ist, auszuführen ist und die mindestens eine Hardware-Komponente (42, 44, 46) sowie die Schnittstelle (50) in dem Testmodus zu betreiben sind.Control unit that has at least one hardware component ( 42 . 44 . 46 ), a microcontroller ( 49 ) and an interface ( 50 ), wherein in a user mode on the microcontroller ( 49 ) user software is to be executed and the at least one hardware component ( 42 . 44 . 46 ) as well as the interface ( 50 ) in the user mode, and wherein in a test mode on the microcontroller ( 49 ) a test software ( 20 ), which is separate from the user software, and the at least one hardware component ( 42 . 44 . 46 ) as well as the interface ( 50 ) are to be operated in the test mode. Steuergerät nach Anspruch 8, bei dem der Microcontroller (49) einen ersten Speicherbereich (48), der zum Speichern der Anwender-Software ausgebildet ist, und einen davon getrennten zweiten Speicherbereich (54), der zum Speichern der Test-Software (20) ausgebildet ist, aufweist.Control unit according to Claim 8, in which the microcontroller ( 49 ) a first memory area ( 48 ) adapted to store the user software and a second memory area ( 54 ), which is used to save the test software ( 20 ) is formed.
DE102009027923A 2009-07-22 2009-07-22 Method for operating a control device Withdrawn DE102009027923A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE102009027923A DE102009027923A1 (en) 2009-07-22 2009-07-22 Method for operating a control device
PCT/EP2010/057688 WO2011009670A1 (en) 2009-07-22 2010-06-02 Method for operating a control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102009027923A DE102009027923A1 (en) 2009-07-22 2009-07-22 Method for operating a control device

Publications (1)

Publication Number Publication Date
DE102009027923A1 true DE102009027923A1 (en) 2011-01-27

Family

ID=42562355

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102009027923A Withdrawn DE102009027923A1 (en) 2009-07-22 2009-07-22 Method for operating a control device

Country Status (2)

Country Link
DE (1) DE102009027923A1 (en)
WO (1) WO2011009670A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929782A (en) * 2012-11-14 2013-02-13 北京奇虎科技有限公司 Device and method for testing software performances

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4339801A (en) * 1979-03-23 1982-07-13 Nissan Motor Company, Limited Automatic control system for method and apparatus for checking devices of an automotive vehicle in use with a microcomputer
DE3313688A1 (en) * 1983-04-15 1984-10-25 Zahnräderfabrik Renk AG, 8900 Augsburg ELECTRONIC CONTROL DEVICE FOR A DRIVE SYSTEM
EP0212682A1 (en) * 1985-05-14 1987-03-04 ALFA LANCIA INDUSTRIALE S.p.A. Self-diagnosis device and process for a micro-computer control system for a motor-vehicle internal combustion engine
EP0704343A2 (en) * 1994-10-01 1996-04-03 Bayerische Motoren Werke Aktiengesellschaft Electronic control device for motor vehicles
DE10303489A1 (en) 2003-01-30 2004-08-12 Robert Bosch Gmbh Motor vehicle control unit software testing, whereby the software is simulated using a test system that at least partially simulates the control path of a control unit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987625A (en) * 1996-10-04 1999-11-16 Samsung Electronics Co., Ltd. Method and apparatus for testing network bootable devices
JP3937598B2 (en) * 1998-07-14 2007-06-27 株式会社デンソー Electronic control unit
DE10014561A1 (en) * 2000-03-23 2001-09-27 Mannesmann Vdo Ag Method for re-programming a control device, especially for motor vehicle use, where a command for updating of data or code in memory is received from an external device during system initialization preventing system loading

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4339801A (en) * 1979-03-23 1982-07-13 Nissan Motor Company, Limited Automatic control system for method and apparatus for checking devices of an automotive vehicle in use with a microcomputer
DE3313688A1 (en) * 1983-04-15 1984-10-25 Zahnräderfabrik Renk AG, 8900 Augsburg ELECTRONIC CONTROL DEVICE FOR A DRIVE SYSTEM
EP0212682A1 (en) * 1985-05-14 1987-03-04 ALFA LANCIA INDUSTRIALE S.p.A. Self-diagnosis device and process for a micro-computer control system for a motor-vehicle internal combustion engine
EP0704343A2 (en) * 1994-10-01 1996-04-03 Bayerische Motoren Werke Aktiengesellschaft Electronic control device for motor vehicles
DE10303489A1 (en) 2003-01-30 2004-08-12 Robert Bosch Gmbh Motor vehicle control unit software testing, whereby the software is simulated using a test system that at least partially simulates the control path of a control unit

Also Published As

Publication number Publication date
WO2011009670A1 (en) 2011-01-27

Similar Documents

Publication Publication Date Title
WO2017137256A1 (en) Method and execution environment for the secure execution of program instructions
DE19744230A1 (en) Control system with variable priority e.g. for vehicle IC engine or transmission
DE112009001861T5 (en) Control device, control system and computer program
EP2866111B1 (en) Testing of a control device by means of a test environment
DE102012009482A1 (en) A functionally expandable vehicle control device and method for supplementing the functionality of a vehicle control device
DE102015216265A1 (en) Method and subsystem for installing a software update in a vehicle
DE102017211433A1 (en) Method for performing a functional test of a control unit in a hardware-in-the-loop test, HIL test, and HIL test bench and control unit
DE102018110020A1 (en) A method for generating a model of a technical system executable on a test device and test device
DE102008036654A1 (en) Method and system for managing messages of an electronic device
DE102007006614A1 (en) Application of a Distributed Diagnostic Architecture in AUTOSAR
DE102008039564A1 (en) Method for processing tasks and system with a first and a second control device
DE102009027923A1 (en) Method for operating a control device
WO2005022382A2 (en) Method for the installation of a program component
WO2015124320A1 (en) Dynamic programmable logic controller for emulating a controller
WO2007107387A1 (en) Method and assembly for releasing and configuring specific system operations of a printer or photocopier
EP1681798B1 (en) Facultative logging
DE19908866C1 (en) Software system transfer method has hardware parameters of configuration data for software system specific to first hardware platform replaced by hardware parameters specific to second hardware platform
DE102012217328A1 (en) Method for simulating a control device
WO2008046686A1 (en) Method for operating a control device
WO2007076984A1 (en) Method for installing an auxiliary unit on a computer
DE102006053130A1 (en) Control device controlling method, involves using software partially provided with project-specific program section, which is accessible based on software environment that is provided project-independently in startblock of control device
DE112021005649T5 (en) VEHICLE CONTROL DEVICE
DE19546173C2 (en) Method for testing a user interface in computer-controlled systems
DE102015214389A1 (en) Method and device for updating a virtual machine operated on a physical machine under a hypervisor
DE19748181B4 (en) Method for testing a function or device of a vehicle

Legal Events

Date Code Title Description
OM8 Search report available as to paragraph 43 lit. 1 sentence 1 patent law
R119 Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee

Effective date: 20120201