Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Embedded system software upgrading method and system

A technology for embedded systems and software upgrades, applied in the direction of program loading/starting, program control devices, etc., which can solve problems such as low efficiency and inability to start the system

Active Publication Date: 2012-08-08
SHENZHEN SEG SCI NAVIGATIONS CO LTD
View PDF6 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This method of operation is applicable to the case where the amount of programming is small, but the problem of bad block handling depends on whether the JTAG debugger and bootloader support bad block detection. For some file systems such as Jffs, Yaffs, etc., if bad block detection is not supported Writing key data into the bad block may cause the system to fail to start, and manual adjustment is required, which is inefficient

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 software upgrading method and system
  • Embedded system software upgrading method and system
  • Embedded system software upgrading method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0036] Such as figure 1 Shown is a kind of embedded system software upgrading system, comprises Flash flash memory 3, target board 4, removable storage device 2, computer 1 and is arranged on the storage unit 100 in the computer 1, programmer 101; The computer 1 is connected; the target board 4 is connected to the computer 1, and the flash memory 3 is inserted on the target board 4; the target board 4 is provided with an upgrade unit 402

[0037] The storage unit 100 is used to store the first loading boot program, the first Linux kernel, and the first file system; the first file system is provide...

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 embedded system software upgrading method and a system. The method includes the following steps that three files of a first boot loader, a first Linux kernel and a first file system are sequentially programmed by a programmer to a blank flash memory, and simultaneously the programmer performs a bad block check; a target board is automatically restarted to enter a Linux system, and a computer and a mobile storage device are connected; the first boot loader, the first Linux kernel and the first file system are automatically copied to a memory, and contents in the flash memory are erased; and the mobile storage device is mounted, then a second boot loader, a second Linux kernel and a second file system are sequentially programmed into the flash memory, and simultaneously the bad block check is performed until the programming is completed. The embedded system software upgrading system for implementing the method is further disclosed. According to the embedded system software upgrading method and the system, the bad block management can be achieved under the support of Linux file systems, various common types of file systems such as Cramfs, Yaffsx, Jffsx and the like can be programmed, and all steps can be automatically completed.

Description

technical field [0001] The present invention relates to embedded technology, more specifically, to an embedded system software upgrading method and system. Background technique [0002] Most of the current embedded systems are based on the arm-linux platform, and the software in the system is usually stored in Flash, including NAND flash and NOR flash. Based on cost considerations, many solutions choose NAND flash as the storage medium, but NAND flash has a characteristic that bit flipping may occur during use, resulting in bad blocks, and the manufacturer does not guarantee that there will be no bad blocks for the newly shipped flash. But ensure that the proportion of bad blocks is controlled within a certain range. Due to the problem of bad blocks, users usually need to consider how to deal with bad blocks when programming data. Another point is the software update method in NAND flash. For a new flash, the content inside is blank. The usual practice is, Solder the flash...

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 Applications(China)
IPC IPC(8): G06F9/445
Inventor 楚甲良殷国顺王志强
Owner SHENZHEN SEG SCI NAVIGATIONS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products