WO2013076591A1 - Microprocessor, and method of managing reset events therefor - Google Patents

Microprocessor, and method of managing reset events therefor Download PDF

Info

Publication number
WO2013076591A1
WO2013076591A1 PCT/IB2012/050901 IB2012050901W WO2013076591A1 WO 2013076591 A1 WO2013076591 A1 WO 2013076591A1 IB 2012050901 W IB2012050901 W IB 2012050901W WO 2013076591 A1 WO2013076591 A1 WO 2013076591A1
Authority
WO
WIPO (PCT)
Prior art keywords
reset
counter
microprocessor
update
management module
Prior art date
Application number
PCT/IB2012/050901
Other languages
French (fr)
Inventor
Thomas Luedeke
Markus Baumeister
Carl Culshaw
Original Assignee
Freescale Semiconductor, Inc.
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 Freescale Semiconductor, Inc. filed Critical Freescale Semiconductor, Inc.
Priority to CN201280057862.7A priority Critical patent/CN103975286B/en
Priority to EP12851148.2A priority patent/EP2783266B1/en
Priority to US14/353,999 priority patent/US9733952B2/en
Publication of WO2013076591A1 publication Critical patent/WO2013076591A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0721Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment within a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/076Error or fault detection not based on redundancy by exceeding limits by exceeding a count or rate limit, e.g. word- or bit count limit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • This invention relates to a microprocessor and a method of managing reset events therefor.
  • reset schemes are implemented whereby the microcontroller device will be reset upon a particular event occurring.
  • a reset scheme may be divided into separate levels of reset, such as a destructive reset level and one or more functional reset levels.
  • a functional reset case only certain elements of the microcontroller device are reset, whilst in a destructive reset case a complete reset of the entire microcontroller device is performed. Accordingly, such a functional reset may typically be applied in response to non-critical reset events, whilst a destructive reset may be applied in response to a critical reset event.
  • the limitation with conventional implementations is that reset events will always initiate a reset sequence ending in the device coming out of reset, even if the root cause of the reset has not been corrected by the reset sequence. However, in some cases it may be preferred to keep the device in a reset state in order to prevent reset cycling, in particular following a destructive reset.
  • some non-critical events such as a recurring system software watchdog timeout, may be handled as a destructive reset. If the root cause of the reset is not corrected by the reset sequence, this can lead to what is known as reset cycling (i.e. the device goes through a reset sequence, and the same or related reset event occurs again, thereby causing a new reset sequence to start). If such cycling continues it can lead to the situation where the error indicating event causing the reset spuriously does not occur, and the device starts to run in an inherently unsafe state since the root cause of the error will still be present. Furthermore, such reset cycling can also lead to increased power consumption. Summary of the invention
  • the present invention provides a microprocessor device and a method of managing reset events within a microprocessor device as described in the accompanying claims.
  • FIG. 1 illustrates a simplified block diagram of an example of a part of a digital electronic device, such as a microprocessor device.
  • FIG. 2 illustrates a simplified block diagram of an example of a reset controller.
  • FIG. 3 illustrates a simplified flowchart of an example of a method of managing reset events.
  • FIG. 4 illustrates a simplified block diagram of an alternative example of a part of a digital electronic device, such as a microprocessor device.
  • FIG. 5 illustrates a simplified flowchart of an alternative example of a method of managing reset events.
  • microprocessor device comprising one or more processing cores.
  • the term 'microprocessor device' used herein is intended to incorporate programmable processing devices intended for use within general purpose applications, such as personal computers as well as programmable processing devices intended for use within embedded applications, such as microcontroller devices and system on chip devices, and specialised programmable processing devices such as digital signal processor devices. Because the illustrated examples may for the most part, be implemented using electronic components and circuits known to those skilled in the art, details will not be explained in any greater extent than that considered necessary as illustrated below, for the understanding and appreciation of the underlying concepts of the present invention and in order not to obfuscate or distract from the teachings of the present invention. Referring first to FIG.
  • FIG. 1 there is illustrated a simplified block diagram of an example of a part of a digital electronic device, such as a microprocessor device 100 implemented as an integrated circuit device comprising at least one die within a single integrated circuit package 105.
  • the microprocessor device 100 comprises a minimum of a single processing core 1 10.
  • this processing core may comprise multiple cores, operating independently or that the processing core functionality can be spread across multiple cores.
  • the microprocessor device 100 further comprises at least one reset module 120 comprising, for example, reset circuitry arranged to execute at least one reset sequence for the microprocessor device upon receipt of a reset signal.
  • reset module 120 is arranged to receive a reset signal 1 12 and to execute a reset sequence for components within the microprocessor device 100, such as for example a complete reset of the microprocessor device 100, upon the reset signal 1 12 indicating the detection of a reset event.
  • a complete reset of the microprocessor device 100 may comprise substantially all components of the microprocessor device 100 being forced into a reset state, whereby such components of the microprocessor device 100 are "inaccessible" to other parts of a system (not shown) of which the microprocessor device 100 forms a part, and whereby such components of the microprocessor device 100 are unable to actively influence other parts of that system.
  • the microprocessor device 100 further comprises a reset management module 130.
  • the reset management module 130 is arranged to detect a reset event, determine if at least one reset condition has been met upon detection of the reset event, and cause at least a part of the microprocessor device 100 to remain in a reset state upon determining that the at least one reset condition has been met.
  • the reset management module 130 comprises a reset controller 132 arranged to receive the reset signal 1 12, and thereby to detect a reset event.
  • the reset controller 132 is further arranged to output a reset hold signal 135 to be received by the reset module 120. Upon detection of a reset event, as indicated by the reset signal 1 12, the reset controller 132 illustrated in FIG.
  • the reset management module 130 is arranged to prevent the microprocessor device 100, or one or more components thereof, from exiting a reset state upon certain conditions being met.
  • the reset management module 130 may be arranged to cause the microprocessor device 100, or one or more components thereof, to remain in a reset state upon the number of detected reset events equalling a predetermined value.
  • the reset management module 130 may be arranged to cause the microprocessor device 100, or one or more components thereof, to remain in a reset state upon a single reset event being detected, or after a plurality of reset events (i.e. a number equal to the predetermined value) have been detected. In this manner, reset cycling may substantially be prevented.
  • a likelihood of a situation occurring in which the error indicating event causing the reset spuriously not occurring may be significantly reduced, and as such the likelihood of the microprocessor device 100 running in an inherently unsafe state as a result of such a situation may be significantly reduced.
  • the increase in power consumption associated with reset cycling may be substantially avoided, thereby enabling a reduction in the overall power consumption of the microprocessor device 100.
  • the reset module 120 may be arranged to configure a "stay in reset" mode of operation in which one or more components of the microprocessor device 100 are held in a reset or reset-like state substantially indefinitely.
  • a mode of operation may be implemented by forcing the respective logic within the microprocessor device 100, with the exception of the logic required to keep the components of the microprocessor device 100 in this mode, into their respective reset state, and keeping them in that state substantially indefinitely via the assertion of internal reset signal(s) (not shown).
  • Such a mode of operation may additionally/alternatively be implemented by forcing external contacts of the integrated circuit device 105 for the microprocessor device 100 to their reset state via pin control signals (not shown) so that, from outside the integrated circuit device 105, the microprocessor device 100 appears to be in reset while internally the microprocessor device 100 could be in any state.
  • the microprocessor device 100 may remain in such a reset mode until a power cycle of the microprocessor device 100 is performed, whereby the microprocessor device 100 is powered off and subsequently powered on again. In this manner, the reset controller 130 will be re-initialised via the power-on signal 138. Additionally/alternatively, it is contemplated that the reset module 120 may be configurable by way of, say, an externally originating signal (not shown) to release the microprocessor device 100 from reset, enabling the reset controller 130 to be re-initialised via the software configurable initialisation signal 1 16.
  • FIG. 2 illustrates a simplified block diagram of an example of the reset controller 132.
  • the reset controller 132 comprises a reset count element 210.
  • the reset count element 210 is arranged to read and store a value received at a first input 212 thereof upon receipt of an active edge received at a second input 214 thereof.
  • the reset count element 210 is further arranged to output 216 a currently stored value.
  • the second input 214 of the reset count element 210 is arranged to receive the reset signal 1 12 (FIG. 1 ), and thus is arranged to read and store a value received at the first input 212 thereof upon an active edge of the reset signal 1 12; i.e. upon detection of a reset event.
  • the second input 214 of the reset count element 210 is arranged to receive the reset signal 1 12 via an OR gate 205, which receives the reset signal 1 12 at a first input 202 thereof, and an output 204 of which is operably coupled to the second input 214 of the reset count element 210.
  • the first input 212 of the reset count element 210 is operably coupled to an output 222 of a multiplexer element 220.
  • a first data input 224 of the multiplexer element 220 is operably coupled to an output 232 of a subtraction element 230.
  • a first input 234 of the subtraction element 230 is operably coupled to the output 216 of the reset count element 210, and as such is arranged to receive the value currently stored therein.
  • a second input 236 of the subtraction element 230 is arranged to receive, in the illustrated example, a value, and the subtraction element 230 is arranged to output 232 a value equal to the value received at the first input 234 thereof minus the value received at the second input 236 thereof.
  • the subtraction element 230 in the illustrated example is arranged to output a value one less than the value stored in the reset count element 210.
  • a second data input 226 of the multiplexer element 220 is operably coupled to an output 242 of a programmable register 240, which in the illustrated example is arranged to configurably store a threshold value.
  • the programmable register 240 in the illustrated example is arranged to receive a threshold configuration signal 1 18, for example output by the processing core 1 10 in FIG. 1 , and is arranged to configure the threshold value stored therein in accordance with the received threshold configuration signal 1 18. In this manner, software running on the processing core 1 10 is able to configure the threshold value stored within the programmable register 240.
  • the programmable register may be pre-configured with a 'fixed' threshold value.
  • the multiplexer element 220 is arranged to selectively output one of the values received at the first and second inputs 224, 226 thereof in accordance with a signal received at a control input 228 thereof. Specifically in the illustrated example, the multiplexer element 220 is arranged to output the value received at the first input 224 thereof (i.e. the decremented value output by the subtraction element 230) upon receipt of a '0' value at the control input 228 thereof, and to output the value received at the second input 226 thereof (i.e. the threshold value output by the programmable register 240) upon receipt of a value at the control input 228 thereof.
  • the control input 228 of the multiplexer element 220 is arranged to receive an initialisation signal 216. In this manner, upon the initialisation signal 216 being set to a '1 ' value, the multiplexer element 220 outputs the threshold value stored within the programmable register 240. The initialisation signal 216 is also provided to a second input 206 of the OR gate 205. Accordingly, upon the initialisation signal 216 being set to a value, the reset count element 210 reads and stores the threshold value output by the multiplexer element 220; thereby (re-)initialising the reset controller 132.
  • the reset count element 210 reads, stores and outputs the decremented value.
  • the initialisation signal 216 comprises a '0' value
  • the output 216 of the reset count element 210 is provided to a first input 252 of a comparator 250.
  • a second input 254 of the comparator 250 is arranged to receive a '0' value.
  • the comparator element 250 is arranged to output, as the reset hold signal 135, a value when the signal received at the first input 252 thereof equals the signal received at the second input 254 thereof, and a '0' value otherwise.
  • the comparator element 250 in the illustrated example outputs a '0' value whilst the value stored within and output by the reset count element 210 does not equal ' ⁇ '.
  • the comparator element 250 outputs 135 a value, indicating that one or more components within the microprocessor device 100 are to remain in a reset state following execution of a reset sequence.
  • the reset controller 130 in the illustrated example in effect comprises a counter arranged to decrement a value stored therein upon detection of a reset event, and to cause at least a part of the microprocessor device 100 to remain in a reset state upon a number of detected reset events equalling a threshold value.
  • the reset controller 130 may alternatively be arranged to increment a value stored therein upon detection of a reset event, and to cause at least a part of the microprocessor device 100 to remain in a reset state upon a number of detected reset events equalling a threshold value.
  • the subtraction element 230 may be replaced with an addition element arranged increment the value stored within the reset count element 210, and the value stored within the programmable register 240 upon initialisation may be configured such that, upon the number of detected reset events equalling a desired threshold value, incrementing the value stored within the reset count element 210 causes the value stored therein to 'roll over' to ' ⁇ '.
  • the microprocessor device 100 may be caused to remain in a reset state upon the number of reset events detected equalling a (configurable) threshold value.
  • a (configurable) threshold value may be substantially removed from software, thereby simplifying software development etc.
  • the window of opportunity for malfunction is significantly reduced by implementing the reset controller 132 within hardware, the likelihood of failure of the reset controller 132 is reduced.
  • a user is able to configure the threshold value based on which a reset hold signal may be set.
  • the reset control module 132 further comprises a timer component 260.
  • the timer 260 is arranged to receive at an input 262 thereof the reset signal 1 12, and to be initialised upon an active edge thereof; i.e. upon detection of a reset event.
  • An output 264 of the timer 260 is operably coupled to the control input 228 of the multiplexer element 220 and the second input 206 of the OR gate 204.
  • the output 264 of the timer 260 is operably coupled to a first input 272 of an OR gate 270, an output 274 of which is operably coupled to the control input 228 of the multiplexer 220 and the second input 206 of the OR gate 105.
  • the timer 260 is arranged to output a value upon expiration thereof.
  • the reset controller 132 is re-initialised. In this manner, when reset events are detected over a long period of time, as may be the case in long run times within industrial applications, components of the microprocessor device 100 being held in a reset state as a result of long term accumulation of reset events may be avoided.
  • a second input 276 of the OR gate 270 is arranged to receive an external initialisation signal 134, via which the reset controller 132 may be (re-)initialised.
  • the reset management module 130 in the illustrated example comprises an OR gate 136 comprising a plurality of inputs.
  • An output of the OR gate 136 is operably coupled to the reset controller 132 and arranged to provide the initialisation signal to the second input of the OR gate 270 within the reset controller 132. In this manner, a value received at any input of the OR gate 136 will (re-)initialise the reset controller 132.
  • the OR gate 136 is arranged to receive at one input thereof a software configurable initialisation signal 1 16.
  • a further input of the OR gate 136 is arranged to receive a power-on indication signal 138.
  • the reset controller 132 may be initialised following power-on of the microprocessor device 100.
  • FIG. 3 there is illustrated a simplified flowchart 300 of an example of a method of managing reset events within a microprocessor device, such as may be implemented within the microprocessor device 100 of FIG. 1.
  • the method starts at 310 with the detection of a reset event, and moves on to 320 where a counter is, in the illustrated example, decremented.
  • a counter is, in the illustrated example, decremented.
  • FIG. 3 Referring now to FIG.
  • the microprocessor device 400 comprises multiple processing cores 410, 415.
  • the microprocessor device 400 comprises n processing cores, where n being a positive integer of two or more such as four, eight, sixteen or another power of 2.
  • the microprocessor device 400 comprises at least one reset module 120 comprising, for example, reset circuitry arranged to execute at least one reset sequence for the microprocessor device upon a reset signal 1 12 indicating the detection of a reset event.
  • the microprocessor device 400 further comprises a reset management module 430.
  • the reset management module 430 is arranged to detect a reset event, determine if at least one reset condition has been met upon detection of the reset event, and cause at least a part of the microprocessor device 100 to remain in a reset state upon determining that the at least one reset condition has been met.
  • the reset management module 430 comprises a reset controller 132 arranged to receive indications of a reset event (as described in greater detail below).
  • the reset controller 132 is further arranged to output a reset hold signal 135 to be received by the reset module 120. Upon detection of a reset event, the reset controller 132 illustrated in FIG.
  • the reset management module 430 is arranged to prevent the microprocessor device 400, or one or more components thereof, from exiting a reset state upon certain conditions being met.
  • the reset management module 430 may be arranged to cause the microprocessor device 400, or one or more components thereof, to remain in a reset state upon the number of detected reset events equalling a predetermined value.
  • the reset management module 430 illustrated in FIG. 4 further comprises an access controller 435 arranged to receive requests to update the reset controller 132, and to perform arbitration of such received requests.
  • requests may comprise, by way of example, requests to indicate a reset event, requests to re-initialise the reset controller 132, etc.
  • the access controller 435 is arranged to receive requests to update the reset controller 132 from the processing cores 410, 415, and thus to perform arbitration of update requests from the plurality of processing cores 410, 415.
  • the access controller 435 may be arranged to provide an indication of the received request to update the reset controller 132 to at least one further processing core 415, and to update the reset controller 132 upon receipt of confirmation of the update from the at least one further processing core 415.
  • the access controller 435 may be arranged to only update the reset controller 132 upon receipt of confirmation of the update from all further processing cores 415.
  • the indication provided to the further processing core(s) 415 may comprise a simple indication (e.g. a value) that a request to update the reset controller 132 has been received, and confirmation from the further processing core(s) 415 may similarly comprise a simple response, such as a '1 ' value.
  • the access controller 435 may be arranged to only update the reset controller 132 upon receipt of confirmation of the update from the further processing core(s) 415 within a limited period of time.
  • a request to update the reset controller 132 received from a first processing core 410 may comprise an access key.
  • the indication of the received request to provided by the access controller 435 to the further processing core(s) 415 may thus comprises the access key received from the first processing core 410, and the access controller 435 may be arranged to only update the reset controller 132 upon receipt of confirmation of the update from the further processing core(s) 415 comprising the respective access key.
  • arbitration may be provided between requests to update reset controller (e.g. to indicate a reset event or to re-initialise the reset controller 132) received from different processing cores 410, 415 within a multi-processor architecture.
  • FIG. 5 there is illustrated a simplified flowchart 500 of an example of a method of managing reset events within a microprocessor device, such as may be implemented within the reset management module 430 of FIG. 4.
  • the method starts at 510 with the receipt of a request to update a reset counter, such as the reset counter implemented within the reset controller 132, from a first processing core, such as processing core 410 in FIG. 4. Such a request may simply be in a form of an indication of a reset event.
  • the method then moves on to 520, where an indication of the received request to update the reset counter is provided to other processing cores within the microprocessor device, such as to processing core 415.
  • the method moves on to 570 and a reset is initiated without further actions being taken. Conversely, if approval is received from, say, all, or a minimum number of, other processing cores, or no disapproval is received from any other processing core, the method moves on to 540 where the counter is decremented, in the illustrated example. The approval from the processing cores may occur prior to the actual counter update request as, for example, part of the device configuration process.
  • a reset hold signal such as the reset hold signal 135 illustrated in FIG. 4, is 'set' and the method moves on to 570 and a reset is then initiated.
  • a method and apparatus for managing reset events have been described.
  • a method and apparatus of configurably and flexibly enabling the management of reset events have been described in which a digital electronic device, such as a microprocessor device, or one or more components thereof, may be prevented from exiting a reset state upon determining that one or more reset condition(s) has/have been met.
  • the microprocessor device may be prevented from exiting a reset state upon the number of detected reset events equalling a configurable, predetermined value.
  • reset cycling may substantially be prevented. Accordingly, a likelihood of a situation occurring in which the error indicating event causing the reset spuriously not occurring may be significantly reduced, and as such the likelihood of the microprocessor device running in an inherently unsafe state as a result of such a situation may be significantly reduced.
  • connections as discussed herein may be any type of connection suitable to transfer signals from or to the respective nodes, units or devices, for example via intermediate devices. Accordingly, unless implied or stated otherwise, the connections may for example be direct connections or indirect connections.
  • the connections may be illustrated or described in reference to being a single connection, a plurality of connections, unidirectional connections, or bidirectional connections. However, different embodiments may vary the implementation of the connections. For example, separate unidirectional connections may be used rather than bidirectional connections and vice versa.
  • plurality of connections may be replaced with a single connection that transfers multiple signals serially or in a time multiplexed manner. Likewise, single connections carrying multiple signals may be separated out into various different connections carrying subsets of these signals. Therefore, many options exist for transferring signals.
  • Each signal described herein may be designed as positive or negative logic.
  • the signal In the case of a negative logic signal, the signal is active low where the logically true state corresponds to a logic level zero.
  • the signal In the case of a positive logic signal, the signal is active high where the logically true state corresponds to a logic level one.
  • any of the signals described herein can be designed as either negative or positive logic signals. Therefore, in alternate embodiments, those signals described as positive logic signals may be implemented as negative logic signals, and those signals described as negative logic signals may be implemented as positive logic signals.
  • the terms 'assert' or 'set' and 'negate' are used herein when referring to the rendering of a signal, status bit, or similar apparatus into its logically true or logically false state, respectively. If the logically true state is a logic level one, the logically false state is a logic level zero. And if the logically true state is a logic level zero, the logically false state is a logic level one.
  • any arrangement of components to achieve the same functionality is effectively 'associated' such that the desired functionality is achieved.
  • any two components herein combined to achieve a particular functionality can be seen as 'associated with' each other such that the desired functionality is achieved, irrespective of architectures or intermediary components.
  • any two components so associated can also be viewed as being 'operably connected,' or 'operably coupled,' to each other to achieve the desired functionality.
  • the examples, or portions thereof may implemented as soft or code representations of physical circuitry or of logical representations convertible into physical circuitry, such as in a hardware description language of any appropriate type.
  • the invention is not limited to physical devices or units implemented in nonprogrammable hardware but can also be applied in programmable devices or units able to perform the desired device functions by operating in accordance with suitable program code, such as mainframes, minicomputers, servers, workstations, personal computers, notepads, personal digital assistants, electronic games, automotive and other embedded systems, cell phones and various other wireless devices, commonly denoted in this application as 'computer systems'.
  • suitable program code such as mainframes, minicomputers, servers, workstations, personal computers, notepads, personal digital assistants, electronic games, automotive and other embedded systems, cell phones and various other wireless devices, commonly denoted in this application as 'computer systems'.
  • any reference signs placed between parentheses shall not be construed as limiting the claim.
  • the word 'comprising' does not exclude the presence of other elements or steps then those listed in a claim.
  • the terms 'a' or 'an,' as used herein, are defined as one or more than one.

