Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Electronic equipment and MCU firmware protection method thereof

A technology of electronic equipment and firmware, applied in the field of data security, can solve the problem of low security of MCU firmware, achieve the effect of preventing direct copying of MCU firmware and ensuring normal operation

Pending Publication Date: 2021-08-31
SEEED TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method for protecting the MCU firmware of an electronic device in view of the defect that the security of the MCU firmware in the prior art is not high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Electronic equipment and MCU firmware protection method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0045] figure 1 It is a flowchart of Embodiment 1 of the MCU firmware protection method of the electronic equipment of the present invention, and the MCU firmware protection method includes:

[0046] Step S10. In the production test phase of the electronic device, receive the firmware ciphertext sent by the production test tool and store it in the FLASH, wherein the production test tool uses the ID of the MCU as a key to encrypt the MCU Encrypt key codes and / ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to an electronic equipment and an MCU firmware protection method thereof.The MCU firmware protection method comprises the steps that in the production test stage of the electronic equipment, a firmware ciphertext sent by a production test tool is received and stored in a FLASH, and the production test tool uses an ID of an MCU as a secret key and stores the firmware ciphertext in the FLASH; encrypting the key code and / or key data of the MCU firmware to generate the firmware ciphertext; and in the use stage of the electronic equipment, if the key code needs to be operated or the key data needs to be used, decrypting the firmware ciphertext stored in the FLASH by taking the own ID as a key so as to obtain the key code or the key data, and operating the key code or using the key data. According to the technical scheme, normal operation of the MCU of the electronic equipment is guaranteed, and a cracker is prevented from directly copying the MCU firmware.

Description

technical field [0001] The invention relates to the field of data security, in particular to an electronic device and a method for protecting its MCU firmware. Background technique [0002] The protection of MCU firmware often takes multi-level protection: the first level is read protection, that is, to prevent others from reading; the second level is code-level protection, that is, even if others read the program of this MCU, it cannot be copied to Execute normally on another MCU. At present, the mainstream method of code-level protection is: compare the unique ID of the MCU (for example, the 96-bit unique ID of STM32) at runtime, if it is not the ID of the MCU itself, it will not be executed. Although this method can provide certain protection However, for high-value MCU firmware, it is still easy to crack through disassembly. For example, for the ARM instruction set, you can find the location of the assembly code that compares the unique ID, and then modify the 4-bit con...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/57G06F21/60
CPCG06F21/572G06F21/602
Inventor 胡章焱宋政斌
Owner SEEED TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products