Single chip microcomputer program upgrading method and device

A program upgrade, single chip technology, applied in the field of electronics, can solve the problem of low efficiency of multi-node upgrade

Active Publication Date: 2015-09-16
NEW SINGULARITY INT TECHN DEV
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a single-chip computer program upgrade

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
  • Single chip microcomputer program upgrading method and device
  • Single chip microcomputer program upgrading method and device
  • Single chip microcomputer program upgrading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some 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 shall fall within the protection scope of the present invention.

[0085] See figure 1 and figure 2 , figure 1 It shows a schematic flowchart of a single-chip microcomputer program upgrading method provided by an embodiment of the present invention, figure 2 A schematic diagram of the topology structure of a multi-node distributed system is shown.

[0086] The single-chip computer program upgrading method is app...

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 the field of electronic techniques, in particular to a single chip microcomputer program upgrading method and device. According to the single chip microcomputer program upgrading method, a read-only storage area is set in a user program code area of a single chip microcomputer and used for storing a default program of the single chip microcomputer; firstly, partitioned user programs in the single chip microcomputer are verified, when verification of all the partitioned user programs fails, the default program of the single chip microcomputer is operated, the single chip microcomputer returns to a default mode, user programs in a read-write storage area are restored, and the single chip microcomputer returns to the initial state before upgrading. After the user programs are restored, the single chip microcomputer can continue to be upgraded, and safety and reliability of a whole distribution type system are improved. Moreover, when verification of the user programs succeeds and upgrading of the user programs of the single chip microcomputer is allowed, user programs corresponding to target version numbers which are issued by an upper computer in a broadcasting mode are received, multi-node simultaneous upgrading is achieved, and upgrading efficiency is improved.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a single-chip computer program upgrading method and device. Background technique [0002] IAP (in-application programming, application programming) technology refers to programming while the user program is running. IAP technology divides the storage space for storing user programs in the Flash memory of the microcontroller into two storage areas structurally. When the user program stored in one storage area is running, the user program stored in the other storage area can be executed. Reprogram and then run the user program on the reprogrammed memory bank. [0003] Most of the existing IAP upgrade solutions are designed for a single node (a node is a single-chip microcomputer). For a distributed system, there are multiple single-chip computer nodes. If a single node is upgraded one by one, the program upgrade of multiple nodes The required time is equal to the sum of the u...

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/445
Inventor 邵起明王建刚
Owner NEW SINGULARITY INT TECHN DEV
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