WO2007128632A1 - Non-volatile memory module - Google Patents

Non-volatile memory module Download PDF

Info

Publication number
WO2007128632A1
WO2007128632A1 PCT/EP2007/053292 EP2007053292W WO2007128632A1 WO 2007128632 A1 WO2007128632 A1 WO 2007128632A1 EP 2007053292 W EP2007053292 W EP 2007053292W WO 2007128632 A1 WO2007128632 A1 WO 2007128632A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
memory module
memory
microprocessor
module
Prior art date
Application number
PCT/EP2007/053292
Other languages
German (de)
French (fr)
Inventor
Jost Brachert
Uwe Heller
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
Publication of WO2007128632A1 publication Critical patent/WO2007128632A1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/22Safety or protection circuits preventing unauthorised or accidental access to memory cells
    • G11C16/225Preventing erasure, programming or reading when power supply voltages are outside the required ranges

Definitions

  • the invention relates to a non-volatile memory module according to the preamble of claim 1.
  • the invention further relates to a microprocessor device with such a memory module according to claim 8 and a method for operating such a memory module according to claim 10.
  • a microprocessor device of this type is, for example, a control device of a motor vehicle.
  • a non-volatile memory chip holds the stored data even if it is not supplied with electrical energy. Control units often need to store data that should be retained when the controller is shut down. In this sense, the invention relates to the manner of storing the data in a memory device, in particular a separate memory device.
  • a memory module according to the preamble of claim 1 is known from DE 43 17 175
  • non-volatile data to be stored in a separate module (eg EEPROM).
  • EEPROM electrically erasable programmable read-only memory
  • the data is transmitted via a communication line, for example via a bus, to this block.
  • a communication line for example via a bus
  • Both this transfer and the nonvolatile storage process take a certain amount of time. If during this period the supply voltage of the If the control unit is interrupted, the storage process is also interrupted and the data in the memory module are incomplete and inconsistent.
  • nonvolatile memory module which contains a non-volatile data memory and control logic for maintaining the data and ensuring data consistency in the data memory, in particular in the event of an interruption of a memory operation.
  • control logic for maintaining the data and ensuring data consistency in the data memory, in particular in the event of an interruption of a memory operation.
  • the object according to the invention is achieved by an intelligent memory module with data backup logic.
  • An essential point of the invention is that the guarantee of data security and data consistency in the memory module itself is taken.
  • FIG. 1 schematically shows an embodiment of a memory module according to the invention in a microprocessor device
  • FIG. 2 schematically shows a further embodiment of a memory module according to the invention in a microprocessor device
  • FIG. 3 schematically shows yet another embodiment of a memory module according to the invention in a microprocessor device
  • Figure 4 shows schematically an embodiment of a microprocessor device according to the invention.
  • the drawings show a nonvolatile memory module 2 with a nonvolatile data memory 4 and a control logic 6 for maintaining the data and ensuring data consistency in the data memory 4.
  • the control logic 6 is in particular a control logic for maintaining the data and ensuring data consistency in the data memory 4 at a Interruption of a memory operation, for example in the case of an interruption of a power supply during the storage process.
  • the nonvolatile memory module 2 is hereinafter referred to as "memory module".
  • the nonvolatile data memory 4 may be formed, for example, by an EEPROM (Electrically Erasable Programmable Read-Only Memory) or by a plurality of EEPROMs.
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • the control logic 6 for maintaining the data and ensuring data consistency can be formed by a discrete circuit or by an integrated circuit, as shown in FIG.
  • the memory module 2 may have a microprocessor 12, wherein the control logic 6 is realized by the microprocessor 12.
  • the microprocessor 12 in the memory device 2 is provided for ensuring data security and data consistency in the non-volatile data memory 4 during a storage process, but not for the execution of application programs. Since the microprocessor 12 is thus independent of the use of the memory module 2, this microprocessor 12 used in the memory module 2 can be produced in large numbers and therefore cost-effectively.
  • another embodiment of the invention is the combination of a very small and thus inexpensive microprocessor 12 with a conventional nonvolatile data memory 4 (eg EEPROM) on a chip 14 ( Figure 2), the small microprocessor 12 being for preservation only the data and ensuring data consistency.
  • a conventional nonvolatile data memory 4 eg EEPROM
  • Figure 2 the small microprocessor 12 being for preservation only the data and ensuring data consistency.
  • the program of this microprocessor 12 need not be changed by focusing on the specific function even for a large number of applications.
  • the intelligent memory module 2 from the combination of this small microprocessor 12 and the conventional memory module 2 4 can therefore be made very cheaply in large numbers.
  • the memory module 2 may have a communication connection 16.
  • the communication connection 16 may be a serial communication connection 18 for the serial data transmission connection 20 of the memory module 2 with a corresponding communication connection 22 of a peripheral, for example a microprocessor, in particular the application microprocessor 8. This is illustrated by way of example in FIG. 1 and FIG.
  • a parallel communication port 24 for establishing a parallel Data transmission connection 26 may be provided with a corresponding parallel communication port 28 of the periphery.
  • the memory module 2 has a driver 30 for representing the data memory 4 at the communication terminal 16 in structure and behavior in the form of a RAM module (random access memory module).
  • the memory module 2 For a microprocessor 8 connected to the communication port 16, the memory module 2 according to the invention therefore represents a RAM module.
  • the driver 30 may be formed by software running, for example, on the microprocessor 12 contained in the memory module 2 (FIG. 2).
  • the driver 30 may be formed by a discrete circuit or by an integrated circuit, for example by a separate circuit (FIG. 4) or by the circuit forming the control logic for the memory device (FIG. 1).
  • the memory module 2 is assigned a separate electrical buffer 32, which is connected to the memory module 2 and via which the memory module 2 can be supplied with electrical energy.
  • the electrical buffer 32 buffers an electrical energy supplied to the memory module 2 from an energy source 34 via electrical lines 35 and can be embodied in any suitable manner.
  • the electrical buffer 32 may consist, for example, of a capacitor and a series resistance, wherein the capacitor is connected in parallel to the nonvolatile memory structure and the series resistance is connected in series with the memory module 2 and the capacitor (not shown).
  • the electrical buffer 32 may be formed by a voltage regulation component (FIG. 4).
  • the memory module 2 preferably has its own power supply 34 with its own electrical buffer 32 (FIG. 4).
  • the memory module 2 according to the invention is preferably operated so that a portion of data already stored in the data memory 4 is held in the data memory 4 at least until successful completion of the memory operation during a memory operation for storing new data in the data memory 4.
  • all data may be multiple times, i. H. at least twice, held in the non-volatile memory. If one record is incomplete while the data is being written due to interruption of the write operation, then the old data is still present in the other record (the other records). If necessary, the control logic 6 of the intelligent memory module 2 according to the invention uses the alternative data.
  • control logic 6 for ensuring the preservation of the data and ensuring the data consistency in the nonvolatile data memory 4 may be designed to hold the data stored in the data memory 4 at least twice in the data memory 4.
  • the data is divided into data blocks.
  • the new data is first written to a free portion of the non-volatile data memory 4. If the writing process is interrupted, the old data is still present. Only when the write process is completely completed, the area of the old data is marked as free and released for overwriting.
  • control logic 6 may be designed to block data in the data memory 4, wherein for a write operation in which a new data block already exists in the data memory 4, the control logic 6 is also designed to write the new data block into a free memory area of the data memory 4 and release the memory area in which the old data block is stored, only after a complete completion of the writing process of the new data ,
  • the invention relates in particular to the microprocessor device 10, for example, as shown in FIG. 2, a control unit 33 for a motor vehicle, comprising an application microprocessor 8 for executing an application program and at least one memory module 2 according to the invention.
  • the application microprocessor and the memory module 2 according to the invention are each formed by a separate component.
  • the memory module 2 according to the invention is combined on a chip 36 with the application microprocessor 8. This can be done for example in the form of an ASIC (Application Specific Integrated Circuit).
  • ASIC Application Specific Integrated Circuit
  • nonvolatile memory module 2 In general, it can be seen from the above statements that complex measures to ensure the consistency and completeness of the data (eg multiple filing in the EEPROM, temporary data storage in the application microprocessor) controlled by software are provided by the nonvolatile memory module 2 according to the invention can be avoided, which runs in the intended for application programs microprocessor. Data security and data consistency methods implemented in this application microprocessor typically could not rule out data loss. This could lead to field recalls and extensive error investigations.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Abstract

