Write Long Sector-32H, 33H; Write Multiple Command-C5H - SanDisk CompactFlash Product Manual

Memory card
Hide thumbs Also See for CompactFlash:
Table of Contents

Advertisement

ATA Command Description
5.1.25. Write Long Sector—32H, 33H
Bit ->
Command (7)
C/D/H (6)
Cyl High (5)
Cyl Low (4)
Sec Num (3)
Sec Cnt (2)
Feature (1)
This command is provided for compatibility purposes and is similar to the Write Sector(s) command except that it
writes 516 bytes instead of 512 bytes. Only single sector Write Long operations are supported. The transfer consists
of 512 bytes of data transferred in word mode followed by 4 bytes of ECC transferred in byte mode. Because of the
unique nature of the solid-state CompactFlash Memory Card, the four bytes of ECC transferred by the host cannot
be used by the CompactFlash Card. The CompactFlash Card discards these four bytes and writes the sector with
valid ECC fields. This command has the same protocol as the Write Sector(s) command.
5.1.26. Write Multiple Command—C5H
Bit ->
Command (7)
C/D/H (6)
Cyl High (5)
Cyl Low (4)
Sec Num (3)
Sec Cnt (2)
Feature (1)
NOTE: The current revision of the CompactFlash Memory Card only supports a block count of 1 as indicated in
the Identify Drive Command information. This command is provided for compatibility with future products
that may support a larger block count.
This command is similar to the Write Sectors command. The CompactFlash Memory Card sets BSY within 400
nsec of accepting the command. Interrupts are not presented on each sector but on the transfer of a block that
contains the number of sectors defined by Set Multiple. Command execution is identical to the Write Sectors
operation except that the number of sectors defined by the Set Multiple command is transferred without intervening
interrupts.
DRQ qualification of the transfer is required only at the start of the data block, not on each sector. The block count
of sectors to be transferred without intervening interrupts is programmed by the Set Multiple Mode command, which
must be executed prior to the Write Multiple command.
5-20
Table 5-31. Write Long Sector
7
6
5
1
LBA
1
Table 5-32. Write Multiple Command
7
6
5
X
LBA
X
®
CompactFlash
Memory Card Product Manual, Rev. 10.0 © 2002 SANDISK CORPORATION
4
3
32H or 33H
Drive
Head (LBA 27-24)
Cylinder High (LBA 23-16)
Cylinder Low (LBA 15-8)
Sector Number (LBA 7-0)
X
X
4
3
C5H
Drive
Cylinder High
Cylinder Low
Sector Number
Sector Count
X
2
1
0
2
1
0
Head

Advertisement

Table of Contents
loading

Table of Contents