SmartWAV2-SerialMode_R1
SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 65
8.1 Mount SD Card - 0x46, 0x58hex - ‘F, ‘X’ ascii
Commands (host)
byte(s)
1.- 0x46 (hex), F (ascii). *FAT command.
2.- 0x58 (hex), X (ascii). *Mount SD Card.
3.- 0x00 (hex) for Unmount or
0x01 (hex) for Mount.
Responses (device)
byte(s)
1.- 0xXX - FAT ACK/NAK List Byte Reply
2.- 0x4F (hex), O (ascii) - Success ACK or
0x46 (hex), F (ascii) - Fail NAK.
Description
This command mounts/unmounts a FAT
/FAT32 file access system on the inserted
microSD card. This command is useful If the
user needs to safely remove and insert a
different microSD card in the running
application.
*This command is automatically performed
inside SmartWAV 2 with a parameter
“Mount” just after the “Initialize System”
command is ACKnowledged, if a microSD
card is inserted, then FAT file system will be
ready to use.
Examples (sent and
received commands)
Example 1:
Sent data:
-46,58,00- Unmount SDcard FAT file system.
Received data:
-00,4F- OK, OK. (microSD card can be safely
removed).
*All data is in hex.