参数资料
型号: USB-FILESYS-SS
厂商: Flexipanel
文件页数: 8/10页
文件大小: 0K
描述: IC SYSTEM USB FAT FILE 20-SSOP
标准包装: 25
系列: *
其它名称: 658-1044-5
p7 of 10
26-Aug-10
USB-FileSys / USB-Config
HW149-8
www.hexwax.com
Example:
Command: What is the 5
th directory entry in the
current directory?
03 04 00
Response:
Success, file is a read-only file called
“FRED.TXT”.
00 46 52 45 44 20 20 20 20 54 58 54 01…
Command: Set file entry
06
Response:
Success.
00
Data:
(Renamed “TOM.TXT”)
00 54 4F 4D 20 20 20 20 20 54 58 54 01…
Response:
Success.
00
Example:
Delete File / Directory
This command deletes the file, subdirectory or volume
label retrieved by the last Get File Entry By Index or Get
File Entry By Short Name command. The first byte of
the command is the value 0x07 followed by the
confirmation bytes 0x59, 0x65, 0x73 (“yes”).
The response will be the status byte.
Example:
Command: What is the 5
th directory entry in the
current directory?
03 04 00
Response:
Success, file is a read-only file called
“FRED.TXT”
00 46 52 45 44 20 20 20 20 54 58 54 01…
Command: Delete it
07 79 65 73
Response:
Success.
00
Only empty subdirectories should be deleted; it the
host’s responsibility to delete all directory entries first.
(The “.” and “..”entries do not need to be deleted.)
Format Volume
This command deletes the entire contents of the internal
volume or the 25AA1024 external memory. It frees up
any clusters which may have been rendered unusable
due to deletion of a non-empty directory or power failure
during a file operation. The root directory will become
the current directory.
The first byte of the command is the value 0x08 followed
by the confirmation bytes 0x59, 0x45, 0x53 (“YES”).
The response will be the status byte.
SD memories must be formatted by the PC. 24AA1024
memories can be formatted by the PC when used with
the 28-pin USB-FileSys.
20-pin devices should only format using the Format
Volume command.
Example:
Command: Format volume
08 59 45 53
Response:
Success.
00
Set Date / Time
This command sets the date and time as used by file
creation and file close commands. It does not keep time.
This command should be given immediately before the
open command when a file is being created and all
close commands. If the command is never given, files
are given the date / time 12:00 1/1/2000 when created
and left unchanged otherwise.
The first byte of the command is the value 0x09. The
following four bytes indicate the date and time as shown
in table 7.
Example:
Command: Set date / time to 12:00, 1/1/2000
09 00 60 21 28
Response:
Success.
00
Table 7. Date / time structure
Byte
Meaning
0-1
Time:
Bits 0-4:
Doublesecond (0-29)
Bits 5-10:
Minute (0-59)
Bits 11-15: Hour (0-23)
2-3
Date:
Bits 0-4:
Date (1-31)
Bits 5-8:
Month (1-12)
Bits 9-15:
Year since 1980 (0-127 = 1980-2107)
Open File
This command opens an existing file, or creates it if it
does not exist already, using information from the
previous Get File Entry By Index or Get File Entry By
Short Name command. The first byte of the command
is the value 0x0A. The second is the “file handle” to
associate with the file, which can be a value from 00 to
03. The response will be the status byte. The file must
be closed before the file handle is re-used.
The Open command may be used for creating a
subdirectory or volume label. In this case, the directory
entry is created but no file is opened and the file handle
is ignored. In the case of a subdirectory, the current
directory is changed to the new subdirectory.
It is permitted to open a file more than once
simultaneously, for example to copy data from one
section of the file to another, provided only one file
handle is used for writing to the file.
相关PDF资料
PDF描述
NBSG16BAR2 IC RCVR/DRVR RSECL SIGE 16FCBGA
CS8190ENF16 IC DRVR AIRCORE TACH/SPEED 16DIP
MIC5333-NNYMT TR IC REG LDO 2.85V .3A 10TMLF
MAX9949DCCB+TD IC PMU DUAL 64TQFP
KS8993MI IC SWITCH 10/100 3PORT 128PQFP
相关代理商/技术参数
参数描述
USBFKEY0256B 功能描述:USB接头 256MB USB Memory Key Black RoHS:否 制造商:FCI 产品:USB Type A Connectors 标准:USB 3.0 端口数量: 位置/触点数量:9 型式:Female 电流额定值:1.8 A 安装风格:Through Hole 端接类型:Solder Pin 连接器类型:USB 3.0 Receptacle
USBFKEY0256G 功能描述:USB接头 256MB USB Memory Key Olive Drab RoHS:否 制造商:FCI 产品:USB Type A Connectors 标准:USB 3.0 端口数量: 位置/触点数量:9 型式:Female 电流额定值:1.8 A 安装风格:Through Hole 端接类型:Solder Pin 连接器类型:USB 3.0 Receptacle
USBFKEY0256N 功能描述:USB接头 256MB USB Memory Key Nickel RoHS:否 制造商:FCI 产品:USB Type A Connectors 标准:USB 3.0 端口数量: 位置/触点数量:9 型式:Female 电流额定值:1.8 A 安装风格:Through Hole 端接类型:Solder Pin 连接器类型:USB 3.0 Receptacle
USBFKEY0512B 功能描述:USB接头 512MB USB Memory Key Black RoHS:否 制造商:FCI 产品:USB Type A Connectors 标准:USB 3.0 端口数量: 位置/触点数量:9 型式:Female 电流额定值:1.8 A 安装风格:Through Hole 端接类型:Solder Pin 连接器类型:USB 3.0 Receptacle
USBFKEY0512G 功能描述:USB接头 512MB USB Memory Key Olive Drab RoHS:否 制造商:FCI 产品:USB Type A Connectors 标准:USB 3.0 端口数量: 位置/触点数量:9 型式:Female 电流额定值:1.8 A 安装风格:Through Hole 端接类型:Solder Pin 连接器类型:USB 3.0 Receptacle