A method for upgrading embedded device software

An embedded device and software upgrade technology, applied in the computer field, can solve problems such as equipment failure, user economic loss, power outage, etc., and achieve the effect of avoiding waste and making the upgrade process safe and reliable

Active Publication Date: 2017-04-05
NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the user upgrades the software of the device, various unexpected situations may occur, such as upgrading the wrong software and causing the device to break down, or the power failure during the upgrade process causes the device to break down
After a lot of equipment is upgraded and broken, the personnel of the manufacturer must go to the scene to solve the problem. The deactivation of some equipment may also bring certain economic losses to users.

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
  • A method for upgrading embedded device software
  • A method for upgrading embedded device software
  • A method for upgrading embedded device software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the technical means, creative features, objectives and effects of the present invention easy to understand, the present invention will be further explained below in conjunction with specific embodiments.

[0031] See figure 1 , Flash storage media are currently used on most embedded devices, and Flash partitions are usually used. Flash can generally be divided into three areas, the first area stores the Boot program, the second area stores the parameters of the Boot program, and the third area stores the file system. The Boot program is equivalent to the BIOS in the PC, and is the first code that runs after the device is powered on. Simply put, the Boot program is a small program that runs before the operating system kernel runs. Through this small program, the necessary hardware devices are initialized, some information required by the kernel is created, and the information is passed to the kernel through related mechanisms. Bring the system's software a...

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 method for upgrading software in an embedded device. The method comprises the steps that (1) the device reads the values of Boot parameter region initial addresses, upgrading files are written in a file system region with corresponding file names according to the different values, and the values of the Boot parameter region initial addresses are modified; (2) when the device starts normally, the step (3) is executed, and when wrong software is upgraded, the step (4) is executed; (3) a Boot program reads the values of the Boot parameter region initial addresses, corresponding file content in the file system region is read in a memory according to the different values, a kernel entry address is skipped to, and execution is started; (4) a serial port debugging tool is opened to carry out electrification again, a user presses the enter key to enter a user instruction mode in the waiting period, and an instruction for displaying and modifying the values of the Boot parameter region initial addresses is added in the user instruction mode. According to the method for upgrading software in the embedded device, the software upgrading process is safe and reliable, and a restoration method is provided when accidents happen to upgrading.

Description

Technical field [0001] The invention relates to a method for upgrading software of an embedded device, belonging to the technical field of computers. Background technique [0002] General embedded devices basically provide the function of software upgrade. In order to better meet the needs of users, when the manufacturer of the device adds certain features to the software or repairs certain problems that occur during the use of the device, the manufacturer will release the new software to the user. Users can update the software of the device through the software upgrade function, so that the device can run more stably and reliably. [0003] Although embedded devices provide the function of software upgrade, users may encounter problems when using this function. Many users know little about the equipment, and the person responsible for maintaining and managing the equipment does not even know that the equipment he manages can update the software of the equipment through the softwa...

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 Patents(China)
IPC IPC(8): G06F9/445
Inventor 梁志宝
Owner NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD
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