The invention relates to a non-volatile memory module (2) containing a non-volatile data memory (4) and a control logic unit (6) for retaining the data and for ensuring data consistency in the data memory (4), in particular in the event of an interruption in the storage process.

Description

Beschreibungdescription
Titeltitle
Nichtflüchtiger SpeicherbausteinNon-volatile memory chip
Die Erfindung betrifft einen nichtflüchtigen Speicherbaustein nach dem Oberbegriff von Anspruch 1. Die Erfindung betrifft ferner eine Mikroprozessorvorrichtung mit einem solchen Speicherbaustein nach Anspruch 8 und ein Verfahren zum Betreiben eines solchen Speicherbausteins nach Anspruch 10.The invention relates to a non-volatile memory module according to the preamble of claim 1. The invention further relates to a microprocessor device with such a memory module according to claim 8 and a method for operating such a memory module according to claim 10.
Eine Mikroprozessorvorrichtung dieser Art ist beispielsweise ein Steuergerät eines Kraftfahrzeugs. Ein nichtflüchtiger Speicherbaustein hält die gespeicherten Daten auch dann, wenn er nicht mit elektrischer Energie versorgt wird. In Steuergeräten müssen häufig Daten abgelegt werden, die erhalten bleiben sollen, wenn das Steuergerät abgeschaltet wird. In diesem Sinne betrifft die Erfindung die Art der Speicherung der Daten in einem Speicherbaustein, insbesondere einem separaten Speicherbaustein.A microprocessor device of this type is, for example, a control device of a motor vehicle. A non-volatile memory chip holds the stored data even if it is not supplied with electrical energy. Control units often need to store data that should be retained when the controller is shut down. In this sense, the invention relates to the manner of storing the data in a memory device, in particular a separate memory device.
Stand der TechnikState of the art
Ein Speicherbaustein nach Art des Oberbegriffs von Anspruch 1 ist aus der DE 43 17 175A memory module according to the preamble of claim 1 is known from DE 43 17 175
Al bekannt. Aus der DE 100 03 006 Al ist eine Anordnung und Verfahren zur Signalverarbeitung und Speicherung bekannt, bei welchem Filterkoeffizienten in einem von einem Mikroprozessor separaten RAM-Speicherbereich abgelegt werden. Aus der EP 1 252 627 Bl ist eine Anordnung zur Spannungsversorgung eines flüchtigen Halbleiterspeichers be- kannt.Al known. From DE 100 03 006 Al an arrangement and method for signal processing and storage is known in which filter coefficients are stored in a separate memory area from a microprocessor RAM. From EP 1 252 627 B1 an arrangement for the voltage supply of a volatile semiconductor memory is known.
Aus der Praxis ist es ferner bekannt, zu speichernde nicht-flüchtige Daten in einem separaten Baustein (z. B. EEPROM) abzulegen. Hierzu werden die Daten über eine Kommunikationsleitung, beispielsweise über einen Bus, zu diesem Baustein übertragen. Sowohl diese Übertragung als auch der Vorgang der nichtflüchtigen Speicherung benötigt eine bestimmte Zeitdauer. Wenn während dieser Zeitdauer die Versorgungsspannung des Steuergeräts unterbrochen wird, so wird auch der Speichervorgang unterbrochen und die Daten im Speicherbaustein sind unvollständig und inkonsistent.From practice, it is also known to store non-volatile data to be stored in a separate module (eg EEPROM). For this purpose, the data is transmitted via a communication line, for example via a bus, to this block. Both this transfer and the nonvolatile storage process take a certain amount of time. If during this period the supply voltage of the If the control unit is interrupted, the storage process is also interrupted and the data in the memory module are incomplete and inconsistent.
Offenbarung der ErfindungDisclosure of the invention
Technische AufgabeTechnical task
Es ist Aufgabe der vorliegenden Erfindung, auf einfache und kostengünstige Weise einen Datenverlust bei einer Unterbrechung eines Speichervorgangs zu vermeiden.It is an object of the present invention to avoid in a simple and cost-effective manner a loss of data in an interruption of a storage process.
Technische LösungTechnical solution
Diese Aufgabe wird durch einen nichtflüchtigen Speicherbaustein gelöst, welcher einen nichtflüchtigen Datenspeicher und eine Steuerlogik zur Erhaltung der Daten und Sicher- Stellung der Datenkonsistenz in dem Datenspeicher, insbesondere bei einer Unterbrechung eines Speichervorgangs, enthält. Insbesondere wird die erfindungsgemäße Aufgabe durch einen intelligenten Speicherbaustein mit Datensicherungslogik gelöst.This object is achieved by a nonvolatile memory module which contains a non-volatile data memory and control logic for maintaining the data and ensuring data consistency in the data memory, in particular in the event of an interruption of a memory operation. In particular, the object according to the invention is achieved by an intelligent memory module with data backup logic.
Ein wesentlicher Punkt der Erfindung besteht dabei darin, dass die Gewährleistung der Datensicherheit und Datenkonsistenz im Speicherbaustein selbst übernommen wird.An essential point of the invention is that the guarantee of data security and data consistency in the memory module itself is taken.
Vorteilhafte WirkungenAdvantageous effects
Vorteilhafte Weiterbildungen sind in den abhängigen Ansprüchen 2 bis 10 angegeben.Advantageous developments are specified in the dependent claims 2 to 10.
Dadurch, dass die Gewährleistung der Datensicherheit und Datenkonsistenz im Speicherbaustein selbst übernommen wird, können aufwändige Software- Datensicherungsmaßnahmen in dem Mikroprozessor (Anwendungs-Mikroprozessor), auf welchem die Anwendungssoftware, beispielsweise eine Steuergerätesoftware läuft, entfallen. Auf diese Weise steht mehr Speicher und Laufzeit für die Anwendungen im Anwendungs-Mikroprozessor zur Verfügung. Sowohl der Entwicklungsaufwand für Steuergeräte als auch die Fehlersuche in einer Serienbetreuung ist deutlich geringer als bei Datensicherungsmaßnahmen, die im Anwendungs- Mikroprozessor implementiert sind.Due to the fact that the guarantee of data security and data consistency in the memory module itself is taken over, complex software data protection measures in the microprocessor (application microprocessor) on which the application software, for example a control unit software runs, can be omitted. In this way, more memory and runtime is available for the applications in the application microprocessor. Both the development effort for ECUs and the troubleshooting in a series support is significantly lower than with data protection measures that are implemented in the application microprocessor.
Die Realisierung der entsprechenden Maßnahmen im Speicherbaustein selbst ist wesentlich billiger als im zugehörigen Anwendungs- Mikroprozessor, da der Speicherbaustein in wesentlich größerer Stückzahl hergestellt wird und die dabei verwendete Logik sich nicht oder nicht so oft ändert, wie entsprechende Programme bei der Realisierung der Logik im Mikroprozessor.The implementation of the corresponding measures in the memory module itself is much cheaper than in the associated application microprocessor, since the memory module is manufactured in much larger numbers and the logic used is not or not as often changes as appropriate programs in the realization of logic in the microprocessor.
Kurze Beschreibung der ZeichnungenBrief description of the drawings
Die Erfindung wird im folgenden anhand von Ausführungsbeispielen näher erläutert. Es zeigen:The invention will be explained in more detail below with reference to exemplary embodiments. Show it:
Figur 1 schematisch eine Ausführungsform eines Speicherbausteins nach der Er- findung in einer Mikroprozessorvorrichtung;FIG. 1 schematically shows an embodiment of a memory module according to the invention in a microprocessor device;
Figur 2 schematisch eine weitere Ausführungsform eines Speicherbausteins nach der Erfindung in einer Mikroprozessorvorrichtung;FIG. 2 schematically shows a further embodiment of a memory module according to the invention in a microprocessor device;
Figur 3 schematisch eine nochmals weitere Ausführungsform eines Speicherbausteins nach der Erfindung in einer Mikroprozessorvorrichtung; Figur 4 schematisch eine Ausführungsform einer Mikroprozessorvorrichtung nach der Erfindung.FIG. 3 schematically shows yet another embodiment of a memory module according to the invention in a microprocessor device; Figure 4 shows schematically an embodiment of a microprocessor device according to the invention.
Ausführungsformen der ErfindungEmbodiments of the invention
Die Zeichnungen zeigen einen nichtflüchtigen Speicherbaustein 2 mit einem nichtflüchtigen Datenspeicher 4 und einer Steuerlogik 6 zur Erhaltung der Daten und Sicherstellung der Datenkonsistenz in dem Datenspeicher 4. Die Steuerlogik 6 ist insbesondere eine Steuerlogik zur Erhaltung der Daten und Sicherstellung der Datenkonsistenz in dem Datenspeicher 4 bei einer Unterbrechung eines Speichervorgangs, beispielsweise bei einer Unterbrechung einer Spannungsversorgung während des Speichervorgangs. Der nichtflüchtige Speicherbaustein 2 wird nachfolgend kurz als „Speicherbaustein" bezeichnet.The drawings show a nonvolatile memory module 2 with a nonvolatile data memory 4 and a control logic 6 for maintaining the data and ensuring data consistency in the data memory 4. The control logic 6 is in particular a control logic for maintaining the data and ensuring data consistency in the data memory 4 at a Interruption of a memory operation, for example in the case of an interruption of a power supply during the storage process. The nonvolatile memory module 2 is hereinafter referred to as "memory module".
Der nichtflüchtige Datenspeicher 4 kann beispielsweise durch ein EEPROM (Electrically Erasable Programmable Read-Only Memory) oder durch mehrere EEPROMs gebildet sein.The nonvolatile data memory 4 may be formed, for example, by an EEPROM (Electrically Erasable Programmable Read-Only Memory) or by a plurality of EEPROMs.
Da die Datenkonsistenz und die Datensicherheit durch den Speicherbaustein 2 selbst gewährleistet wird, ist eine diesbezügliche Anpassung eines Anwendungs-Mikroprozessors 8, welcher auf den nichtflüchtigen Speicherbaustein 2 zugreift, nicht erforderlich. Wie be- reits Eingangs erläutert, vereinfacht dies die Entwicklung und reduziert die Kosten von entsprechenden Mikroprozessorvorrichtungen 10, welche einen Anwendungs- Mikroprozessor 8 zur Ausführung eines Anwendungsprogramms und mindestens einen erfindungsgemäßen Speicherbaustein 2 enthalten.Since the data consistency and data security is ensured by the memory module 2 itself, a relevant adaptation of an application microprocessor 8, which accesses the nonvolatile memory module 2, is not required. As already explained in the introduction, this simplifies the development and reduces the costs of corresponding microprocessor devices 10, which provide an application Microprocessor 8 for executing an application program and at least one memory module 2 according to the invention contain.
Die Steuerlogik 6 zur Erhaltung der Daten und Sicherstellung der Datenkonsistenz kann durch eine diskrete Schaltung oder durch eine integrierte Schaltung gebildet sein, wie dies in Figur 1 dargestellt ist.The control logic 6 for maintaining the data and ensuring data consistency can be formed by a discrete circuit or by an integrated circuit, as shown in FIG.
Ferner kann der Speicherbaustein 2 einen Mikroprozessor 12 aufweisen, wobei die Steuerlogik 6 durch den Mikroprozessor 12 realisiert ist.Furthermore, the memory module 2 may have a microprocessor 12, wherein the control logic 6 is realized by the microprocessor 12.
Der Mikroprozessor 12 in dem Speicherbaustein 2 ist zur Gewährleistung der Datensicherheit und der Datenkonsistenz in dem nichtflüchtigen Datenspeicher 4 während eines Speichervorgangs, nicht aber zur Ausführung von Anwendungsprogrammen vorgesehen. Da damit der Mikroprozessor 12 von der Anwendung des Speicherbausteins 2 unabhän- gig ist, kann dieser in dem Speicherbaustein 2 verwendete Mikroprozessor 12 in großen Stückzahlen und damit kostengünstig hergestellt werden.The microprocessor 12 in the memory device 2 is provided for ensuring data security and data consistency in the non-volatile data memory 4 during a storage process, but not for the execution of application programs. Since the microprocessor 12 is thus independent of the use of the memory module 2, this microprocessor 12 used in the memory module 2 can be produced in large numbers and therefore cost-effectively.
Insbesondere ist eine weitere Ausführungsform der Erfindung die Kombination eines sehr kleinen und damit billigen Mikroprozessors 12 mit einem herkömmlichen Speicher 4 für nichtflüchtige Daten (z. B. EEPROM) auf einem Chip 14 (Figur 2), wobei der kleine Mikroprozessor 12 ausschließlich für die Erhaltung der Daten und die Sicherstellung der Datenkonsistenz zuständig ist. Dadurch kann der Mikroprozessor 12 klein gehalten werden. Das Programm dieses Mikroprozessors 12 braucht durch die Fokussierung auf die spezielle Funktion selbst für eine große Anzahl von Anwendungen nicht geändert zu werden. Der intelligente Speicherbaustein 2 aus der Kombination dieses kleinen Mikroprozessors 12 und des herkömmlichen Speicherbausteins 2 4 kann daher in großer Zahl sehr billig hergestellt werden.In particular, another embodiment of the invention is the combination of a very small and thus inexpensive microprocessor 12 with a conventional nonvolatile data memory 4 (eg EEPROM) on a chip 14 (Figure 2), the small microprocessor 12 being for preservation only the data and ensuring data consistency. This allows the microprocessor 12 to be kept small. The program of this microprocessor 12 need not be changed by focusing on the specific function even for a large number of applications. The intelligent memory module 2 from the combination of this small microprocessor 12 and the conventional memory module 2 4 can therefore be made very cheaply in large numbers.
Zur Datenübertragung kann der Speicherbaustein 2 einen Kommunikationsanschluss 16 aufweisen. Der Kommunikationsanschluss 16 kann ein serieller Kommunikationsanschluss 18 sein, zur seriellen Datenübertragungsverbindung 20 des Speicherbausteins 2 mit einem entsprechenden Kommunikationsanschluss 22 einer Peripherie, beispielsweise einem Mikroprozessor, insbesondere dem Anwendungs- Mikroprozessor 8. Dies ist beispielhaft in Figur 1 und Figur 4 dargestellt.For data transmission, the memory module 2 may have a communication connection 16. The communication connection 16 may be a serial communication connection 18 for the serial data transmission connection 20 of the memory module 2 with a corresponding communication connection 22 of a peripheral, for example a microprocessor, in particular the application microprocessor 8. This is illustrated by way of example in FIG. 1 and FIG.
Alternativ kann an dem Speicherbaustein an Stelle des seriellen Kommunikationsanschlusses 18 ein paralleler Kommunikationsanschluss 24 zur Herstellung einer parallelen Datenübertragungsverbindung 26 mit einem entsprechenden parallelen Kommunikations- anschluss 28 der Peripherie vorgesehen sein.Alternatively, instead of the serial communication port 18, a parallel communication port 24 for establishing a parallel Data transmission connection 26 may be provided with a corresponding parallel communication port 28 of the periphery.
Gemäß einer Ausführungsform der Erfindung weist der Speicherbaustein 2 einen Treiber 30 zum Darstellen des Datenspeichers 4 an dem Kommunikationsanschluss 16 in Struktur und Verhalten in Form eines RAM- Bausteins (Random-Access- Memory- Baustein) auf. Für einen an den Kommunikationsanschluss 16 angeschlossenen Mikroprozessor 8 stellt sich der erfindungsgemäße Speicherbaustein 2 daher als RAM-Baustein dar. Der Treiber 30 kann durch Software, die beispielsweise auf dem in dem Speicherbaustein 2 enthalte- nen Mikroprozessor 12 läuft, gebildet sein (Figur 2). Alternativ kann der Treiber 30 durch eine diskrete Schaltung oder durch eine integrierte Schaltung gebildet sein, beispielsweise durch eine separate Schaltung (Figur 4) oder durch die die Steuerlogik für den Speicherbaustein bildende Schaltung (Figur 1).According to one embodiment of the invention, the memory module 2 has a driver 30 for representing the data memory 4 at the communication terminal 16 in structure and behavior in the form of a RAM module (random access memory module). For a microprocessor 8 connected to the communication port 16, the memory module 2 according to the invention therefore represents a RAM module. The driver 30 may be formed by software running, for example, on the microprocessor 12 contained in the memory module 2 (FIG. 2). , Alternatively, the driver 30 may be formed by a discrete circuit or by an integrated circuit, for example by a separate circuit (FIG. 4) or by the circuit forming the control logic for the memory device (FIG. 1).
Gemäß einer Ausführungsform der Erfindung ist dem Speicherbaustein 2 ein eigener e- lektrischer Puffer 32 zugeordnet, welcher an den Speicherbaustein 2 angeschlossen ist und über welchen der Speicherbaustein 2 mit elektrischer Energie versorgbar ist. Der e- lektrische Puffer 32 puffert eine von einer Energiequelle 34 über elektrische Leitungen 35 gelieferte elektrische Energie für den Speicherbaustein 2 und kann auf beliebige geeigne- te Weise ausgebildet sein.According to one embodiment of the invention, the memory module 2 is assigned a separate electrical buffer 32, which is connected to the memory module 2 and via which the memory module 2 can be supplied with electrical energy. The electrical buffer 32 buffers an electrical energy supplied to the memory module 2 from an energy source 34 via electrical lines 35 and can be embodied in any suitable manner.
Durch den elektrischen Puffer 32 kann bei einem Zusammenbrechen der Versorgungsspannung ein Schreibvorgang in den nichtflüchtigen Datenspeicher 4 dennoch abgeschlossen werden. Die Pufferung der Versorgungsspannung des Speicherbausteins 2 ist gegenüber einer Pufferung der Versorgung des Anwendungs-Mikroprozessors 8 erheblich billiger, da der Energiebedarf des Speicherbausteins 2 wesentlich geringer als der des Anwendungs- Mikroprozessors 8 ist.Due to the electrical buffer 32, when the supply voltage collapses, a write operation to the nonvolatile data memory 4 can nevertheless be completed. The buffering of the supply voltage of the memory module 2 is considerably cheaper compared to a buffering of the supply of the application microprocessor 8, since the energy requirement of the memory module 2 is substantially lower than that of the application microprocessor 8.
Der elektrische Puffer 32 kann beispielsweise aus einem Kondensator und einem Rei- henwiderstand bestehen, wobei der Kondensator zu dem nichtflüchtigen Speicherbausein parallel geschaltet ist und der Reihenwiderstand zu dem Speicherbaustein 2 und dem Kondensator in Reihe geschaltet ist (nicht dargestellt). Alternativ kann der elektrische Puffer 32 durch einen Spannungsregelbaustein gebildet sein (Figur 4).The electrical buffer 32 may consist, for example, of a capacitor and a series resistance, wherein the capacitor is connected in parallel to the nonvolatile memory structure and the series resistance is connected in series with the memory module 2 and the capacitor (not shown). Alternatively, the electrical buffer 32 may be formed by a voltage regulation component (FIG. 4).
Vorzugsweise erhält der Speicherbaustein 2 eine eigene Spannungsversorgung 34 mit eigenem elektrischen Puffer 32 (Figur 4). Der erfindungsgemäße Speicherbaustein 2 wird vorzugsweise so betrieben, dass während eines Speichervorgangs zum Speichern von neuen Daten in dem Datenspeicher 4 ein zu überschreibender Teil von bereits in dem Datenspeicher 4 gespeicherten Daten mindestens bis zum erfolgreichen Abschluss des Speichervorgangs in dem Datenspei- eher 4 gehalten wird.The memory module 2 preferably has its own power supply 34 with its own electrical buffer 32 (FIG. 4). The memory module 2 according to the invention is preferably operated so that a portion of data already stored in the data memory 4 is held in the data memory 4 at least until successful completion of the memory operation during a memory operation for storing new data in the data memory 4.
Beispielsweise können alle Daten mehrfach, d. h. mindestens zweifach, in dem nichtflüchtigen Speicher gehalten werden. Wenn während des Schreibens der Daten durch Unterbrechung des Schreibvorgangs ein Datensatz unvollständig ist, so sind noch die alten Da- ten in dem anderen Datensatz (den anderen Datensätzen) vorhanden. Die Steuerlogik 6 des erfindungsgemäßen, intelligenten Speicherbausteins 2 greift im Bedarfsfall auf die alternativen Daten zurück.For example, all data may be multiple times, i. H. at least twice, held in the non-volatile memory. If one record is incomplete while the data is being written due to interruption of the write operation, then the old data is still present in the other record (the other records). If necessary, the control logic 6 of the intelligent memory module 2 according to the invention uses the alternative data.
Entsprechend kann die Steuerlogik 6 zur Gewährleistung der Erhaltung der Daten und der Sicherstellung der Datenkonsistenz in dem nichtflüchtigen Datenspeicher 4 ausgebildet sein, um die in dem Datenspeicher 4 gespeicherten Daten mindestens zweifach in dem Datenspeicher 4 zu halten.Accordingly, the control logic 6 for ensuring the preservation of the data and ensuring the data consistency in the nonvolatile data memory 4 may be designed to hold the data stored in the data memory 4 at least twice in the data memory 4.
Gemäß einer alternativen Ausführungsform werden die Daten in Datenblöcke aufgeteilt. Wenn ein Datenblock überschrieben werden soll, so werden die neuen Daten zunächst in einen freien Teil des nichtflüchtigen Datenspeichers 4 geschrieben. Wenn der Schreibvorgang unterbrochen wird, so sind die alten Daten noch vorhanden. Erst wenn der Schreibvorgang vollständig abgeschlossen ist, wird der Bereich der alten Daten als frei markiert und zum Überschreiben freigegeben.According to an alternative embodiment, the data is divided into data blocks. When a block of data is to be overwritten, the new data is first written to a free portion of the non-volatile data memory 4. If the writing process is interrupted, the old data is still present. Only when the write process is completely completed, the area of the old data is marked as free and released for overwriting.
Entsprechend dieser Ausführungsform kann zur Gewährleistung der Erhaltung der Daten und der Sicherstellung der Datenkonsistenz in dem nichtflüchtigen Datenspeicher 4 die Steuerlogik 6 zum Blockweisen Schreiben von Daten in den Datenspeicher 4 ausgebildet sein, wobei für einen Schreibvorgang, bei welchem ein neuer Datenblock einen bereits in dem Datenspeicher 4 gespeicherten, alten Datenblock ersetzen soll, die Steuerlogik 6 ferner ausgebildet ist, zum Schreiben des neuen Datenblocks in einen freien Speicherbereich des Datenspeichers 4 und Freigeben des Speicherbereichs, in dem der alte Datenblock gespeichert ist, erst nach einem vollständigen Abschluss des Schreibvorgangs der neuen Daten.According to this embodiment, to ensure the preservation of the data and the ensuring of data consistency in the nonvolatile data memory 4, the control logic 6 may be designed to block data in the data memory 4, wherein for a write operation in which a new data block already exists in the data memory 4, the control logic 6 is also designed to write the new data block into a free memory area of the data memory 4 and release the memory area in which the old data block is stored, only after a complete completion of the writing process of the new data ,
Neben dem nichtflüchtigen Speicherbaustein 2 betrifft die Erfindung insbesondere die Mikroprozessorvorrichtung 10, beispielsweise wie in Fig. 2 dargestellt ein Steuergerät 33 für ein Kraftfahrzeug, enthaltend einen Anwendungs-Mikroprozessor 8 zur Ausführung eines Anwendungsprogramms und mindestens einen erfindungsgemäßen Speicherbaustein 2.In addition to the nonvolatile memory module 2, the invention relates in particular to the microprocessor device 10, for example, as shown in FIG. 2, a control unit 33 for a motor vehicle, comprising an application microprocessor 8 for executing an application program and at least one memory module 2 according to the invention.
Bei den in Figur 1, Figur 2 und Figur 4 dargestellten Ausführungsformen einer erfindungsgemäßen Mikroprozessorvorrichtung sind der Anwendungs-Mikroprozessor und der erfindungsgemäße Speicherbaustein 2 durch jeweils ein separates Bauteil gebildet.In the embodiments of a microprocessor device according to the invention shown in Figure 1, Figure 2 and Figure 4, the application microprocessor and the memory module 2 according to the invention are each formed by a separate component.
Gemäß einer in Figur 3 dargestellten Ausführungsform ist der erfindungsgemäße Spei- cherbaustein 2 auf einem Chip 36 mit dem Anwendungs-Mikroprozessor 8 kombiniert. Dies kann beispielsweise in Form eines ASIC (Application Specific Integrated Circuit) erfolgen.According to an embodiment shown in FIG. 3, the memory module 2 according to the invention is combined on a chip 36 with the application microprocessor 8. This can be done for example in the form of an ASIC (Application Specific Integrated Circuit).
Allgemein ergibt sich aus den vorstehenden Ausführungen, dass mit dem erfindungsge- mäßen nichtflüchtigen Speicherbaustein 2 aufwändige Maßnahmen zur Gewährleistung der Konsistenz und der Vollständigkeit der Daten (z. B. Mehrfachablage im EEPROM, temporäre Datenhaltung im Anwendungs-Mikroprozessor), die durch eine Software gesteuert werden, die in dem für Anwendungsprogramme vorgesehenen Mikroprozessor läuft, vermieden werden können. Verfahren zur Gewährleistung von Datensicherheit und Datenkonsistenz, die in diesem Anwendungs- Mikroprozessor implementiert sind, könnten in der Regel auch nicht ausschließen, dass es zu Datenverlusten kommt. Dies könnte zu Feldrückläufen und aufwändigen Fehleruntersuchungen führen.In general, it can be seen from the above statements that complex measures to ensure the consistency and completeness of the data (eg multiple filing in the EEPROM, temporary data storage in the application microprocessor) controlled by software are provided by the nonvolatile memory module 2 according to the invention can be avoided, which runs in the intended for application programs microprocessor. Data security and data consistency methods implemented in this application microprocessor typically could not rule out data loss. This could lead to field recalls and extensive error investigations.
Die Erfindung ist nicht auf die in den Zeichnungen dargestellten Ausführungsformen be- schränkt. Sie ergibt sich vielmehr aus einer fachmännischen Gesamtbetrachtung der Beschreibung, der Zeichnungen und der Patentansprüche. The invention is not limited to the embodiments shown in the drawings. Rather, it results from a general expert consideration of the description, the drawings and the claims.

