SmartWAV2-SerialMode_R1
SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 63
8- Master FAT/FAT32 Data Management Functions, Data
Logger -Serial Commands:
SmartWAV 2 includes full FAT/FAT32 data management data logger
functions, this enables the processor to be able to create, read,
modify, write, save, etc. files and folders inside the microSD card, those
functions enable full possibilities for advanced embedded audio
systems.
This section is for Master FAT Data Management Functions.
Note that all commands of this section always respond 2 types of
ACKs, first one is FAT access execution (ACK/NAK of the FAT ACK/NAK
List) and second one is general ACK ‘O’ or NAK ‘F’.
*Never remove micro SD card during any FAT operation as data could
be corrupted and damaged.
Briefly summary of Functions/Commands in this section:
- Mount SD Card - 0x46, 0x58 hex ‘F’, ‘X’ ascii
- List Directories - 0x46, 0x4C hex ‘F’, ‘L’ ascii
- List Files - 0x46, 0x4C hex ‘F’, ‘L’ ascii
- Get Dir Item Name - 0x46, 0x47 hex ‘F’, ‘G’ ascii
- Get File Item Name - 0x46, 0x47 hex ‘F’, ‘G’ ascii
- Open Directory - 0x46, 0x44 hex ‘F’, ‘D’ ascii
- Get Current Path - 0x46, 0x48 hex ‘F’, ‘H’ ascii
- New Directory - 0x46, 0x4E hex ‘F’, ‘N’ ascii
- New File - 0x46, 0x4E hex ‘F’, ‘N’ ascii
- Erase Directory - 0x46, 0x45 hex ‘F’, ‘E’ ascii
- Erase File - 0x46, 0x45 hex ‘F’, ‘E’ ascii
- Get File Size - 0x46, 0x49 hex ‘F’, ‘I’ ascii
- Get FAT Attribute - 0x46, 0x49 hex ‘F’, ‘I’ ascii
- Get Date & Time - 0x46, 0x54 hex ‘F’, ‘T’ ascii
- Set Date & Time - 0x46, 0x54 hex ‘F’, ‘T’ ascii
- Dir Rename/Move - 0x46, 0x4D hex ‘F’ ‘M’ ascii
- File Rename/Move - 0x46, 0x4D hex ‘F’ ‘M’ ascii
- Get Free & Total Space - 0x46, 0x46 hex ‘F’, ‘F’ ascii