Data storage and reading method for controller
A data storage and data reading technology, which is applied in the direction of protecting the stored content from loss, input/output to the record carrier, etc., can solve the problems of harsh electromagnetic environment, signal interference, etc., and achieve the goal of ensuring safety and stability and avoiding loss Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] The hardware circuit of the present invention adopts two memory chips (IIC bus and SPI bus) of dual-bus communication, such as figure 1 As shown, neither memory 1 nor memory 2 work when there is no need to save data. When it is necessary to save data, the CPU enables memory 1 and memory 2 to work, as shown in the attached figure 1 shown.
[0028] The controller data storage and restoration method of the present invention includes a data storage step and a data reading step.
[0029] The data storage step is that the CPU maps the working data to be saved to at least two sets of independent and complete storage data and stores them in the memory;
[0030] The reading step is to read the data in the memory, and compare and match the data in pairs until two groups of matching stored data appear, and send one of the matched two groups of stored data to the data memory of the CPU; If there is no matching two sets of data in all the stored data, the data preset by the progr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 