DE3911188A1 - ARRANGEMENT FOR INITIALIZING A MICROPROCESSOR - Google Patents
ARRANGEMENT FOR INITIALIZING A MICROPROCESSORInfo
- Publication number
- DE3911188A1 DE3911188A1 DE3911188A DE3911188A DE3911188A1 DE 3911188 A1 DE3911188 A1 DE 3911188A1 DE 3911188 A DE3911188 A DE 3911188A DE 3911188 A DE3911188 A DE 3911188A DE 3911188 A1 DE3911188 A1 DE 3911188A1
- Authority
- DE
- Germany
- Prior art keywords
- switch
- microprocessor
- capacitor
- reset
- charge storage
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Retry When Errors Occur (AREA)
- Microcomputers (AREA)
- Electronic Switches (AREA)
- Power Sources (AREA)
Abstract
Description
Die Erfindung betrifft eine Anordnung zur Initialisierung eines Mikroprozessors nach dem Oberbegriff des Anspruchs 1 und insbesondere eine Anordnung, bei der die Notwendigkeit für einen getrennten und aufwendigen Überwachungszeitgeber entfällt.The invention relates to an arrangement for initialization a microprocessor according to the preamble of claim 1 and in particular an arrangement where the need for a separate and complex monitoring timer not applicable.
Wenn eine Schaltungsanordnung mit einem Mikrocomputer oder einem Mikroprozessor, welche Ausdrücke hier als gegenseitig austauschbar angesehen werden sollen, mit elektrischer Leistung versorgt wird, werden den verschiedenen Bauteilen der Anordnung einschließlich des Mikroprozessors oder Mikro computers Vorspannungen zugeführt. Der Mikroprozessor tritt in eine Initialisierungsroutine ein, in welcher der Programm zähler des Mikroprozessors auf den Zählerstand Null gesetzt wird. Durch die Initialisierungsroutine werden die Anfangs bedingungen für den Betrieb des Mikroprozessors definiert und aufgestellt, was das Rücksetzen der internen Mikro prozessorlogik auf einen Anfangszustand umfaßt, von dem aus die nachfolgenden Operationen erfolgen können. Ein allgemei nes, bei Mikroprozessoren auftretendes Problem besteht in einer Verriegelung der normalen Betriebsfunktion, welche den erfolgreichen Abschluß der Initialisierungsroutine verhin dert. Eine solche Verriegelung kann eine von mehreren be kannten Ursachen haben. Es kann eine Störung oder Unter brechung der Netzstromversorgung auftreten, ein Software- Fehler, der eine geschlossene Schleife erzeugt, die der Mikroprozessor nicht verlassen kann, es kann eine elektro statische Entladung oder ein Bogen von einer Bildröhre auf treten. Das letztgenannte Problem tritt häufig auf, wenn der Mikroprozessor in einem Fernsehempfänger verwendet wird. If a circuit arrangement with a microcomputer or a microprocessor, which expressions here as mutual should be viewed interchangeably with electrical Power is supplied to the various components the arrangement including the microprocessor or micro computer biases supplied. The microprocessor kicks in an initialization routine in which the program microprocessor counter set to zero becomes. Through the initialization routine, the initial conditions for the operation of the microprocessor are defined and set up what the reset of the internal micro processor logic to an initial state from which the subsequent operations can take place. A general There is a problem with microprocessors in a lock of the normal operating function, which the successful completion of the initialization routine different. Such a lock can be one of several known causes. It can be a malfunction or sub mains power supply breakdown, a software Error that creates a closed loop that the Microprocessor can not leave, it can be an electro static discharge or an arc from a picture tube to step. The latter problem often occurs when the microprocessor is used in a television receiver.
Die mögliche Schwierigkeit mit einer solchen Verriegelung ist auf dem Fachgebiet bekannt und eine angebotene Lösung besteht in der Verwendung eines Überwachungszeitgebers, der auch als "watchdog timer" bezeichnet wird. Solche Zeitgeber überwachen den Status des Mikroprozessors und wenn der Mikroprozessor innerhalb einer maximalen vorgegebenen Zeit spanne, die durch den Überwachungszeitgeber festgesetzt wird, nicht in der richtigen Weise initialisiert worden ist, bringt der Zeitgeber den Mikroprozessor neuerlich in Gang, damit er in den Status zurückkehrt, welcher vor der Zufüh rung der elektrischen Leistung bestanden hat, um die Initia lisierungsroutine neu einzurichten. Wenn bei dem Mikro prozessor oder bei der Einrichtung, in der der Mikroprozes sor enthalten ist, kein dauernder Defekt vorliegt, wird die Schwierigkeit, die die anfängliche Verriegelung hervorge rufen hat, üblicherweise nicht länger vorliegen und der Mikroprozessor bei dem nachfolgenden Versuch in der richti gen Weise initialisiert werden.The possible difficulty with such a lock is known in the field and an offered solution is to use a watchdog timer that is also referred to as a "watchdog timer". Such timers monitor the status of the microprocessor and if the Microprocessor within a maximum predetermined time span set by the watchdog timer has not been initialized in the correct way, the timer starts the microprocessor again, so that it returns to the status it had before the feed electrical power has passed the initia set up routine. If the mic processor or at the facility where the microprocesses sor is included, there is no permanent defect, the Difficulty that the initial locking creates has called, is usually no longer available and the Microprocessor in the subsequent attempt in the right initialized in a manner.
Solche Überwachungszeitgeber sind für die beabsichtigten Zwecke recht erfolgreich. Jedoch leiden sie einen wesent lichen Nachteil, der darin besteht, daß eine wesentliche Anzahl von zusätzlichen Teilen notwendig ist und dadurch die Kosten der den Mikroprozessor enthaltenden Einrichtung merklich zunimmt. Dies ist insbesondere von Nachteil bei in Wettbewerb stehenden Konsumartikeln, bei denen die Mini mierung der Herstellungskosten von höchster Wichtigkeit ist. Aus diesen Gründen besteht eine Notwendigkeit für ein wir kungsvolles System zur Mikroprozessor-Initialisierung, bei welchen die Notwendigkeit für einen Überwachungszeitgeber entfällt und das ein Minimum an zusätzlichen Teilen und Kosten der Einrichtung notwendig macht.Such watch timers are intended for the Purposes quite successful. However, they suffer an essential one Lichen disadvantage, which is that an essential Number of additional parts is necessary and thereby the cost of the device containing the microprocessor increases noticeably. This is particularly disadvantageous competitive consumer goods where the Mini production cost is of paramount importance. For these reasons, there is a need for us efficient system for microprocessor initialization, at which the need for a watchdog timer omitted and that a minimum of additional parts and The cost of the facility.
Die Aufgabe der Erfindung besteht also darin, eine Anordnung zur Initialisierung eines Mikroprozessors zu schaffen, die ohne einen Überwachungszeitgeber auskommt. The object of the invention is therefore an arrangement to initialize a microprocessor to create the without a watchdog timer.
Diese Aufgabe wird durch die Anordnung mit den Merkmalen des Anspruchs 1 gelöst.This task is achieved through the arrangement with the characteristics of claim 1 solved.
Die erfindungsgemäße Mikroprozessor-Initialisierungsschal tung für eine elektronische Einrichtung, die einen Mikro prozessor mit einem Rücksetzanschluß aufweist, enthält einen Schalter und eine Rücksetzschaltung, die zwischen dem Rück setzanschluß und dem Schalter angeordnet ist, um die Span nung an dem Rücksetzanschluß zu verändern und den Mikro prozessor in Ansprache auf die Betätigung des Schalters in einen Rücksetzmodus zu versetzen.The microprocessor initialization scarf according to the invention device for an electronic device that has a micro processor with a reset connector contains one Switch and a reset circuit between the reset set connector and the switch is arranged to the span voltage on the reset connector and change the micro processor in response to the actuation of the switch in to put a reset mode.
Im folgenden wird ein Ausführungsbeispiel der Erfindung an hand der Zeichnung erläutert. Es zeigen:The following is an embodiment of the invention hand of the drawing explained. Show it:
Fig. 1 ein bevorzugtes Ausführungsbeispiel der erfindungs gemäßen Anordnung, und Fig. 1 shows a preferred embodiment of the arrangement according to the Invention, and
Fig. 2 ein Flußdiagramm, das den Betrieb des in Fig. 1 dar gestellten bevorzugten Ausführungsbeispiels verdeut licht. Fig. 2 is a flow chart that illustrates the operation of the preferred embodiment shown in Fig. 1 illustrated.
Die in Fig. 1 dargestellte Mikroprozessor-Initialisierungs schaltung 10 enthält einen Mikroprozessor 11 mit einem Rück setzanschluß 12 und einem Eingangsanschluß 13. Dem Mikro prozessor 11 werden von einem Oszillator 14 Taktimpulse zu geführt. Eine erste Ladungsspeichereinrichtung enthält einen Widerstand 16 und einen Kondensator 17, die zwischen einer Vorspannung V+ und Masse in Serie geschaltet sind. Der Rück setzanschluß 12 des Mikroprozessors 11 steht in Ansprache auf die Verbindung 18 des Widerstands 16 und des Kondensa tors 17. Eine zweite Ladungsspeichereinrichtung enthält einen Kondensator 19 und einen Widerstand 21. Eine Impedanz, wie ein Widerstand 22 ist mit der Verbindung 23 des Konden sators 19 und des Widerstands 21 und über einen normaler weise geöffneten Moment/Ein-Schalter 24 an Masse gekoppelt. The microprocessor initialization circuit 10 shown in FIG. 1 includes a microprocessor 11 with a reset terminal 12 and an input terminal 13 . The micro processor 11 14 clock pulses to be performed by an oscillator. A first charge storage device includes a resistor 16 and a capacitor 17 , which are connected in series between a bias voltage V + and ground. The reset connection 12 of the microprocessor 11 is in response to the connection 18 of the resistor 16 and the capacitor 17th A second charge storage device includes a capacitor 19 and a resistor 21 . An impedance, such as a resistor 22, is coupled to the connection 23 of the capacitor 19 and the resistor 21 and via a normally open torque / on switch 24 to ground.
Der Eingangsanschluß 13 des Mikroprozessors 11 ist mittels einer Leitereinrichtung 26 über eine Impedanz, wie einen Widerstand 27 mit dem Schalter 24 verbunden.The input terminal 13 of the microprocessor 11 is connected to the switch 24 by means of a conductor device 26 via an impedance, such as a resistor 27 .
Der Schalter 24 ist in einer nicht dargestellten Tastatur angeordnet, die an dem Gehäuse der Einrichtung angeordnet ist, welche die Mikroprozessor-Initialisierungsschaltung 10 enthält. Wenn die erfindungsgemäße Schaltung in einem Fern sehempfänger enthalten ist, wird die Tastatur von dem Be nutzer verwendet, um verschiedene Eingaben zu tätigen, wie das Ein- und Ausschalten des Empfängers, die Kanalwahl und bei neueren Geräten verschiedene interaktive Eingaben, die von dem Benutzer an den Mikroprozessor gegeben werden. Für solche Empfänger dient der Schalter 24 als Ein/Aus-Schalter und ist als solcher auf der Tastatur bezeichnet. Wenn die erfindungsgemäße Anordnung in einem Fernsehempfänger mit einer Fernsteuereinrichtung enthalten ist, kann der Schal ter 24 ein Ein/Aus-Schalter sein, der in Ansprache auf ein Signal von einer Handfernbedienungseinrichtung betätigt wird.The switch 24 is arranged in a keyboard, not shown, which is arranged on the housing of the device which contains the microprocessor initialization circuit 10 . If the circuit according to the invention is included in a television receiver, the keyboard is used by the user to make various inputs, such as turning the receiver on and off, channel selection and, in newer devices, various interactive inputs by the user be given to the microprocessor. For such receivers, the switch 24 serves as an on / off switch and is identified as such on the keyboard. If the arrangement according to the invention is contained in a television receiver with a remote control device, the switch ter 24 can be an on / off switch which is actuated in response to a signal from a handheld remote control device.
Wenn der Initialisierungsschaltung 10 und dem Mikroprozessor 11 elektrische Leistung zugeführt wird, wird die Vorspannung V+ dem (B+)-Anschluß 28 des Mikroprozessors 11 und den Wider ständen 16 und 21 zugeführt. Der Rücksetzanschluß 12 des Mikroprozessors 11 wird in einem Rücksetzzustand gehalten, bis der Kondensator 17 geladen ist. Die Ladezeit des Konden sators 17 ist durch die Kombination des Widerstandes 16, des Kondensators 17, des Widerstandes 21 und des Kondensators 19 bestimmt und für einen Fernsehempfänger kann die Ladezeit so gewählt werden, daß sie in der Größenordnung von 100 ms beträgt. Wenn der Kondensator 17 geladen ist, tritt der Mikroprozessor 11 in den Initialisierungsmodus ein und die Spannung an dem Eingangsanschluß 13 des Mikroprozessors wird intern abgefühlt. Ein logischer Nullwert an dem Ein gangsanschluß 13 zeigt an, daß der Benutzer den Schalter 24 betätigt hat und der Fernsehempfänger entweder an- oder ausgeschaltet ist, wie im folgenden erläutert wird. Eine logische Eins an dem Eingangsanschluß 13 zeigt an, daß der Mikroprozessor 11 in einem Modus verbleibt, in welchem er auf das Schließen des Schalters 24 wartet. Wenn der Schalter 24 geschlossen wird, entlädt sich der Kondensator 17 über den Kondensator 19, um den Mikroprozessor 11 für die zum neuerlichen Laden des Kondensators 17 notwendige Zeit in den Rücksetzmodus zu versetzen. Typischerweise wird ein Mikro prozessor in ungefähr 50 ms zurückgesetzt. Die als Beispiel angegebene Ladezeit von 100 ms ist daher ausreichend, um es einem Standard-Mikroprozessor zu erlauben, seine internen Zähler zurückzusetzen, ist jedoch ausreichend kurz, um von dem Benutzer nicht wahrgenommen zu werden. Auch haben Unter suchungen ergeben, daß 100 ms ungefähr die Zeit sind, wäh rend der der Schalter 24 von einem Benutzer geschlossen ge halten wird und stellt damit eine ausreichende Zeit für das Rücksetzen des Mikroprozessors 11 sicher. Das Verhältnis der Kondensatoren 17 und 19 wird daher so gewählt, daß der Kondensator 17 wieder geladen ist bevor der Schalter 24 wieder öffnet. Der Widerstand 22 begrenzt den Stromfluß durch den Schalter 24. Der Widerstand 27 bewirkt einen Schutz gegen elektrostatische Entladungen für den Eingangs anschluß 13 des Mikroprozessors 11. Diese Impedanz ist ins besondere notwendig, wenn die Erfindung bei einem Fernseh empfänger benutzt wird, wo Entladungen mit hoher Energie möglich sind.When the initialization circuit 10 and the microprocessor 11 are supplied with electrical power, the bias voltage V + is the (B +) terminal 28 of the microprocessor 11 and the resistors 16 and 21 are supplied. The reset terminal 12 of the microprocessor 11 is held in a reset state until the capacitor 17 is charged. The charging time of the capacitor 17 is determined by the combination of the resistor 16 , the capacitor 17 , the resistor 21 and the capacitor 19 and for a television receiver the charging time can be chosen so that it is of the order of 100 ms. When the capacitor 17 is charged, the microprocessor 11 enters the initialization mode and the voltage at the input terminal 13 of the microprocessor is sensed internally. A logic zero at input port 13 indicates that the user has operated switch 24 and the television receiver is either on or off, as will be explained below. A logic one at input terminal 13 indicates that microprocessor 11 remains in a mode in which it is waiting for switch 24 to close. When switch 24 is closed, capacitor 17 discharges through capacitor 19 to put microprocessor 11 in reset mode for the time necessary to recharge capacitor 17 . Typically, a microprocessor is reset in approximately 50 ms. The 100 ms load time given as an example is therefore sufficient to allow a standard microprocessor to reset its internal counters, but is short enough not to be noticed by the user. Investigations have also shown that 100 ms are approximately the time during which the switch 24 is kept closed by a user and thus ensures a sufficient time for the reset of the microprocessor 11 . The ratio of the capacitors 17 and 19 is therefore chosen so that the capacitor 17 is charged again before the switch 24 opens again. Resistor 22 limits current flow through switch 24 . The resistor 27 provides protection against electrostatic discharge for the input terminal 13 of the microprocessor 11th This impedance is particularly necessary when the invention is used in a television receiver where high energy discharges are possible.
Beim Betrieb, wenn der Fernsehempfänger durch Zuführen der Vorspannungen V+ anfänglich mit Leistung versorgt wird, ist der Mikroprozessor 11 in dem Rücksetzstatus bis der Konden sator 17 lädt. Wenn der Kondensator 17 vollständig geladen ist, ist der Mikroprozessor initialisiert, ist der Eingangs anschluß 13 auf "hoch" und der Mikroprozessor 11 auf das Schließen des Schalters 24 vorbereitet. Wenn der Benutzer den Schalter 24 schließt, geht der Eingangsanschluß 13 auf "niedrig". Dieser Wert "Niedrig" wird von dem Mikroprozessor 11 abgefühlt und zeigt an, daß der Empfänger ein- oder aus geschaltet werden muß, was immer das Entgegengesetzte des gegenwärtigen Zustandes ist. Das Schließen des Schalters 24 entlädt auch den Kondensator 17 und bringt den Mikroprozes sor 11 in den Rücksetzmodus. Angenommen, daß der Empfänger ausgeschaltet ist, wenn der Schalter 24 wieder öffnet, weil der Benutzer die Ein/Aus-Taste losgelassen hat, wird der Kondensator 17 wieder geladen und der Anschluß 13 kehrt auf "hoch" zurück. Der Mikroprozessor 11 tritt dann in die Initialisierungsroutine ein. Wenn der Mikroprozessor die Initialisierungsroutine erfolgreich abgeschlossen hat, wird der Wert "Hoch" an dem Eingangsanschluß 13 abgefühlt und der Mikroprozessor schaltet den Fernsehempfänger ein. Wenn jedoch eines der obengenannten Probleme auftritt und es dem Mikroprozessor nicht gelingt die Initialisierungsroutine erfolgreich abzuschließen, wird der Wert "Hoch" an dem Ein gangsanschluß 13 nicht abefühlt und der Fernsehempfänger nicht eingeschaltet. Die typische Reaktion des Benutzers in diesem Fall besteht darin, daß er den Schalter 24 neuerlich drückt, was wiederum den Kondensator 17 entlädt, um den Mikroprozessor in den Rücksetzmodus zu bringen und die Initialisierungsroutine zu wiederholen. Üblicherweise werden die Probleme, die den erfolgreichen Abschluß der Initiali sierungsroutine verhindern können während der Zeit, während der der gedachte Benutzer den Schalter 24 mehrere Male drückt, entfallen sein und die Initialisierungsroutine wird erfolgreich abgeschlossen und das Gerät eingeschaltet, so fern nicht eine dauernde Fehlfunktion des Empfängers vor liegt. Wenn der Benutzer den Schalter 24 schließt, um das Gerät auszuschalten, wird der Kondensator 17 wieder entladen und der Eingangsanschluß 13 geht auf "niedrig". Dieser Wert "Niedrig" an dem Eingangsanschluß 13 wird von dem Mikro prozessor abgefühlt, welcher darauf durch Abschalten des Gerätes reagiert. Der Kondensator 17 ist in der Zwischenzeit wieder geladen, um das Gerät in den Zustand zu versetzen, auf das nächste Schließen des Schalters 24 wieder einge schaltet zu werden. Die kombinierte Funktion der Kondensa toren 17 und 19 und der Widerstände 16 und 21 ist daher die einer Rücksetzschaltung, welche den Mikroprozessor in An sprache auf das Schließen des Schalters 24 in einen Rück setzmodus bringt.In operation, when the television receiver is initially powered by applying the bias voltages V +, the microprocessor 11 is in the reset state until the capacitor 17 loads. When the capacitor 17 is fully charged, the microprocessor is initialized, the input terminal 13 is "high" and the microprocessor 11 is prepared to close the switch 24 . When the user closes switch 24 , input port 13 goes low. This "low" value is sensed by the microprocessor 11 and indicates that the receiver must be switched on or off, whatever the opposite of the current state. Closing the switch 24 also discharges the capacitor 17 and brings the microprocessor 11 into the reset mode. Assuming that when the switch 24 opens again because the user has released the on / off button, the receiver is off, the capacitor 17 is recharged and the terminal 13 returns to "high". The microprocessor 11 then enters the initialization routine. When the microprocessor has successfully completed the initialization routine, the "high" value is sensed at input terminal 13 and the microprocessor turns on the television receiver. However, if one of the above problems occurs and the microprocessor fails to successfully complete the initialization routine, the "high" value at input port 13 is not sensed and the television receiver is not turned on. The typical response of the user in this case is to press switch 24 again, which in turn discharges capacitor 17 to put the microprocessor in reset mode and repeat the initialization routine. Usually, the problems that can prevent the initialization routine from successfully completing during the time that the intended user presses the switch 24 several times have been eliminated and the initialization routine has been successfully completed and the device switched on, unless a permanent malfunction of the Recipient before. When the user closes the switch 24 to turn off the device, the capacitor 17 is discharged again and the input terminal 13 goes "low". This value "low" at the input terminal 13 is sensed by the microprocessor, which responds by switching off the device. The capacitor 17 is in the meantime recharged to put the device in the state to be switched on again the next time the switch 24 is closed. The combined function of the capacitors 17 and 19 and the resistors 16 and 21 is therefore that of a reset circuit which brings the microprocessor in response to the closing of the switch 24 in a reset mode.
Fig. 2 ist ein Flußdiagramm, welches zeigt, wie die Erfin dung in einem Fernsehempfänger arbeitet. In Schritt 29 wird die Versorgung eingeschaltet und der Mikroprozessor 11 und die System-Hardware in dem System werden in Schritt 30 zurückgesetzt. In einem Entscheidungsschritt 31 wird eine Prüfsumme geprüft. Die Prüfsumme ist ein 8-Bit-Wort, das in dem Mikroprozessor gespeichert ist und mit einem irgendwo anders in dem System gespeicherten 8-Bit-Wort verglichen wird. Eine unrichtige Prüfsumme zeigt eine vorherige Unter brechung der Stromversorgung für den Mikroprozessor 11 an und daß gespeicherte Information verlorengegangen oder ver mindert worden ist. Wenn die Prüfsumme nicht korrekt ist, wird in dem Entscheidungsschritt 31 in den Schritt 32 ein getreten, um ein Stromversorgungs-Ein/Aus-Bit auf Null zu setzen und die Prüfsumme zu initialisieren, so daß diese für den nächsten Vergleich korrigiert wird, wonach der Eintritt in die Schritte 33 bzw. 34 erfolgt, um das Gerät auszuschal ten und die Tastatur auszulesen bis in Schritt 36 angezeigt wird, daß der Schalter 24 gedrückt ist. Durch das Abschalten des Empfängers im Falle einer inkorrekten Prüfsumme wird verhindert, daß der Empfänger nach einer vorübergehenden Unterbrechung der Stromversorgung eingeschaltet wird. Um zu dem Entscheidungsschritt 31 zurückzukehren, so wird, wenn die Prüfsumme korrekt ist, in den Entscheidungsschritt 35 eingetreten, um zu bestimmen, ob das Stromversorgungs-Bit gesetzt ist oder nicht. Wenn dies der Fall ist, erfolgt der Eintritt in die Schritte 33, 34 und 36, um zu warten, bis der Schalter 24 wieder geschlossen wird. Wenn das Stromver sorgungs-Bit nicht gesetzt ist, erfolgt in dem Schritt 35 der Eintritt in den Programmschritt 37, um das Gerät einzu schalten und darauf wird in dem Schritt 38 die Hauptarbeits routine des Mikroprozessors 11 gestartet. Im Schritt 39 wird die Prüfsumme wieder abgespeichert, um den notwendigen Ver gleich im Schritt 31 sicherzustellen, wenn das System neuer lich initialisiert wird. Fig. 2 is a flow chart showing how the inven tion works in a television receiver. In step 29 the supply is switched on and the microprocessor 11 and the system hardware in the system are reset in step 30 . In a decision step 31 , a checksum is checked. The checksum is an 8-bit word stored in the microprocessor and compared to an 8-bit word stored elsewhere in the system. An incorrect checksum indicates a previous interruption of the power supply to the microprocessor 11 and that stored information has been lost or reduced. If the checksum is not correct, step 32 is entered in decision step 31 to set a power supply on / off bit to zero and initialize the checksum so that it is corrected for the next comparison, after which the Steps 33 and 34 respectively occur in order to switch the device off and to read the keyboard until it is indicated in step 36 that the switch 24 is pressed. Switching off the receiver in the event of an incorrect checksum prevents the receiver from being switched on after a temporary interruption in the power supply. To return to decision step 31 , if the checksum is correct, decision step 35 is entered to determine whether or not the power bit is set. If so, steps 33 , 34 and 36 are entered to wait until switch 24 is closed again. If the power supply bit is not set, program step 37 is entered in step 35 in order to switch on the device and the main work routine of the microprocessor 11 is then started in step 38 . In step 39 the checksum is stored again in order to ensure the necessary comparison in step 31 when the system is initialized again.
Der große Vorteil der Erfindung besteht, darin, daß der Mikro prozessor 11 innerhalb einer kurzen Zeitperiode, die für den Benutzer vollständig akzeptabel ist, die Initialisierungs routine erfolgreich beendet, wobei gleichzeitig die Notwen digkeit für einen teuren und aufwendigen, Überwachungszeit geber entfällt.The great advantage of the invention, is that the micro-processor 11 within a short period of time, which is fully acceptable to the user, the initialization routine is completed successfully, while simultaneously the Notwen omitted speed encoder for an expensive and complex, monitoring time.
Claims (10)
- - einem Schalter (24); und
- - einer Rücksetzschaltung, die zwischen dem Rücksetzan schluß (12) und dem Schalter (24) angeordnet ist, dadurch gekennzeichnet, daß
- - der Schalter (24) einen Ein/Aus-Schalter enthält,
- - die Rücksetzschaltung eine erste Ladungsspeichereinrich tung (16, 17) enthält, die zwischen dem Rücksetzanschluß (12) und dem Schalter (24) angeordnet ist, um den Rück setzanschluß (12) auf einem logischen Wert zu halten, der für den Betrieb des Mikroprozessors (11) notwendig ist; und
- - eine zweite Ladungsspeichereinrichtung (19, 21) zwischen der ersten Ladungsspeichereinrichtung (16, 17) und dem Schalter (24) angeordnet ist, um die erste Ladungsspei chereinrichtung auf das Schließen des Schalters (24) zu entladen und den Mikroprozessor (11) vorübergehend in einen Rücksetzmodus zu versetzen.
- - a switch ( 24 ); and
- - A reset circuit, the circuit between the Rücksetzan circuit ( 12 ) and the switch ( 24 ) is arranged, characterized in that
- - The switch ( 24 ) contains an on / off switch,
- - The reset circuit includes a first charge storage device ( 16 , 17 ) which is arranged between the reset terminal ( 12 ) and the switch ( 24 ) in order to keep the reset terminal ( 12 ) at a logical value which is necessary for the operation of the microprocessor ( 11 ) is necessary; and
- - A second charge storage device ( 19 , 21 ) between the first charge storage device ( 16 , 17 ) and the switch ( 24 ) is arranged to discharge the first Ladungsspei chereinrichtung on closing the switch ( 24 ) and the microprocessor ( 11 ) temporarily in to put a reset mode.
- - einen Ein/Aus-Schalter (24),
- - eine erste Ladungsspeichereinrichtung (16, 17), die zwi schen dem Rücksetzanschluß (12) und dem Ein/Aus-Schalter (24) angeordnet ist, um den Rücksetzanschluß auf einem logischen Wert zu halten, der für den Betrieb des Mikro prozessors (11) notwendig ist;
- - eine zweite Ladungsspeichereinrichtung (19, 21), die zwi schen der ersten Ladungsspeichereinrichtung (16, 17) und dem Schalter (24) angeordnet ist, um die erste Ladungs speichereinrichtung auf das Schließen des Schalters zu laden und den Mikroprozessor (11) vorübergehend in einen Rücksetzmodus zu versetzen; und
- - eine Leitereinrichtung (26), die zwischen dem Eingangs anschluß (13) und dem Schalter (24) angeordnet ist, über die der Mikroprozessor (11) die Betätigung des Schalters (24) abfühlt und die Initialisierung des Mikroprozessors sicherstellt.
- - an on / off switch ( 24 ),
- - A first charge storage device ( 16 , 17 ), the rule between the reset terminal ( 12 ) and the on / off switch ( 24 ) is arranged to keep the reset terminal at a logical value which is necessary for the operation of the microprocessor ( 11 ) necessary is;
- - A second charge storage device ( 19 , 21 ), the rule between the first charge storage device ( 16 , 17 ) and the switch ( 24 ) is arranged to load the first charge storage device on closing the switch and the microprocessor ( 11 ) temporarily in to put a reset mode; and
- - A conductor device ( 26 ), which is arranged between the input connection ( 13 ) and the switch ( 24 ) over which the microprocessor ( 11 ) senses the actuation of the switch ( 24 ) and ensures the initialization of the microprocessor.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17839388A | 1988-04-06 | 1988-04-06 |
Publications (1)
Publication Number | Publication Date |
---|---|
DE3911188A1 true DE3911188A1 (en) | 1989-10-19 |
Family
ID=22652371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE3911188A Withdrawn DE3911188A1 (en) | 1988-04-06 | 1989-04-06 | ARRANGEMENT FOR INITIALIZING A MICROPROCESSOR |
Country Status (9)
Country | Link |
---|---|
JP (1) | JPH0212417A (en) |
KR (1) | KR890016446A (en) |
CN (1) | CN1036849A (en) |
DE (1) | DE3911188A1 (en) |
ES (1) | ES2013150A6 (en) |
FI (1) | FI891525A (en) |
FR (1) | FR2629962A1 (en) |
GB (1) | GB2217071A (en) |
IT (1) | IT1228693B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2870362B1 (en) * | 2004-05-17 | 2006-07-21 | Atlantic Ind Soc Par Actions S | ELECTRONIC THERMOSTAT DEVICE COMPRISING A MICROCONTROLLER |
JP5599999B2 (en) | 2006-03-22 | 2014-10-01 | スリーエム イノベイティブ プロパティズ カンパニー | Filter media |
JP6384035B2 (en) * | 2013-10-11 | 2018-09-05 | セイコーエプソン株式会社 | Portable electronic devices |
-
1989
- 1989-03-20 IT IT8919829A patent/IT1228693B/en active
- 1989-03-30 FI FI891525A patent/FI891525A/en not_active Application Discontinuation
- 1989-04-03 KR KR1019890004340A patent/KR890016446A/en not_active Application Discontinuation
- 1989-04-03 CN CN89102102A patent/CN1036849A/en active Pending
- 1989-04-05 GB GB8907675A patent/GB2217071A/en not_active Withdrawn
- 1989-04-05 ES ES8901185A patent/ES2013150A6/en not_active Expired - Lifetime
- 1989-04-05 FR FR8904480A patent/FR2629962A1/en not_active Withdrawn
- 1989-04-05 JP JP1084939A patent/JPH0212417A/en active Pending
- 1989-04-06 DE DE3911188A patent/DE3911188A1/en not_active Withdrawn
Also Published As
Publication number | Publication date |
---|---|
IT8919829A0 (en) | 1989-03-20 |
JPH0212417A (en) | 1990-01-17 |
ES2013150A6 (en) | 1990-04-16 |
IT1228693B (en) | 1991-07-03 |
KR890016446A (en) | 1989-11-29 |
FI891525A0 (en) | 1989-03-30 |
FR2629962A1 (en) | 1989-10-13 |
GB8907675D0 (en) | 1989-05-17 |
CN1036849A (en) | 1989-11-01 |
GB2217071A (en) | 1989-10-18 |
FI891525A (en) | 1989-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE69031716T2 (en) | Method and device for protection against power supply faults | |
DE3128675C2 (en) | Integrated semiconductor circuit | |
EP0163670B1 (en) | Apparatus for monitoring electronic computing elements, particularly microprocessors | |
DE69209740T2 (en) | Computer operation in the event of failure and return of the operating voltage. | |
EP0563787B1 (en) | Monitoring circuit for computer controlled safety devices | |
DE3820688A1 (en) | SWITCH TEST UNIT | |
DE3222692A1 (en) | ELECTRICAL POWER SUPPLY SYSTEM | |
DE3734088C2 (en) | Interruption circuit | |
DE3926178A1 (en) | WAKE-UP CIRCUIT FOR A MICROPROCESSOR | |
DE3625179C2 (en) | ||
DE69316253T2 (en) | Electronic timing device | |
DE19616851B4 (en) | Protection device to avoid unwanted power supply | |
EP2858194A2 (en) | Electronic circuit assembly | |
DE3209375A1 (en) | DRAIN CONTROL UNIT | |
DE3214006A1 (en) | DEVICE FOR RESETTING CALCULATIONS | |
DE3911188A1 (en) | ARRANGEMENT FOR INITIALIZING A MICROPROCESSOR | |
EP0461432A2 (en) | Device for connecting and disconnecting a load | |
DE3232513A1 (en) | MONITORING TIMER | |
DE3839077C2 (en) | ||
DE19601804A1 (en) | Method and device for monitoring an electronic computing unit | |
WO1982000594A1 (en) | Power supply circuit for electronic safety ski bindings | |
DE2607893B2 (en) | Counting circuit | |
DE2903638A1 (en) | Microprocessor controlled safety monitor in motor vehicle - re-runs program to avoid erroneous operation due to parasitic disturbances | |
DE69530714T2 (en) | Protection circuit to prevent incorrect operation of the microprocessor | |
DE3209084A1 (en) | MICROPROCESSOR CONTROLLED CAMERA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
8139 | Disposal/non-payment of the annual fee |