Operation method and device of single-chip microcomputer and electronic equipment

By obtaining the execution status flag and performing security verification or restoring to the initial state when the microcontroller restarts, the problem of device damage and stability during traditional microcontroller firmware upgrades is solved, achieving higher upgrade feasibility and stability.

CN122285374APending Publication Date: 2026-06-26SUNGROW CHARGING TECH CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202411913299.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Traditional microcontroller firmware upgrade methods can easily brick devices, and cannot be recovered if there is a power outage or software operation failure during the upgrade process, reducing the feasibility and stability of the upgrade.

Method used

When the microcontroller restarts, it obtains the execution status identifier, determines the upgrade status through the first bootloader firmware, and performs a security check if the conditions are met; otherwise, it restores to the initial firmware state, ensuring the security and stability of the upgrade process.

Benefits of technology

It reduces the risk of device damage due to power outages or software operation failures, improves the feasibility and stability of firmware upgrades, and avoids problems such as devices failing to work properly.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses an operation method and device of a single-chip microcomputer and electronic equipment, and belongs to the field of single-chip microcomputers. The operation method of the single-chip microcomputer comprises the steps that under the condition that the single-chip microcomputer is restarted, the execution state of the single-chip microcomputer is obtained based on first bootstrap firmware; under the condition that the execution state identifier meets a first condition, performing security verification on the target execution program firmware based on the second bootstrap program firmware; and under the condition that the execution state identifier does not meet the first condition, recovering the single-chip microcomputer based on the initial bootstrap program firmware and the initial execution program firmware. According to the running method of the single-chip microcomputer, the risk that in the process that the single-chip microcomputer upgrades the bootstrap program firmware through the execution program firmware, power failure or software operation failure occurs, or the execution program firmware has logic or version compatibility problems, and consequently equipment becomes a brick or cannot work normally can be reduced, and the reliability of the single-chip microcomputer is improved. And the risk resistance and the reliability of upgrading the bootstrap program firmware through the execution program firmware are improved.
Need to check novelty before this filing date? Find Prior Art