10.8.25 Write DMA (CAh/CBh)
COMMAND CODE | 1 1 0 0 1 0 1 X | REGISTER | |
| REGISTER SETTING | NORMAL COMPLETION | |
DR | drive no. | no change | |
CY | starting cylinder | last possible | |
HD | starting head | last possible | |
SN | starting sector | last possible | |
SC | no. of sector to write | 00H | |
FT |
|
| no change |
LBA | staring address | last address |
This command is basically identical to Sector command except following differences.
•Host initialize the DMA channel before issuing command.
-Data transfer is initiated by DMARQ and handled by the DMA channel in the host.
-Drive issue only one interrupt at the completion of each command to show the status is valid after data transfer.
During DMA transfer phase, either BSY or DRQ is set to 1.
When a command is completed, CY, HD, SN register (LBA register) shows the sector transferred the latest. If the drive detects unrecoverable error, the drive terminates the command and CY, HD, SN register (LBA register) shows the sector where error has occurred.
10.8.26 Write DMA EXT | (35h) |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| COMMAND CODE |
| 0 0 1 1 0 1 0 1 |
| REGISTER | |||
|
|
|
| REGISTER SETTING | NORMAL COMPLETION | |||
| DR |
|
|
| drive no. |
| no change | |
| LBA | Current |
| LBA(7:0) | HOB=0 |
| last address | |
|
|
|
| |||||
| Low | Previous |
| LBA(31:24) | HOB=1 |
| last address | |
| LBA | Current |
| LBA(15:8) | HOB=0 |
| last address | |
| Mid | Previous |
| LBA(39:32) | HOB=1 |
| last address | |
| LBA | Current |
| LBA(23:16) | HOB=0 |
| last address | |
| High | Previous |
| LBA(47:40) | HOB=1 |
| last address | |
| SC | Current |
| sector count(7:0) | HOB=0 |
| 00H | |
|
| Previous |
| sector count(15:8) | HOB=1 |
| 00H | |
| FT | Current |
| reserved | HOB=0 |
| no change | |
|
| Previous |
| reserved | HOB=1 |
| no change |
This command is basically identical to Write DMA command except register setting.
This command is available in LBA addressing only.
Toshiba Corporation Digital Media Network Company
Page 75 of 157
© 2005, Copyright TOSHIBA Corporation All Rights Reserved