Singlechip and method for upgrading singlechip on line

A single-chip microcomputer, a technology to be upgraded, applied in the direction of response error generation, redundant data error detection in operation, redundant code error detection, etc., can solve problems such as programs that cannot run normally, and product functions that cannot be run. , to achieve safe and rapid upgrades and improve reliability

Active Publication Date: 2012-08-01
RAISECOM TECH
View PDF9 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the traditional single-chip software upgrade is mainly after receiving the upgrade request, the software enters an upgrade mode, only processes tasks related to the upgrade, and cannot run normal product functions
The function of the normal user program can only be run after the software is upgraded. During the upgrade process, no effective security mechanism is added to prevent problems such as upgrade error programs and communication error codes, which often cause on-site or remote upgrade programs to be abnormal. running

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
  • Singlechip and method for upgrading singlechip on line
  • Singlechip and method for upgrading singlechip on line
  • Singlechip and method for upgrading singlechip on line

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] The applicant considers that the upgrading process of the single chip microcomputer is mainly divided into the upgrading of the bootloader code (Bootloader code) and the user code (User code). Among them, the user code is the most important part. The upgrade of the user code must ensure its safety, and generally there are many user codes, and the upgrade time is relatively long. Therefore, the applicant proposes to receive the user code first, and store it in the off-chip designated location (such as the specified memory outside the chip), restart the microcontroller after everything is received correctly, and then write the newly upgraded user code into the user area of ​​the microcontroller. The boot code is generally very short, the upgrade time is short, and the upgrade of the boot code does not affect the normal operation of the single-chip microcomputer, so the applicant proposes to adopt the upgrade method of directly receiving, verifying and writing into the boot...

Embodiment 2

[0049] This embodiment introduces a single-chip microcomputer, which can realize the upgrade solution of the above-mentioned embodiment 1. The single-chip microcomputer at least includes a receiving module, a backup module and an upgrading module.

[0050] The receiving module receives the upgrade data packet and obtains the upgrade identification information therefrom;

[0051] The above-mentioned upgrade data package includes the code to be upgraded and its corresponding upgrade identification information. The upgrade identification information includes at least the type of the upgrade code and the identification of the single-chip microcomputer to which the upgrade code applies. Among them, the reason why the upgrade code is included is that there are many products with similar functions and different models in general electronic products, and the code differences between these products are often very small. It is easy for field personnel to write other product codes, resul...

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 singlechip and a method for upgrading the singlechip on line and relates to the technical field of singlechips. The method for upgrading the singlechip on line comprises the following steps that: the singlechip receives an upgrade data packet, wherein the upgrade data packet comprises codes to be upgraded and upgrade identifier information corresponding to the codes; the singlechip acquires the upgrade identifier information from the upgrade data packet; if the acquired upgrade identifier information indicates that the corresponding codes to be upgraded are user codes upgraded by the singlechip, the codes to be upgraded in the upgrade data packet are stored at specified positions outside the singlechip; and after the singlechip is restarted, the codes stored at the specified positions outside the singlechip are loaded in a singlechip user area. The invention also discloses the singlechip. By the technical scheme, the singlechip is upgraded on line, so that normal functions of a program cannot be influenced; and moreover, the user codes are safely and rapidly upgraded, and the upgrading reliability of the singlechip is improved.

Description

technical field [0001] The invention relates to the technical field of single-chip microcomputers, in particular to a single-chip microcomputer and an online upgrading method thereof. Background technique [0002] Today's electronic products more and more widely use single-chip microcomputers, and the widely used single-chip microcomputers mainly include ARM7, Cortex-M3, 8051 and other processors. The application software runs on it to complete various functions of the product. After the electronic product is sold to the customer, the manufacturer needs to maintain and upgrade the product, which requires that the software in the CPU can be downloaded at the customer's site, and as far as possible Does not affect the normal work of the product. [0003] However, the traditional single-chip software upgrade is mainly after receiving the upgrade request, the software enters an upgrade mode, only processes tasks related to the upgrade, and cannot run normal product functions. ...

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/445G06F11/08G06F11/14
Inventor 赵世民
Owner RAISECOM TECH
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