Write Multiple Without Erase - Cdh - SanDisk CompactFlash Product Manual

Hide thumbs Also See for CompactFlash:
Table of Contents

Advertisement

When the Write Multiple command is issued, the
Sector Count Register contains the number of
sectors (not the number of blocks or the block count)
requested. If the number of requested sectors is not
evenly divisible by the sector/block, as many full
blocks as possible are transferred, followed by a
final, partial block transfer. The partial block
transfer is for n sectors, where:
n = remainder (sector count/block count).
If the Write Multiple command is attempted
before the Set Multiple Mode command has been
executed or when Write Multiple commands are
disabled, the Write Multiple operation will be
rejected with an aborted command error.
Errors
encountered
during
commands are posted after the attempted writes
6.1.27

Write Multiple without Erase - CDH

Bit ->
7
Command (7)
C/D/H (6)
X
Cyl High (5)
Cyl Low (4)
Sec Num (3)
Sec Cnt (2)
Feature (1)
This command is similar to the Write Multiple
command with the exception that an implied
erase before write operation is not performed. The
sectors should be pre-erased with the Erase
Sector(s) command before this command is issued.
SanDisk CompactFlash Memory Card Product Manual © 1998 SANDISK CORPORATION
CompactFlash Memory Card Product Manual
Write
Multiple
6
5
4
LBA
X
Drive
Cylinder High
Cylinder Low
Sector Number
Sector Count
of the block or partial block transferred. The
Write command ends with the sector in error, even
if it is in the middle of a block. Subsequent blocks
are not transferred in the event of an error.
Interrupts are generated when DRQ is set at the
beginning of each block or partial block.
The Command Block
cylinder, head and sector number of the sector
where the error occurred and the Sector Count
Register contains the residual number of sectors
that
need to be transferred
completion of the command e.g. each block has 4
sectors, a request for 8 sectors is issued and an error
occurs on the third sector. The Sector Count
Register contains 6 and the address is that of the
third sector.
3
2
CDH
Head
X
Refer to section 1.8.5 Using the Erase Sector and
Write without Erase Commands and to section
6.1.29 Write Sector(s) Without Erase - 38H for an
expanded definition of the Write Sector(s)
without Erase command.
Registers
contain the
for successful
1
0
77

Advertisement

Table of Contents
loading

Table of Contents