Claims

Patentansprüche claims
1. Nichtflüchtiger Speicherbaustein (2) enthaltend einen nichtflüchtigen Datenspeicher (4), dadurch gekennzeichnet, dass der nichtflüchtige Speicherbaustein (2) eine Steuerlogik (6) zur Erhaltung der Daten und Sicherstellung der Datenkonsistenz in dem Datenspeicher (4) enthält.1. Non-volatile memory module (2) containing a nonvolatile data memory (4), characterized in that the nonvolatile memory module (2) contains a control logic (6) for maintaining the data and ensuring data consistency in the data memory (4).
2. Speicherbaustein (2) nach Anspruch 1, gekennzeichnet durch einen Mikroprozessor (12), wobei die Steuerlogik (6) durch den Mikroprozessor (12) realisiert ist.2. Memory module (2) according to claim 1, characterized by a microprocessor (12), wherein the control logic (6) by the microprocessor (12) is realized.
3. Speicherbaustein (2) nach Anspruch 1 oder 2, dadurch gekennzeichnet, dass der nichtflüchtige Datenspeicher (4) durch mindestens ein EEPROM gebildet ist.3. Memory module (2) according to claim 1 or 2, characterized in that the non-volatile data memory (4) is formed by at least one EEPROM.
4. Speicherbaustein (2) nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, dass er einen seriellen Kommunikationsanschluss (16, 18) zur Datenübertragung aufweist.4. Memory module (2) according to any one of claims 1 to 3, characterized in that it comprises a serial communication port (16, 18) for data transmission.
5. Speicherbaustein (2) nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, dass er einen parallelen Kommunikationsanschluss (16, 24) zur Datenübertragung aufweist.5. Memory module (2) according to one of claims 1 to 3, characterized in that it comprises a parallel communication port (16, 24) for data transmission.
6. Speicherbaustein (2) nach einem der Ansprüche 4 oder 5, dadurch gekennzeichnet, dass er einen Treiber (30) zum Darstellen des nichtflüchtigen Datenspeichers (4) an dem Kommunikationsanschluss (16) in Struktur und Verhalten in Form eines RAM- Baustein aufweist.6. Memory module (2) according to any one of claims 4 or 5, characterized in that it comprises a driver (30) for displaying the non-volatile data memory (4) on the communication port (16) in structure and behavior in the form of a RAM module.
7. Speicherbaustein (2) nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass ihm ein eigener elektrischer Puffer (32) zugeordnet und an ihn angeschlossen ist, wobei der elektrische Puffer (32) eine elektrische Energie für den Speicherbaustein (2) puffert. 7. Memory module (2) according to one of the preceding claims, characterized in that it has its own associated electrical buffer (32) and connected to it, wherein the electrical buffer (32) buffers an electrical energy for the memory module (2).
8. Mikroprozessorvorrichtung (10) enthaltend einen Mikroprozessor (8) zur Ausführung eines Anwendungsprogramms und mindestens einen nichtflüchtigen Speicherbaustein (2) nach einem der Ansprüche 1 bis 7.8. A microprocessor device (10) comprising a microprocessor (8) for executing an application program and at least one nonvolatile memory module (2) according to one of claims 1 to 7.
9. Mikroprozessorvorrichtung nach Anspruch 8, dadurch gekennzeichnet, dass der9. Microprocessor device according to claim 8, characterized in that the
Speicherbaustein (2) mit dem Mikroprozessor (8) auf einem Chip (36) kombiniert ist.Memory module (2) with the microprocessor (8) on a chip (36) is combined.
10. Verfahren zum Betreiben eines Speicherbausteins (2) nach einem der Ansprüche 1 bis 7, wobei während eines Speichervorgangs zum Speichern von neuen Daten in dem Datenspeicher (4) ein zu überschreibender Teil von bereits in dem Datenspeicher (4) gespeicherten Daten mindestens bis zum erfolgreichen Abschluss des Speichervorgangs in dem Datenspeicher (4) gehalten wird. 10. A method for operating a memory module (2) according to one of claims 1 to 7, wherein during a storage process for storing new data in the data memory (4) to be overwritten part of already in the data memory (4) stored data at least until successful completion of the storage process in the data memory (4) is held.
PCT/EP2007/053292 2006-05-10 2007-04-04 Non-volatile memory module WO2007128632A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102006021745.4 2006-05-10
DE200610021745 DE102006021745A1 (en) 2006-05-10 2006-05-10 Non-volatile memory chip

