Patent US6145103A successfully refreshed from Google Patents.
← Back to Patent Explorer
US6145103A Expired / Lapsed US ⏱️ 0.0 years remaining

Emulator support mode for disabling and reconfiguring timeouts of a watchdog timer

Assignee: GlobalFoundries Inc
•
Filing: 1998-04-07
•
Granted: 2000-11-07
•
Expires: 2018-04-07
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A microcontroller-based device according to the present invention provides a watchdog timer having an emulator support mode for disabling and reconfiguring time-outs. When the watchdog timer is placed in the emulator support mode, the watchdog timer is inhibited from counting. In a disclosed embodiment, the watchdog timer is inhibited from counting by deasserting a count enable signal. A watchdog time-out is thus prevented from occurring during the emulator support mode. Also, during the emulator support mode, the watchdog timer control register is writable, allowing the emulator to disable a watchdog timer, enable the timer, or program a new time-out value for the timer. The watchdog timer control register is writable regardless of the state of the enable bit of the timer. Further, in the emulator support mode, a watchdog timer current count becomes readable and writable at a predetermined register address above the watchdog timer control register subsequent to a write of a write key sequence to the watchdog timer control register. By writing and reading the predetermined register address location, the emulator is able to define and monitor a condition as the watchdog timer is approaching its timeout value. By monitoring a condition as the watchdog timer approaches its timeout value, a software debugger may better predict and appreciate the behavior of a microcontroller-based device prior to a watchdog time-out. In a disclosed embodiment, the watchdog timer current count is readable and writable through a watchdog timer count high register and a watchdog timer count low register.

Inventors

  • 👤 Melanie D. Typaldos
  • 👤 Patrick E. Maupin

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-05 19:42
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/362; G06F11/3648

Claims Analysis

