三星内部指令
HE -> Show a list of available commands.BT -> Enter BOOT> level (for downloading ROM, etc.).
ESC KEY -> Go to debug (DBG>) mode.
RT -> Software Reset.
D start -> Read size words or bytes (depending on model) from RAM beginning from word/byte start and output them.
DP start -> Read size words from ROM beginning from word start and output them in Big Endian (ROM dump flips every two bytes, so natural byte order seems to be the one output with this command). Working on old models.
DB start -> Read size bytes from RAM beginning from byte start and output them.
DW start -> Read size words from RAM beginning from word start and output them.
DF start -> Read size words from ROM beginning from word start and output them. Working on old models.
M start -> Edit RAM from start word/byte. Anter ENTER, write N bytes in hex format (e.g., F8). Press ENTER to move forward to next byte/word if needed without changes to current byte/word. Input a full stop (.) followed by an ENTER to finish.
MD start -> Edit RAM from start word/byte. Anter ENTER, write N bytes/words in hex format (e.g., F8). Press ENTER to move forward to next byte/word if needed without changes to current byte/word. Input a full stop (.) followed by an ENTER to finish.
MB start -> Edit RAM from start byte. Anter ENTER, write N bytes in hex format (e.g., F8). Press ENTER to move forward to next byte if needed without changes to current byte/word. Input a full stop (.) followed by an ENTER to finish. Example: MB 0 A0 12 FF
MW start -> Edit RAM from start word. Anter ENTER, write N words in hex format (e.g., F804). Press ENTER to move forward to next word if needed without changes to current word. Input a full stop (.) followed by an ENTER to finish.. Example: MB 0 A012 FFA0
FB start pattern size -> 'Fill Bytes', fill size words/bytes of RAM from start with pattern. Example: FB 0 CAFE 20
FW start pattern size -> 'Fill Words', fill size words of RAM from start with pattern.
LW start size -> Write size words fromstart into RAM. If z exists, input is in hex. If not, input is ASCII text. Ends when size is reached. Example: LW 0 3 Hello! .
UW start size -> After hit ENTER and ^F, shows in ASCII text RAM from start to end.
RS x Hd y z w -> Read using Head Hd. The command might specify a C H S address, but haven't understood it correctly yet.
SK Hd Cyl -> Could be "Seek cylinder Cyl and set head Hd", but on newer model requires a third param. Outputs the time needed to complete in old models. Need to understand better.
SD -> Spin down.
SU -> Spin up.
RN -> I don't know what it does, but causes my test drive to sweep a quite loud tone 4 times, 10 seconds each.
RE -> Like RN, but sweeps once.
DEBUG DBG> LEVEL
You can use DBG> level to debug program code. My test drive can be debugged while online, and it permits up to 3 software breakpoints.
GO -> Go back to ENG> level and exit debugging.
BD -> Show current breakpoints.
BS x -> Set a new breakpoint at x. Example: BS 92FA
BC x -> Clear breakpoints. If x==0, it clears all breakpoints. Otherwise, x has to be the program memory address you want to clear the breakpoint from.
R2 x -> Seems to be a "RETURN" instruction, but I have to go a bit deeper on this one. Goes back to ENG> on my tests.
DA -> Show code program in assembly from x with mnemonics (awesome). My test drive uses OakDSPCore instructions and mnemonics.
DR -> Show the contents of all current CPU registers, or just the x one.
MR x y -> Load CPU register x with y value.
TB x -> It seems to "Test Memory Block" X times, but must research a bit more.
SS -> While debugging, it can be used to step forward to the next instruction. HE: Help
LB: View BIRSLT (Harddrive info, serial number, firmware version, ....)
LD: View Zone Map
L4: View ?
LT: View Tlist
LS: View Slip List
LV: View Vlist
LM: View Mlist
LR: View Rlist
LL: View Pending-list
SU: Spin UP
SD: Spin Down
RT: Reset
CMD with params :
Error code :
E:0001: Command doesn't exist ?
E:0003: Bad command's arguments (THX hard2bit)
E:0004: Command is not supported in the current level (ENG>, DBG>, etc.) (THX hard2bit)
Switching Mode :
Esc Key: Go in DBG Mode
GO: Return in ENG Mode
本帖最后由 zslzylzy 于 2017-7-22 11:21 编辑
RC .................... Hex data containing serial number, drive name, etc.
RI .................... Servo Ready Information
TI .................... Some Table
PD .................... Hex data with IBR_SETL header
ST .................... Servo Status
OU .................... Parking and then Unlatch
PK .................... Parking
UV .................... Unlatch
SG .................... CLASS OF SERVO SCANGRAY OPTION
XC .................... Servo Spin Current Test
XL .................... Test Latch Force (avoid using)
XS .................... Servo Head Stiction Test
SL .................... Look XL
XT ................ Show table of available servo tests or performs the test with ID x.
XE .................... XT 4 (SEEK_TIME)
XA .................... XT 10 (HEAD_MISALLIGN)
XN .................... XT 80 (NOTCH_ID)
千万小心”ZM“和“FE”它们是MC和flah清零
Here is a command you should never ever EVER run:
ZM - CmdZeroMC
you have .... FE !!! You should NEVER use FE .... FE = Erase Flash !!! Thanks very much. hello,friend, add my QQ: 1186046994
(1:虽然看不懂还是谢谢
请问有清空SMART表的命令吗?谢谢。 本帖最后由 zslzylzy 于 2018-1-15 12:46 编辑
还没找到,软件到是有,你自己去下吧:http://bbs.intohard.com/thread-262347-1-2.html
页:
[1]