
MPC5200 ATA Interface, Rev. 0
ATA Interface
Freescale Semiconductor
6
2.6
Sector Addressing
The addressing of data sectors recorded on the device's media is performed by a logical sector address.
Two modes are supported:
•
Cylinder/head/sector addressing (CHS)
•
Logical block addressing (LBA)
The MPC5200 host system may select either CHS translation addressing or LBA addressing on a
command-by-command basis by using the LBA bit in the ATA drive device/head register. The LBA bit
must be set if the host uses LBA addressing mode. The MPC5200 allows 27-bit LBA addressing per
device.
2.7
ATA Programming Model
Figure 2
describes the typical structure and sequence of steps needed to initialize and issue ATA
commands for MPC5200.
0x3A78
0
1
1
1
0
Drive device/head
Drive device/head
Drive LBA bits 24-27*
Drive LBA bits 24-27*
0x3A7C
0
1
1
1
1
Drive device status
Drive command
—
0
0
x
x
x
Invalid address
Invalid address
*Mapping of registers in LBA mode
Table 4. ATA Register Address/Chip Select Decoding (continued)