smc256af Numonyx, smc256af Datasheet - Page 72

no-image

smc256af

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

Related parts for smc256af