Write Verify Sector(S)-3Ch; Error Posting - SanDisk CompactFlash Product Manual

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

Advertisement

5.1.30. Write Verify Sector(s)—3CH
Bit ->
Command (7)
C/D/H (6)
Cyl High (5)
Cyl Low (4)
Sec Num (3)
Sec Cnt (2)
Feature (1)
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 CompactFlash Memory Card sets BSY, then 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 buffer fill 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 occurs. 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.

5.2. Error Posting

Table 5-37 summarizes the valid status and error value for all the ATA Command set.
Command
Check Power Mode
Execute Drive Diagnostic*
Erase Sector(s)
Format Track
Identify Drive
Idle
Idle Immediate
Initialize Drive Parameters
Read Buffer
®
CompactFlash
Memory Card Product Manual, Rev. 10.0 © 2002 SANDISK CORPORATION
Table 5-36. Writer Verify Sectors
7
6
5
1
LBA
1
Table 5-37. Error and Status Register
Error Register
BBK
UNC
IDNF
V
V
V
4
3
3CH
Drive
Head (LBA 27-24)
Cylinder High (LBA 23-16)
Cylinder Low (LBA 15-8)
Sector Number (LBA 7-0)
Sector Count
X
ABRT
AMNF
DRDY
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
ATA Command Description
2
1
0
Status Register
DWF
DSC
CORR
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
ERR
V
V
V
V
V
V
V
V
V
5-23

Advertisement

Table of Contents
loading

Table of Contents