Error handling is similar to the Write Multiple command, except that the error sector address is always returned
as a 48 bit address, and the sector count is a 16 bit number.
Table 69: Write Multiple Ext
register write
previous
current
Task File Register
15:8
7
6
5
4
3
2
1
0
COMMAND
-
39h
DRIVE/HEAD
-
1
1
1
Drive
Reserved
LBA High
LBA Mid
LBA Low
SECTOR COUNT
FEATURES
LBA (47:40)
LBA (39:32)
LBA (31:24)
15:8
nu
LBA (23:16)
LBA (15:8)
LBA (7:0)
7:0
nu
6.47 Write Sector(s) (30h)
This command writes from 1 to 256 sectors as specified in the Sector Count Register. A sector count of zero
requests 256 sectors. The transfer begins at the sector specified in the Sector Number Register. When this
command is accepted, the Drive sets BSY, sets DRQ and clears BSY, then waits for the host to fill the sector buffer
with the data to be written. No interrupt is generated to start the first host transfer operation. No data should
be transferred by the host until BSY has been cleared by the host.
For multiple sectors, after the first sector of data is in the buffer, BSY will be set and DRQ will be cleared. After
the next buffer is ready for data, BSY is cleared, DRQ is set and an interrupt is generated. When the final sector
of data is transferred, BSY is set and DRQ is cleared. It will remain in this state until the command is completed
at which time BSY is cleared and an interrupt is generated. If an error occurs during a write of more than one
sector, writing terminates at the sector where the error occurred. The Command Block Registers contain the
cylinder, head and sector number of the sector where the error occurred. The host may then read the command
block to determine what error has occurred, and on which sector. Table 70 defines the Write Sector(s) command
Byte sequence.
Table 70: Write Sector(s)
Task File Register
7
6
5
4
3
2
1
0
COMMAND
30h
DRIVE/HEAD
1
LBA
1
D
Head (LBA 27:24)
CYLINDER HI
CYLINDER LOW
SECTOR NUM
SECTOR COUNT
FEATURES
Cylinder High (LBA23:16)
Cylinder Low (LBA15:8)
Sector number (LBA7:0)
Sector Count
nu
6.48 Write Sector(s) Ext (34h) 48bit LBA
This is the 48-bit address version of the Write Sector(s) command.
This command writes from 1 to 65,536 sectors as specified in the Sector Count Register. A sector count value of
0000h requests 65,536 sectors. The device shall interrupt for each DRQ block transferred.
If an error occurs during a write of more than one sector, writing terminates at the sector where the error
occurs. The Command Block Registers contain the 48-bit LBA of the sector where the error occurred. The host
may then read the command block to determine what error has occurred, and on which sector.
Table 71: Write Sector(s) Ext
register write
previous
current
Task File Register
15:8
7
6
5
4
3
2
1
0
COMMAND
-
34h
DRIVE/HEAD
-
1
1
1
Drive
Reserved
LBA High
LBA Mid
LBA Low
SECTOR COUNT
FEATURES
LBA (47:40)
LBA (39:32)
LBA (31:24)
15:8
nu
LBA (23:16)
LBA (15:8)
LBA (7:0)
7:0
nu
Swissbit AG
Industriestrasse 4
Swissbit reserves the right to change products or specifications without notice.
Revision: 0.92
CH-9552 Bronschhofen
Switzerland
F-240_data_sheet_CA-HxBV_Rev092.doc
Page 42 of 56
相关PDF资料
SFCF2048H1BO2TO-I-M0-523-SMA FLASH SLC UDMA/MDMA/PIO 2G
SFCF4096H4BK2SA-I-QT-553-SMA FLASH SLC UDMA/MDMA/PIO 4G
SFCF64GBH2BU4TO-I-NU-517-STD FLASH SLC UDMA/MDMA/PIO 64GB
SFN08B4702CBQLF7 RES ARRAY 47K OHM 7 RES 8-DFN
SFP1050-12BG FRONT END AC/DC 1050W 12V
SFP450-12BG PWR SUP 450W 12V 36.6A W/STANDBY
SFSD1024N1BN1TO-I-DF-151-STD FLASH MICRO SD CARD IND S-200 1G
SFSD2048L1BN2TO-I-DF-151-STD FLASH SECURE DGTL CARD SD 2G
相关代理商/技术参数
SFCA8192H1BR4TO-C-DT-236-STD 制造商:SWISSBIT NA INC 功能描述:FLASH
SFCA8192H1BR4TO-I-DT-226-STD 功能描述:FLASH CFAST CARD UDMA F-100 8GB RoHS:是 类别:存储卡,模块 >> 存储器,PC 卡 系列:F-100 标准包装:30 系列:- 存储容量:8GB 存储器类型:存储卡 - Extreme III SD?
SFCA8192H1BR4TO-I-DT-236-STD 功能描述:FLASH CFAST UDMA/MDMA/PIO 8GB RoHS:是 类别:存储卡,模块 >> 存储器,PC 卡 系列:F-100 标准包装:30 系列:- 存储容量:8GB 存储器类型:存储卡 - Extreme III SD?
SFCA8192H2BV4TO-C-DT-216-STD 制造商:SWISSBIT NA INC 功能描述:FLASH
SFCA8192H2BV4TO-C-DT-226-STD 制造商:SWISSBIT 功能描述:CFAST F-240 DENSITY COMMERCIAL - Trays
SFCA8192H2BV4TO-I-DT-216-STD 功能描述:FLASH CFAST UDMA/MDMA/PIO 8GB RoHS:是 类别:存储卡,模块 >> 存储器,PC 卡 系列:F-240 标准包装:30 系列:- 存储容量:8GB 存储器类型:存储卡 - Extreme III SD?
SFCA8192H2BV4TO-I-DT-226-STD 制造商:SWISSBIT 功能描述:CFAST F-240 DENSITY INDUSTRIAL - Trays
SFCC-4-01 功能描述:CABLE CLAMP SPLIT FLAT #4 SCREW RoHS:是 类别:线缆,导线 - 管理 >> 线夹和夹具 系列:- 标准包装:100 系列:TC 类型:C-夹 开口尺寸:0.79" L x 0.54" W x 0.67" H(20.1mm x 13.7mm x 17.0mm) 安装类型:钉子 材质:聚丙烯 颜色:黑