Method for storing parameters based on flash memory in an embedded system
A flash memory and embedded system technology, which is applied in the field of embedded parameter storage, can solve the problems of parameter loss, large backup space, and relatively high memory capacity requirements, and achieve the effects of reducing losses, avoiding data loss, and reducing memory consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] The implementation process of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0020] A method for storing parameters based on a flash memory in an embedded system, comprising the following steps:
[0021] Step 1. Divide the parameter area, such as figure 1 Said:
[0022] The flash memory parameter area is divided into parameter area 1 and parameter area 2, which are equal to each other and are mutual backups. Each parameter area is divided into an effective data storage area, a CRC check area and a counter area. The effective data storage area Store various effective parameter values, and allocate fixed space size, fixed relative offset and corresponding storage location for each parameter type; allocate effective data storage area space according to actual needs, and calculate the actual required storage space size, and reserve enough reserved space, the effective data storage area space capacity is the sum of ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


