摘要 |
A method and a device for reading and writing a memory card are provided. The memory card comprises a main partition and at least one backup partition. The method comprises the following steps: after a read-write device writes a first file to the main partition of the memory card, it then writes the first file to the at least one backup partition; when the read-write device reads a second file from the memory card, the second file is read from the at least one backup partition; when an error occurs during reading of the second file from the backup partition, the second file is read from the main partition. The method and device solve the problem of embedded system instability caused by low error tolerance of memory cards in the prior art. |