
360014937
10.6 Address Decoding
The host addresses the drive using programmed I/O. be placed on the three host address lines, DA2 - DA0. strode
In this method, the required register address should An appropriate chip is selected and a read or write
The following I/O map shows definitions of all the register addresses and functions for these I/O locations. The descriptions of each register are shown in the next paragraph.
Table 10.6-1 Register map
| Address |
|
|
|
| |
- CS0 | - CS1 | HA2 | HA1 | HA0 | READ REGISTER | WRITE REGISTER |
0 | 0 | X | X | X | Invalid address | Invalid address |
0 | 1 | 0 | 0 | 0 | Data register | Data register |
0 | 1 | 0 | 0 | 1 | Error register | Features (Write precompensation) |
|
|
|
|
|
| register |
0 | 1 | 0 | 1 | 0 | Sector count | Sector count |
0 | 1 | 0 | 1 | 1 | Sector number / LBA bit 0- 7 | Sector number / LBA |
0 | 1 | 1 | 0 | 0 | Cylinder low / LBA bit 8- 15 | Cylinder low / LBA |
0 | 1 | 1 | 0 | 1 | Cylinder high / LBA bit16- 23 | Cylinder high / LBA |
0 | 1 | 1 | 1 | 0 | Device head register | Device head register |
|
|
|
|
| / LBA bit 24- 27 | / LBA bit |
0 | 1 | 1 | 1 | 1 | Status register | Command register |
1 | 0 | 0 | X | X | High impedance | Not used |
1 | 0 | 1 | 0 | X | High impedance | Not used |
1 | 0 | 1 | 1 | 0 | Alt. status register | Device control register |
1 | 0 | 1 | 1 | 1 | Device address register1 | Not used |
1 | 1 | X | X | X | High impedance | Not used |
“X” means “don't care”.
The host generates selection of two independent chips on the interface. The selected high order
The following table shows the standard decode logic to connect with ISA (Industry Standard Architecture) bus .
| Table |
|
|
Register Address Map | Decode |
- CS0 = - ((- A9) | |
3F6,3F7 | - CS1= - |
| |
| AEN) |
- CS0= - ((- A9)*A8*(- A7)*A6*A5*A4*(- A3)*(- AEN) | |
376,377 | - CS1= - (A9*A8*(- A7)*A6*A5*A4)*(- A3)*(- AEN) |
The host data buses 15-8 are valid only when - IOCS16 is active.
•- IOCS16 is asserted when interface address lines match to data register address. It does not turn active during ECC bytes transfer for read or write long command (8 bit transfer).
1
The drive supports this register to maintain compatibility for
Copyright © 2000 Toshiba corporation. All rights reserved.
- 549 -