Abstract

A microprocessor comprises at least one reset management module. The at least one reset management module is arranged to detect a reset event, determine if at least one reset condition has been met upon detection of the reset event, and cause at least a part of the microprocessor to remain in a reset state upon determining that the at least one reset condition has been met.

Description

Title: MICROPROCESSOR, AND METHOD OF MANAGING RESET EVENTS THEREFOR
Description Field of the invention
This invention relates to a microprocessor and a method of managing reset events therefor.
Background of the invention
In typical microcontroller devices, reset schemes are implemented whereby the microcontroller device will be reset upon a particular event occurring. In more intelligent systems, such a reset scheme may be divided into separate levels of reset, such as a destructive reset level and one or more functional reset levels. In a functional reset case only certain elements of the microcontroller device are reset, whilst in a destructive reset case a complete reset of the entire microcontroller device is performed. Accordingly, such a functional reset may typically be applied in response to non-critical reset events, whilst a destructive reset may be applied in response to a critical reset event. The limitation with conventional implementations is that reset events will always initiate a reset sequence ending in the device coming out of reset, even if the root cause of the reset has not been corrected by the reset sequence. However, in some cases it may be preferred to keep the device in a reset state in order to prevent reset cycling, in particular following a destructive reset.
For example, some non-critical events, such as a recurring system software watchdog timeout, may be handled as a destructive reset. If the root cause of the reset is not corrected by the reset sequence, this can lead to what is known as reset cycling (i.e. the device goes through a reset sequence, and the same or related reset event occurs again, thereby causing a new reset sequence to start). If such cycling continues it can lead to the situation where the error indicating event causing the reset spuriously does not occur, and the device starts to run in an inherently unsafe state since the root cause of the error will still be present. Furthermore, such reset cycling can also lead to increased power consumption. Summary of the invention
The present invention provides a microprocessor device and a method of managing reset events within a microprocessor device as described in the accompanying claims.
Specific embodiments of the invention are set forth in the dependent claims.
These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter.
Brief description of the drawings
Further details, aspects and embodiments of the invention will be described, by way of example only, with reference to the drawings. In the drawings, like reference numbers are used to identify like or functionally similar elements. Elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale.
FIG. 1 illustrates a simplified block diagram of an example of a part of a digital electronic device, such as a microprocessor device.
FIG. 2 illustrates a simplified block diagram of an example of a reset controller.
FIG. 3 illustrates a simplified flowchart of an example of a method of managing reset events.
FIG. 4 illustrates a simplified block diagram of an alternative example of a part of a digital electronic device, such as a microprocessor device.
FIG. 5 illustrates a simplified flowchart of an alternative example of a method of managing reset events.
Detailed description
The present invention will now be described with reference to a a microprocessor device comprising one or more processing cores. For clarity, the term 'microprocessor device' used herein is intended to incorporate programmable processing devices intended for use within general purpose applications, such as personal computers as well as programmable processing devices intended for use within embedded applications, such as microcontroller devices and system on chip devices, and specialised programmable processing devices such as digital signal processor devices. Because the illustrated examples may for the most part, be implemented using electronic components and circuits known to those skilled in the art, details will not be explained in any greater extent than that considered necessary as illustrated below, for the understanding and appreciation of the underlying concepts of the present invention and in order not to obfuscate or distract from the teachings of the present invention. Referring first to FIG. 1 , there is illustrated a simplified block diagram of an example of a part of a digital electronic device, such as a microprocessor device 100 implemented as an integrated circuit device comprising at least one die within a single integrated circuit package 105. In the example illustrated in FIG. 1 , the microprocessor device 100 comprises a minimum of a single processing core 1 10. In other systems not illustrated here it should be noted this processing core may comprise multiple cores, operating independently or that the processing core functionality can be spread across multiple cores. The microprocessor device 100 further comprises at least one reset module 120 comprising, for example, reset circuitry arranged to execute at least one reset sequence for the microprocessor device upon receipt of a reset signal.
In the illustrated example, reset module 120 is arranged to receive a reset signal 1 12 and to execute a reset sequence for components within the microprocessor device 100, such as for example a complete reset of the microprocessor device 100, upon the reset signal 1 12 indicating the detection of a reset event. Such a complete reset of the microprocessor device 100 may comprise substantially all components of the microprocessor device 100 being forced into a reset state, whereby such components of the microprocessor device 100 are "inaccessible" to other parts of a system (not shown) of which the microprocessor device 100 forms a part, and whereby such components of the microprocessor device 100 are unable to actively influence other parts of that system.
The microprocessor device 100 further comprises a reset management module 130. The reset management module 130 is arranged to detect a reset event, determine if at least one reset condition has been met upon detection of the reset event, and cause at least a part of the microprocessor device 100 to remain in a reset state upon determining that the at least one reset condition has been met. In particular for the example illustrated in FIG. 1 , the reset management module 130 comprises a reset controller 132 arranged to receive the reset signal 1 12, and thereby to detect a reset event. The reset controller 132 is further arranged to output a reset hold signal 135 to be received by the reset module 120. Upon detection of a reset event, as indicated by the reset signal 1 12, the reset controller 132 illustrated in FIG. 1 is arranged to determine if at least one reset condition has been met, and if the reset condition(s) has/have been met, to 'set' the reset hold signal 135, indicating to the reset module 120 that one or more components within the microprocessor device 100 are to remain in a reset state following execution of a reset sequence executed for the reset event detected by the reset management module 130. In this manner, upon determining that the reset condition(s) has/have been met, the reset management module 130 is arranged to prevent the microprocessor device 100, or one or more components thereof, from exiting a reset state upon certain conditions being met. For example, the reset management module 130 may be arranged to cause the microprocessor device 100, or one or more components thereof, to remain in a reset state upon the number of detected reset events equalling a predetermined value. For example, the reset management module 130 may be arranged to cause the microprocessor device 100, or one or more components thereof, to remain in a reset state upon a single reset event being detected, or after a plurality of reset events (i.e. a number equal to the predetermined value) have been detected. In this manner, reset cycling may substantially be prevented. Accordingly, a likelihood of a situation occurring in which the error indicating event causing the reset spuriously not occurring may be significantly reduced, and as such the likelihood of the microprocessor device 100 running in an inherently unsafe state as a result of such a situation may be significantly reduced. Furthermore, by preventing the reset cycling of one or more components within the microprocessor device 100, the increase in power consumption associated with reset cycling may be substantially avoided, thereby enabling a reduction in the overall power consumption of the microprocessor device 100.
For example, upon the reset hold signal 135 being set, the reset module 120 may be arranged to configure a "stay in reset" mode of operation in which one or more components of the microprocessor device 100 are held in a reset or reset-like state substantially indefinitely. Such a mode of operation may be implemented by forcing the respective logic within the microprocessor device 100, with the exception of the logic required to keep the components of the microprocessor device 100 in this mode, into their respective reset state, and keeping them in that state substantially indefinitely via the assertion of internal reset signal(s) (not shown). Such a mode of operation may additionally/alternatively be implemented by forcing external contacts of the integrated circuit device 105 for the microprocessor device 100 to their reset state via pin control signals (not shown) so that, from outside the integrated circuit device 105, the microprocessor device 100 appears to be in reset while internally the microprocessor device 100 could be in any state.
The microprocessor device 100 may remain in such a reset mode until a power cycle of the microprocessor device 100 is performed, whereby the microprocessor device 100 is powered off and subsequently powered on again. In this manner, the reset controller 130 will be re-initialised via the power-on signal 138. Additionally/alternatively, it is contemplated that the reset module 120 may be configurable by way of, say, an externally originating signal (not shown) to release the microprocessor device 100 from reset, enabling the reset controller 130 to be re-initialised via the software configurable initialisation signal 1 16.
FIG. 2 illustrates a simplified block diagram of an example of the reset controller 132. In the example illustrated in FIG. 2, the reset controller 132 comprises a reset count element 210. The reset count element 210 is arranged to read and store a value received at a first input 212 thereof upon receipt of an active edge received at a second input 214 thereof. The reset count element 210 is further arranged to output 216 a currently stored value. The second input 214 of the reset count element 210 is arranged to receive the reset signal 1 12 (FIG. 1 ), and thus is arranged to read and store a value received at the first input 212 thereof upon an active edge of the reset signal 1 12; i.e. upon detection of a reset event. In the illustrated example, the second input 214 of the reset count element 210 is arranged to receive the reset signal 1 12 via an OR gate 205, which receives the reset signal 1 12 at a first input 202 thereof, and an output 204 of which is operably coupled to the second input 214 of the reset count element 210.
The first input 212 of the reset count element 210 is operably coupled to an output 222 of a multiplexer element 220. A first data input 224 of the multiplexer element 220 is operably coupled to an output 232 of a subtraction element 230. A first input 234 of the subtraction element 230 is operably coupled to the output 216 of the reset count element 210, and as such is arranged to receive the value currently stored therein. A second input 236 of the subtraction element 230 is arranged to receive, in the illustrated example, a value, and the subtraction element 230 is arranged to output 232 a value equal to the value received at the first input 234 thereof minus the value received at the second input 236 thereof. As such, the subtraction element 230 in the illustrated example is arranged to output a value one less than the value stored in the reset count element 210.
A second data input 226 of the multiplexer element 220 is operably coupled to an output 242 of a programmable register 240, which in the illustrated example is arranged to configurably store a threshold value. The programmable register 240 in the illustrated example is arranged to receive a threshold configuration signal 1 18, for example output by the processing core 1 10 in FIG. 1 , and is arranged to configure the threshold value stored therein in accordance with the received threshold configuration signal 1 18. In this manner, software running on the processing core 1 10 is able to configure the threshold value stored within the programmable register 240. In some alternative examples, the programmable register may be pre-configured with a 'fixed' threshold value. The multiplexer element 220 is arranged to selectively output one of the values received at the first and second inputs 224, 226 thereof in accordance with a signal received at a control input 228 thereof. Specifically in the illustrated example, the multiplexer element 220 is arranged to output the value received at the first input 224 thereof (i.e. the decremented value output by the subtraction element 230) upon receipt of a '0' value at the control input 228 thereof, and to output the value received at the second input 226 thereof (i.e. the threshold value output by the programmable register 240) upon receipt of a value at the control input 228 thereof.
The control input 228 of the multiplexer element 220 is arranged to receive an initialisation signal 216. In this manner, upon the initialisation signal 216 being set to a '1 ' value, the multiplexer element 220 outputs the threshold value stored within the programmable register 240. The initialisation signal 216 is also provided to a second input 206 of the OR gate 205. Accordingly, upon the initialisation signal 216 being set to a value, the reset count element 210 reads and stores the threshold value output by the multiplexer element 220; thereby (re-)initialising the reset controller 132.
Conversely, when the initialisation signal 216 is set to a '0' value, the multiplexer element
220 outputs the decremented value output by the subtraction element 230. In this manner, upon an active edge of the reset signal 1 12; i.e. upon detection of a reset event, the reset count element 210 reads, stores and outputs the decremented value. In this manner, whilst the initialisation signal 216 comprises a '0' value, each time an active edge occurs within the reset signal 1 12, i.e. each time a reset event is detected, the value stored within, and output by, the reset count element 210 is decremented. The output 216 of the reset count element 210 is provided to a first input 252 of a comparator 250. A second input 254 of the comparator 250 is arranged to receive a '0' value. The comparator element 250 is arranged to output, as the reset hold signal 135, a value when the signal received at the first input 252 thereof equals the signal received at the second input 254 thereof, and a '0' value otherwise. Thus, the comparator element 250 in the illustrated example outputs a '0' value whilst the value stored within and output by the reset count element 210 does not equal 'Ο'. When the value stored within and output by the reset count element 210 equals 'Ο', i.e. when the number of detected reset events equals the threshold value stored within the programmable register 240, the comparator element 250 outputs 135 a value, indicating that one or more components within the microprocessor device 100 are to remain in a reset state following execution of a reset sequence..
Thus, the reset controller 130 in the illustrated example in effect comprises a counter arranged to decrement a value stored therein upon detection of a reset event, and to cause at least a part of the microprocessor device 100 to remain in a reset state upon a number of detected reset events equalling a threshold value. The reset controller 130 may alternatively be arranged to increment a value stored therein upon detection of a reset event, and to cause at least a part of the microprocessor device 100 to remain in a reset state upon a number of detected reset events equalling a threshold value. For example, the subtraction element 230 may be replaced with an addition element arranged increment the value stored within the reset count element 210, and the value stored within the programmable register 240 upon initialisation may be configured such that, upon the number of detected reset events equalling a desired threshold value, incrementing the value stored within the reset count element 210 causes the value stored therein to 'roll over' to 'Ο'.
In this manner, at least a part of the microprocessor device 100 may be caused to remain in a reset state upon the number of reset events detected equalling a (configurable) threshold value. Advantageously, by enabling such functionality within hardware, as illustrated in FIG. 1 , the burden of preventing reset cycling may be substantially removed from software, thereby simplifying software development etc. Additionally, since the window of opportunity for malfunction is significantly reduced by implementing the reset controller 132 within hardware, the likelihood of failure of the reset controller 132 is reduced. Furthermore, in the illustrated example a user is able to configure the threshold value based on which a reset hold signal may be set.
In the example illustrated in FIG. 2, the reset control module 132 further comprises a timer component 260. The timer 260 is arranged to receive at an input 262 thereof the reset signal 1 12, and to be initialised upon an active edge thereof; i.e. upon detection of a reset event. An output 264 of the timer 260 is operably coupled to the control input 228 of the multiplexer element 220 and the second input 206 of the OR gate 204. Specifically in the illustrated example, the output 264 of the timer 260 is operably coupled to a first input 272 of an OR gate 270, an output 274 of which is operably coupled to the control input 228 of the multiplexer 220 and the second input 206 of the OR gate 105. The timer 260 is arranged to output a value upon expiration thereof. Thus, upon expiration of the timer 260, the reset controller 132 is re-initialised. In this manner, when reset events are detected over a long period of time, as may be the case in long run times within industrial applications, components of the microprocessor device 100 being held in a reset state as a result of long term accumulation of reset events may be avoided.
A second input 276 of the OR gate 270 is arranged to receive an external initialisation signal 134, via which the reset controller 132 may be (re-)initialised. For example, and referring back to FIG. 1 , the reset management module 130 in the illustrated example comprises an OR gate 136 comprising a plurality of inputs. An output of the OR gate 136 is operably coupled to the reset controller 132 and arranged to provide the initialisation signal to the second input of the OR gate 270 within the reset controller 132. In this manner, a value received at any input of the OR gate 136 will (re-)initialise the reset controller 132. In the illustrated example, the OR gate 136 is arranged to receive at one input thereof a software configurable initialisation signal 1 16. In this manner, software running on the processing core 1 10 is able to re-initialise the reset controller 132. A further input of the OR gate 136 is arranged to receive a power-on indication signal 138. In this manner, the reset controller 132 may be initialised following power-on of the microprocessor device 100.
Referring now to FIG. 3, there is illustrated a simplified flowchart 300 of an example of a method of managing reset events within a microprocessor device, such as may be implemented within the microprocessor device 100 of FIG. 1. The method starts at 310 with the detection of a reset event, and moves on to 320 where a counter is, in the illustrated example, decremented. Next, at 330, it is determined whether the counter value equals 'Ο'. If the counter value does not equal 'Ο', the method moves on to 350 and a reset is initiated. Conversely, if the counter value does equal 'Ο', the method moves on to 340 where a reset hold signal is 'set', and the method moves on to 350 and a reset is then initiated. Referring now to FIG. 4, there is illustrated a simplified block diagram of another example of a part of a microprocessor device 400. In the example illustrated in FIG. 4, the microprocessor device 400 comprises multiple processing cores 410, 415. In the illustrated example, the microprocessor device 400 comprises n processing cores, where n being a positive integer of two or more such as four, eight, sixteen or another power of 2. The microprocessor device 400 comprises at least one reset module 120 comprising, for example, reset circuitry arranged to execute at least one reset sequence for the microprocessor device upon a reset signal 1 12 indicating the detection of a reset event.
The microprocessor device 400 further comprises a reset management module 430. The reset management module 430 is arranged to detect a reset event, determine if at least one reset condition has been met upon detection of the reset event, and cause at least a part of the microprocessor device 100 to remain in a reset state upon determining that the at least one reset condition has been met. In particular for the example illustrated in FIG. 4, the reset management module 430 comprises a reset controller 132 arranged to receive indications of a reset event (as described in greater detail below). The reset controller 132 is further arranged to output a reset hold signal 135 to be received by the reset module 120. Upon detection of a reset event, the reset controller 132 illustrated in FIG. 4 is arranged to determine if at least one reset condition has been met, and if the reset condition(s) has/have been met, to 'set' the reset hold signal 135, indicating to the reset module 120 that one or more components within the microprocessor device 100 are to remain in a reset state following execution of a reset sequence executed for the reset event detected by the reset management module 130. In this manner, upon determining that the reset condition(s) has/have been met, the reset management module 430 is arranged to prevent the microprocessor device 400, or one or more components thereof, from exiting a reset state upon certain conditions being met. For example, the reset management module 430 may be arranged to cause the microprocessor device 400, or one or more components thereof, to remain in a reset state upon the number of detected reset events equalling a predetermined value.
The reset management module 430 illustrated in FIG. 4 further comprises an access controller 435 arranged to receive requests to update the reset controller 132, and to perform arbitration of such received requests. Such requests may comprise, by way of example, requests to indicate a reset event, requests to re-initialise the reset controller 132, etc. In the illustrated example, the access controller 435 is arranged to receive requests to update the reset controller 132 from the processing cores 410, 415, and thus to perform arbitration of update requests from the plurality of processing cores 410, 415. For example, upon receipt of a request to update the reset controller 132 from a first processing core 410, the access controller 435 may be arranged to provide an indication of the received request to update the reset controller 132 to at least one further processing core 415, and to update the reset controller 132 upon receipt of confirmation of the update from the at least one further processing core 415. In some examples, the access controller 435 may be arranged to only update the reset controller 132 upon receipt of confirmation of the update from all further processing cores 415.
The indication provided to the further processing core(s) 415 may comprise a simple indication (e.g. a value) that a request to update the reset controller 132 has been received, and confirmation from the further processing core(s) 415 may similarly comprise a simple response, such as a '1 ' value. In some examples, the access controller 435 may be arranged to only update the reset controller 132 upon receipt of confirmation of the update from the further processing core(s) 415 within a limited period of time.
A request to update the reset controller 132 received from a first processing core 410 may comprise an access key. The indication of the received request to provided by the access controller 435 to the further processing core(s) 415 may thus comprises the access key received from the first processing core 410, and the access controller 435 may be arranged to only update the reset controller 132 upon receipt of confirmation of the update from the further processing core(s) 415 comprising the respective access key.
Thus, in this manner, arbitration may be provided between requests to update reset controller (e.g. to indicate a reset event or to re-initialise the reset controller 132) received from different processing cores 410, 415 within a multi-processor architecture.
Referring now to FIG. 5, there is illustrated a simplified flowchart 500 of an example of a method of managing reset events within a microprocessor device, such as may be implemented within the reset management module 430 of FIG. 4. The method starts at 510 with the receipt of a request to update a reset counter, such as the reset counter implemented within the reset controller 132, from a first processing core, such as processing core 410 in FIG. 4. Such a request may simply be in a form of an indication of a reset event. The method then moves on to 520, where an indication of the received request to update the reset counter is provided to other processing cores within the microprocessor device, such as to processing core 415. Next, at 530, if approval is not received from, say, all, or a minimum number of, other processing cores, or disapproval is received from, say, one or more other processing cores, the method moves on to 570 and a reset is initiated without further actions being taken. Conversely, if approval is received from, say, all, or a minimum number of, other processing cores, or no disapproval is received from any other processing core, the method moves on to 540 where the counter is decremented, in the illustrated example. The approval from the processing cores may occur prior to the actual counter update request as, for example, part of the device configuration process. Next, at 550, it is determined whether the counter value equals 'Ο'. If the counter value does not equal 'Ο', the method moves on to 570 and a reset is initiated without further actions being taken. Conversely, if the counter value does equal 'Ο', the method moves on to 560 where a reset hold signal, such as the reset hold signal 135 illustrated in FIG. 4, is 'set' and the method moves on to 570 and a reset is then initiated. Thus, a method and apparatus for managing reset events have been described. In particular, a method and apparatus of configurably and flexibly enabling the management of reset events have been described in which a digital electronic device, such as a microprocessor device, or one or more components thereof, may be prevented from exiting a reset state upon determining that one or more reset condition(s) has/have been met. For example, the microprocessor device, or one or more components thereof, may be prevented from exiting a reset state upon the number of detected reset events equalling a configurable, predetermined value. In this manner, reset cycling may substantially be prevented. Accordingly, a likelihood of a situation occurring in which the error indicating event causing the reset spuriously not occurring may be significantly reduced, and as such the likelihood of the microprocessor device running in an inherently unsafe state as a result of such a situation may be significantly reduced.
In the foregoing specification, the invention has been described with reference to specific examples of embodiments of the invention. It will, however, be evident that various modifications and changes may be made therein without departing from the broader scope of the invention as set forth in the appended claims and that the claims are not limited to the specific examples shown herein:.
The connections as discussed herein may be any type of connection suitable to transfer signals from or to the respective nodes, units or devices, for example via intermediate devices. Accordingly, unless implied or stated otherwise, the connections may for example be direct connections or indirect connections. The connections may be illustrated or described in reference to being a single connection, a plurality of connections, unidirectional connections, or bidirectional connections. However, different embodiments may vary the implementation of the connections. For example, separate unidirectional connections may be used rather than bidirectional connections and vice versa. Also, plurality of connections may be replaced with a single connection that transfers multiple signals serially or in a time multiplexed manner. Likewise, single connections carrying multiple signals may be separated out into various different connections carrying subsets of these signals. Therefore, many options exist for transferring signals.
Although specific conductivity types or polarity of potentials have been described in the examples, it will be appreciated that conductivity types and polarities of potentials may be reversed.
Each signal described herein may be designed as positive or negative logic. In the case of a negative logic signal, the signal is active low where the logically true state corresponds to a logic level zero. In the case of a positive logic signal, the signal is active high where the logically true state corresponds to a logic level one. Note that any of the signals described herein can be designed as either negative or positive logic signals. Therefore, in alternate embodiments, those signals described as positive logic signals may be implemented as negative logic signals, and those signals described as negative logic signals may be implemented as positive logic signals.
Furthermore, the terms 'assert' or 'set' and 'negate' (or 'de-assert' or 'clear') are used herein when referring to the rendering of a signal, status bit, or similar apparatus into its logically true or logically false state, respectively. If the logically true state is a logic level one, the logically false state is a logic level zero. And if the logically true state is a logic level zero, the logically false state is a logic level one.
Those skilled in the art will recognize that the boundaries between logic blocks are merely illustrative and that alternative embodiments may merge logic blocks or circuit elements or impose an alternate decomposition of functionality upon various logic blocks or circuit elements. Thus, it is to be understood that the architectures depicted herein are merely exemplary, and that in fact many other architectures can be implemented which achieve the same functionality. For example, in the illustrated examples the reset management module 130, 430 and the reset module 120 have been illustrated as separate logical blocks. However, it will be appreciated that the at least one reset management module 130, 430 and the reset module 120 may have one or more common components, and/or may comprise a single functional component.
Any arrangement of components to achieve the same functionality is effectively 'associated' such that the desired functionality is achieved. Hence, any two components herein combined to achieve a particular functionality can be seen as 'associated with' each other such that the desired functionality is achieved, irrespective of architectures or intermediary components. Likewise, any two components so associated can also be viewed as being 'operably connected,' or 'operably coupled,' to each other to achieve the desired functionality.
Furthermore, those skilled in the art will recognize that boundaries between the above described operations merely illustrative. The multiple operations may be combined into a single operation, a single operation may be distributed in additional operations and operations may be executed at least partially overlapping in time. Moreover, alternative embodiments may include multiple instances of a particular operation, and the order of operations may be altered in various other embodiments.
Also for example, the examples, or portions thereof, may implemented as soft or code representations of physical circuitry or of logical representations convertible into physical circuitry, such as in a hardware description language of any appropriate type.
Also, the invention is not limited to physical devices or units implemented in nonprogrammable hardware but can also be applied in programmable devices or units able to perform the desired device functions by operating in accordance with suitable program code, such as mainframes, minicomputers, servers, workstations, personal computers, notepads, personal digital assistants, electronic games, automotive and other embedded systems, cell phones and various other wireless devices, commonly denoted in this application as 'computer systems'.
However, other modifications, variations and alternatives are also possible. The specifications and drawings are, accordingly, to be regarded in an illustrative rather than in a restrictive sense.
In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word 'comprising' does not exclude the presence of other elements or steps then those listed in a claim. Furthermore, the terms 'a' or 'an,' as used herein, are defined as one or more than one. Also, the use of introductory phrases such as 'at least one' and 'one or more' in the claims should not be construed to imply that the introduction of another claim element by the indefinite articles 'a' or 'an' limits any particular claim containing such introduced claim element to inventions containing only one such element, even when the same claim includes the introductory phrases One or more' or 'at least one' and indefinite articles such as 'a' or 'an'. The same holds true for the use of definite articles. Unless stated otherwise, terms such as 'first' and 'second' are used to arbitrarily distinguish between the elements such terms describe. Thus, these terms are not necessarily intended to indicate temporal or other prioritization of such elements. The mere fact that certain measures are recited in mutually different claims does not indicate that a combination of these measures cannot be used to advantage.

