This invention generally relates to processing devices having nonvolatile memory and, in particular, to power loss operations for such processing devices.
Electronic devices are continually facing performance pressures including providing increased computing power and providing varied control capabilities. The performance pressures also include needing ever increasing abilities to extend battery life or generally improve power efficiency of a computing device's operation. Accordingly, computing devices of various types include varying ways of enter low power modes that allow the given device to use less power. Low power modes generally include stopping use of various features or powering down certain peripherals for the device.
The lowest of the low power modes include actually removing power from a device's central processing unit (“CPU”). Entering into the lowest power modes, however, typically results in such devices not retaining the CPU's state. Therefore, the device must be reset upon wakeup to restore an operating state of the CPU and associated peripherals. A programmer of applications running on such a device is forced to handle this reset condition and manually restore the application's state to where it was before the device entered into deep low power mode, i.e., power down of the CPU. This is especially true as more complex software is used in embedded systems, such software including graphical display applications, radio frequency communications having complex protocol stacks, or real time operating systems. Such applications can require several thousand CPU cycles on device startup to initialize software variables before an intended task begins. In one example, running a C-Init and User-Init processes (initialization processes for the CPU and the user application, respectively) can require up to 101 milliseconds and 298 microseconds, respectively. In addition to the time delay, the rebooting process places a further drain on applicable battery resources as well. This is a painful process for customers using such computing or processing devices subject to interruptible power sources and/or using deep low power modes.
Generally speaking, pursuant to these various embodiments, a computing device apparatus facilitates use of a low power mode that includes powering off the device's CPU by including a hardware implemented process to trigger storage of data from the device's volatile storage elements such as various state information in non-volatile memory in response to entering the low power mode. A hardware based power management unit is configured to control the process including interrupting a normal processing order of the CPU and triggering the storage of the data in the non-volatile memory. In response to a wake-up event, the device is triggered to restore the data stored in the non-volatile memory to the volatile memory prior to execution of a wake up process for the CPU from the low power mode. The device includes a power storage element such as a capacitor that holds sufficient energy to complete the non-volatile data storage task prior to entering the low power mode. Optionally, the device's power management unit is configured to prevent device startup unless enough energy is present on the energy storage unit to complete a round trip restore and save operation.
So configured, the device need not execute a full reset of the CPU during the wake up from a deep low power mode. Instead, the CPU's and associated peripheral's stable operating state parameters are readily available and restorable from the non-volatile storage, which is able to store such information without consuming power. Also, the hardware implementation can be configured to trigger the storage process at a level of applied power sufficient to guarantee availability of enough power (even in a total power loss event) of storage of the CPU's and/or associated peripheral's state. Also, state information known to be corruptible during sudden power down events can be selectively ignored and not stored during the state storage process thereby allowing for only a limited wake up process, which is quicker and less power consuming that a full wake up routine for the CPU. These and other benefits will become apparent through study of the following description and drawings.
Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions and/or relative positioning of some of the elements in the figures may be exaggerated relative to other elements to help to improve understanding of various embodiments of the present invention. Also, common but well-understood elements that are useful or necessary in a commercially feasible embodiment are often not depicted in order to facilitate a less obstructed view of these various embodiments. It will further be appreciated that certain actions and/or steps may be described or depicted in a particular order of occurrence while those skilled in the art will understand that such specificity with respect to sequence is not actually required. It will also be understood that the terms and expressions used herein have the ordinary technical meaning as is accorded to such terms and expressions by persons skilled in the technical field as set forth above except where different specific meanings have otherwise been set forth herein.
Turning now to the figures, especially
The second non-volatile memory 115 is configured to store hardware (logic) state information. This memory 115 is part of a non-volatile sub-system 150, which includes a non-volatile controller 151 configured to control the non-volatile memory 115 and have direct access to volatile storage elements 110, 125 embedded in or associated with one or more of the central processing unit or one or more peripherals. The NVL memory 115 itself may be a flash-type memory, a ferro-magnetic random access memory (“FRAM”) based state retention technology that combines characteristics of FRAM memory with current data retention methods, or other technologies with similar features such as spin-torque magnetoresistive random access memory (“MRAM”) or resistive access memory (“RRAM”). Such memory technology is known in the art and requires no further description; see, for example, regarding FRAM U.S. Patent Application Publication Number 2014/0075088, which is incorporated herein by reference in its entirety. Typically, the non-volatile memory 115 will have a high write cycle endurance of 1010 or higher to be able to provide a sufficient shelf life for expected cycling of the device 100 during normal use.
Depending on the particular implementation, the NVL sub-system 150 may include any of a variety of aspects. Such systems typically include an NVL clock 152. Optionally, input and output multiplexers 154 and 156 control connection of individual volatile storage elements 125, 110 to an individual one or rows of one NVL array 115. In such an implementation, a dedicated bus 160 separate from a system bus 165 connects the non-volatile logic array(s) 115 to the configuration registers 125 and memory 110. The dedicated bus 160 allows direct connection to the configuration registers 125 and memory 110 to operate under the control of the NVL subsystem 150. Similarly, another separate bus 167 can be implemented to directly connect the configuration registers 125 and memory 110 to the input multiplexer 154 for connection to the NVL array(s) 115. Therefore, the transfer of data from the volatile storage to the NVL storage can be done under the NVL subsystem's hardware control.
In another approach illustrated in
Turning again to
The energy storage unit 130 is configured to hold enough energy to operate the computing device apparatus 100 after removal of normal operating power from the computing device apparatus 100. The power management unit 140 in turn uses the energy stored in the energy storage device 130 to trigger the non-volatile memory controller 151 to store data stored in the volatile storage elements 110, 125 in the non-volatile memory 115 in response to entering into the low power mode. After the data is saved in the non-volatile memory 115, the power management unit 140 effects switching off power to at least the CPU 105 as part of entering the low power mode. Optionally, the power management unit 140 is configured to prevent a startup of the computing device apparatus 100 unless enough energy is present on the energy storage unit 130 to complete a round trip restore and save operation to ensure stability of the device. One advantage of such an approach can be understood with reference to the example implementation illustrated in
Referring again to
Such a wake up process is illustrated in
As part of the wakeup process, the CPU 105 and the power management unit are configured to not automatically trigger execution of a cold boot initialization process in response to the detecting the restoration of power or the wake up request. By using the hardware configuration for automatically restoring the data from the NVL memory 115, the computing device can be placed into a state ready for execution of a loaded application faster and more efficiently than by executing the cold boot processing, including, for example, the C-Init and user-Init processes.
Efficiencies gained through application of these concepts are illustrated in the examples of
With reference again to
Certain data stored in the volatile storage 110 and 125 may not be stored in various approaches where such data is known to be unreliable or unhelpful during the restart operation. For example, the non-volatile memory controller may be configured to not store any one or combination of bus interface state information, serial communication module information, state machine information, or pipeline register information for the CPU 105 in response to entering the low power mode. Such information is not needed if the transition to the deep low power mode comes from a first low power mode where various ones of these aspects are already in an idle mode. Such parameters can be reset during the above mentioned “housekeeping” process, which is analogous to a typical wake up from an intermediate low power mode to reset these limited parameters. Because there is a relatively small number of such parameters subject to reset during the limited reboot, the wake up process remains much shorter in duration as illustrated in
Turning to
A device with a normally operating active application 605 uses hardware of the computing device including a power management unit to detect a low power event for the processing device. As illustrated in
During the deep low power mode state 660, the power management unit detects either restoration of power past a brownout level at step 665 to the computing device apparatus or a wakeup request from the central computing unit's power off state. In response to detecting the restoration of power or the wake up request, a low dropout voltage regulator is triggered on 670, and the non-volatile memory controller is triggered to restore 675 the data to the volatile storage elements from the non-volatile memory. With the state data restored, the device is back to a low power mode 680 from which a subsequent wake up process 685 for the central processing unit can be efficiently executed. The wake up process 685 includes a minimal clean-up operation compared to a typical prior cold boot wake up process, wherein the minimal clean-up operation is typically targeted to unstable variables whose storage in a NVL memory would not contribute to stable operation of the device.
So configured, this implementation of non-volatile logic allows the construction of a computing system that may only go through the initialization cycle once in its lifetime, even if the power supply is interrupted. The device state (CPU and peripherals) can be saved while the device is in a low power mode prior to entering a deep low power mode. From a software point of view operating on the device, the next power cycle will look like a simple wakeup from low power mode and not like a device startup, thereby conserving power and time. Additional advantages for executing this process during a low power mode include that because the system is inactive and all clocks are stopped (fixed state), the process may use a known and proven method to go into and come out of low power mode. Also, existing software supports low power mode operation today such that no new concept need be learned to implement. Moreover, the defined state allows for not saving all data from all data storage elements, for instance all flip-flops (area, power, wake up time saving). For example, the bus interface is idle such that there is no need to save idle state, serial communication is stopped such that there is no need to save serializer data, the state machine is idle such that there is no need to save idle state, pipeline registers in the CPU and peripherals are flushed because no save is needed in view of the separate non-volatile storage for storing that information, and a controlled stop/start via low power mode allows for software interaction for clean entry and exit of the deep low power mode NVL save and restore process.
Those skilled in the art will recognize that a wide variety of modifications, alterations, and combinations can be made with respect to the above described embodiments without departing from the scope of the invention, and that such modifications, alterations, and combinations are to be viewed as being within the ambit of the inventive concept.
This application is a continuation of and claims priority to U.S. patent application Ser. No. 16/451,260 filed Jun. 25, 2019, which is a continuation of U.S. patent application Ser. No. 15/016,449 filed on Feb. 5, 2016, now U.S. Pat. No. 10,331,203 granted Jun. 25, 2019, which claims the priority to U.S. Provisional Patent Application No. 62/272,473, filed Dec. 29, 2015, each of which are incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5978921 | Ryu | Nov 1999 | A |
6049884 | Tsuji | Apr 2000 | A |
6081752 | Benson | Jun 2000 | A |
6198651 | Lee | Mar 2001 | B1 |
6226556 | Itkin | May 2001 | B1 |
6711692 | Maeda | Mar 2004 | B1 |
6901298 | Govindaraj | May 2005 | B1 |
7225353 | Wong | May 2007 | B1 |
7639056 | Gururajarao | Dec 2009 | B2 |
7812633 | Lee | Oct 2010 | B1 |
8056088 | Dharmapurikar | Nov 2011 | B1 |
8892789 | Spry | Nov 2014 | B2 |
9092206 | Rzehak | Jul 2015 | B2 |
9432298 | Smith | Aug 2016 | B1 |
9698770 | Menezes | Jul 2017 | B1 |
9831696 | Iida | Nov 2017 | B2 |
10037071 | Dannenberg | Jul 2018 | B2 |
10331203 | Zwerg | Jun 2019 | B2 |
10381787 | Bodnaruk | Aug 2019 | B1 |
10554140 | Khamesra | Feb 2020 | B1 |
10651753 | Khamesra | May 2020 | B1 |
10651754 | Murugesan | May 2020 | B1 |
10693384 | Mondal | Jun 2020 | B1 |
10910954 | Shah | Feb 2021 | B1 |
20030196540 | Ishii | Oct 2003 | A1 |
20040073818 | Cheok | Apr 2004 | A1 |
20040085846 | Yokozeki | May 2004 | A1 |
20050141260 | Suzuki | Jun 2005 | A1 |
20050251617 | Sinclair | Nov 2005 | A1 |
20060015683 | Ashmore | Jan 2006 | A1 |
20060072369 | Madter | Apr 2006 | A1 |
20060080515 | Spiers | Apr 2006 | A1 |
20060242398 | Fontijn | Oct 2006 | A1 |
20060279977 | Shiga | Dec 2006 | A1 |
20070067435 | Landis et al. | Mar 2007 | A1 |
20070083743 | Tsang | Apr 2007 | A1 |
20070136523 | Bonella | Jun 2007 | A1 |
20070217404 | Kawamata | Sep 2007 | A1 |
20080155242 | Beelitz | Jun 2008 | A1 |
20080235443 | Chow et al. | Sep 2008 | A1 |
20080235471 | Feldman | Sep 2008 | A1 |
20080265962 | Waldrip | Oct 2008 | A1 |
20080320214 | Ma et al. | Dec 2008 | A1 |
20090144577 | Sarker | Jun 2009 | A1 |
20090237570 | Moriguchi | Sep 2009 | A1 |
20090267570 | Paunonen | Oct 2009 | A1 |
20090292937 | Bakker | Nov 2009 | A1 |
20100006378 | Blasko | Jan 2010 | A1 |
20100008175 | Sweere | Jan 2010 | A1 |
20100299295 | Leitheiser | Nov 2010 | A1 |
20110119506 | Tsai | May 2011 | A1 |
20110197018 | Noh | Aug 2011 | A1 |
20110202794 | Kim | Aug 2011 | A1 |
20110231685 | Huang et al. | Sep 2011 | A1 |
20120036346 | Bower | Feb 2012 | A1 |
20120042206 | Di Domenico | Feb 2012 | A1 |
20120079160 | Iyer | Mar 2012 | A1 |
20120137075 | Vorbach | May 2012 | A1 |
20120317143 | Fuchikami | Dec 2012 | A1 |
20130031388 | Sakarada | Jan 2013 | A1 |
20130042052 | Colgrove | Feb 2013 | A1 |
20130060993 | Park | Mar 2013 | A1 |
20130107632 | Van Tran et al. | May 2013 | A1 |
20130166866 | Yerushalmi | Jun 2013 | A1 |
20130326206 | Lueck | Dec 2013 | A1 |
20140006887 | Greene | Jan 2014 | A1 |
20140047247 | Rzehak | Feb 2014 | A1 |
20140075088 | Bartling | Mar 2014 | A1 |
20140075089 | Bartling et al. | Mar 2014 | A1 |
20140075174 | Bartling | Mar 2014 | A1 |
20140075232 | Bartling | Mar 2014 | A1 |
20140086266 | Strait et al. | Mar 2014 | A1 |
20140153325 | Wang | Jun 2014 | A1 |
20140181558 | Taha et al. | Jun 2014 | A1 |
20140208004 | Cohen | Jul 2014 | A1 |
20140304542 | Rogers et al. | Oct 2014 | A1 |
20140337560 | Chun et al. | Nov 2014 | A1 |
20150106560 | Perego | Apr 2015 | A1 |
20150189608 | Strait et al. | Jul 2015 | A1 |
20150323983 | Hobson | Nov 2015 | A1 |
20150378946 | Ali | Dec 2015 | A1 |
20160246355 | Dannenberg et al. | Aug 2016 | A1 |
20160266641 | Rogers et al. | Sep 2016 | A1 |
20160293231 | Shu | Oct 2016 | A1 |
20160342354 | Govindan | Nov 2016 | A1 |
20160344629 | Gray | Nov 2016 | A1 |
20170109054 | Waechter | Apr 2017 | A1 |
20170185139 | Zwerg | Jun 2017 | A1 |
20170344451 | Vanderah | Nov 2017 | A1 |
20180136843 | Lee et al. | Mar 2018 | A1 |
20180136851 | Batra et al. | May 2018 | A1 |
20190354163 | Bodnaruk | Nov 2019 | A1 |
20200067768 | Dome et al. | Feb 2020 | A1 |
20220121608 | Waechter | Apr 2022 | A1 |
Number | Date | Country |
---|---|---|
101458668 | Jun 2009 | CN |
102725709 | Oct 2012 | CN |
102789134 | Nov 2012 | CN |
102789134 | Nov 2012 | CN |
102929805 | Feb 2013 | CN |
104681087 | Jun 2015 | CN |
104885034 | Sep 2015 | CN |
Entry |
---|
Wang, Y., et al.; “A 3us Wake-up Time Nonvolatile Processor Based on Ferroelectric Flip-Flops”; IEEE 2012, 4 pages. |
Masui, S., et al., “Design and Applications of Ferroelectric Nonvolatile SRAM and Flip-Flop with Unlimited Read/Program Cycles and Stable Recall”; IEEE 2003 Custom Integrated Circuits conference; 2003, 4 pages. |
Udayakumar, K.R., et al.; “Manufacturable High-Density 8 Mbit One Transistor-One Capacitor Embedded Ferroelectric Random Access Memory”; Japanese Journal of Applied Physics; vol. 47, No. 4, 2008; 4 pages. |
Moise, T.S., et al.; “Electrical Properties of Submicron (>0.13 um2) Ir/PZT/Ir Capacitors Formed on W plugs”; IEEE 1999; 3 pages. |
Moise, T.S. et al.; “Demonstration of a 4Mb, High Density Ferroelectric Memory embedded with a 130nm, 5LM Cu/FSG Logic Process”; IEEE 2002; 4 pages. |
Wang, Y., et al.; “A Compression-based Area-efficient Recovery Architecture for Nonvolatile Processors”; EDAA 2012, dated Mar. 12-16, 2012, Dresden, Germany; 6 pages. |
Yu, W., et al.; “A Non-Volatile Microcontroller with Integrated Floating-Gate Transistors”; IEEE 2011; 6 pages. |
TMS9900 Datasheet, programmable system interface; Texas Instruments, retrieved from web at http://www.alldatasheet.com/datsheet-pdf/pdf/29082/TI/TMS9900.html (14 pages). |
Non-Final Office Action dated Mar. 30, 2023, U.S. Appl. No. 17/564,487, 27 pages. |
Number | Date | Country | |
---|---|---|---|
20210373647 A1 | Dec 2021 | US |
Number | Date | Country | |
---|---|---|---|
62272473 | Dec 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 16451260 | Jun 2019 | US |
Child | 17404125 | US | |
Parent | 15016449 | Feb 2016 | US |
Child | 16451260 | US |