Command Protocol - 4D systems µDRIVE-uSD-G1 User Manual

Tiny “disk drive” data storage module for embedded applications based on micro-sd memory card
Table of Contents

Advertisement

2.1 Command Protocol

The following are each of the commands with the correct syntax. Please note that all
command examples listed below are in hex (00hex).
NOTE:
When transmitting the command and data bytes to the
separators such as commas ',' or spaces ' ' or brackets '(' ')' between the bytes. The
examples show these separators purely for legibility; these must not be included when
transmitting data to the module.
When a command is sent, the module will reply back with a single acknowledge byte called
the
ACK
(06hex). This tells the host that the command was understood and the operation
is completed. It will take the
the command and the operation it has to perform. If the module receives a command that it
does not understand it will reply back with a negative acknowledge called the
If a command that has 5 bytes but only 4 bytes are sent, the command will not be executed
and the
µDRIVE
will wait until another byte is sent before trying to execute the command.
There are no timeouts when incomplete commands are sent. The module will reply back
with a
NAK
for each invalid command it receives. For correct operation make sure the
command bytes are sent in the proper sequence and correct number of bytes.
µDRIVE
certain amount of time to reply back, depending on
www.4dsystems.com.au
µDRIVE-uSD-G1
µDRIVE,
do not include any
NAK
(15hex).
7

Advertisement

Table of Contents
loading

Related Products for 4D systems µDRIVE-uSD-G1

Table of Contents