Claims

Claims
1 . A microprocessor comprising at least:
one reset management module arranged to:
detect a reset event;
determine if at least one reset condition has been met, upon detection of the reset event; and
cause at least a part of the digital electronic device to remain in a reset state upon determining that the at least one reset condition has been met.
2. The microprocessor of Claim 1 , wherein the at least one reset management module comprises at least one reset controller comprising a counter, and the at least one reset controller is arranged to:
increment/decrement a value of the at least one counter upon detection of a reset event; and
cause at least a part of the digital electronic device to remain in a reset state upon a number of detected reset events equalling a threshold value.
3. The microprocessor of Claim 2, wherein the threshold value is configurable.
4. The microprocessor of Claim 2 or Claim 3, wherein the at least one reset controller comprises at least one timer, and the at least one reset controller is arranged to:
initialise the at least one timer upon detection of a reset event comprising; and re-initialise the at least one counter upon expiry of the at least one timer.
5. The microprocessor of any of Claims 2 to 4, wherein the at least one reset management module is arranged to re-initialise the at least one counter upon at least one from a group comprising at least one of:
receiving a software generated re-initialise signal; and
powering up of the digital electronic device.
6. The microprocessor of any of Claims 2 to 5, wherein the digital electronic device comprises multiple processing cores and the at least one reset management module comprises an access controller arranged to:
receive requests to update the at least one counter of the at least one reset management module; and
perform arbitration of received requests to update the at least one counter.
7. The microprocessor of Claim 6, wherein the access controller is arranged to, upon receipt of a request to update the at least one counter from a first processing core: provide an indication of the received request to update the at least one counter to at least one further processing core; and
to update the at least one counter upon receipt of confirmation of the update from the at least one further processing core.
8. The microprocessor of Claim 7, wherein the request to update the at least one counter
received from the first processing core comprises an access key.
9. The microprocessorof Claim 8, wherein the indication of the received request to update the at least one counter provided by the access controller to the at least one further processing core comprises the access key received from the first processing core.
10. The microprocessorof any of Claims 7 to 9, wherein the access controller is arranged to
update the at least one counter upon receipt of confirmation of the update from each of the further processing cores.
1 1. The microprocessorof any preceding Claim, wherein the at least one reset management module is arranged to:
detect a destructive reset event;
determine if at least one reset condition has been met upon detection of the destructive reset event; and
cause at least a part of the digital electronic device to remain in a reset state upon determining that the at least one reset condition has been met.
12. The microprocessorof any preceding Claim, wherein the reset management module is
arranged to output a reset hold signal upon determining that the at least one reset condition has been met.
13. The microprocessorof Claim 12 wherein the digital electronic device further comprises at least one reset module arranged to receive the reset hold signal output by the reset management module, and to hold the digital electronic device in a reset state upon receipt of the reset hold signal.
14. The microprocessorof any preceding Claim implemented as an integrated circuit device
comprising at least one die within a single integrated circuit package.
15. A method of managing reset events of a microprocessor, the method comprising:
detecting a reset event;
determining if at least one reset condition has been met upon detection of the reset event; and
causing at least a part of the digital electronic device to remain in a reset state upon determining that the at least one reset condition has been met.
PCT/IB2012/050901 2011-11-23 2012-02-27 Microprocessor, and method of managing reset events therefor WO2013076591A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201280057862.7A CN103975286B (en) 2011-11-23 2012-02-27 Microprocessor and the method for managing its resetting event
EP12851148.2A EP2783266B1 (en) 2011-11-23 2012-02-27 Microprocessor, and method of managing reset events therefor
US14/353,999 US9733952B2 (en) 2011-11-23 2012-02-27 Microprocessor, and method of managing reset events therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
IBPCT/IB2011/055259 2011-11-23
PCT/IB2011/055259 WO2013076530A1 (en) 2011-11-23 2011-11-23 Microprocessor device, and method of managing reset events therefor

