CN103731730A - Device, television system and method for resetting and restarting MCU after on-line upgrade - Google Patents

Device, television system and method for resetting and restarting MCU after on-line upgrade Download PDF

Info

Publication number
CN103731730A
CN103731730A CN201310618384.9A CN201310618384A CN103731730A CN 103731730 A CN103731730 A CN 103731730A CN 201310618384 A CN201310618384 A CN 201310618384A CN 103731730 A CN103731730 A CN 103731730A
Authority
CN
China
Prior art keywords
module
power module
mcu control
enable
switch power
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
Application number
CN201310618384.9A
Other languages
Chinese (zh)
Inventor
阚伟生
刘松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201310618384.9A priority Critical patent/CN103731730A/en
Publication of CN103731730A publication Critical patent/CN103731730A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention provides a device, television system and method for resetting and restarting an MCU after on-line upgrade. The device comprises a second enabled module, the input end of the second enabled module is connected with a GPIO port of a CPU module, the output end of the second enabled module is respectively connected with a power module and a switching power module, after an MCU control module is upgraded, reset and restarted on line, the voltage of a GPIO port of the MCU control module is lowered, the voltage of the GPIO port of the CPU module is increased, and the second enabled module enables the power module and the switching power module. According to the device, television system and method for resetting and restarting the MCU after the on-line upgrade, a power failure does not happen to the system after the MCU is upgraded, reset and restarted.

Description

