A kind of microcontroller and code burning method for microcontroller

A technology of micro-controller and burning method, which is applied in the Internet field, can solve the problems of easy damage, etc., and achieve the effect of reducing the defect rate and the number of burning times

Active Publication Date: 2021-12-03
北京鸿智电通科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The program memory can be a read-only memory or a flash memory. At present, flash memory is widely used. The existing programming software burns the code to a location of the flash during programming. It is easy to be damaged in a harsh environment, and the yield rate of the built-in flash memory is an important factor that directly affects the yield rate of the MCU

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
  • A kind of microcontroller and code burning method for microcontroller
  • A kind of microcontroller and code burning method for microcontroller
  • A kind of microcontroller and code burning method for microcontroller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0036] The number of bytes of code stored in the actual program storage unit is generally fixed, if the number of bytes of program storage unit is changed, the code has been damaged can be considered. As a preferred embodiment is the embodiment, the program storage control unit comprises:

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 and a code programming method for the microcontroller, including: a communication interface for communicating with an external processing unit; a first program storage unit for storing running code files; A program storage unit is used to store the same code file as the above code file; a program storage control unit is used to control the connection of the communication interface with the first program storage unit or with the second program storage unit. The invention realizes automatic switching to the second program storage unit when the first program storage unit is damaged, thereby reducing the defective rate of the MCU chip. Through one-time programming, a spare second program storage unit is formed. When the first program storage unit is broken, it does not need to be reprogrammed, which reduces the number of times of programming.

Description

Technical field [0001] The present invention relates to the field of Internet technologies, particularly to a method of programming a microcontroller, and the code for the microcontroller. Background technique [0002] MCU (Microcontroller Unit; MCU), also known as one-chip microcomputer or microcontroller, a central processor to make the appropriate frequency and size reduction, and the memory, a counter, USB, A / D conversion, UART, PLC, DMA and other peripheral interfaces, even LCD driver circuit are integrated on a single chip including a chip-level computer, make different combinations for different control applications. Such as mobile phone, PC peripherals, remote controls, automotive electronics, industrial stepper motor on the machine arm control, MCU can be seen in the figure. MCU comprises a built-in program memory for storing a program executed by MCU. The program memory may be a read-only memory may be a flash memory, flash memory applications currently very broad, co...

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): G06F8/654
CPCG06F8/654
Inventor 刘浩淼王诺钟裕捷李仕炽李仕胜
Owner 北京鸿智电通科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products