Publications (1)

Publication Number Publication Date
WO2013076591A1 true WO2013076591A1 (en) 2013-05-30

Family

ID=48469210

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/IB2011/055259 WO2013076530A1 (en) 2011-11-23 2011-11-23 Microprocessor device, and method of managing reset events therefor
PCT/IB2012/050901 WO2013076591A1 (en) 2011-11-23 2012-02-27 Microprocessor, and method of managing reset events therefor

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/IB2011/055259 WO2013076530A1 (en) 2011-11-23 2011-11-23 Microprocessor device, and method of managing reset events therefor

Country Status (4)

Country Link
US (2) US9448811B2 (en)
EP (1) EP2783266B1 (en)
CN (1) CN103975286B (en)
WO (2) WO2013076530A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9448811B2 (en) 2011-11-23 2016-09-20 Freescale Semiconductor, Inc. Microprocessor device, and method of managing reset events therefor

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8846988B2 (en) 2010-07-09 2014-09-30 Celanese International Corporation Liquid esterification for the production of alcohols
US9841795B2 (en) * 2014-09-22 2017-12-12 Nxp Usa, Inc. Method for resetting an electronic device having independent device domains
US10635296B2 (en) 2014-09-24 2020-04-28 Microsoft Technology Licensing, Llc Partitioned application presentation across devices
US10448111B2 (en) 2014-09-24 2019-10-15 Microsoft Technology Licensing, Llc Content projection
US9678640B2 (en) * 2014-09-24 2017-06-13 Microsoft Technology Licensing, Llc View management architecture
US10025684B2 (en) 2014-09-24 2018-07-17 Microsoft Technology Licensing, Llc Lending target device resources to host device computing environment
US9769227B2 (en) 2014-09-24 2017-09-19 Microsoft Technology Licensing, Llc Presentation of computing environment on multiple devices
US9712153B1 (en) * 2016-03-03 2017-07-18 Nxp Usa, Inc. Method and device for reset modification based on system state
US20180173667A1 (en) * 2016-12-16 2018-06-21 Qualcomm Incorporated Hard reset over i3c bus
EP3742295A1 (en) * 2019-05-23 2020-11-25 NXP USA, Inc. Automatic firmware rollback
US11899567B2 (en) * 2021-09-10 2024-02-13 Cirrus Logic, Inc. System with hardware register and controller external to processor that facilitates transitions between firmware images using hardware register written with firmware image entry points
EP4254130A1 (en) * 2022-04-01 2023-10-04 STMicroelectronics Application GmbH Processing system, related integrated circuit, device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453430B1 (en) * 1999-05-06 2002-09-17 Cisco Technology, Inc. Apparatus and methods for controlling restart conditions of a faulted process
US20080155359A1 (en) * 2006-09-30 2008-06-26 Codman Neuro Sciences Sarl Resetting of multiple processors in an electronic device
US20080256374A1 (en) * 2007-04-10 2008-10-16 Harris Ian F Sharing Non-Sharable Devices Between an Embedded Controller and A Processor in a Computer System
US20100306518A1 (en) 2009-05-27 2010-12-02 Suryawanshi Ganesh R Method for managing the reset of a data processor

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6463529B1 (en) * 1989-11-03 2002-10-08 Compaq Computer Corporation, Inc. Processor based system with system wide reset and partial system reset capabilities
US5159217A (en) * 1991-07-29 1992-10-27 National Semiconductor Corporation Brownout and power-up reset signal generator
WO1993010493A1 (en) * 1991-11-12 1993-05-27 Microchip Technology Inc. Microcontroller power-up delay
US5442310A (en) * 1992-07-31 1995-08-15 Intel Corporation Circuitry and method for reset discrimination
JPH06149604A (en) * 1992-11-11 1994-05-31 Nissan Motor Co Ltd Multiplex system
US5528749A (en) 1994-08-05 1996-06-18 Thomson Consumer Electronics, Inc. Automatic instrument turn off/on for error correction
US5717907A (en) * 1994-08-17 1998-02-10 Alcatel Network Systems, Inc. Method and apparatus for generating a reset pulse responsive to a threshold voltage and to a system clock
US5860125A (en) * 1995-11-08 1999-01-12 Advanced Micro Devices, Inc. Integrated circuit including a real time clock, configuration RAM, and memory controller in a core section which receives an asynchronous partial reset and an asynchronous master reset
US6188256B1 (en) * 1998-12-07 2001-02-13 Philips Electronics North America Corporation Reset-out circuit with feed back capability
US6393590B1 (en) * 1998-12-22 2002-05-21 Nortel Networks Limited Method and apparatus for ensuring proper functionality of a shared memory, multiprocessor system
US6557108B1 (en) * 1999-05-28 2003-04-29 3Com Corporation System and method in a modem for providing a shortened reset pulse upon receipt of an external reset pulse
US7000146B2 (en) * 2001-05-31 2006-02-14 Intel Corporation Power loss memory back-up
US7003775B2 (en) 2001-08-17 2006-02-21 Hewlett-Packard Development Company, L.P. Hardware implementation of an application-level watchdog timer
US6946753B2 (en) * 2002-11-14 2005-09-20 Fyre Storm, Inc. Switching power converter controller with watchdog timer
US20050210179A1 (en) * 2002-12-02 2005-09-22 Walmsley Simon R Integrated circuit having random clock or random delay
US7219264B2 (en) * 2003-05-09 2007-05-15 Tekelec Methods and systems for preserving dynamic random access memory contents responsive to hung processor condition
US7333372B2 (en) * 2003-10-10 2008-02-19 Oki Electric Industry Co., Ltd. Reset circuit and integrated circuit device with reset function
US20050273585A1 (en) * 2004-06-08 2005-12-08 Leech Phillip A System and method associated with persistent reset detection
JP2007316855A (en) * 2006-05-24 2007-12-06 Toshiba Corp Electronic device and electronic device restarting method
US7827330B2 (en) * 2007-07-27 2010-11-02 Microchip Technology Incorporated Configuring multi-bit slave addressing on a serial bus using a single external connection
DE102007035586B4 (en) 2007-07-30 2009-12-17 Texas Instruments Deutschland Gmbh Watchdog device for monitoring an electronic system
DE102007035584B4 (en) 2007-07-30 2009-12-17 Texas Instruments Deutschland Gmbh Watchdog device for monitoring an electronic system
US8370644B2 (en) * 2008-05-30 2013-02-05 Spansion Llc Instant hardware erase for content reset and pseudo-random number generation
US8261134B2 (en) 2009-02-02 2012-09-04 Cray Inc. Error management watchdog timers in a multiprocessor computer
US20110179255A1 (en) * 2010-01-21 2011-07-21 Arm Limited Data processing reset operations
US8473717B2 (en) * 2010-02-03 2013-06-25 Arm Limited Coprocessor reset controller with queue for storing configuration information of subsequent sessions prior to completion of current session
US8024611B1 (en) 2010-02-26 2011-09-20 Microsoft Corporation Automated learning of failure recovery policies
US9448811B2 (en) 2011-11-23 2016-09-20 Freescale Semiconductor, Inc. Microprocessor device, and method of managing reset events therefor
US9135126B2 (en) * 2013-02-07 2015-09-15 International Business Machines Corporation Multi-core re-initialization failure control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453430B1 (en) * 1999-05-06 2002-09-17 Cisco Technology, Inc. Apparatus and methods for controlling restart conditions of a faulted process
US20080155359A1 (en) * 2006-09-30 2008-06-26 Codman Neuro Sciences Sarl Resetting of multiple processors in an electronic device
US20080256374A1 (en) * 2007-04-10 2008-10-16 Harris Ian F Sharing Non-Sharable Devices Between an Embedded Controller and A Processor in a Computer System
US20100306518A1 (en) 2009-05-27 2010-12-02 Suryawanshi Ganesh R Method for managing the reset of a data processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2783266A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9448811B2 (en) 2011-11-23 2016-09-20 Freescale Semiconductor, Inc. Microprocessor device, and method of managing reset events therefor