The device, television system and the method that after a kind of MCU online upgrading, reset and restart
Technical field
The present invention relates to MCU online upgrading technical field, relate in particular to the device, television system and the method that after a kind of MCU online upgrading, reset and restart.
Background technology
MCU(microprocessor of the prior art) after online upgrading, need to reset and restart, reinitialize and could normally work, but the power supply output enable end of power panel is also controlled by MCU.So after described MCU reset is restarted, the meeting that enables of the power supply output enable end of power panel was lost efficacy, and the inefficacy of power supply output enable can cause power panel no longer to system, to provide electric energy, so whole system power down shutdown.
When if described system is television system, after the MCU online upgrading of television system, resetting to restart to cause television system shutdown.Therefore,, after how realizing MCU online upgrading and resetting and to restart, there is not power down in system, becomes technical problem urgently to be resolved hurrily.
Summary of the invention
In view of this, the invention provides the device, television system and the method that after a kind of MCU online upgrading, reset and restart, it can be realized and complete MCU upgrading, and after reset is restarted, power down does not occur system.
The invention provides the device that resets and restart after a kind of MCU online upgrading, described device comprises the second enable module, the input of described the second enable module connects the GPIO interface of CPU module, and the output of described the second enable module connects respectively power module and switch power module.
After described MCU control module online upgrading resets and restarts, the GPIO interface voltage of described MCU control module is dragged down, and the GPIO interface voltage of described CPU module is drawn high, and described the second enable module enables described power module and described switch power module.
Further, device of the present invention also comprises the first enable module, and the input of described the first enable module connects the GPIO interface of MCU control module, and the output of described the first enable module connects respectively power module and switch power module;
Described MCU control module obtains after start-up command, the GPIO interface voltage of described MCU control module is drawn high, described the first enable module enables described power module and described switch power module, and described power module is described CPU module for power supply through described switch power module.
Further, when system of the present invention is normally moved, the GPIO interface voltage of described MCU control module is drawn high, and described the first enable module enables described power module and described switch power module; The GPIO interface voltage of described CPU module is also drawn high, and described the second enable module enables described power module and described switch power module.
Further, the first enable module of the present invention is unidirectional the first conduction device, the anodal GPIO interface that connects described MCU control module, and negative pole connects respectively the interface that enables of described power module and described switch power module;
Described the second enable module is the second one way conducting device, the anodal GPIO interface that connects described CPU module, and negative pole connects respectively the interface that enables of described power module and described switch power module.
Further, unidirectional the first conduction device of the present invention is the first diode; Described the second one way conducting device is the second diode.
Further, device of the present invention also comprises: an earth resistance, the ungrounded end of described earth resistance connects respectively the interface that enables of the first diode cathode, the second diode cathode, described power module and described switch power module.
Further, device of the present invention also comprises: a ground capacity, the ungrounded end of described ground capacity connects respectively the interface that enables of the first diode cathode, the second diode cathode and described power module, described switch power module.
The present invention also provides the television system that resets and restart after a kind of MCU online upgrading, comprise CPU module, MCU control module, power module, switch power module, described television system also comprises a reset rebooting device described above, the input of described reset rebooting device connects respectively MCU control module and CPU module, and the output of described reset rebooting device connects respectively power module and switch power module.
The present invention also provides a kind of method that resets and restart after MCU online upgrading, and described method comprises:
After MCU control module online upgrading, reset and restart, drag down the GPIO interface voltage of described MCU control module, the GPIO interface voltage of CPU module is still drawn high;
Enable power module and switch power module;
Power module continues system power supply through switch power module.
Further, the method for the invention also comprises step:
MCU control module obtains start-up command, draws high the GPIO interface voltage of described MCU control module;
Enable power module and switch power module;
Power module through switch power module to system power supply.
In prior art after MCU control module online upgrading resets and to restart, the GPIO(universal input output of MCU control module) interface voltage can be dragged down, like this power module and switch power module enable can inefficacy.But from technical solution of the present invention, after MCU control module online upgrading of the present invention resets and restarts, the GPIO interface voltage of CPU module is still drawn high, the second enable module can enable power module and switch power module, and power module and switch power module continue through the second enable module, television system to be powered.Therefore, MCU control module online upgrading of the present invention, after reset is restarted, even if drag down the GPIO interface voltage of MCU control module, CPU module still continues to send enable signal to power module and switch power module, still to television system power supply, can not there is the power down shutdown of television system in power module.
Accompanying drawing explanation
Fig. 1 is the structure drawing of device of the embodiment of the present invention one to embodiment five;
Fig. 2 is the television system structure chart of the embodiment of the present invention six and embodiment seven;
Fig. 3 resets after MCU online upgrading of the present invention to restart the flow chart of power down preventing method.
Embodiment
MCU control module online upgrading of the present invention, after reset is restarted, even if drag down the GPIO interface voltage of MCU control module, CPU module still continues to send enable signal to power module and switch power module, still to television system power supply, can not there is the power down shutdown of television system in power module.
Below by specific embodiment, further illustrate the invention process.
Embodiment mono-
Referring to Fig. 1, the invention provides the device 1 that resets and restart after a kind of MCU online upgrading, described device comprises the second enable module, and the input of described the second enable module connects the GPIO interface of CPU module, and the output of described the second enable module connects respectively power module and switch power module.
After the reset of MCU control module online upgrading is restarted, the GPIO interface voltage of MCU control module is dragged down, the GPIO interface voltage of CPU module is drawn high, CPU module enables power module and switch power module by the second enable module, and power module continues through switch power module system power supply.
Due to after MCU control module online upgrading of the present invention resets and restart, even if the GPIO interface voltage of MCU control module is dragged down, CPU module still continues to send enable signal to power module and switch power module.Therefore, power module of the present invention MCU control module online upgrading reset restart after still to system power supply, power down shutdown that can generation systems.
Further, the device 1 that power down preventing is restarted in reset also comprises the first enable module 101, and the input of described the first enable module connects the GPIO interface of MCU control module, and the output of described the second enable module connects respectively power module and switch power module.
After MCU control module obtains start-up command, the GPIO interface voltage of MCU control module is drawn high, and the first enable module enables power module and switch power module, power module through switch power module to system power supply.
When system is normally moved, the GPIO interface voltage of MCU control module is drawn high, and the first enable module 101 enables power module and switch power module.The GPIO interface voltage of CPU module is also drawn high, and the second enable module 102 enables power module and switch power module.
Because MCU control module is under holding state, be also powered, when MCU control module receives after start-up command, MCU draws high its GPIO interface voltage, enables power module and switch power module, and whole system is powered.When system is normally moved, the GPIO interface voltage of MCU control module and CPU module is all drawn high, so these two functional modules can enable power module and switch power module by the first enable module 101 and the second enable module 102 respectively, make power module continue through switch power module system power supply.
Concrete, the first enable module 101 is unidirectional the first conduction device, the anodal GPIO interface that connects MCU control module, and negative pole connects respectively the interface that enables of power module and switch power module.
The second enable module 102 is the second one way conducting device, the anodal GPIO interface that connects CPU module, and negative pole connects respectively the interface that enables of power module and switch power module.
Owing to adopting one way conducting device to form the first enable module and the second enable module, when making the present invention to enable power module and switch power module according to the height of receiver voltage, the electric current of the GPIO interface of MCU control module and the GPIO interface of CPU module can not pour in down a chimney yet, and prevents that MCU control module 102 and CPU module 101 from impacting mutually.
Further, unidirectional the first conduction device of the present embodiment is the first diode D1; The second one way conducting device is the second diode D2.
Diode is preferably Schottky diode.Adopt diode as one way conducting device, with low cost, circuit design is simple.
Further, the device 1 of restarting that resets after the present embodiment MCU online upgrading also comprises an earth resistance R, and the ungrounded end of earth resistance R connects respectively the interface that enables of the first diode D1 negative pole, the second diode D2 negative pole and power module, switch power module.
Adopt earth resistance R to carry out the components and parts of further protective device 1, prevent the generation of noise current.The value of earth resistance R need to be chosen according to system by those skilled in the art, and the present embodiment is 47K ohm preferably.
Further, the device 1 of restarting that resets after MCU online upgrading of the present invention also comprises a ground capacity C, and the ungrounded end of ground capacity C connects respectively the interface that enables of the first diode D1 negative pole, the second diode D2 negative pole and power module, switch power module.
Employing ground capacity C further purifies the running environment of MCU control module and CPU module, filtering alternating current.The value of ground capacity C need to be chosen according to system by those skilled in the art, and the present embodiment is 0.01uF preferably.
Embodiment bis-
Referring to Fig. 2, the present invention also provides a kind of MCU online upgrading reset to restart the television system 6 of power down preventing, comprises CPU module 201, MCU control module 202, power module 203, switch power module 204.
System of the present invention also comprises power down preventing device 205, and the input of power down preventing device 205 connects respectively MCU control module 202 and CPU module 201.The output of power down preventing device 205 connects respectively power module 203 and switch power module 204.
After the 202 online upgradings resets of MCU control module are restarted, the GPIO interface voltage of MCU control module 202 is dragged down, the GPIO interface voltage of CPU module is drawn high, by power down preventing device 205, enable power module 203 and switch power module 204, power module 203 continues television system 1 power supply through switch power module 204.
Due to after MCU control module of the present invention 202 online upgradings reset and restart, even if drag down the GPIO interface voltage of MCU control module 202, CPU module 201 still continues transmission enable signal to power module 203 and switch power module 204.Therefore, power module 203 of the present invention MCU control module 202 online upgradings reset restart after still to system power supply, power down shutdown that can generation systems, does not affect user and watches and improved experience effect.
When MCU control module 202 obtains after start-up command, the GPIO interface voltage of MCU control module 202 is drawn high, by power down preventing device 205, enable power module 203 and switch power module 204, power module 203 is through 1 power supply of 204 pairs of television systems of switch power module.
When system is normally moved, the GPIO interface voltage of MCU control module 202 and CPU module 201 is all drawn high, and by power down preventing device 205, enables power module 203 and switch power module 204, and power module 203 is through 1 power supply of 204 pairs of television systems of switch power module.
Referring to Fig. 2, the present embodiment television system 1 also comprises power management module 206, for 1 power supply of 204 pairs of television systems of connecting valve power module.
Further, power down preventing device 205 of the present invention comprises:
Unidirectional the first conduction device 2051, the anodal GPIO interface that connects MCU control module 202, negative pole connects respectively the interface that enables of power module 203 and switch power module 204.
The second one way conducting device 2052, the anodal GPIO interface that connects CPU module 201, negative pole connects respectively the interface that enables of power module 203 and switch power module 204.
Owing to adopting one way conducting device to form power down preventing device, when making power down preventing device 205 of the present invention to enable power module 203 and switch power module 204 according to the height of receiver voltage, the electric current of the GPIO interface of MCU control module 202 and the GPIO interface of CPU module 201 can not pour in down a chimney yet, and prevents that MCU control module 202 and CPU module 201 from impacting mutually.
Further, unidirectional the first conduction device 2051 of the present invention is the first diode D1; The second one way conducting device 2052 is the second diode D2.
Diode is preferably Schottky diode.
Further, power down preventing device 205 of the present invention also comprises an earth resistance R, and the ungrounded end of earth resistance R connects respectively the interface that enables of the first diode D1 negative pole, the second diode D2 negative pole and power module, switch power module.
Adopt earth resistance R further to protect the components and parts of intelligent television system 1, prevent the generation of noise current.The value of earth resistance R need to be chosen according to system by those skilled in the art, and the present embodiment is 47K ohm preferably.
Further, power down preventing device 205 of the present invention also comprises a ground capacity C, and the ungrounded end of ground capacity C connects respectively the interface that enables of the first diode D1 negative pole, the second diode D2 negative pole and power module, switch power module.
Employing ground capacity C further purifies the running environment of MCU control module 202 and CPU module 201, filtering alternating current.The value of ground capacity C need to be chosen according to system by those skilled in the art, and the present embodiment is 0.01uF preferably.
Embodiment tri-
Referring to Fig. 3, the present invention also provides a kind of MCU online upgrading reset to restart the method for power down preventing, and the method comprises:
301, after MCU control module online upgrading, reset and restart, the GPIO interface voltage of MCU control module is dragged down, and the GPIO interface voltage of CPU module is still drawn high.
After MCU control module online upgrading, reset and restart, reset is started shooting after restarting i.e. shutdown again, means that power module can be no longer the power supply of MCU control module, and after MCU control module is restarted, power module is MCU control module palace again.Because MCU control module can of short durationly not powered by power module, the GPIO interface voltage of MCU control module can be dragged down.After MCU control module online upgrading, reset and restart of short duration not powered by power module of MCU control module causing, do not affect CPU module and powered by power module.CPU module, after television system start, is powered by power module, and is resetted and restart after MCU control module online upgrading, and now CPU module is still powered by power module, still keeps drawing high the GPIO interface voltage of CPU module.
302, enable power module and switch power module.
Because the GPIO interface voltage of CPU module keeps the state of being drawn high always, even if reset and restart after MCU control module online upgrading, during MCU control module is not powered by power module, CPU module still, by the second enable switch, enables power module and switch power module.
The second enable switch is a diode D2 preferably, because the GPIO interface voltage of CPU module keeps drawing high state during MCU control module is not powered by power module, diode D2 can be switched on, produce enable signal to power module and switch power module, enable power module and switch power module.
303, power module continues television system to power through switch power module.
After power module and switch power module are enabled, power module still continues television system to power through switch power module.After MCU control module online upgrading, reset while restarting, although can there is of short duration not powered by power module in MCU control module, but because the GPIO of CPU module is drawn high, CPU module by the second enable switch still can MCU control module of short duration by power module, do not powered during enable power module and switch power module.Because power module and switch power module reset while restarting after MCU control module online upgrading, still can be enabled always, can there is not circut breaking in television system.
Further, the inventive method also comprises
When MCU control module obtains start-up command, draw high the GPIO interface voltage of MCU control module.
Due to when television system is during in holding state, only MCU control module is powered by power module, comprises that other modules of CPU module are not powered by power module.When MCU control module obtains start-up command, draw high the GPIO interface voltage of MCU control module.
Enable power module and switch power module.
Because the GPIO interface voltage of MCU control module is drawn high, it still, by the first enable switch, enables power module and switch power module.
Preferably, the first enable switch is one first diode D1, and when the GPIO of MCU control module interface voltage is drawn high, the first diode D1 conducting, sends enable signal to power module and switch power module, enables power module and switch power module.
Power module is powered to television system through switch power module, television system start work.
After power module and switch power module are enabled, the CPU module for power supply to television system, television system start work.After CPU module is powered, draw high its GPIO interface voltage, by the second enable switch, send enable signal to power module and switch power module.As long as CPU module is powered by power module, its GPIO interface voltage is just drawn high, and CPU module just can enable power module and switch power module by the second enable switch.Even if MCU control module resets while restarting, although of short duration not powered by power module of MCU control module meeting do not affect CPU module and powered by power panel.Because power module and switch power module reset while restarting after MCU control module online upgrading, still can be enabled always, can there is not circut breaking in television system.
These are only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (10)

