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

Embedded system guiding method and device

An embedded system and boot device technology, applied in the direction of program control device, response error generation, redundant data error detection in calculation, etc., can solve the problem of supporting new models of Nandflash, unfavorable embedded system upgrades, and inability to Guarantee normal startup and other issues, to achieve the effect of facilitating upgrade and maintenance, simple and reliable redundant backup mechanism, and avoiding cumbersome judgments

Inactive Publication Date: 2009-08-05
ACTIONS ZHUHAI MICROELECTRONICS CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the above-mentioned boot process will cause the following problems: if the system guides a new model of Nand flash, it is necessary to add the ID number of the new model flash and the table entry of its structural characteristics comparison table in the list of ROM, so that the boot code cannot be modified without modification. New models of Nand flash are supported under certain circumstances; the boot code usually needs to exist in a relatively fixed space such as ROM, and the continuous addition of new models of flash support items will not be conducive to the upgrade of the embedded system, and frequent modifications are not conducive to the system The length and reading method of different Nandflash ID numbers are also different, which makes the identification of the boot code very cumbersome and inconvenient for system maintenance; with the increasing number of flash models, the part of the boot code to identify the ID number will become more and more complicated. The bigger it gets, the more storage space it takes up
Although this method does not care about the internal data structures of various Nand flashes, this method has obvious limitations: it is not applicable to all types of flash; it cannot be guaranteed to start normally when the first page data is wrong; and , the startup code can only be limited to the first page, and it is not easy to expand

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 guiding method and device
  • Embedded system guiding method and device
  • Embedded system guiding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the above objectives, features and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. The boot method and device of the present invention can be applied to the startup process of various memories. For the convenience of description, the flash memory is used for description in the following.

[0062] The core idea of ​​the present invention is: According to the block size of all Nand flash is PageSize min ×2 n , N ∈ (0, 1, 2, 3...) byte rule, a sequence used to indicate the data reading position is established in the primary startup code, which includes the secondary startup of all models of Nand flash The possible storage starting position of the code; at startup, the microcontroller directly executes the primary startup code in the BOOT ROM, scans the read position indicated in the sequence in turn, and cal...

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 booting method for an embedded system based on a memory, comprising: executing a startup code once; scanning a sequence used to indicate a data reading position, and reading data in the memory from the position indicated in the sequence; judging Whether the read data is a valid secondary startup code, if valid, call or execute the secondary startup code to guide the system code to run; if invalid, return and read from the next position indicated in the sequence data. The present invention can overcome the shortcoming that the BOOT ROM needs to be changed according to the new type of flash, and is not restricted by the new flash type, which is beneficial to the upgrade and maintenance of the embedded system; avoids the cumbersome judgment of the flash ID number, and can adapt to any Nand flash Interface flash; can effectively guarantee the normal startup of the system, and the redundant backup mechanism is simple and reliable.

Description

[0001] Technology Territory [0002] The present invention relates to a boot method of a computer system, in particular to a boot method and device of an embedded system based on a memory, and is especially suitable for booting of a NAND flash embedded system. Background technique [0003] Embedded system refers to a device or system that is designed for specific applications, performs special functions, and is controlled by an internal computer. [0004] Currently, embedded systems using flash memory as storage media are widely used. Flash memory is a non-volatile memory, divided into NOR flash and Nand flash. Nand flash can be used as a program memory for storing system codes and as a data memory for storing user data. Using Nand flash can not only simplify the system structure, but also help improve the stability of the system. Reference figure 1 As shown, today’s mainstream Nand flash embedded system usually consists of the following main parts: Microcontroller (MCU) 101, RAM ...

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/445G06F11/14
Inventor 陈黎明
Owner ACTIONS ZHUHAI MICROELECTRONICS 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