Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of real-time information recording based on flash

A technology of real-time information and empty recording, applied in the direction of input/output to record carrier, input/output process of data processing, instruments, etc., can solve the problems of not being able to cover programming, increasing the time of data writing, shortening the service life of Flash, etc. , to achieve the effects of good versatility, cost saving, and strong real-time performance

Active Publication Date: 2021-02-09
XIAN FLIGHT SELF CONTROL INST OF AVIC
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The bit of FLASH can only change from 1 to 0, and cannot be overwritten. It must be erased before programming, and it can only be erased by sector
Frequent erasing will shorten the service life of Flash and increase the time for data writing

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 of real-time information recording based on flash
  • A method of real-time information recording based on flash
  • A method of real-time information recording based on flash

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] combined with figure 1 , 2 As shown in , 3 and 4, the development board based on the MPC5644 processor is selected as an example. The MPC5644 integrates 2M Bytes of Flash in the chip, and two sectors with adjacent addresses and appropriate length are selected for real-time information recording. Concrete implementation steps of the present invention are as follows:

[0038] Step 1): Define the data structure and type of the data item. The data item is composed of three parts: data item flag (first byte), data item content, and data item verification (tail byte). Data items are divided into four types according to the data item flags: empty record item (0xFF), startup information item (0x55), real-time information item (0xAA) and invalid item (0x00). The lengths of the four types of data items are the same and are integer multiples of 4.

[0039] Step 2): selection and space division of FLASH sectors. In the FLASH space, select two adjacent sectors—sector L8 and sec...

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 belongs to an embedded computer application technology, and particularly relates to a method for real-time information recording based on Flash. The information recording adopts data items as units, and the data items are classified into four types: an empty record item, a startup information item, a real-time information item and an invalid item. In FLASH space, two sectors with adjacent addresses are selected to form an information recording area, and the recording mode that the two sectors are switched is adopted, so that latest record information is always stored in the information recording area without being completely erased. Buffer areas are arranged at the end of each sector to be combined with an initialization retrieval algorithm, the case that an erase operation is performed to interfere with the execution of programs during the operation is avoided, and the condition that there is enough space for recording the real-time information in one power-on operationis ensured. The method has strong real-time performance and good versatility, can save the costs of purchasing an external EEPROM, and has a certain positive effect on the miniaturization of an embedded system. The method is applied in an electronically controlled excavator and a loader control unit, operation is stable and reliable, and good effects are achieved.

Description

technical field [0001] The invention belongs to embedded computer application technology, in particular to a method for recording real-time information based on Flash. Background technique [0002] During the operation of embedded systems such as navigation, flight control, and servo, it is often necessary to record some information in real-time in non-volatile memory, such as startup information, parameters, and fault information. Electrically Erasable Programmable Read-Only Memory (EEPROM) is very suitable for storing the above information due to its flexibility of use, and is widely used in various embedded systems. [0003] Due to the unprecedented high-efficiency integration performance, System On a Chip (System On a Chip) has become an inevitable trend in the development of current microelectronic chips, and is increasingly used in embedded systems such as automotive electronics and servo control. Many on-chip systems do not integrate on-chip EEPROM, but integrate on-...

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): G06F3/06
CPCG06F3/0604G06F3/0608G06F3/0638G06F3/0644G06F3/0679
Inventor 滕涌澎罗星原徐建军贺凯
Owner XIAN FLIGHT SELF CONTROL INST OF AVIC