1. the device that resets and restart after a MCU online upgrading, it is characterized in that, described device comprises the second enable module, and the input of described the second enable module connects the GPIO interface of CPU module, the output of described the second enable module connects respectively power module and switch power module
After described MCU control module online upgrading resets and restarts, the GPIO interface voltage of described MCU control module is dragged down, and the GPIO interface voltage of described CPU module is drawn high, and described the second enable module enables described power module and described switch power module.
2. device according to claim 1, it is characterized in that, described device also comprises the first enable module, and the input of described the first enable module connects the GPIO interface of MCU control module, the output of described the first enable module connects respectively power module and switch power module
Described MCU control module obtains after start-up command, the GPIO interface voltage of described MCU control module is drawn high, described the first enable module enables described power module and described switch power module, and described power module is described CPU module for power supply through described switch power module.
3. device according to claim 2, is characterized in that, when system is normally moved, the GPIO interface voltage of described MCU control module is drawn high, and described the first enable module enables described power module and described switch power module; The GPIO interface voltage of described CPU module is also drawn high, and described the second enable module enables described power module and described switch power module.
4. device according to claim 3, it is characterized in that, described the first enable module is unidirectional the first conduction device, the anodal GPIO interface that connects described MCU control module, and negative pole connects respectively the interface that enables of described power module and described switch power module;
Described the second enable module is the second one way conducting device, the anodal GPIO interface that connects described CPU module, and negative pole connects respectively the interface that enables of described power module and described switch power module.
5. device according to claim 4, is characterized in that, described unidirectional the first conduction device is the first diode; Described the second one way conducting device is the second diode.
6. device according to claim 5, it is characterized in that, described device also comprises: an earth resistance, the ungrounded end of described earth resistance connects respectively the interface that enables of the first diode cathode, the second diode cathode, described power module and described switch power module.
7. device according to claim 6, it is characterized in that, described device also comprises: a ground capacity, the ungrounded end of described ground capacity connects respectively the interface that enables of the first diode cathode, the second diode cathode and described power module, described switch power module.
8. the television system that resets and restart after a MCU online upgrading, comprise CPU module, MCU control module, power module, switch power module, it is characterized in that, described television system also comprises just like the reset rebooting device described in claim 1-7 any one, the input of described reset rebooting device connects respectively MCU control module and CPU module, and the output of described reset rebooting device connects respectively power module and switch power module.
9. a method that resets and restart after MCU online upgrading, is characterized in that, described method comprises:
After MCU control module online upgrading, reset and restart, drag down the GPIO interface voltage of described MCU control module, the GPIO interface voltage of CPU module is still drawn high;
Enable power module and switch power module;
Power module continues system power supply through switch power module.
10. method according to claim 9, is characterized in that, described method also comprises step:
MCU control module obtains start-up command, draws high the GPIO interface voltage of described MCU control module;
Enable power module and switch power module;
Power module through switch power module to system power supply.
CN201310618384.9A 2013-11-27 2013-11-27 Device, television system and method for resetting and restarting MCU after on-line upgrade Pending CN103731730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310618384.9A CN103731730A (en) 2013-11-27 2013-11-27 Device, television system and method for resetting and restarting MCU after on-line upgrade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310618384.9A CN103731730A (en) 2013-11-27 2013-11-27 Device, television system and method for resetting and restarting MCU after on-line upgrade

