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

Code locking circuit with code locking function for microcontroller and code locking method

A microcontroller, lock code technology, applied in the field of electronics, can solve the problems of locking and partial locking cannot be executed

Inactive Publication Date: 2010-07-21
HOLTEK SEMICON
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The technical problem to be solved by the present invention is to provide a micro-controller code lock circuit and code lock method with a code lock function, which solves the problem of attempting to steal when the voltage of the programming pin is lowered from high and reset after the blank test. The copyer can make the lock and partial lock unable to be executed by changing the bit where the lock and partial lock are located, so that the copyer can steal the program code when the programming pin voltage rises to load the program code.

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
  • Code locking circuit with code locking function for microcontroller and code locking method
  • Code locking circuit with code locking function for microcontroller and code locking method
  • Code locking circuit with code locking function for microcontroller and code locking method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0081] see image 3 , image 3 It is a structural block diagram of a microcontroller with a code-locking function in the present invention. The microcontroller 1 can be an OTP MCU or an MTP MCU. Among the figure, microcontroller 1 includes a microcontroller lock code circuit 2, a program logic (program logic) 3, a program storage library (programmemory) 4, a data storage library (data memory) 5 and a central processing unit (CPU)6. Wherein, the program logic device 3 is used to carry out data exchange to the micro-controller code lock circuit 2; the program storage library 4 is used to carry out data exchange to the program logic device 3; Data exchange; and the central processing unit 6 is used to exchange data with the program storage library 4 and the data storage library 5 respectively. Wherein, the program repository 4 has at least on...

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 discloses a microcontroller code locking circuit with the code locking function and a code locking method thereof, which are used for a microcontroller. The microcontroller comprises at least one programming code, and the microcontroller code locking circuit comprises a preset gold key. The microcontroller code locking circuit receives an input gold key beginning from a reset periodand judges whether the preset gold key and the input gold key are same, wherein the programming code is not locked if the comparative result is same, and is locked if the comparative result is different. The invention solves the problem in the prior art that a pirate can make locking or partial locking be incapable of being executed by changing bits on which the locking or the partial locking is positioned when the voltage of a recording pin begins to be reduced from high value and is reset after blank test, and can copy the programming code when the voltage of the recording pin is raised andthe programming code is loaded.

Description

technical field [0001] The invention relates to the field of electronics, in particular to a code-locking circuit and a code-locking method of a micro-controller with a code-locking function. Background technique [0002] A microcontroller (Micro Controller Unit, MCU) is currently widely used in the electronics industry. The main components of a microcontroller are: a central processing unit, a memory, an input / output unit, an interrupter, an oscillator, and a timer. [0003] According to different functions, microcontrollers can be divided into: [0004] Read-only microcontroller (Read-only memory MCU, ROM MCU) [0005] Single write microcontroller (0ne Time Programming MCU, OTP MCU) [0006] Multiple writes to microcontrollers (Multi-Times Programming MCU, MTP MCU) (also known as Flash MCU) [0007] Please refer to figure 1 , figure 1 It is the operation sequence diagram of the known OTP MCU, wherein, the OTP MCU includes a burning pin, wherein the burning pin is used...

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 Patents(China)
IPC IPC(8): G06F21/22G06F21/00G06F21/12
Inventor 陈大为林俊谷
Owner HOLTEK SEMICON
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