WO2009074499A1 - Procédé pour faire fonctionner un appareil de commande et appareil de commande - Google Patents

Procédé pour faire fonctionner un appareil de commande et appareil de commande Download PDF

Info

Publication number
WO2009074499A1
WO2009074499A1 PCT/EP2008/066714 EP2008066714W WO2009074499A1 WO 2009074499 A1 WO2009074499 A1 WO 2009074499A1 EP 2008066714 W EP2008066714 W EP 2008066714W WO 2009074499 A1 WO2009074499 A1 WO 2009074499A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
mem
volatile memory
compressed
memory
Prior art date
Application number
PCT/EP2008/066714
Other languages
German (de)
English (en)
Inventor
Udo Zanrosso
Original Assignee
Continental Automotive 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 Continental Automotive Gmbh filed Critical Continental Automotive Gmbh
Publication of WO2009074499A1 publication Critical patent/WO2009074499A1/fr

Links

Classifications

    • 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
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • 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/23232Execute program from added, expansion rom, memory
    • 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/23307Initial program loader, ipl, bootstrap loader
    • 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/23338Transfer modified program from ram to eprom, flash
    • 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/25265Flash memory
    • 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 for operating a
  • Control unit and a control unit with at least one non-volatile memory are independently controlled and a control unit with at least one non-volatile memory.
  • control units In modern motor vehicles, there are a large number of electronic control devices for controlling and regulating individual vehicle components.
  • the control units are typically coupled to a common communication network in the motor vehicle for exchanging data with one another.
  • a programming device is connected to the communication network of the motor vehicle or directly to the control unit to be programmed. By means of the programming device, the new version of the control unit software is sent to the respective control unit for reprogramming.
  • the object on which the invention is based is to provide a method for operating a control device and a control device, which enables efficient memory usage.
  • the invention is characterized by a method for operating a control device and a control device having at least one nonvolatile memory in which a first program is stored, wherein the nonvolatile memory is managed by means of an execution of the first program, wherein in the method or the device the first program at least partially compressed stored in the non-volatile memory and decompressed before its execution.
  • the memory requirement associated with the first program is particularly low.
  • the memory space of the nonvolatile memory not occupied by the first program can be made available to other programs and / or data, whereby the entire memory space provided by the nonvolatile memory can be used particularly efficiently.
  • the decompressed first program can comprise a plurality of program functions that can be used to manage the non-volatile memory. In each case, a given functionality is assigned to the respective execution of the program function.
  • a compressed program portion of the first program is decompressed and copied into a volatile memory and executed from this.
  • the compressed program portion of the first program comprises all program portions of the first program that are compressed in non-volatile memory. If the entire first program is stored in the compressed state in the non-volatile memory, the compressed program portion comprises the entire first program.
  • the volatile memory is preferably designed as a random access memory so that the compressed program portion of the first program can be copied into the volatile memory particularly suitably after it has been decompressed. This is particularly advantageous when the volatile feed rather at least partially unused and not occupied by other programs and / or data.
  • the entire functionality of the compressed program portion of the first program is particularly advantageous in the volatile memory. Only in the non-compressed state can the previously compressed stored program portion of the first program be executed.
  • the compressed program portion of the first program is at least partially decompressed and copied into the volatile memory and executed therefrom.
  • the at least partially decompressed first program can be executed. Particularly advantageous only the program portions of the first program are decompressed, which are also needed at a given time. This results in a particularly fast and at the same time efficient execution of the decompressed program components of the first program.
  • the compressed program portion of the first program is decompressed by means of a non-compressed program portion of the first program.
  • the first program comprises not only the compressed program portion but also uncompressed program portions which can be executed without prior decompression, it is particularly advantageous if the compressed program portions of the first program are decompressed by means of execution of the non-compressed program portions. This has the advantage that the actual decompression functionality is stored decompressed in the first program and thus can be executed very quickly.
  • the non-compressed program portion of the first program is executed from the nonvolatile memory.
  • Execution of the non-compressed program portion of the first program from the non-volatile memory can be carried out particularly quickly, since it is already stored in the non-volatile memory.
  • a particularly rapid decompression can be achieved if the compressed program portion is decompressed by means of the execution of the uncompressed program portion.
  • Figure 2 is another schematic representation of a control device.
  • FIG. 1 shows a control unit CU which, for example, is used in a motor vehicle.
  • the control unit may be designed as an ESP control unit or as a control unit for controlling the displays of a dashboard of the motor vehicle.
  • the control unit CU comprises a nonvolatile memory NV MEM and a volatile memory V_MEM. Both memories can be integrated, for example, in a microcontroller uC, which is part of the control unit CU.
  • the non-volatile memory NV MEM and / or the volatile memory V MEM can in principle but also be designed as external memory devices outside the microcontroller uC in the control unit CU.
  • the non-volatile memory NV MEM is designed, for example, as a flash memory and stores data and / or programs resistant and permanently, even without a permanent power supply.
  • the nonvolatile memory NV MEM designed as a flash memory is designed in a reprogrammable manner.
  • a data record or a program previously stored in the non-volatile memory NV_MEM can first be deleted and subsequently be replaced by another data record and / or by a more recent version of the program and / or by another program.
  • the nonvolatile memory NV MEM is typically designed to be erasable or programmable sector by sector, wherein a plurality of memory cells are assigned to one sector.
  • the volatile memory V MEM is designed, for example, as a random access memory (RAM memory). Thus, typically each memory cell of the volatile memory V_MEM can be addressed either read or write via its assigned address.
  • the volatile memory V MEM typically does not have to be read sequentially or in sectors, but allows random access. In this case, the volatile memory V MEM is typically designed to store data and / or software programs only as long as a sufficient voltage supply of the volatile memory V_MEM is ensured. The volatile memory V MEM is therefore not suitable for permanently storing data and / or software programs.
  • control unit comprises a communication interface IF, which couples the control unit, for example, with a communication network of the motor vehicle.
  • the communication interface IF is typically part of the microcontroller uC, but in principle can also be arranged outside the microcontroller uC in the control unit CU be. Data can be transmitted by the microcontroller uC via the communication interface IF, as can also be received by the latter.
  • the communication interface IF is a controller area network interface (CAN interface) or a serial communication interface (SCI).
  • the non-volatile memory NV_MEM comprises in FIG. 1 two programs that are executed by means of a central processing unit CPU in the microcontroller uC.
  • the first program FL is designed as a so-called flash loader and the second program APPL is designed as an application program.
  • the second program APPL the main functionality of the control unit CU is implemented.
  • the speed monitoring and speed control of the wheels of the motor vehicle is implemented by means of the execution of the second program APPL, so that an uncontrolled breaking of the motor vehicle from the predetermined direction of travel is prevented.
  • the first program FL embodied as a flash loader typically comprises a plurality of program functions that can be used for managing the nonvolatile memory NV MEM, such as, for example, For example, to delete, to program or to verify.
  • the nonvolatile memory NV MEM can be at least partially verified and / or deleted and / or a newer version of the second program APPL supplied by the communication interface IF can be at least partially reprogrammed.
  • further functions known to the person skilled in the art for managing the non-volatile memory NV_MEM are conceivable.
  • the program function of the first program FL to be executed is typically specified by means of a programming device connected to the communication network of the motor vehicle is coupled.
  • the first program FL is designed to be controlled by the programming device and to exchange data with it.
  • the first program FL driver functions for controlling the communication interface IF, such. B. Driver functions of the CAN interface.
  • the first program FL typically includes initialization functions as program functions which enable the connection to the programming device by means of the driver functions. The initialization functions are furthermore designed to interpret the commands transmitted by the programming device and to execute program functions depending on the received command.
  • non-volatile memory NV MEM is designed to allow either a read or a write access at a given time, before the execution of the respective program function of the first program FL, the write access, such.
  • the write access such.
  • a runtime environment is typically required to execute the respective program functions, which comprises, for example, the address assignment and reservation for program variables in the volatile memory V MEM.
  • the original first program FL should be stored in the non-volatile memory NV MEM by execution of the respective spective program function of the first program FL can not be deleted and / or changed.
  • FIG. 2 shows a first exemplary embodiment of the control unit CU.
  • the control unit CU comprises the nonvolatile memory NV_MEM with the first program FL and second program APPL stored in it.
  • the first program FL is subdivided into a non-compressed program part and a compressed program part (shown hatched).
  • the program functions for managing the non-volatile memory NV MEM are associated with the compressed program portion of the first program FL, wherein by means of the compression, such. B. by ZIP compression, the storage requirements compared to Figure 1 is significantly smaller, such. B. halved compared to the original memory size of the first program FL.
  • the non-compressed program portion of the first program FL is typically associated with the initialization functions of the first program FL.
  • the erase command is first interpreted by means of the initialization functions of the first program FL.
  • the initialization functions are typically associated with the non-compressed program portion of the first program FL (non-hatched area in Figure 2) and thus typically do not need to be decompressed prior to their execution. If the initialization functions do not include program functions with write access to the nonvolatile memory NV MEM, they can be executed directly from the non-volatile memory NV MEM. From the programmer The deletion command transmitted is typically assigned a corresponding deletion function in the first program FL, which is typically present in the compressed program portion of the first program FL (hatched area of the first program FL in FIG. 2). Thus, before the execution of the
  • the decompression of the respective program function or the decompression of the entire compressed program portion of the first program FL takes place by means of a decompression function, which is typically present in the non-compressed program portion of the first program FL. Since the decompression function typically does not perform write access to the nonvolatile memory NV MEM, it can also be executed directly from the nonvolatile memory NV_MEM. In principle, however, the decompression function can initially also be copied into the volatile memory V MEM and then executed therefrom.
  • the respective initialization function thus first calls the respective decompression function for decompression of the deletion function before executing the deletion function.
  • the decompression function By means of the decompression function, the already decompressed portions of the erasure function can preferably be copied into the volatile memory V_MEM, so that at the end of the decompression the entire erase function is decompressed in the volatile memory V MEM (represented by the arrow in FIG. 2). Only now is the deletion function using the
  • Central processing unit executable and can be called by the respective initialization function to execute.
  • program functions that are present in the compressed program portion of the first program FL are first decompressed before decompression and volatile Memory V MEM copied.
  • program functions may also be present in the compressed program portion of the first program FL, which do not comprise writing access to the non-volatile memory NV MEM, such as, for example, B. Verification functions and functions for reading version numbers.
  • the decompression can be carried out in such a way that only the program functions predetermined by means of the programming device are decompressed prior to their execution and copied into the volatile memory V_MEM.
  • the entire compressed program portion of the first program FL can first be decompressed and copied into the volatile memory V_MEM before predetermined program functions are executed from the now decompressed compressed program portion of the first program FL from the volatile memory V_MEM.
  • FIG. 3 shows a further exemplary embodiment in which the first program FL designed as a flash loader is stored in a non-volatile memory ROM, which is designed as a read-only memory.
  • the second program APPL is furthermore stored in the nonvolatile memory NV_MEM in the form of a flash memory.
  • This has the advantage that the entire memory area of the nonvolatile memory NV MEM designed as a flash memory is available for the second program APPL and / or further data records.
  • the at least partially compressed storage of the first program FL in the non-volatile memory ROM embodied as a read-only memory it can be used efficiently and even designed with a smaller storage space.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

