English
Language : 

SMCXXXAF Datasheet, PDF (72/82 Pages) Numonyx B.V – 32 Mbyte, 64 Mbyte, 128 Mbyte, 256 Mbyte and 512 Mbyte 3.3 V / 5 V supply CompactFlash™ card
CF-ATA command description
SMCxxxAF
9.25
Write Multiple without Erase command (CDh)
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. Table 77 defines the Write
Multiple without Erase command byte sequence.
Table 77. Write Multiple without Erase
Bit
7
6
5
43
2
1
0
Command (7)
CDh
C/D/H (6)
X
LBA
1
Driv
e
Head
Cyl High (5)
Cyl Low (4)
Sect Num (3)
Cylinder High
Cylinder Low
Sector Number
Sect Cnt (2)
Feature (1)
Sector Count
X
9.26
Write Sector(s) command (30h or 31h)
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 Card 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 78 defines the Write Sector(s) command byte
sequence.
Table 78. Write Sector(s)
Bit
7
6
Command (7)
C/D/H (6)
1
LBA
Cyl High (5)
Cyl Low (4)
Sect Num (3)
Sect Cnt (2)
Feature (1)
5
4
3
2
1
0
30h or 31h
1
Drive
Head (LBA 27-24)
Cylinder High (LBA 23-16)
Cylinder Low (LBA 15-8)
Sector Number (LBA 7-0)
Sector Count
X
72/82