Unlock instant, AI-driven research and patent intelligence for your innovation.

MCU program execution method and chip

A program execution and chip technology, applied in the MCU program execution method and chip field, can solve the problems of limited chip area, increased chip packaging cost, reduced flexibility and practicability, etc., and achieves the effect of reducing cost and low cost

Pending Publication Date: 2021-06-04
北京集睿致远科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the chip size is small, the chip area is limited by the number of I / Os. Adding an additional I / O will increase the chip area, and the chip packaging cost will also increase accordingly.
In addition, if the storage location of the MCU program is selected through the chip I / O, the PCB (Publishing Circuit Board, printed circuit board) needs to be modified to change the input value of the chip I / O, which reduces flexibility and practicability

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
  • MCU program execution method and chip
  • MCU program execution method and chip
  • MCU program execution method and chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0025] figure 1 It is a schematic diagram of the main steps of the MCU program execution method in the embodiment of the present invention, such as figure 1 As shown, the MCU program execution method of the embodiment of the present invention specifically performs the following initialization steps:

[0026] Step S101: After the chip is pow...

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 MCU program execution method and a chip, and one embodiment of the method comprises the following steps: after the chip is powered on and reset, trying to read data in a FLASH storage unit; if the attempted reading is successful, executing a first instruction in the FLASH storage unit to cancel the reading of the chip on the ROM storage unit in the initialization process, resetting the MCU, and starting to execute an MCU program in the FLASH storage unit; and if the attempted reading fails, reading the ROM storage unit, resetting the MCU, and starting to execute the MCU program in the ROM storage unit. According to the implementation mode, the MCU program can be stored in the FLASH storage unit and the ROM storage unit at the same time on the premise that chip I / O is not increased.

Description

technical field [0001] The invention relates to the technical field of integrated circuits, in particular to an MCU program execution method and a chip. Background technique [0002] When the MCU (Micro Controller Unit, micro control unit) is integrated in the chip, the program executed by the MCU (hereinafter referred to as the MCU program) has two storage methods, one is stored in the external FLASH storage unit, and the chip is powered on from Read the MCU program data in the FLASH storage unit, and the FLASH can be programmed repeatedly. The other is solidified in the ROM storage unit inside the chip, and the MCU program data is read from the ROM storage unit after the chip is powered on. [0003] During the inventor's implementation of the present invention, it was found that the prior art has at least the following defects: [0004] If the MCU program is stored in the FLASH storage unit, the MCU program data can be modified according to the chip test results, usage c...

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
IPC IPC(8): G06F9/30
CPCG06F9/3004G06F9/30098Y02D10/00
Inventor 李大江
Owner 北京集睿致远科技有限公司