Total Claims: 29
Claim 1
Independent Claim 84 words
A watchdog timer having an emulator support mode for disabling watchdog time-outs, comprising: a watchdog timer core; a watchdog timer control register for controlling timing for the watchdog timer core; and write enable logic for disabling writes to the watchdog timer control register in a normal operational mode subsequent to a write asserting an enable bit of the watchdog timer control register and enabling writes to the watchdog timer control register in the emulator support mode subsequent to a write asserting the enable bit.
Claim 2
Dependent Claim 84 words
A watchdog timer having an emulator support mode for disabling watchdog time-outs, comprising: a watchdog timer core; a watchdog timer control register for controlling timing for the watchdog timer core; and write enable logic for disabling writes to the watchdog timer control register in a normal operational mode subsequent to a write asserting an enable bit of the watchdog timer control register and enabling writes to the watchdog timer control register in the emulator support mode subsequent to a write asserting the enable bit.
Claim 3
Dependent Claim 60 words
The watchdog timer of claim 1, the write enable logic comprising: key detect logic for asserting a global register signal provided to the watchdog timer control register in the emulator support mode responsive to detection of a write key and deasserting the global register signal and a flag register signal on the next access to the watchdog timer control register.
Claim 4
Dependent Claim 38 words
The watchdog timer of claim 1, further comprising: emulator support mode detection logic for detecting the emulator support mode and providing an emulator support mode signal to the write enable logic when the emulator support mode is detected.
Claim 5
Dependent Claim 26 words
The watchdog timer of claim 1, further comprising: count disable logic for deasserting the count enable signal to disable counting by the watchdog timer control register.
Claim 6
Dependent Claim 65 words
A watchdog timer having an emulator support for reconfiguring watchdog time-outs, comprising: a watchdog timer core; a watchdog timer current counter for indicating a current count of the watchdog timer core; and current count logic for controlling the watchdog timer current counter, the current count logic being non-readable and non-programmable in a normal operational mode and being readable and programmable in an emulator support mode.
Claim 7
Dependent Claim 65 words
A watchdog timer having an emulator support for reconfiguring watchdog time-outs, comprising: a watchdog timer core; a watchdog timer current counter for indicating a current count of the watchdog timer core; and current count logic for controlling the watchdog timer current counter, the current count logic being non-readable and non-programmable in a normal operational mode and being readable and programmable in an emulator support mode.
Claim 8
Dependent Claim 40 words
The watchdog timer of claim 5, the current count logic comprising: a watchdog timer count low register readable and writable in the emulator support mode; and a watchdog timer count high register readable and writable in the emulator support mode.
Claim 9
Dependent Claim 38 words
The watchdog timer of claim 5, further comprising: emulator support mode detection logic for detecting the emulator support mode and providing an emulator support mode signal to the current count logic when the emulator support mode is detected.
Claim 10
Dependent Claim 82 words
A microcontroller having emulation support for disabling watchdog time-outs, comprising: a microprocessor core; a watchdog timer, comprising: a watchdog timer control register controlling timing for the watchdog timer; and write enable logic for disabling writes to the watchdog timer control register in a normal operational mode subsequent to a write asserting an enable bit of the watchdog timer control register and enabling writes to the watchdog timer control register subsequent to a write asserting the enable bit in the emulator support mode.
Claim 11
Dependent Claim 82 words
A microcontroller having emulation support for disabling watchdog time-outs, comprising: a microprocessor core; a watchdog timer, comprising: a watchdog timer control register controlling timing for the watchdog timer; and write enable logic for disabling writes to the watchdog timer control register in a normal operational mode subsequent to a write asserting an enable bit of the watchdog timer control register and enabling writes to the watchdog timer control register subsequent to a write asserting the enable bit in the emulator support mode.
Claim 12
Dependent Claim 53 words
The microcontroller of claim 8, the write enable logic comprising: key detect logic for asserting a global register signal to the watchdog timer control register in the emulator support mode responsive to detection of a write key and deasserting the global register signal on the next access to the watchdog timer control register.
Claim 13
Dependent Claim 28 words
The microcontroller of claim 8, the watchdog timer further comprising: count disable logic for deasserting the count enable signal to disable counting by the watchdog timer control register.
Claim 14
Dependent Claim 39 words
The microcontroller of claim 8, the watchdog timer further comprising: emulator support mode detection logic for detecting the emulator support mode and providing an emulator support mode signal to write enable logic when the emulator support mode is detected.
Claim 15
Dependent Claim 65 words
A microcontroller having emulator support for reconfiguring watchdog time-outs, comprising: a microprocessor core; a watchdog timer, comprising: a watchdog timer current counter for indicating a current count of the watchdog timer; and current count logic for controlling the watchdog timer current counter, the current count logic being non-readable and non-programmable in a normal operational mode and being readable and programmable in an emulator support mode.
Claim 16
Dependent Claim 65 words
A microcontroller having emulator support for reconfiguring watchdog time-outs, comprising: a microprocessor core; a watchdog timer, comprising: a watchdog timer current counter for indicating a current count of the watchdog timer; and current count logic for controlling the watchdog timer current counter, the current count logic being non-readable and non-programmable in a normal operational mode and being readable and programmable in an emulator support mode.
Claim 17
Dependent Claim 39 words
The microcontroller of claim 12, the current count logic comprising: a watchdog timer count low register readable and writable in the emulator support mode; and a watchdog timer count high register readable and writable in the emulator support mode.
Claim 18
Dependent Claim 40 words
The microcontroller of claim 12, the watchdog timer further comprising: emulator support mode detection logic for detecting the emulator support mode and providing an emulator support mode signal to the current count logic if the emulator support mode is detected.
Claim 19
Dependent Claim 22 words
The microcontroller of claim 14, further comprising: emulator support mode triggering logic for triggering entry and exit for the emulator support mode.
Claim 20
Dependent Claim 31 words
The microcontroller of claim 15, the emulator support mode triggering logic comprising: an emulator support mode bit for providing an emulator support mode signal to the emulator support mode detection logic.
Claim 21
Dependent Claim 27 words
The microcontroller of claim 15, wherein the emulator support mode triggering logic is only writable if an external pin of the microcontroller is pulled during a reset.
Claim 22
Independent Claim 46 words
A method of decoupling the timing of a watchdog timer from code execution by an emulator, comprising the steps of: detecting an indication to enter an emulator support mode of the watchdog timer; and entering an emulator support mode for inhibiting the watchdog timer from counting.
Claim 23
Independent Claim 46 words
A method of decoupling the timing of a watchdog timer from code execution by an emulator, comprising the steps of: detecting an indication to enter an emulator support mode of the watchdog timer; and entering an emulator support mode for inhibiting the watchdog timer from counting.
Claim 24
Dependent Claim 43 words
The method of claim 18, the watchdog timer including a current count counter, the step of entering an emulator support mode comprising the step of: deasserting a count enable signal to disable the current count counter from counting in the emulator support mode.
Claim 25
Dependent Claim 32 words
The method of claim 18, further comprising the steps of: detecting an indication to exit the emulator support mode; and exiting the emulator support mode to restart counting by the watchdog timer.
Claim 26
Independent Claim 47 words
A method of reconfiguring a watchdog time-out of a watchdog timer, comprising the steps of: placing the watchdog timer in an emulator support mode, a current count of the watchdog timer being programmable in the emulator support mode; and programming the current count of the watchdog timer.
Claim 27
Independent Claim 47 words
A method of reconfiguring a watchdog time-out of a watchdog timer, comprising the steps of: placing the watchdog timer in an emulator support mode, a current count of the watchdog timer being programmable in the emulator support mode; and programming the current count of the watchdog timer.
Claim 28
Dependent Claim 47 words
The method of claim 21, the watchdog timer including a watchdog timer count high register and a watchdog timer count low register, the step of programming the current count comprising the step of: reading the watchdog timer count high register and the watchdog timer count low register.
Claim 29
Dependent Claim 48 words
The method of claim 21, the watchdog timer including a watchdog timer count high register and a watchdog timer count low register, the step of programming the current count comprising the step of: writing to the watchdog timer count high register and the watchdog timer count low register.

References Cited (Backward Citations)

US4099255A Cited
US4998197A Cited
US5493659A Cited
US5644703A Cited
US5084814A Cited
US5233613A Cited
US5511209A Cited
US5790833A Cited
US5541943A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2003-11-07 2004-05-08 2004-11-07 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2007-11-07 2008-05-08 2008-11-07 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2011-11-07 2012-05-08 2012-11-07 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag