Data Sheet
11.0 SOFTWARE INTERFACE
ATA Flash Disk Controller
SST55LD019A / SST55LD019B / SST55LD019C
11.1 ATA Flash Disk Controller Drive Register Set Definitions and Protocol
This section defines the drive registers for the ATA Flash Disk Controller and the protocol used to address them.
11.1.1 ATA Flash Disk Controller Addressing
The I/O decoding for an ATA Flash Disk Controller is shown in Table 11-1.
TABLE 11-1: Task File Registers
CS3FX# CS1FX# A2
A1
1
0
0
0
1
0
0
0
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
1
1
0
1
1
0
1
1
1
0
1
1
1
Registers
A0 IORD# = 0 (IOWR#=1)
IOWR# = 0 (IORD#=1)
0 Data (Read)
Data (Write)
1 Error
Feature
0 Sector Count
Sector Count
1 Sector Number (LBA 7-0)
Sector Number (LBA 7-0)
0 Cylinder Low (LBA 15-8)
Cylinder Low (LBA 15-8)
1 Cylinder High (LBA 23-16)
Cylinder High (LBA 23-16)
0 Drive/Head
Drive/Head
1 Status
Command
0 Alternate Status
Device Control
1 Drive Address
Reserved
T11-1.0 1241
11.1.2 ATA Flash Disk Controller Registers
The following section describes the hardware registers used by the host software to issue commands to the ATA Flash Disk
Controller. These registers are often collectively referred to as the Task File registers. The registers are only selectable
through CS3FX#, CS1FX#, and A2-A0 signals.
11.1.2.1 Data Register (Read/Write)
This 16-bit register is used to transfer data blocks between the device data buffer and the host. It is also the register through
which sector information is transferred on a Format-Track command. Data transfer can be performed in PIO mode.
11.1.2.2 Error Register (Read Only)
This register contains additional information about the source of an error when an error is indicated in bit 0 of the Status reg-
ister. The bits are defined as follows:
D7
BBK
Symbol
BBK
UNC
IDNF
ABRT
AMNF
D6
D5
D4
D3
D2
D1
D0
Reset Value
UNC
0
IDNF
0
ABRT
0
AMNF 0000 0000b
Function
This bit is set when a Bad Block is detected.
This bit is set when an Uncorrectable Error is encountered.
The requested sector ID is in error or cannot be found.
This bit is set if the command has been aborted because of an ATA Flash Disk Controller
status condition: (Not Ready, Write Fault, etc.) or when an invalid command has been
issued. It is required that the host retry any media access command (such as Read-
Sectors and Write-Sectors) that ends with an error condition.
This bit is set in case of a general error.
©2006 Silicon Storage Technology, Inc.
20
S71241-04-000
12/06