STC12 series MCU cold start, hot start

The STC12 series MCU is better than the 89 series in design, and there is no original vulnerability. Therefore, the decryption can not be achieved by software decryption. Therefore, the original STC89 series MCU decryption method is not applicable to the STC12 MCU.

Cold start - refers to re-powering in the power off state. Cold boot is the download signal in order to detect the chip at the beginning of the download process. If there is, download it; if not, execute the original program.

Hot start - means that it is already in the power-on state, adding a reset signal to the reset terminal (and other types of reset), and the program is re-run.

Why do stc microcontrollers start cold?

The program of stc is divided into a boot area and a program area. The code of the boot area is mainly responsible for ISP online burning. The cold boot sequence of stc is first booted from the boot area to the program area. The hot start is the normal 51 startup mode, which can only be re-executed from the head of the program area. So you have to start cold. In addition, the STC provides a special register address, which can be directly jumped to the boot area by setting a function that can be hard reset by software.

Cold start reset and warm start reset

STC12 series MCU cold start, hot start

Cold start and hot start difference

Cold start has a big impact on electronic products.

From a circuit perspective:

A warm boot is to restart the system while the system is still powered up. A warm boot is also a software reset. Hot boot clears volatile system memory and reloads the operating system.

A cold boot is to power off the system, a cold boot also resets the hardware, it checks the hardware and reloads the operating system.

The most important thing is that the cold boot checks the hardware once. The current computer process does not seem obvious, but 40 years ago, this hardware check was very time consuming.

Cold start, the circuit will change from disconnection to passage. During the period, the mainframe is affected by the influence of the electric light when we turn on the light (I said it is similar). Everyone knows that there will be a big current shock when the electric equipment starts. .

50 OHM Braiding Cable

Braided Displayport Cable,Stainless Steel Braided Cable,2 Core Braided Cable,Braided Shield Cable

Zhejiang Wanma Tianyi Communication Wire & Cable Co., Ltd. , https://www.zjwmty.com