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

OTA upgrading method for MCU firmware

A firmware and level technology, applied in electrical components, digital transmission systems, error prevention, etc., can solve problems such as low FLASH utilization, poor user experience, and increased costs, so as to avoid bandwidth waste, reduce hardware requirements, and improve The effect of upgrading reliability

Inactive Publication Date: 2020-10-13
成都启英泰伦科技有限公司
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] (3) The operating status of each device terminal. For example, for a device with a voice AI chip, music is currently playing, and upgrading at this time will lead to poor user experience
[0011] Second. The current general OTA upgrade method scheme adopts the overall and differential package upgrade
For terminal AI chips, it will increase the cost
[0012] Third. The firmware is not divided into blocks, resulting in the need to reload the backup area firmware if there is an error writing FLASH
[0013] 4. Failure to back up selectively according to needs. At present, the traditional method is to fully back up all FLASH, resulting in low utilization of FLASH. For example, if 16M FLASH is fully backed up, the actual available area may only be 8M

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
  • OTA upgrading method for MCU firmware
  • OTA upgrading method for MCU firmware
  • OTA upgrading method for MCU firmware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Specific embodiments of the present invention will be further described in detail below.

[0051] The MCU firmware OTA upgrade method of the present invention comprises the following steps:

[0052] S1 divides upgrade urgency levels for all firmware, packs and blocks each firmware into multiple firmware blocks, sets a configuration information storage firmware block in the firmware block, and stores the self information of all firmware in the configuration information storage firmware block;

[0053] Pack and block the firmware in the server and the device to be upgraded in the same way;

[0054]In the same way, it means that the packaging makes the distribution of the firmware in the server and the terminal device exactly the same, that is, the quantity of firmware, the distribution area, and the type of stored information are all the same.

[0055] S2 Upgrade the firmware from high to low according to the urgency level; detect the device to determine whether the cur...

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 an OTA upgrading method for MCU firmware. The OTA upgrading method comprises the following steps of: S1, packaging software into firmware; dividing all firmware into upgradingurgency levels, wherein each firmware is composed of a plurality of firmware blocks; setting a configuration information storage firmware in the firmware block, and storing the self information of allfirmware blocks in the configuration information storage firmware; S2, upgrading firmware from high to low according to urgency levels, detecting the equipment where the firmware is located, judgingwhether the current state of the equipment is suitable for upgrading or not, and if not, waiting to a suitable state; S3, if the equipment comparison meets the requirements, performing upgrading; andS4, after upgrading is completed, updating related information in the configuration information storage firmware of the server to the equipment. According to the invention, the upgrading sequence is divided according to the upgrading urgency, so that the network bandwidth and hardware requirements of the server can be remarkably reduced; and the corresponding firmware block area is selectively downloaded according to the configuration area information in the comparison terminal and the server, so that bandwidth waste and invalid data transmission in whole packet downloading are avoided.

Description

technical field [0001] The invention belongs to the technical field of software, and relates to a firmware upgrading method, in particular to an MCU firmware OTA upgrading method. Background technique [0002] The terminal AI chip is mainly used for reasoning, that is, using the trained model and using data to reason out various conclusions. That is, the process of using the existing neural network model to perform calculations and using new input data to obtain correct conclusions at one time. [0003] With the rapid development of artificial intelligence, the rise of edge computing and the Internet of Things, the requirements for terminal equipment are getting higher and higher. Device functions based on terminal AI chips are more intelligent, scenario-based, and fragmented and personalized. Whether it is CNN, RNN, DNN and other models, it is necessary to iterate the model according to the algorithm optimization to achieve the purpose of providing users with a better exp...

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): H04L12/24H04L29/08H04L1/00
CPCH04L41/082H04L67/02H04L67/06H04L1/004
Inventor 康元刘卓马宇刘兵
Owner 成都启英泰伦科技有限公司
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