Embedded system firmware on-line upgrading system

An embedded system and embedded technology, which is applied in the direction of program loading/starting, program control devices, etc., can solve problems such as insufficient disclosure, ability and inability, and unexpected upgrade files and system files, etc., so as to reduce the difficulty of writing , Reliable upgrades, and the effect of shortening the development cycle

Active Publication Date: 2009-07-08
HANGZHOU HIKVISION DIGITAL TECH
View PDF3 Cites 69 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Its shortcomings: Although it supports more download protocols, it does not think about how to deal with the downloaded upgrade files and system files in different formats, does not implement effective protection methods for system files, and does not properly raise file system accidents The upgrade plan after damage, the u

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
  • Embedded system firmware on-line upgrading system
  • Embedded system firmware on-line upgrading system
  • Embedded system firmware on-line upgrading system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0062] Taking the software upgrade of the ARM9 development board as an example, the present invention will be further described in conjunction with the accompanying drawings.

[0063] Such as figure 1 As shown, the partition diagram of Flash: The software system of the development board is stored on the nor flash chip. According to the different storage contents, the flash space is divided into two partitions. Partition A 11 is a read-only partition and stores programs that do not need to be updated. Including bootloader and tiny_os, the code of this partition adopts binary file format and is accessed by address. Partition B 12 stores simplified system software, including embedded operating system, root file system, and application programs. The upgrade scripts and corresponding download command programs required to upgrade the program under tiny_os are all in the root file system. This partition uses The jffs2 file format supported by linux and widely used on nor flash.

[0064]...

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 on-line upgrade method for embedded system firmware. A non-volatile memory is divided into two areas, the subareas to which a bootloader and a tiny_os belonging are protected, and an upgrade script is operated under the tiny_os to realize upgrading; the corresponding download request is provided by busybox of an open source; the support to a file system, a tcp/ip protocol stack and the like is provided by the tiny_os; the corresponding download request adopts dynamic linking technology and is shared with system software; different parameters are transmitted to a kernel through the bootloader, so as to tell upgrade operation from normal operation; and the entire upgrade system is only required to enlarge a storage space of about 400K, a plurality of download protocols and file systems can be supported. The invention further provides a spare upgrade method, so that when the subarea of the system software is damaged accidentally, the system upgrading also can be carried out, and the reliability and the safety of upgrading are ensured.

Description

technical field [0001] The invention relates to the technical field of embedded software, more precisely, it relates to an online upgrading method for embedded system firmware. Background technique [0002] The functions of embedded devices are mainly implemented and expanded by software. With the continuous improvement of embedded device functions, the continuous increase of applications and the continuous correction of bugs, the software in the original system needs to be continuously upgraded. Upgrading is to write new software into the non-volatile memory of the embedded device to replace the previously defective or incomplete software. In addition, when the software system is accidentally damaged and cannot operate normally, it also needs to be upgraded. Therefore, the upgrade program in the embedded device must be safe and reliable. [0003] For embedded devices, the manufacturer of the device usually burns the bootloader to the flash through a JTAG debugger or a ded...

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 HANGZHOU HIKVISION DIGITAL 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