参数资料
型号: USB-FILESYS-DIL
厂商: Flexipanel
文件页数: 9/10页
文件大小: 0K
描述: IC SYSTEM USB FAT FILE 28-DIL
标准包装: 25
系列: *
其它名称: 658-1043-5
p8 of 10
26-Aug-10
USB-FileSys / USB-Config
HW149-8
www.hexwax.com
Files can only be created after using the Get File Entry
By Short Name command.
Example 1 (open existing file):
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: Open the file using handle 01
0A 01
Response:
Success, file is open on handle 01
00
Example 2 (create file):
Command: Find file “FRED.TXT” (note the read-only
attribute is set, although this is ignored
while searching for the file)
04 44 41 54 41 20 20 20 20 20 20 20 01
Response:
Fail, file does not exist.
02
Command: Create the file as read-only using handle
03
0A 03
Response:
Success, file is open on handle 01
00
Example 3 (create subdirectory):
Command: Find subdirectory “DATA”.
04 44 41 54 41 20 20 20 20 20 20 20 10
Response:
Fail, file does not exist.
02
Command: Create subdirectory (file handle ignored)
0A 00
Response:
Success. (No file is opened)
00
Close File
This command closes the file associated with a file
handle. The first byte of the command is the value 0x0B.
The second is the “file handle” of the open file. The next
four bytes (LSB first) are the desired length of the file, or
0xFFFFFFFF if the length is to be the ‘expected length’.
The expected length is greater of the length recorded in
the directory entry and the highest position written to
while open.
The main effect of this command is to update the length
argument in the directory entry and, if it was shortened,
to free any unused clusters at the end of the file.
If external memory is used, the creation, modify and
access date/time are all fully updated as required. If
internal memory is used, these fields will only be
updated by USB-FileSys if the directory entry would
have been modified anyway.
(i.e. When the file is
created and when it is closed with a different length than
when it was opened.)
Example 1:
Command: Close file handle 02 with expected length
0B 02 FF FF FF FF
Response:
Success
00
Read File
This command reads data from a file starting from the
file pointer position. The first byte of the command is
the value 0x0D. The second is the “file handle” of the
open file. The next four bytes are the position in the file
to read from, or 0xFFFFFFFF to continue on
sequentially from the last read or write command. (If
there have been no previous read or write command,
the start of the file will be assumed.)
With the 28-pin device, the next two bytes are the
number of bytes to read, up to a maximum of 512. The
read must not cross the 512-byte sector boundary.
With the 20-pin device, the next two bytes are the
number of bytes to read, up to a maximum of 64. The
read must not cross the 64-byte page boundary.
Note:
The file length information in the directory is
ignored. The data may be read up to the last cluster
itemized in the file allocation table.
The response will be the status byte followed by the
data bytes read.
Example:
Command: Read 4 bytes at position 0123 from file
handle 02
0D 02 23 01 00 00 04 00
Response:
Success, data is 12 34 56 78.
00 12 34 56 78
Write File
This command writes data to a file starting from the file
pointer position. The first byte of the command is the
value 0x0E. The second is the “file handle” of the open
file. The next four bytes are the position in the file to
write to, 0xFFFFFFFE to append onto the end of the file,
or 0xFFFFFFFF to continue on sequentially from the last
read or write command. (If there have been no previous
read or write commands, the start of the file will be
assumed.)
With the 28-pin device, the next two bytes are the
number of bytes to write, up to a maximum of 512. The
write must not cross the 512-byte sector boundary.
相关PDF资料
PDF描述
USB-I2C-DIL IC USB SYNC SRL I2C 28-DIL
USB-SPI-DIL IC USB SYNC SRL SPI 28-DIL
USB2SERA10CFK USB TO SERIAL BRIDGE
V62/11608-01XE IC SWITCH SPDT SGL 8PIN
VNC2-64Q1B-TRAY IC USB HOST/DEVICE CTRL 64-QFN
相关代理商/技术参数
参数描述
USB-FILESYS-DIL 制造商:HexWax Ltd 功能描述:DRIVERFREE USB CONFIGURATION 28DIL
USB-FILESYS-SS 功能描述:USB 接口集成电路 Driver-Free USB con- figr/diagnostic mod RoHS:否 制造商:Cypress Semiconductor 产品:USB 2.0 数据速率: 接口类型:SPI 工作电源电压:3.15 V to 3.45 V 工作电源电流: 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:WLCSP-20
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