A method and system for automatically programming embedded device firmware

An embedded device and file system technology, applied in the direction of program loading/starting, program control devices, etc., can solve problems such as error-prone, complex command format, and increased error, so as to avoid complexity and error-prone, strong flexibility sex, avoiding duplicate effects

Active Publication Date: 2017-06-16
HAIER GRP CORP +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since there are currently many BootLoaders available from multiple manufacturers, such as the common U-boot, RedBoot, etc., the operating commands of the BootLoaders of these manufacturers are different, and the format of the command itself is also very complicated. Various parameters need to be set and input manually. easy to make mistakes
Especially when programming multiple devices during debugging or production, a lot of repetitive work is required
Moreover, some system settings cannot be repeated, such as the MAC address setting, each device must have a unique MAC address, which increases the workload of manual input and increases the possibility of errors

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 and system for automatically programming embedded device firmware
  • A method and system for automatically programming embedded device firmware
  • A method and system for automatically programming embedded device firmware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is the flowchart of the method for automatically programming the firmware of the embedded device described in this embodiment, such as figure 1 As shown, the method for automatically programming the firmware of an embedded device described in this embodiment includes:

[0030] S101. Write a configuration file according to the firmware of each model.

[0031] The firmware that needs to be programmed in an embedded system usually includes BootLoader, operating system kernel (Kernel), and file system (rootfs).

[0032] BootLoader is a small program that runs before the operating system kernel runs. Through this small program, we can initialize the hardware device and establish a map of the memory space, thereby bringing the system's software and hardware environment to a suitable state, so as to prepare the correct environment for the final call of the operating system kernel.

[0033] Operating system kernel (Kernel) refers to the core part of the operating system. I...

Embodiment 2

[0065] figure 2 It is the block diagram of the system structure for automatically programming the firmware of the embedded device described in this embodiment, such as figure 2 As shown, the system for automatically programming the firmware of an embedded device described in this embodiment includes:

[0066] The configuration file writing module 201 is used for writing configuration files according to various types of firmware. The content of the configuration file includes the configuration prompt information output by each firmware through the serial port and the commands or configuration information that should be input according to the configuration prompt information.

[0067] The firmware that needs to be programmed in an embedded system usually includes BootLoader, operating system kernel (Kernel), and file system (rootfs).

[0068] BootLoader is a small program that runs before the operating system kernel runs. Through this small program, we can initialize the hardware d...

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 and system for automatically programming the firmware of embedded devices, which are used for programming the firmware of serial port embedded devices including BootLoader. The method includes: writing configuration files according to the firmware of various models, and The content includes, the configuration prompt information output by each firmware through the serial port and the command or configuration information that should be input according to the configuration prompt information; the embedded device is connected to the computer through the serial port and powered on, and the serial port is sequentially obtained. The configuration prompt information of the embedded device; S3. From the configuration file, search for the configuration prompt information matching the configuration prompt information of the embedded device, and import the configuration file into the configuration file through the serial port, according to the configuration The command or configuration information that should be input in the prompt information is written into the firmware of the embedded device until all the programming is completed. The invention can reduce a lot of repeated labor and reduce the possibility of mistakes.

Description

Technical field [0001] The present invention relates to the field of embedded technology, in particular to a method and system for automatically programming embedded device firmware. Background technique [0002] With the development of information technology, embedded systems have become more and more industrial systems and civil systems due to a series of advantages such as high efficiency, low cost, high reliability, rich codes, application scalability, and portability. The main force of the system, especially in information products, is increasingly applied to embedded systems. Embedded systems can be applied to various fields of human work and life, and have extremely broad application prospects. Embedded systems have a wide range of applications in the traditional industrial control and business management fields, such as intelligent industrial control equipment, POS / ATM machines, IC cards, etc.; they have a wide range of application potential in the home field, such as se...

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 HAIER GRP 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