A control method and device for software version upgrade based on dual file system
A control method and dual-file technology, which are applied to program control devices, redundant operation data error detection in operation, and generation of response errors, etc., can solve problems such as mismatches between upgrade files and hardware device versions, and upgrade process errors.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] figure 1 A flowchart showing a method for controlling an embedded software version upgrade based on a dual file system according to the first embodiment of the present invention. Specifically, in this embodiment, step S2101 is first performed to determine whether the non-volatile memory supports partition backup according to the backup support field. More specifically, a "backup_flag" field is added to the partition header of the non-volatile memory (also called FLASH), and the "backup_flag" field is used as the backup support field to identify whether the system supports partition backup , for example, the partition table structure on the non-volatile memory can be adopted as Figure 7 In the structure shown, the "backup_flag" field can be defined in the following form:
[0033] / * backup_flags * /
[0034] #define MTD_BACKUP_DISABLED 0x00
[0035] #define MTD_BACKUP_ENABLED 0x01
[0036] If the value in the "backup_flag" field is 0x00, it is determined that the no...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 