谈希捷硬盘APP代码启动参数
识别APP代码参数需要以下几步:1.在安全模式下启动硬盘。
2.当F>提示符出现后,输入R命令(读取预留磁道缺陷列表,启动自适应数据,APP代码)
3.在F>提示符再次出现时,立即输入R4命令(读取APP代码)。
4.按下“‘”键,硬盘将输出下列信息
2Cmd Cyl Hd SctCnt StbufSeglCsctCbuf Actv ErCd Rtry Flags
1A 00000 00 0000000000000 0001800080 N 00 FFFF.FF.80 1800
与响应格式一致,我们看到载入是从磁到起始处(0扇区)开始的,块长是0x0180扇区,块被载入缓冲区0x80。
5.识别APP代码偏置。要做到这一点:
6.按下“.”键,硬盘响应如下:
3Pgm=00 Trk=000096FA(000096FA).0(0).180(000) Zn=00 Err=00 ErCt=0000 Hlth=0000 CHlth=0000 Ready
LBA=00000000
为与响应格式保持一致,我们看到载入使用0x096FA磁道作为源磁道。
7.按下“%”键,结果将是:
4:000000010000 AX " "000096E5-00009712
为与响应格式保持一致,这里柱面指的是SA基础柱面0x096E5,因此,偏置是0x096FA-0x096E5=0x15
注意:APP代码必须在安全模式下被读入。给硬盘发送preceding “R”命令来载入SA 缺陷列表并启动自适应数据。
文献来源:PC3000英文说明书
原文如下:
Identification of App code parameters requires the following steps:
1. Start the drive in Safe mode1
2. When the F> prompt appears, enter the R command (to read reserve track defect list, boot adaptive data, App
code).
3. As soon as the drive outputs again the F> prompt, enter the R4 command (to read App code).
4. Press the “ ` ” key, the drive outputs the following information:
2Cmd Cyl Hd Sct Cnt Stbuf Segl Csct Cbuf Actv ErCd Rtry Flags
1A 00000 00 00000 0000 0000 00 0180 0080 N 00 FFFF.FF.80 1800
In accordance with the response format, we see that loading starts from track beginning (sector 0), block length is
0x0180 sectors, the block is loaded to buffer 0x80.
5. Identify the App code track offset. To do so,
6. Press the “ . ” key, the drive responds as follows:
3Pgm=00 Trk=000096FA(000096FA).0(0).180(000) Zn=00 Err=00 ErCt=0000 Hlth=0000 CHlth=0000 Ready
LBA=00000000
In accordance with the response format, we see that loading uses track 0x096FA as the source.
7. Press the “ % ” key, the result is:
4:000000010000 AX " "000096E5-00009712
In accordance with the response format, we see that it refers to the SA base cylinder 0x096E5.
Therefore, the offset is 0x096FA – 0x096E5 = 0x15 (the drive in the example does not use track index multiplication
by 2).
ATTENTION! App code must be read in Safe mode, with a preceding “R” command to the drive to load the SA defect
list and boot adaptive data.
备注:译文未经中国硬盘基地允许,禁止转载;
注:在发表到一定程度后,我们将直接做成电子版,供大家学习使用。 做沙发了!~ 学习了~好贴~~ 好东西,学习学习 看下,谢谢了啊 看下,谢谢了啊 重量级的帖子,
好好的学习了 学习了~好贴~~ 雖然沒有udma版,還是支持一下. 这个先进技术,领教