A design method based on fat file system and its applied data acquisition device
A file system and design method technology, applied in the direction of input/output to the record carrier, etc., can solve the problems of small capacity, occupation, and shortening the life of FLASH.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Such as figure 1 Shown, a kind of design method based on FAT file system, the step comprises:
[0030] 101 virtualizing the FAT area in the FAT file system;
[0031] 102 divide the DATA area, the file directory entry and the DBR area in the FAT file system on the FLASH storage in turn;
[0032] 103 virtualize a storage address mapping layer, and convert the request address of the external device into the data corresponding to the FLASH physical address or the temporarily constructed FAT area data.
[0033] Among them, the DBR area can only occupy one sector, and the storage address mapping layer can convert the request of the external device for the address data of the first sector into the content of the last sector, and can convert the data request of the data area of the external device into the content of the first sector According to the request about the FAT area of the external device, the file size of the file directory item area can be found, and then the...
Embodiment 2
[0042] Such as image 3 As shown, a data acquisition device based on the FAT file system design method application includes a serial port 301, MCU303, real-time clock RTC302 and FLASH304, the serial port 301 is connected to the MCU303 for receiving and inputting data, and the MCU303 and the FLASH304 are bidirectional connected, the FLASH304 is used to store data in the form of files, the real-time clock RTC302 is connected to the MCU303, and the MCU303 has a USB interface for connecting to a PC, and the files in the FLASH304 can be read and written by the PC. The design method based on the FAT file system is applied on the FLASH304, and the steps include:
[0043] 1) Virtualize the FAT area in the FAT file system, and then perform step 2);
[0044] 2) Divide the DATA area, file directory entry and DBR area in the FAT file system on the FLASH storage in turn, and then perform step 3);
[0045] 3) Virtualize a storage address mapping layer to convert the request address of the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


