WDR自校准的16个参数(下)
本帖最后由 yeboshi 于 2017-4-19 12:22 编辑gParam8 |= temp << 24
eif
Prompt "Smart TPI? (Y or N):"
if( GetKeyFilter "NY" == 'Y' )
gParam7 |= 4
eif
Prompt "Enter number of victim tracks (Enter = 3):"
temp = getvalue
if (temp == 0)
temp = 3
eif
gParam8 |= temp << 8
Prompt "Enter number of bits to read in power of 10 (Enter = 8):"
temp = getvalue
if (temp == 0)
temp = 8
eif
gParam8 |= temp << 16
Prompt "Enter number of writes for each aggressor track (Enter = 0):"
temp = getvalue
gParam9 |= temp
Prompt "Enter number of writes for each seek-away track (Enter = 0):"
temp = getvalue
gParam9 |= temp << 16
Prompt "Enter error limit for each track (Enter = 0):"
gParam10 = getvalue
Prompt "Enter ECC mode (Enter = 0):"
gParam11 = getvalue
Prompt "Enter ED_Limit, ED_TH12, ED_TH23, ED_TH34 (Enter = 0):"
temp = getvalue
gParam12 |= temp
Prompt "Enter ED_TH45, ED_TH56, ED_TH67, ED_TH78 (Enter = 0):"
temp = getvalue
gParam13 |= temp
Prompt "Enter DFH writer power (Enter = 0):"
temp = getvalue
gParam14 |= temp
Prompt "Enter squeeze percentage for adjacent writes (Enter = 0):"
temp = getvalue
gParam14 |= temp << 8
Prompt "Enter # of writes for squeeze (Enter = 0):"
temp = getvalue
gParam14 |= temp << 16
break
case 5 :
gCommand = VDTHQ_DVT
getstr CodeFileName, "vdthq.bin"
gFileID = VDTHQ_FILEID
getstr gOperationString, "VDT HeadQual"
wprintf "%s", gOperationString
if( gDrvPlatform == AVALON_PLATFORM)
do
prompt "Enter Zone map, Default=0x422 (zone 1,5,10), Min=2, max =0x7fe"
gParam5 = getvalue
if (gParam5 == 0)
gParam5 = 0x422
eif
until ( (gParam5 >=2) && (gParam5 <= 0x7fe))
else
do
prompt "Enter Zone map, Default=0x8402 (zone 1,10,15), Min=2, max =0xfffe"
gParam5 = getvalue
if (gParam5 == 0)
gParam5 = 0x8402
eif
until ( (gParam5 >=2) && (gParam5 <= 0xfffe))
eif
Prompt "Enter bits to read (Enter = 1000000000):"
gParam6 = getvalue
if (gParam6 == 0) // check for ENTER key or 0
gParam6 = 1000000000 // 1e9
eif
Prompt "Enter Error threshold (Enter = 150000):"
gParam7 = getvalue
if (gParam7 == 0) // check for ENTER key or 0
gParam7 = 150000
eif
break
case 6 :
gCommand = DFH_TD
getstr gOperationString, "TouchDown calibration"
wprintf "%s", gOperationString
do
prompt "Enter Zone map, Default(zones 1-7, 18-20):"
gParam5 = getvalue
if (gParam5 == 0)
gParam5 = 0x001C00FE
eif
until (gParam5 >=2)
break
case 7 :
gCommand = RWGAP_CAL
getstr gOperationString, "RWGap Calibration"
wprintf "%s", gOperationString
prompt "Enter Zone map, Default=0x100402 (zone 1,10,20)"
gParam5 = getvalue
if (gParam5 == 0) // check for ENTER key or 0
gParam5 = 0x100000 // zones 20
eif
break
case 8 :
gCommand = HOTARCO
getstr gOperationString, "Hot ARCO"
wprintf "%s", gOperationString
break
case 9 :
gCommand = EQIWOPT
getstr gOperationString, "WPTP Opt"
wprintf "%s", gOperationString
break
case 10 :
gCommand = TD_DVT //TD DVT 0x71
getstr gOperationString, "TouchDown DVT"
wprintf "%s", gOperationString
prompt "Enter Zone map, (Default: zones 1-7, 18-20):"
gParam5 = getvalue
if (gParam5 == 0)
gParam5 = 0x001C00FE
eif
prompt "Enter Run Index (options 0-9, Default is 0):"
gParam6 = getvalue
if (gParam6 == 0)
gParam6 = 0
eif
prompt "Enter Mode (1=optimized, 2=default Iw/OSC/OSD):"
gParam7 = getvalue
break
case 11 :
gCommand = 0FFFFh
getstr gOperationString, "Cancelled"
wprintf "%s", gOperationString
break
default :
// do nothing, do-until loop will prompt user again
break
eswitch
until (gOperation >= 1 && gOperation <= 10)
rvar1 = gCommand
esubr
(上下两篇,内涉及出现的很多西数专业术语在MINI_ARCO和FULLARCO ,高级读取通道优化中有阐述) 非常感谢!虽然不太懂! thanks for sharing thanks for share. thanks for share. 人才人才人才 人才 非常感谢!很有用! 一直试图弄清楚arco参数的含义,有了这个,就有了重要的参考了。要不然看那些十六进制数字简直像天书一样。顺便把“上”也搜集了 高手,高手,高高手! 好评,学习了
页:
[1]