Publications (1)

Publication Number Publication Date
CN103731730A true CN103731730A (en) 2014-04-16

Family

ID=50455627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310618384.9A Pending CN103731730A (en) 2013-11-27 2013-11-27 Device, television system and method for resetting and restarting MCU after on-line upgrade

Country Status (1)

Country Link
CN (1) CN103731730A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426619A (en) * 2017-01-26 2017-12-01 青岛海信电器股份有限公司 Intelligent television and its under-voltage protection fault-tolerance approach

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426619A (en) * 2017-01-26 2017-12-01 青岛海信电器股份有限公司 Intelligent television and its under-voltage protection fault-tolerance approach
CN107426619B (en) * 2017-01-26 2019-12-06 青岛海信电器股份有限公司 Intelligent television and undervoltage protection fault-tolerant method thereof

Similar Documents

Publication Publication Date Title
CN208188613U (en) For reducing the power supply system and electronic equipment of power consumption
CN103105915A (en) Intelligent terminal reset method and intelligent terminal reset system
CN103227813A (en) Automatic long-distance updating system and method for family Internet of Things system
CN103713724A (en) Outage starting circuit with battery equipment and control method
WO2016197883A1 (en) Method and system for updating program of microcontroller online
CN102508536A (en) One-button startup and shutdown circuit in embedded system and control method thereof
CN203632634U (en) Automatic outage delay starting device
CN104914966B (en) A kind of single-chip microcontroller Self-disconnecting restarts circuit
WO2017076147A1 (en) Remote upgrade system
CN204633817U (en) A kind of remote desktop control system
CN103731730A (en) Device, television system and method for resetting and restarting MCU after on-line upgrade
CN101901168A (en) Watchdog resetting system and resetting method thereof
CN111712776A (en) Power management for computing and communication systems during power surges and sudden power failure events
JP2011059930A (en) Power supply unit
CN108170049A (en) A kind of control system that power consumption is reduced based on bluetooth equipment control intelligence system
CN105302653A (en) Circuit structure used for preventing start of tablet computer caused by mistakenly touching power key
CN204536998U (en) A kind of display device possessing functional module and reset
CN203552244U (en) Hardware watchdog device for computer and software system
CN203590330U (en) MCU online upgrade, reset and restart device and television system
CN203746007U (en) Microprocessor management circuit for self-powered microprocessor protection device
CN204480233U (en) A kind of automatic download circuit of STC single-chip microcomputer supporting 5V and 3.3V
CN204650218U (en) A kind of single-chip microcomputer Self-disconnecting restarts circuit
CN105098854A (en) Charging method and electronic apparatus
CN203858622U (en) Device for achieving switching between double BOOTs
CN203350646U (en) Automatic downloading device of single-chip microcomputer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140416

RJ01 Rejection of invention patent application after publication