Publications (1)

Publication Number Publication Date
WO2007128632A1 true WO2007128632A1 (en) 2007-11-15

Family

ID=38266641

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2007/053292 WO2007128632A1 (en) 2006-05-10 2007-04-04 Non-volatile memory module

Country Status (2)

Country Link
DE (1) DE102006021745A1 (en)
WO (1) WO2007128632A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008061094A1 (en) * 2008-12-08 2010-06-10 Robert Bosch Gmbh Method for determining memory region of e.g. serial flash memory to describe characteristics of memory in servomotor operating device of drive system, involves determining address of memory region at which read memory content is stored

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5668760A (en) * 1996-04-23 1997-09-16 Intel Corporation Nonvolatile memory with a write protection circuit
WO1997049085A1 (en) * 1996-06-18 1997-12-24 Microchip Technology, Inc. Fail-safe non-volatile memory programming system and method therefor
US20030090939A1 (en) * 2001-10-12 2003-05-15 Stmicroelectronics S.R.L. Nonvolatile memory device with parallel and serial functioning mode and selectable communication protocol
US20060022707A1 (en) * 2004-07-30 2006-02-02 Microchip Technology Incorporated Write protection using a two signal control protocol for an integrated circuit device having parameter change capability, chip select and selectable write to non-volatile memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5668760A (en) * 1996-04-23 1997-09-16 Intel Corporation Nonvolatile memory with a write protection circuit
WO1997049085A1 (en) * 1996-06-18 1997-12-24 Microchip Technology, Inc. Fail-safe non-volatile memory programming system and method therefor
US20030090939A1 (en) * 2001-10-12 2003-05-15 Stmicroelectronics S.R.L. Nonvolatile memory device with parallel and serial functioning mode and selectable communication protocol
US20060022707A1 (en) * 2004-07-30 2006-02-02 Microchip Technology Incorporated Write protection using a two signal control protocol for an integrated circuit device having parameter change capability, chip select and selectable write to non-volatile memory

