Memory device of embedded system and staring method and upgrading of firmware

A technology for embedded systems and storage devices, applied in the computer field, can solve the problems of increased complexity and cost of embedded hardware system circuits, and sensitivity to space size and cost, and achieves reduced complexity and cost, safe and reliable upgrades, and good reliability. Effect

Active Publication Date: 2010-02-17
ZTE CORP
View PDF1 Cites 61 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The arrangement of such two memories increases the complexity and cost of the embedded hardware system circ

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
  • Memory device of embedded system and staring method and upgrading of firmware
  • Memory device of embedded system and staring method and upgrading of firmware
  • Memory device of embedded system and staring method and upgrading of firmware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The main idea of ​​the present invention is: the Flash space of the embedded system is set to include at least three partitions, and the first partition is used to store the booting part of the embedded system. The capacity of the second partition is the same as that of the third partition, and both are provided with intervals for storing firmware data, firmware attributes, firmware size and CRC (Cyclic Redundancy Check Code) check data. When starting and upgrading the firmware based on the storage device, the starting can be realized by judging and selecting the master-slave partition, which can improve the reliability of system starting.

[0023] The technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0024] refer to figure 1 and figure 2 As shown, the logical layout of Flash is as follows:

[0025] Flash space includes at least 3 partitions, the first part...

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 provides a memory device of an embedded system and a starting method and an upgrading method of a firmware, wherein the memory device is a read-write flash memory and at least comprises a first subregion used for storing a starting guide part of the embedded system as well as a main subregion and an auxiliary subregion which have consistent capacity and are used for storing parameters and data used for starting and upgrading the firmware; and the starting method based on the memory device comprises the following steps: starting a guide part and judging the firmware attributes oftwo subregions; verifying the validity of a cyclic redundancy check code of the current subregion, if so, erasing data of the main subregion, copying contents of the auxiliary subregion onto the mainsubregion, and then starting the auxiliary subregion; and if not, starting a program image from the main subregion. The flash memory is set in a partitioning way, the system functions can be realizedonly by utilizing one storage, therefore, the invention has the effects of reducing the circuit complexity and the cost of the system compared with the prior art. The starting method has better reliability.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a storage device of an embedded system, and a method for starting and upgrading firmware. Background technique [0002] Embedded system (Embedded system) is a "special computer system completely embedded in the controlled device and designed for specific applications". According to the definition of the British Institute of Electrical Engineers, an embedded system is a control, monitoring or auxiliary equipment, machine Or equipment used in factory operations. Unlike general-purpose computer systems such as personal computers, embedded systems typically perform predefined tasks with specific requirements. Because an embedded system is targeted at a specific task, designers can optimize it to reduce size and cost. [0003] The core of an embedded system consists of one or several microprocessors or microcontrollers preprogrammed to perform a few tasks. Unlike a ge...

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 ZTE CORP
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