Table 4 - Ata String Byte Swapping; Table 5 - Ata Firmware Revision Example - Western Digital T13/2132-D User Manual

Western digital computer drive user manual
Table of Contents

Advertisement

June 23, 2010
Each pair of bytes in an ATA string is swapped as shown in table 4.
If the field contains the string "abcdefg ", including one padding space character at the end, then the word and
byte representations for the field are shown in table 5.
Word
23
24
25
26
Working Draft Enhanced Disk Drive - 4 (EDD-4)
Table 4 — ATA string byte swapping
Word
Byte
Character in string
0
0
Second character
1
First character
1
2
Fourth character
3
Third character
...
...
...
n
2n
Last character
2n+1
Second-to-last character
Table 5 — ATA firmware revision example
Value
Byte
6162h (i.e., "ba")
36
37
6364h (i.e., "dc")
38
39
6566h (i.e., "fe")
40
41
6720h (i.e., " g")
42
43
Value
62h (i.e., 'b')
61h (i.e., 'a')
64h (i.e., 'd')
63h (i.e., 'c')
66h (i.e., 'f')
65h (i.e., 'e')
20h (i.e., ' ', the space character)
67h (i.e., 'g')
T13/2132-D Revision 3
11

Advertisement

Table of Contents
loading

Table of Contents