Also Published As

Publication number Publication date
DE102006021745A1 (en) 2007-11-15

Similar Documents

Publication Publication Date Title
DE102005013285B4 (en) Method of configuring a controller and controller
DE60317347T2 (en) MEMORY SWITCHING WITH NON-VOLATILE RAM AND RAM
DE10115729B4 (en) Versatile boot procedure for an application software of a microcontroller
EP1183690B1 (en) Memory array with address scrambling
DE10308545A1 (en) Method and device for updating a distributed program
DE1499182A1 (en) Electrical data processing system
EP1008993B1 (en) Writeable memory with self-test device and method therefor
EP0500973B1 (en) EEPROM and method for altering a bootstrap routine in the EEPROM
EP0067364A2 (en) Method and arrangement for a non-volatile storage of the counting state of an electronic counter
DE10147138A1 (en) Method for integrating imperfect semiconductor memory devices in data processing devices
DE19911794B4 (en) Method and device for securing changes in the memory contents of control units
EP1352318B1 (en) Microprocessor circuit for portable data carriers
DE10002203B4 (en) Method for protecting a microcomputer system against manipulation of data stored in a memory arrangement of the microcomputer system
DE19712731A1 (en) Control system operating method for program and data storage memory in vehicle
DE4302553A1 (en) High security binary counting method for chip card - offsetting final state of binary number w.r.t. sequence such that contents of counter never represents number smaller than previous value
WO2007128632A1 (en) Non-volatile memory module
DE10321104B4 (en) Method for filing variable data
DE102013214795A1 (en) Tachograph arrangement and method for operating a tachograph arrangement
WO2009074499A1 (en) Method for operating a control appliance, and control appliance
DE10260103A1 (en) Method and device for changing software in a control unit and corresponding control unit
EP0715313B1 (en) Method of programming an electrically erasable read-only memory in an elecronic computer device and control device using the method
DE4220877C2 (en) Methods for non-volatile, erasable and programmable memory devices
EP1055983B1 (en) Control device with at least two control units, one of them with an external interface
DE19722015B4 (en) Method and device for controlling an internal combustion engine
DE19720990A1 (en) Program-controlled setup with the possibility of reloading and switching to the second operating system without program interruption

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: 07727763

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 07727763

Country of ref document: EP

Kind code of ref document: A1