La présente invention concerne un procédé pour faire fonctionner un appareil de commande (CU) et un appareil de commande comprenant au moins une mémoire non volatile (NV_MEM) dans laquelle est enregistré un premier programme (FL), l'exécution du premier programme (FL) permettant de gérer la mémoire non volatile (NV_MEM). Le premier programme (FL) est enregistré, au moins partiellement compressé, dans la mémoire non volatile (NV_MEM) et est décompressé avant son exécution.
PCT/EP2008/066714 2007-12-10 2008-12-03 Procédé pour faire fonctionner un appareil de commande et appareil de commande WO2009074499A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102007059355.6 2007-12-10
DE200710059355 DE102007059355A1 (de) 2007-12-10 2007-12-10 Verfahren zum Betreiben eines Steuergerätes und Steuergerät

Publications (1)

Publication Number Publication Date
WO2009074499A1 true WO2009074499A1 (fr) 2009-06-18

Family

ID=40513745

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2008/066714 WO2009074499A1 (fr) 2007-12-10 2008-12-03 Procédé pour faire fonctionner un appareil de commande et appareil de commande

Country Status (2)

Country Link
DE (1) DE102007059355A1 (fr)
WO (1) WO2009074499A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2971349A1 (fr) * 2011-02-09 2012-08-10 Continental Automotive France Procede de reprogrammation d'un calculateur, support de memorisation de donnees et calculateur de vehicule automobile
WO2016074837A1 (fr) * 2014-11-12 2016-05-19 Robert Bosch Gmbh Procédé et dispositif de gestion de mémoire pour la transmission de données à l'intérieur d'un système informatique, système de mémoire et système informatique

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011079397A1 (de) * 2011-07-19 2013-01-24 Bayerische Motoren Werke Aktiengesellschaft Steuervorrichtung für ein Kraftfahrzeug

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4425388A1 (de) * 1994-07-19 1996-01-25 Bosch Gmbh Robert Steuergerät
US6009372A (en) * 1997-10-01 1999-12-28 Cummins Engine Company, Inc. Management of programming and memory space for an internal combustion engine control system
US6138059A (en) * 1998-03-10 2000-10-24 Denso Corporation Vehicle control system and unit for preventing power supply cutoff during re-programming mode
DE10027006A1 (de) * 2000-05-31 2001-12-06 Bosch Gmbh Robert System zur Steuerung / Regelung der Betriebsabläufe bei einem Kraftfahrzeug und ein Verfahren zum Starten eines solchen Systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4425388A1 (de) * 1994-07-19 1996-01-25 Bosch Gmbh Robert Steuergerät
US6009372A (en) * 1997-10-01 1999-12-28 Cummins Engine Company, Inc. Management of programming and memory space for an internal combustion engine control system
US6138059A (en) * 1998-03-10 2000-10-24 Denso Corporation Vehicle control system and unit for preventing power supply cutoff during re-programming mode
DE10027006A1 (de) * 2000-05-31 2001-12-06 Bosch Gmbh Robert System zur Steuerung / Regelung der Betriebsabläufe bei einem Kraftfahrzeug und ein Verfahren zum Starten eines solchen Systems

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2971349A1 (fr) * 2011-02-09 2012-08-10 Continental Automotive France Procede de reprogrammation d'un calculateur, support de memorisation de donnees et calculateur de vehicule automobile
WO2012107189A3 (fr) * 2011-02-09 2012-10-26 Continental Automotive France Procede de reprogrammation d'un calculateur, support de memorisation de donnees et calculateur de vehicule automobile
CN103339603A (zh) * 2011-02-09 2013-10-02 法国大陆汽车公司 计算机重新编程方法、数据存储介质和机动车辆计算机
US9223697B2 (en) 2011-02-09 2015-12-29 Continental Automotive France Computer reprogramming method, data storage medium and motor vehicle computer
WO2016074837A1 (fr) * 2014-11-12 2016-05-19 Robert Bosch Gmbh Procédé et dispositif de gestion de mémoire pour la transmission de données à l'intérieur d'un système informatique, système de mémoire et système informatique

