USB-FILESYS-DIL HEXWAX, USB-FILESYS-DIL Datasheet - Page 5

DRIVERFREE USB CONFIGURATION, 28DIL

USB-FILESYS-DIL

Manufacturer Part Number
USB-FILESYS-DIL
Description
DRIVERFREE USB CONFIGURATION, 28DIL
Manufacturer
HEXWAX
Datasheet

Specifications of USB-FILESYS-DIL

Usb Type
FAT File System
Usb Version
2.0
No. Of Ports
1
Supply Voltage Range
2.7V To 5.5V
Operating Temperature Range
-40°C To +85°C
Digital Ic Case Style
DIP
No. Of Pins
28
Package /
RoHS Compliant
It is unshielded and recommended only for ‘dongle’ type
products with no cables attached.
For further dimensional information, refer to figure 6-7 of
the USB 2.0 Specification, in the development kit.
SD Card Connector
The SPI connections for SD Cards is shown in figure 8.
The two pins marked BH are unused and must be
biased high.
Host Commands
All commands start with a command byte and are
followed by a command-specific number of data bytes.
The response from USB-FileSys will start with a status
byte followed by a command-specific number of data
bytes. The response is then clocked out and must be
completely received before sending the next command.
For multi-byte values, the byte order is little-endian, i.e.
least significant byte first. While the response is being
clocked out, the value being clocked in must be 0xFF.
The possible status byte codes are shown in table 5.
Generally, USB-FileSys will respond with NOT_READY
while it computes a response, and then with the status
code resulting from the command. The host will have to
poll USB-FileSys repeatedly to determine the result. If
the result is anything other than SUCCESS, no further
data bytes will follow.
p5 of 10
SUCCESS
NOT_POSSIBLE
FILE_NOT_FOUND
VOLUME_FULL
ENTRY_INVALID
Name
12.00
Figure 7. Integral USB connector dimensions
0.50
3.00
1.00-2.00
Shoulder required to prevent over-insertion
1.00
1.00
Table 5. Command Status Codes
Overall PCB width 16.00 or less
Pin 9 is out of order; this is not an error.
2.25
1.25
Figure 8. SD Card Connections.
Value Meaning
0x00
0x01
0x02
0x03
0x05
26-Aug-10
11.75
Command successfully executed
Not possible to execute the command
as requested
File not found
No empty clusters available
File reference is not valid
4. Vss
3. D+
2. D-
1. Vdd
including tracks 2.00 - 2.20
USB-FileSys / USB-Config
Contacts plated with hard
gold flash (0.25-1.27µm)
over nickel (2.6-5.0µm)
Overall PCB thickness
Dimensions in mm
In order to maximize the size of the available internal
memory, error checking is not exhaustively performed to
verify that the command sent to the host is legal. It is
the host’s responsibility to ensure commands are correct,
e.g. only deleting empty subdirectories and using legal
characters in file names.
A “current directory” is used to avoid long path names.
To open a file, it is necessary to move to that file’s
current directory first, and then open it.
When a file is opened, the host assigns a file handle
number (00-03), which is then used to refer to the file in
subsequent read and write commands. When the file is
closed, the file handle is freed to be used in another
open command.
Long file names are only partially supported.
support would significantly increase chip costs due to
patent licensing requirements. The PC may create files
and directories with long names, but they will only be
visible to USB-FileSys by their short file names. USB-
FileSys itself can only create files with short names, but
it can work with long-name files created by the PC by
referencing their short file name equivalents.
Short (“8.3”) file names are composed of a name of up
to eight ASCII characters followed by an extension of up
to three characters. If either the name or t
extension are shorter than this, they should be padded
with spaces so that the file names is 11 characters long.
The following characters are not allowed:
Executing Commands While PC Connected
Executing commands while the PC is connected is
problematic, but possible.
USB-FileSys will ensure that the PC and the host do not
simultaneously modify the volume. Nevertheless, care
should be taken if the host modifies any files while the
device is connected to a PC.
In general the host and the PC should not attempt
modify the same file. It is recommended that the host
only modifies files whose directory entries have been
marked as read-only for the entire time that the PC has
been connected.
HANDLE_IN_USE
ROOT_DIR_FULL
OUT_OF_RANGE
FAT_TABLE_ERROR
WRITE_FAILURE
NOT_FORMATTED
NOT_MEMORY
NOT_READY
Name
1. Lower case letters a to z
2. Any of \ / : * ? " < > | + , . ; = [ ]
3. Control characters 0x00 – 0x1F
4. DEL character 0x7F
5. The first character must not be a space
HW149-8
Table 5. Command Status Codes
Value Meaning
0x0C
0x06
0x07
0x08
0x09
0x0A
0x0B
0xFF
File handle is in use
Root directory is full. (The root
directory has a fixed size.)
Attempt to read after the last cluster
FAT table error
Internal memory write failure
Memory not formatted
Removable SD card not present
Still computing result – try again later
www.hexwax.com
he
Full

Related parts for USB-FILESYS-DIL