Firmware upgrade method and firmware upgrade device for embedded system

An embedded system and firmware upgrade technology, which is applied in the direction of program control device, program loading/starting, etc., can solve the problems of low system operation stability, loss of file storage path information during the upgrade process, and system death, etc., to solve the problems of users The effect of file damage, low stability, and loss of path information

Active Publication Date: 2015-04-29
XIAN NOVASTAR TECH
View PDF4 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the upgrading process of various existing operating systems, there will be the following problems: (1) the problem that the system dies when the operating system is upgraded due to bad ...

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
  • Firmware upgrade method and firmware upgrade device for embedded system
  • Firmware upgrade method and firmware upgrade device for embedded system
  • Firmware upgrade method and firmware upgrade device for embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0024] See figure 1 and figure 2 ,in figure 1 It is a flowchart of a firmware upgrade method for an embedded system according to an embodiment of the present invention, figure 2 It is a schematic partition diagram of a non-volatile memory according to an embodiment of the present invention. Specifically, in the firmware upgrade method of the embedded system of this embodiment:

[0025] The upgrade image file is sent to the embedded system through the application software of the upper computer (such as PC), and the application program on the embedded system is responsible for receiving the OS (Operating System, operating system) upgrade image file from the upper computer and storing it in the embedded system. The user area of ​​th...

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 a firmware upgrade method and a firmware upgrade device for an embedded system. The method comprises the following steps: (a) acquiring and storing an upgrade mirror file to a first partition area of a nonvolatile memory of the embedded system, and generating the storage path information of the upgrade mirror file; (b) performing bad block detection on a second partition area of the nonvolatile memory; (c) copying the upgrade mirror file from the first partition area to the good block of the second partition according to the storage path information and modifying the start position of the operating system to be the position of the second partition; (d) performing bad block detection on a third partition of the nonvolatile memory after the operating system is restarted from the second partition in the embedded system; (e) copying the upgrade mirror file to a good block of the third partition area, and modifying the start position of the operating system to be position of the third partition area; and (f) restarting the operating system from the third partition area in the embedded system. Therefore, the upgrade failure problem brought by the bad block generated in the nonvolatile memory such as NAND FLASH in the operating system upgrading process can be solved.

Description

technical field [0001] The invention relates to the technical field of embedded systems, in particular to a firmware upgrading method for an embedded system and a firmware upgrading device for an embedded system. Background technique [0002] Embedded operating system is a system software with a wide range of uses, usually including hardware-related underlying driver software, system kernel, device driver interface, communication protocol, graphical interface, standardized browser, etc. The embedded operating system is responsible for the allocation of all software and hardware resources of embedded devices, task scheduling, control, and coordination of concurrent activities. It must reflect the characteristics of the system where it is located, and can achieve the functions required by the system by loading and unloading certain modules. At present, the operating systems widely used in the embedded field include: embedded Linux, Windows Embedded (such as: Wince6.0), VxWorks...

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 XIAN NOVASTAR 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