Also Published As

Publication number Publication date
US20140298005A1 (en) 2014-10-02
US9448811B2 (en) 2016-09-20
EP2783266B1 (en) 2018-05-23
CN103975286A (en) 2014-08-06
US9733952B2 (en) 2017-08-15
US20140317395A1 (en) 2014-10-23
CN103975286B (en) 2019-01-08
EP2783266A1 (en) 2014-10-01
WO2013076530A1 (en) 2013-05-30
EP2783266A4 (en) 2015-09-09

Similar Documents

Publication Publication Date Title
US9733952B2 (en) Microprocessor, and method of managing reset events therefor
US6243804B1 (en) Single cycle transition pipeline processing using shadow registers
EP2580657B1 (en) Information processing device and method
US10228744B2 (en) Method and apparatus for detecting and managing overcurrent events
US20170270064A1 (en) Low latency interrupt with existence of interrupt moderation
US8392643B2 (en) Data processing device, semiconductor integrated circuit device, and abnormality detection method
US10908987B1 (en) Handling memory errors in computing systems
US9958928B2 (en) Method and apparatus for controlling an operating mode of a processing module
US9959172B2 (en) Data processing device and method of conducting a logic test in a data processing device
US10318466B2 (en) Method and apparatus for handling outstanding interconnect transactions
US20160062426A1 (en) Chip Device and Electronic System thereof
US20110022897A1 (en) Microcontroller device, microcontroller debugging device, method of debugging a microcontroller device, microcontroller kit
US11144104B2 (en) Mode selection circuit for low-cost integrated circuits such as microcontrollers
US9116701B2 (en) Memory unit, information processing device, and method
JPH08339308A (en) Digital processor
US10013327B2 (en) Monitor, integrated circuit and method for monitoring an integrated circuit
US11537545B2 (en) Deadlock condition avoidance in a data processing system with a shared slave
US9661577B2 (en) Power management module and method therefor
US7475237B2 (en) Timer with periodic channel service
CN116088947A (en) Interrupt multiplexing system, method and electronic equipment
JP2000029747A (en) Runaway detecting circuit
JPH0444123A (en) Method and circuit for detection of undefined instruction in microprocessor

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14353999

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2012851148

Country of ref document: EP