Supercharge Your Innovation With Domain-Expert AI Agents!

MCU program remote upgrading method and system

A remote upgrade and program technology, which is applied in the direction of data error detection and instrumentation in the transmission system, redundancy in computing, etc., can solve the problems of complex application tasks, scattered installation, software upgrades, etc., and achieve the effect of ensuring normal operation

Pending Publication Date: 2020-09-11
WILLFAR INFORMATION TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

A series of problems will be found in the field use, the main manifestations are as follows: 1. The application tasks running on it are becoming more and more complex, the functions are getting stronger and stronger, and the data required to be processed has increased significantly
2. After some products have been running on site for a period of time, they must meet the new needs of customers and add new functions to them
3. Some imperfect functional modules or abnormalities triggered under specific conditions may be found after on-site operation, and have to be modified, and the modified software needs to be upgraded
4. Since the product installation is quite scattered and protected by a shell, you have to go to the site and open the cover if you want to upgrade
5. Need to use emulator or offline programmer to upgrade, the emulator or offline programmer must be powered on, and the programming cable needs to be connected to the MCU upgrade interface
6. At present, the MCU based on Cortex M core design on the market has relatively less RAM FLASH capacity configuration, which also has a certain impact on upgrades
7. The Cortex M0 core does not provide the interrupt vector table relocation register, and the vector table can only be saved in the area starting from address 0
However, it still cannot effectively solve the above problems
[0005] There are deficiencies in the existing upgrade method for the MCU internal program, and it needs to be improved and improved.

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 remote upgrading method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0031] see figure 1 , the present invention provides a remote upgrade system for MCU programs, including a server, an MCU, and a peripheral memory; the server is connected to the MCU by communication; the MCU is connected to the peripheral memory;

[0032] The MCU has a backup program, an application program and a BOOT program.

[0033] Specifically, the MCU program in the present invention refers to running any type of electronic device that requires a micro-controller, such as a specific model, such as an electric energy meter, a bluetooth speaker, and the like. This system is specially ...

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 remote upgrading method and system. The MCU program remote upgrading method comprises the steps that S1, an MCU receives an updating program package and verification data from a server through remote communication and stores the updating program package and the verification data in a peripheral memory; s2, the MCU verifies the updating program package according to the verification data, judges whether the updating program package is correct or not, and executes the step S3 if the updating program package is correct, and feeds back program updating failure information if not; s3, the MCU is restarted, a BOOT program is run, and a currently used system program and running data are stored in the peripheral memory; and S4, the updating program package iswritten into an internal memory of the MCU, and system upgrading is carried out. According to the method, the updating program package is stored in the peripheral memory, then program upgrading is carried out under the condition that verification succeeds, the MCU program of the latest version can be reliably received, meanwhile, the version of the MCU program can be reasonably managed, and various abnormal conditions in the upgrading process can be handled.

Description

technical field [0001] The invention relates to an embedded system, in particular to a method and a system for remotely upgrading an MCU program. Background technique [0002] With the development of ARM's Cortex M series CPU core technology, more and more MCUs are designed based on Cortex M cores, and more and more Cortex M core series MCUs are used by various manufacturers. Due to various reasons such as product planning, many requirements are not very clear before delivery, and various functions are not perfect, and some functions need to be continuously verified and improved on site. After a product has been in the field for a period of time, it is very likely that it will need to be upgraded. A series of problems will be found in the field use, the main manifestations are as follows: 1. The application tasks running on it are becoming more and more complex, the functions are becoming stronger and stronger, and the data required to be processed has increased significant...

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): G06F8/65G06F8/71G06F11/14H04L29/08
CPCG06F8/65G06F8/71G06F11/1448H04L67/06
Inventor 陈超鑫范律肖林松
Owner WILLFAR INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More