Product manual

Preliminary CompactFlash Memory Card Product Manual
SanDisk CompactFlash Memory Card Product Manual Rev. 8 © 2001 SANDISK CORPORATION
71
6.1.18 Set Multiple Mode - C6H
Bit -> 7 6 5 4 3 2 1 0
Command (7)
C6H
C/D/H (6)
X Drive X
Cyl High (5)
X
Cyl Low (4)
X
Sec Num (3)
X
Sec Cnt (2)
Sector Count
Feature (1)
X
This command enables the CompactFlash Card to
perform Read and Write Multiple operations and
establishes the block count for these commands.
The Sector Count Register is loaded with the
number of sectors per block. The current version of
the CompactFlash Card supports only a block size
of 1 sector per block. Future versions may support
larger block sizes. Upon receipt of the command,
the CompactFlash Card sets BSY to 1 and checks
the Sector Count Register.
If the Sector Count Register contains a valid value
and the block count is supported, the value is
loaded for all subsequent Read Multiple and Write
Multiple commands and execution of those
commands is enabled. If a block count is not
supported, an Aborted Command error is posted,
and Read Multiple and Write Multiple commands
are disabled. If the Sector Count Register contains 0
when the command is issued, Read and Write
Multiple commands are disabled. At power on, or
after a hardware or (unless disabled by a Set
Feature command) software reset, the default
mode is Read and Write Multiple disabled.
6.1.19 Set Sleep Mode- 99H, E6H
Bit -> 7 6 5 4 3 2 1 0
Command (7)
E6H or 99H
C/D/H (6)
X Drive X
Cyl High (5)
X
Cyl Low (4)
X
Sec Num (3)
X
Sec Cnt (2)
X
Feature (1)
X
This command causes the CompactFlash Memory
Card to set BSY, enter the Sleep mode, clear BSY
and generate an interrupt. Recovery from sleep
mode is accomplished by simply issuing another
command (a reset is permitted but not required).
Sleep mode is also entered when internal timers
expire so the host does not need to issue this
command except when it wishes to enter Sleep
mode immediately. The default value for the read
to sleep timer is 5 milliseconds. Note that this time
base (5 msec) is different from the ATA
Specification.