Also Published As

Publication number Publication date
DE102007059355A1 (de) 2009-06-18

Similar Documents

Publication Publication Date Title
DE102005013285B4 (de) Verfahren zum Konfigurieren eines Steuergeräts und Steuergerät
DE102009019271A1 (de) Übertragen von Sequenzzahlen für das Wiederherstellen nach Stromausfall bei einem nichtflüchtigen Speicher
EP3128383B1 (fr) Appareil de terrain
WO2000010060A2 (fr) Procede pour l'application de donnees de commande d'un appareil de commande electronique de vehicule automobile
DE19934191B4 (de) Elektronische Steuerungseinheit und Steuerungsverfahren zum Speichern eines Neuschreibungszählwerts eines nichtflüchtigen Speichers
WO2017125181A1 (fr) Procédé de mise à jour du logiciel d'un appareil de commande, de préférence pour un véhicule à moteur
WO2009074499A1 (fr) Procédé pour faire fonctionner un appareil de commande et appareil de commande
EP2608037B1 (fr) Procédé de gestion de données dans une mémoire Flash, dispositif d'assistance au conducteur et véhicule automobile
EP0664387B1 (fr) Procédé pour changer la mode de travail d'un appareil de commande dans les voitures automobiles
DE102013108024A1 (de) Verfahren zum Implementieren eines binären Flags in einem Flashspeicher
DE102016200711A1 (de) Verfahren zum Aktualisieren von Software eines Steuergerätes, vorzugsweise für ein Kraftfahrzeug
DE102005032514B3 (de) Speicher und Verfahren zum Betrieb des Speichers
DE10252059B3 (de) Verfahren zum Betreiben einer Speicheranordnung
DE10322723B3 (de) Vorrichtung und Verfahren zum Behandeln eines Zustands eines Speichers
DE10260103A1 (de) Verfahren und Vorrichtung zur Änderung von Software in einem Steuergerät sowie entsprechendes Steuergerät
DE102013003593A1 (de) Verfahren zum Durchführen eines Löschungsvorgangs in einem beschreibbaren Speicherelement
DE102008040366A1 (de) System und Verfahren zum Steuern von Funktionskomponenten eines Kraftfahrzeugs
DE102005017298B4 (de) Verfahren und Vorrichtung zum Schreiben eines Ablaufsprogramms in eine Speichervorrichtung einer programmgesteuerten Steuervorrichtung
EP2000914B1 (fr) Procédé et dispositif destinés à réorganiser les données dans un système de stockage, en particulier pour appareils de commande dans des véhicules automobiles
DE102020212139A1 (de) Verfahren zum Aktualisieren von Software
WO2001009902A1 (fr) Procede et ensemble circuit pour corriger des erreurs de memoire
DE102019118577A1 (de) Aktuatorsystem mit wiederprogrammierbarem Speicher
DE112021002282T5 (de) Elektronische steuervorrichtung und aktualisierungsverfahren für steuerungssoftware
EP2653973A1 (fr) Procédé de prolongement de la durée de vie d'une mémoire Flash physique
EP2002342A2 (fr) Procédé et unité de calcul pour faire fonctionner un dispositif de mémoire

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08859080

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08859080

Country of ref document: EP

Kind code of ref document: A1