Flash memory data management method and device and microcontroller
A data management device and data management technology are applied in the direction of electrical digital data processing, input/output process of data processing, error detection of redundant data in operation, etc. problems such as poor capability, to achieve the effect of improving recovery efficiency, improving reliability, and simplifying the recovery process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] In this embodiment, a boot area (BOOT) for storing boot data and an application area (Application, APP) for storing application data are set in the flash memory (Flash Memory), and the data in the boot area and the operation area are respectively backed up in the flash memory. Stored backup boot area (backup BOOT) and backup running area (backup APP), see figure 1 shown.
[0028] Based on the above settings, this embodiment can verify and modify the data in the flash memory. For details, see figure 2 shown, including:
[0029] S201: Verifying the data in the boot area and the running area of the flash memory respectively;
[0030] S202: Determine whether the verification is normal, if yes, go to S203; otherwise, go to S204;
[0031] S203: Wait for the trigger or end of the next verification.
[0032] S204: For the area where the data verification fails, directly copy the data in the corresponding backup area to the area for repair, and this step includes:
[003...
Embodiment 2
[0062] This embodiment provides a microcontroller, see Image 6 As shown, a flash memory data management device 1 is included. Wherein the flash memory data management device 1 refers to Figure 7 shown, including:
[0063] The verification module 71 is configured to verify the boot data stored in the boot area of the flash memory and the application data stored in the running area.
[0064] In the present embodiment, a boot area (BOOT) for storing boot data and an application area (Application, APP) for storing application data are set in the flash memory (Flash Memory), and the data in the boot area and the operation area are respectively set in the flash memory. Backup boot area (backup BOOT) and backup operation area (backup APP) for backup storage.
[0065] The repair processing module 72 is used to copy the boot data in the backup boot area to the boot area for repair when the boot data verification in the boot area fails; and when the application data verification ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com