江汉大学学报(自然科学版) ›› 2021, Vol. 49 ›› Issue (2): 82-88.doi: 10.16389/j.cnki.cn42-1737/n.2021.02.011

• 单片机与嵌入式系统应用 • 上一篇    下一篇

基于SD 卡的FAT32 文件系统可靠性设计

卢俊辉,刘旗,史丽娟   

  1. 江汉大学 智能制造学院,湖北 武汉 430056
  • 发布日期:2021-03-19
  • 作者简介:卢俊辉(1974— ),男,副教授,博士,研究方向:雨量测量。

Reliability Design of FAT32 File System Based on SD Card

LU Junhui,LIU Qi,SHI Lijuan   

  1. School of Intelligent Manufacturing,Jianghan University,Wuhan 430056,Hubei,China
  • Published:2021-03-19
  • Supported by:
    湖北省重点培育学科控制科学与工程资助项目;武汉市青年晨光计划资助项目(2013071004010470)

摘要: 分析了FAT32 文件系统在嵌入式系统应用中存在的问题,预留FDT 空间使得FDT 和DATA顺序存储,防止FDT 和DATA 互相穿插;增加DBR 扇区数量实现空闲簇号循环冗余递增存储;对DBR、FAT 和FDT 进行必要的格式检错和纠错,有效地提高了FAT32 文件系统应用于嵌入式系统的实时性和可靠性。

关键词: FAT32 文件系统, SD 卡, 冗余, 纠错, 实时性, 可靠性

Abstract: This paper analyzes the problems existing in the application of the FAT32 file system in the embedded system,reserves FDT space to make FDT and DATA store sequentially,and prevents FDT and DATA from interpenetrating with each other. The redundant storage of incremental idle cluster numbers is realized by increasing the number of DBR sectors,and the necessary format error detection and error correction for DBR,FAT,and FDT is conducted. The real-time performance and reliability of the FAT32 file system applied to the embedded system are improved effectively.

Key words: FAT32 file system, SD card, redundancy, error correction, real-time performance, reliability

中图分类号: