CN101329595A - Emulator of low power consumption mode - Google Patents
Emulator of low power consumption mode Download PDFInfo
- Publication number
- CN101329595A CN101329595A CNA2007100422450A CN200710042245A CN101329595A CN 101329595 A CN101329595 A CN 101329595A CN A2007100422450 A CNA2007100422450 A CN A2007100422450A CN 200710042245 A CN200710042245 A CN 200710042245A CN 101329595 A CN101329595 A CN 101329595A
- Authority
- CN
- China
- Prior art keywords
- control module
- consumption mode
- power consumption
- low
- emulation chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses an emulator with a low energy consumption mode, which comprises a chip for emulation and a control module; the chip for emulation and the control module are connected together by a state informing signal wire; the chip for emulation sends a low energy consumption state informing signal to the control module by a state informing signal wire so as to inform the control module that the chip for emulation is in the low energy consumption mode; the control module is connected with the chip for emulation by a wake-up signal wire; the control module sends a wake-up signal to the chip for emulation by the wake-up signal wire so as to wake up the chip for emulation and to cause the chip for emulation to exit the low energy consumption mode and switch to a monitoring mode. The emulator with a low energy consumption mode of the invention can control the emulator and the chip for emulation to exit the low energy consumption mode and back to a state of emulation debugging at anytime according to the will of users after the chip for emulation enters the low energy consumption mode, thus remarkably improving debugging efficiency.
Description
Technical field
The present invention relates to emulator, relate in particular to a kind of emulator of low-power consumption mode.
Background technology
In exploitation, in the debug processor chip during user program, the employed instrument of program development personnel is the emulator that has emulation chip.At present, a lot of processor chips are all supported IDLE (dormancy), CLOCK STOP low-power consumption modes such as (clock stop), and therefore, supporting with it emulator also needs to support to enter, withdraw from these low-power consumption modes when the artificial debugging user program.Even in a kind of chip, its various low-power consumption modes of supporting also have the various corresponding modes of waking up.
Different with product chips, emulation chip is except being operated in operational mode, and outside the run user program, in the time of also need needing to observe, revise chip parameter etc. the user, pattern out of service enters monitoring mode work, the operation monitoring program.
In existing emulator, have much and also can support low-power consumption mode, but all be to support to enter certain low-power consumption mode by the operation of user program, then must be by user program or from the IO signal of emulator outside etc., just can wake emulation chip up, withdraw from low-power consumption mode.After the run user program enters low-power consumption mode, emulation chip is in operational mode always, waiting for waking up of user program or external signal, at this moment, owing to entered low-power consumption mode, the essential key element of work such as the clock supply of emulation chip is (according to the low-power consumption mode difference that enters, and different) all may be cut off, emulation chip can't be worked, if needing emulator to return monitoring mode at this moment, the user carries out other debugging work, then since emulation chip can't work and can not switch to monitoring mode, simultaneously because emulator and which kind of low-power consumption mode what do not know that emulation chip enters be, emulator also can't use and wake mode accordingly up and wake emulation chip up, makes its mode switch out of service to monitoring mode then.If want emulation chip pattern out of service this moment, enter monitoring mode, use existing emulator, the user must use the awakening method corresponding with the low-power consumption mode that enters, by user program or external signal, just can wake emulation chip up, switch back monitoring mode then, get back to the artificial debugging state.
For user's program development work, emulator can not easily according to user's will, withdraw from low-power consumption mode and get back to the artificial debugging state after enter low-power consumption mode, has brought very large inconvenience to program debug work.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of emulator of low-power consumption mode, both emulation chip entered various low-power consumption modes really, and waken up mode accordingly and waken up, guarantee consistance with product chips work, again can be after emulation chip have entered low-power consumption mode, easily according to user's will, withdraw from low-power consumption mode at any time and get back to the state of artificial debugging.
In order to solve the problems of the technologies described above, the emulator of low-power consumption mode of the present invention comprises emulation chip and control module,
Described emulation chip is connected by state alert signal line with control module, and this emulation chip sends the low power consumpting state alert signal by state alert signal alignment control module, so that control module is known the residing low-power consumption mode of described emulation chip;
Described control module is connected by the wake-up signal line with emulation chip, and this control module is sent wake-up signal by wake-up signal alignment emulation chip, to wake emulation chip up, makes it withdraw from low-power consumption mode, and switches to monitoring mode.
The emulator of low-power consumption mode of the present invention, after making the emulation chip of emulator enter certain low-power consumption mode, can control the state that emulator and emulation chip withdraw from low-power consumption mode and get back to artificial debugging at any time easily according to user's will, be convenient to user's debugging, effectively improved debugging efficiency.
Description of drawings
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Accompanying drawing is the structural representation of the emulator of low-power consumption mode of the present invention.
Embodiment
As shown in drawings, the emulator 1 of low-power consumption mode of the present invention comprises emulation chip 2 and control module 3:
Described emulation chip 2 is connected by state alert signal line with control module 3, this emulation chip 2 sends the low power consumpting state alert signal by state alert signal alignment control module 3, so that control module 3 is known described emulation chip 2 residing low-power consumption modes, described emulation chip 2 comprises at least a low-power consumption mode, and every kind of low-power consumption mode has corresponding state alert signal line, be that emulation chip 2 has several low-power consumption modes, just have several state alert signal lines to be connected with control module 3.
When not being in low-power consumption mode, emulation chip 2 does not send the low power consumpting state alert signal by state alert signal alignment control module 3, and control module 3 just knows that emulation chip 2 is not in any low-power consumption mode; When emulation chip 2 is in certain low-power consumption mode, emulation chip 2 sends the low power consumpting state alert signal by the state alert signal alignment control module 3 of low-power consumption mode correspondence therewith, control module 3 just knows that emulation chip 2 is under certain low-power consumption mode, and described control module 3 can show emulation chip 2 residing low-power consumption modes by emulator 1 software interface.
Described control module 3 is connected by the wake-up signal line with emulation chip 2, and this control module 3 is sent wake-up signal by wake-up signal alignment emulation chip 2, to wake emulation chip 2 up, makes it withdraw from low-power consumption mode, and switches to monitoring mode.No matter which kind of low-power consumption mode emulation chip 2 is under, and the user can send wake-up signal to emulation chip 2 by the control module 3 of emulator 1 on described wake-up signal line.
In one embodiment of the invention, emulation chip 2 has two kinds of low-power consumption mode IDLE and CLOCK STOP, and then emulation chip 2 just has two state alert signal lines-IDLE state alert signal line 4 to be connected with control module 3 with CLOCK STOP state alert signal line 5.When not being in low-power consumption mode, emulation chip 2 does not send the low power consumpting state alert signal by IDLE state alert signal line 4 and CLOCK STOP state alert signal line 5 to control module 3, and control module 3 just knows that emulation chip 2 is not in any low-power consumption mode.When emulation chip 2 enters IDLE state or CLOCK STOP state owing to the operation of user program, then emulation chip 2 will send IDLE state or CLOCKSTOP state alert signal to control module 3 by IDLE state alert signal line 4 or CLOCK STOP state alert signal line 5, control module 3 just knows that emulation chip 2 is under IDLE state or the CLOCKSTOP state, and it still is that CLOCK STOP state shows that control module 3 will be in the IDLE state to emulation chip 2 by the emulator software interface.When emulation chip 2 withdraws from IDLE state or CLOCKSTOP state, emulation chip 2 has just stopped sending the low power consumpting state alert signal by IDLE state alert signal line 4 or CLOCK STOP state alert signal line 5 to control module 3, control module 3 just knows that emulation chip 2 has withdrawed from low-power consumption mode, and control module 3 will show that no longer emulation chip 2 is in IDLE state or CLOCK STOP state by the emulator software interface.
Control module 3 has a wake-up signal line 6 to be connected with emulation chip 2, no matter emulation chip 2 is under IDLE state or the CLOCK STOP state, the user can send wake-up signal to emulation chip 2 by the control module 3 of emulator 1 on wake-up signal line 6, wake emulation chip 2 up and make it switch to monitoring mode.Wake-up signal can wake all low-power consumption modes of emulation chip 2 up.Like this, when emulation chip enters IDLE state or CLOCK STOP state, if the user wishes to withdraw from this moment low-power consumption mode, turn back to the artificial debugging state, then can send wake-up signal to emulation chip 2 by the control module 3 of emulator 1, emulation chip 2 will withdraw from IDLE state or CLOCK STOP state, and enters monitoring mode, and emulator 1 has just returned to the artificial debugging state according to user's requirement.
After emulation chip 2 enters IDLE state or CLOCK STOP state, if the user does not require emulation chip 2 to switch back monitoring mode by the control module 3 of emulator 1, then adopt the wake mode corresponding with residing low-power consumption mode, emulation chip 2 still can wake IDLE state or the CLOCK STOP state of withdrawing from up by user program or external signal.Such wakeup process and product chips working condition are identical, are waken up post-simulation chip 2 and still are in operational mode.
The control module 3 of emulator of the present invention can adopt the chip microcontroller of standard.
Claims (3)
1, a kind of emulator of low-power consumption mode is characterized in that, comprises emulation chip and control module,
Described emulation chip is connected by state alert signal line with control module, and this emulation chip sends the low power consumpting state alert signal by state alert signal alignment control module, so that control module is known the residing low-power consumption mode of described emulation chip;
Described control module is connected by the wake-up signal line with emulation chip, and this control module is sent wake-up signal by wake-up signal alignment emulation chip, to wake emulation chip up, makes it withdraw from low-power consumption mode, and switches to monitoring mode.
2, emulator as claimed in claim 1 is characterized in that, described emulation chip comprises at least a low-power consumption mode, and every kind of low-power consumption mode has corresponding state alert signal line.
3, emulator as claimed in claim 1 is characterized in that, described control module can be passed through the residing low-power consumption mode of emulator software interface display emulation chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100422450A CN101329595A (en) | 2007-06-20 | 2007-06-20 | Emulator of low power consumption mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100422450A CN101329595A (en) | 2007-06-20 | 2007-06-20 | Emulator of low power consumption mode |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101329595A true CN101329595A (en) | 2008-12-24 |
Family
ID=40205421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007100422450A Pending CN101329595A (en) | 2007-06-20 | 2007-06-20 | Emulator of low power consumption mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101329595A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108121842A (en) * | 2016-11-30 | 2018-06-05 | 深圳市中兴微电子技术有限公司 | The verification method and device of the low energy consumption operation mode of multiprocessor system chip |
CN109002416A (en) * | 2018-06-26 | 2018-12-14 | 北京中电华大电子设计有限责任公司 | A kind of emulator and method for supporting chip low-power consumption debugging |
CN114115461A (en) * | 2014-08-06 | 2022-03-01 | 苹果公司 | Reduced size user interface for battery management |
US11989364B2 (en) | 2014-09-02 | 2024-05-21 | Apple Inc. | Reduced-size interfaces for managing alerts |
US12015294B2 (en) | 2019-05-09 | 2024-06-18 | Apple Inc. | Indication for protective charging mode |
US12095294B2 (en) | 2017-06-04 | 2024-09-17 | Apple Inc. | Multi-device charging user interface |
-
2007
- 2007-06-20 CN CNA2007100422450A patent/CN101329595A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114115461A (en) * | 2014-08-06 | 2022-03-01 | 苹果公司 | Reduced size user interface for battery management |
CN114115461B (en) * | 2014-08-06 | 2024-04-26 | 苹果公司 | Reduced size user interface for battery management |
US11989364B2 (en) | 2014-09-02 | 2024-05-21 | Apple Inc. | Reduced-size interfaces for managing alerts |
CN108121842A (en) * | 2016-11-30 | 2018-06-05 | 深圳市中兴微电子技术有限公司 | The verification method and device of the low energy consumption operation mode of multiprocessor system chip |
CN108121842B (en) * | 2016-11-30 | 2021-04-27 | 深圳市中兴微电子技术有限公司 | Method and device for verifying low-power-consumption working mode of multiprocessor system chip |
US12095294B2 (en) | 2017-06-04 | 2024-09-17 | Apple Inc. | Multi-device charging user interface |
CN109002416A (en) * | 2018-06-26 | 2018-12-14 | 北京中电华大电子设计有限责任公司 | A kind of emulator and method for supporting chip low-power consumption debugging |
US12015294B2 (en) | 2019-05-09 | 2024-06-18 | Apple Inc. | Indication for protective charging mode |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103105915B (en) | A kind of repositioning method of intelligent terminal and system | |
CN101329595A (en) | Emulator of low power consumption mode | |
CN102163071B (en) | Control circuit and power control method during reset thereof | |
CN203366017U (en) | Building talk-back intelligent terminal and crash restart system for same | |
CN101581964B (en) | Computer system and peripheral equipment drive method | |
CN105487638A (en) | Electronic circuit system and power consumption reducing method thereof | |
CN102929381B (en) | Electronic system and method for managing power supply thereof | |
CN102937928A (en) | Main board sleeping and waking device | |
CN201514611U (en) | Switching circuit of handheld device | |
CN2932734Y (en) | Computer intelligent electricity-saving socket | |
CN214623371U (en) | Vehicle-mounted Ethernet interface conversion device | |
CN219831808U (en) | Wake-up device | |
CN103488270B (en) | Electricity saving method and electronic installation thereof | |
CN102200822B (en) | Starting-up circuit compatible with ATX (Advanced Technology Extended) power supply and AT (Advanced Technology) power supply and computer | |
CN100452005C (en) | System and method for controlling interrput | |
CN101452337A (en) | Control method and device for peripheral equipment | |
CN202475463U (en) | Communication terminal monitoring device | |
CN209057212U (en) | A kind of super long standby time positioning device based on NB-IOT | |
CN204109111U (en) | Chipper running automatic monitoring device | |
CN104391465A (en) | Pressing plate with state monitoring function | |
CN204287836U (en) | A kind of pressing plate possessing status monitoring function | |
CN209345197U (en) | A kind of novel low-power consumption LoraWAN remote switch with control feedback | |
CN103123463A (en) | Method and device for controlling states of system | |
CN105929818B (en) | Microcontroller SOC built-in IO maps testing arrangement | |
CN104951047A (en) | Design method for awakening high-power-consumption CPU (central processing unit) system by low-power-consumption CPU system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20081224 |