DE102015214418A1 - Method and device for measuring and calibrating a microprocessor system - Google Patents
Method and device for measuring and calibrating a microprocessor system Download PDFInfo
- Publication number
- DE102015214418A1 DE102015214418A1 DE102015214418.6A DE102015214418A DE102015214418A1 DE 102015214418 A1 DE102015214418 A1 DE 102015214418A1 DE 102015214418 A DE102015214418 A DE 102015214418A DE 102015214418 A1 DE102015214418 A1 DE 102015214418A1
- Authority
- DE
- Germany
- Prior art keywords
- partition
- procedure
- access
- software application
- measuring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
Abstract
Verfahren zum Messen und Kalibrieren eines Mikroprozessorsystems (11) mit Hardwareressourcen (13, 14, 15, 23, 24, 25, 33, 34, 35) und einer Softwareanwendung (12), gekennzeichnet durch folgende Merkmale: – ein Hypervisor nimmt eine exklusive Trennung (17) der Hardwareressourcen (13, 14, 15, 23, 24, 25, 33, 34, 35) dergestalt vor, dass eine erste Partition (11) die für die Softwareanwendung (12) relevanten Hardwareressourcen (13, 14, 15, 23, 24, 25, 33, 34, 35) und eine zweite Partition (21) die für das Messen und Kalibrieren notwendigen Hardwareressourcen (13, 14, 15, 23, 24, 25, 33, 34, 35) erhält, – der Hypervisor passt die exklusive Trennung (17) an, indem er der zweiten Partition (21) Zugriff (18) auf einen Speicherbereich (16) der ersten Partition (11) einräumt, – der Hypervisor startet in der ersten Partition (11) die Softwareanwendung (12) und in der zweiten Partition (21) einen Mess- und Kalibrierhandler (22) und – die Softwareanwendung (12) arbeitet in der ersten Partition (11) mit dem Speicherbereich (16), während der Mess- und Kalibrierhandler (22) in der zweiten Partition (21) unter Zugriff (18) auf den Speicherbereich (16) einen Mess- und Kalibrierdatenaustausch (19) durchführt.Method for measuring and calibrating a microprocessor system (11) with hardware resources (13, 14, 15, 23, 24, 25, 33, 34, 35) and a software application (12), characterized by the following features: - a hypervisor takes an exclusive separation (17) of the hardware resources (13, 14, 15, 23, 24, 25, 33, 34, 35) such that a first partition (11) contains the hardware resources (13, 14, 15, 12) relevant to the software application (12). 23, 24, 25, 33, 34, 35) and a second partition (21) receives the hardware resources (13, 14, 15, 23, 24, 25, 33, 34, 35) necessary for measuring and calibrating, - the Hypervisor adjusts the exclusive separation (17) by granting the second partition (21) access to a memory area (16) of the first partition (11), - the hypervisor starts the software application in the first partition (11) 12) and in the second partition (21) a measurement and calibration handler (22) and - the software application (12) operates in the first P artition (11) with the memory area (16), while the measuring and Kalibrierhandler (22) in the second partition (21) under access (18) to the memory area (16) performs a measurement and calibration data exchange (19).
Description
Die vorliegende Erfindung betrifft ein Verfahren zum Messen und Kalibrieren eines Mikroprozessorsystems. Die vorliegende Erfindung betrifft darüber hinaus eine entsprechende Vorrichtung, ein entsprechendes Computerprogramm sowie ein entsprechendes Speichermedium.The present invention relates to a method for measuring and calibrating a microprocessor system. The present invention also relates to a corresponding device, a corresponding computer program and a corresponding storage medium.
Stand der TechnikState of the art
Heutige Steuergeräte wie Motorsteuerung und Bremsensteuergerät (ABS/ESP) müssen während des Entwicklungs- und Applikationsprozesses kalibriert werden. Um das Verhalten des Steuergeräts bewerten zu können, stellt dieses relevante interne Signale und Zustände als Software-Messgrößen bereit. Der Zugriff von außen auf die Mess- und Kalibriergrößen der Software wird heute durch einen separaten Hardware-Pfad dargestellt, zum Beispiel einen Debugging-Port des Mikrocontrollers. Zusätzlich gibt es Möglichkeiten, über die Kommunikationsschnittstellen des Steuergerätes Zugriff auf die Größen zu bekommen. Dazu muss aber zusätzliche Software im Steuergerät laufen, die die Umsetzung zwischen Kommunikation und den Größen behandelt. Je nach Mess- und Kalibrierdatenvolumen erzeugt diese Software deutlichen zeitlichen Einfluss auf die eigentliche Anwendungssoftware. Dadurch können Reihenfolgen von Software-Teilfunktionen verändert werden, und im schlimmsten Fall steht der gesamten Applikation nicht mehr ausreichend Rechenleistung bereit. Today's ECUs such as engine control and brake control unit (ABS / ESP) must be calibrated during the development and application process. To assess the behavior of the controller, it provides relevant internal signals and states as software measures. External access to the measurement and calibration parameters of the software is represented today by a separate hardware path, for example a debug port of the microcontroller. In addition, there are ways to get access to the sizes via the communication interfaces of the control unit. However, additional software must be running in the ECU to handle the translation between communication and the quantities. Depending on the measurement and calibration data volume, this software generates significant temporal influence on the actual application software. As a result, sequences of software sub-functions can be changed, and in the worst case, the entire application is no longer sufficient computing power ready.
Offenbarung der ErfindungDisclosure of the invention
Die Erfindung stellt ein Verfahren zum Messen und Kalibrieren eines Mikroprozessorsystems, eine entsprechende Vorrichtung, ein entsprechendes Computerprogramm sowie ein entsprechendes Speichermedium gemäß den unabhängigen Ansprüchen bereit.The invention provides a method for measuring and calibrating a microprocessor system, a corresponding device, a corresponding computer program and a corresponding storage medium according to the independent claims.
Ein Vorzug dieser Lösung liegt in ihrem neuartigen Zugriff in Software auf Mess- und Kalibriergrößen, der jedoch keine invasiven Auswirkungen auf die Applikation hat. Die Erfindung fußt auf einem Mehrkern-Mikroprozessor oder -Controller, der mittels eines Hypervisors in mindestens zwei Partitionen aufgeteilt wird. In einer Partition läuft die Applikation, in der anderen die Mess-/Kalibrierdaten-Umsetzung. Die Umsetzung hat dabei den Zugriff auf den Speicher der Applikation, wo sich die Mess-/Kalibriergrößen befinden. Durch diesen Ansatz entfällt somit die Notwendigkeit des invasiven Zugriffs in Software auf Mess- und Kalibriergrößen.An advantage of this solution lies in its novel access in software to measurement and calibration variables, which, however, has no invasive effects on the application. The invention is based on a multi-core microprocessor or controller, which is divided into at least two partitions by means of a hypervisor. The application runs in one partition and the measurement / calibration data conversion in the other. The implementation has access to the memory of the application, where the measurement / calibration variables are located. This approach eliminates the need for invasive software access to measurement and calibration variables.
Durch die in den abhängigen Ansprüchen aufgeführten Maßnahmen sind vorteilhafte Weiterbildungen und Verbesserungen des im unabhängigen Anspruch angegebenen Grundgedankens möglich. So kann vorgesehen sein, dass der Zugriff auf den virtuellen Adressraum der Applikation über die Speicherverwaltungseinheit (memory management unit, MMU) der Mess-/Kalibrierungspartition erfolgt, die entsprechend auf Teile der Seitentabellen der Applikation mit Lese-Rechten konfiguriert ist. Somit unterstützt das Konzept moderne Betriebssysteme, die eine virtuelle Speicherverwaltung unterstützen.The measures listed in the dependent claims advantageous refinements and improvements of the independent claim basic idea are possible. Thus, it can be provided that the access to the virtual address space of the application via the memory management unit (MMU) of the measurement / calibration partition is carried out, which is configured accordingly to parts of the page tables of the application with read rights. Thus, the concept supports modern operating systems that support virtual memory management.
Darüber hinaus kann der Mess-/Kalibrierzugang durch ein abschließendes Konfigurieren des Hypervisors für die Serienproduktion entfernt werden. Erneute Absicherung der Applikation entfällt dabei. In addition, the measurement / calibration access can be removed by finally configuring the hypervisor for mass production. Renewed protection of the application is eliminated.
Ein weiterer Vorteil ist, dass die Mess-/Kalibrierumsetzung völlig unabhängig von der Applikation implementiert werden kann. Dadurch kann sie ohne Anpassung mit den verschiedensten Applikationen zusammenarbeiten.Another advantage is that the measurement / calibration implementation can be implemented completely independently of the application. This allows them to work together without adaptation with a variety of applications.
Kurze Beschreibung der ZeichnungenBrief description of the drawings
Ausführungsbeispiele der Erfindung sind in den Zeichnungen dargestellt und in der nachfolgenden Beschreibung näher erläutert. Es zeigt:Embodiments of the invention are illustrated in the drawings and explained in more detail in the following description. It shows:
Ausführungsformen der Erfindung Embodiments of the invention
Kernbestandteil der Vorrichtung
In einem ersten Schritt
In a
Anstelle einer exklusiven Zuordnung ist es auch denkbar, manche Ressourcen
In einem zweiten Schritt
In einem dritten Schritt
Die Softwareanwendung
Wird die Vorrichtung
ZITATE ENTHALTEN IN DER BESCHREIBUNG QUOTES 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 of the documents listed by the applicant has been generated automatically and is included solely for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.
Zitierte PatentliteraturCited patent literature
- EP 2016500 A2 [0003] EP 2016500 A2 [0003]
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102015214418.6A DE102015214418A1 (en) | 2015-07-29 | 2015-07-29 | Method and device for measuring and calibrating a microprocessor system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102015214418.6A DE102015214418A1 (en) | 2015-07-29 | 2015-07-29 | Method and device for measuring and calibrating a microprocessor system |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102015214418A1 true DE102015214418A1 (en) | 2017-02-02 |
Family
ID=57795581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102015214418.6A Pending DE102015214418A1 (en) | 2015-07-29 | 2015-07-29 | Method and device for measuring and calibrating a microprocessor system |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102015214418A1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2016500A2 (en) | 2006-04-26 | 2009-01-21 | Robert Bosch Gmbh | Method for data transmission from and to a control unit |
-
2015
- 2015-07-29 DE DE102015214418.6A patent/DE102015214418A1/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2016500A2 (en) | 2006-04-26 | 2009-01-21 | Robert Bosch Gmbh | Method for data transmission from and to a control unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102015103220B4 (en) | A system comprising a master security check register, method, non-volatile medium and machine readable instructions | |
DE102013203233A1 (en) | Methods and systems for diagnosing a vehicle | |
DE102014116808B4 (en) | Method and system for realizing a dynamic virtualization of an SRIOV-capable SAS adapter | |
DE102014108249A1 (en) | Implement advanced error handling for a shared adapter in a virtualized system | |
EP2698678B1 (en) | Configuration technique for a control device with applications that communicate with each other | |
DE112016005823T5 (en) | MONITORING THE OPERATION OF A PROCESSOR | |
EP2807558A1 (en) | Memory controller for providing a plurality of defined areas of a mass storage medium as independent mass memories to a master operating system core for exclusive provision to virtual machines | |
EP3001313A1 (en) | Methods for simulating an application program of an electronic control device on a computer | |
DE102013213314A1 (en) | Deposit at least one computable integrity measure in a memory area of a memory | |
DE112012003420B4 (en) | Vehicle control device and vehicle control system | |
DE102015214424A1 (en) | Method and apparatus for communicating between virtual machines | |
DE102010028227A1 (en) | Coprocessor with process control | |
EP3566398B1 (en) | Method and semiconductor circuit for protecting an operating system of a security system of a vehicle | |
DE102015214418A1 (en) | Method and device for measuring and calibrating a microprocessor system | |
DE102019132485A1 (en) | Management of access restrictions within a system-on-chip | |
EP2793196B1 (en) | Tachograph and on-board unit for a utility vehicle | |
WO2016162144A1 (en) | Management of interfaces in a distributed system | |
DE102013226700A1 (en) | Automotive electronics unit | |
DE102011052512A1 (en) | Method for processing data in an influencing device | |
DE102015214385A1 (en) | Method and device for securing the application programming interface of a hypervisor | |
EP3848763A1 (en) | Device driver qualification for a device | |
DE112018002837T5 (en) | MONITORING OF COMMONLY ARRANGED CONTAINERS IN A HOST SYSTEM | |
DE102016205965A1 (en) | Microcontroller, control unit and motor vehicle | |
DE102016219202A1 (en) | Method and device for protecting a working memory | |
DE112022001480T5 (en) | ELECTRONIC CONTROL UNIT AND ANOMALY DETERMINATION METHOD |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R012 | Request for examination validly filed |