Skip to content

Questions about FILEX's fault tolerant module #2

Open
@SUM-L

Description

@SUM-L

Questions about FILEX's fault tolerant module:

  1. If power is turned off at _fx_fault_tolerant_create_log_file, will FAT entry be lost and fewer FAT entries available?

  2. What if the log file is full?

How are the following scenarios handled?

1, if there are currently three files A.txt(1MB), B.txt(1MB) and C.txt(1MB), then the three threads open A.txt, B.txt, C.txt, respectively, to update data from a certain location of the file in the way of overwriting.

  1. Open a new file, write a fixed byte (such as 512B) of data each time, cycle until the size of 1GB, and then close the file.

  2. After the fault tolerant function is enabled, how do you handle the SD card switching between the FILEX file system of the module and the FAT32 file system of the computer? This scenario is common on pluggable storage devices.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions