• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    硬盘基地手机版
  • 关注官方公众号
    微信扫一扫关注
    硬盘基地公众号
  • [原创] 三星内部指令

    [复制链接]
    zslzylzy 发表于 2017-7-22 11:11:24 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
    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 [size = 8] -> Read size words or bytes (depending on model) from RAM beginning from word/byte start and output them.

    DP start [size = 8] -> 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 [size = 8] -> Read size bytes from RAM beginning from byte start and output them.

    DW start [size = 8] -> Read size words from RAM beginning from word start and output them.

    DF start [size = 8] -> Read size words from ROM beginning from word start and output them. Working on old models.

    M start [data...] -> 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 [Wdata...] -> 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 [Bdata...] -> 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 [Wdata...] -> 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 [z...] -> 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 [ENTER] Hello! [ends].

    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 [sector] -> 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 [x] -> Show code program in assembly from x with mnemonics (awesome). My test drive uses OakDSPCore instructions and mnemonics.

    DR [x] -> 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.

    精彩评论8

     楼主| zslzylzy 发表于 2017-7-22 11:13:53 | 显示全部楼层
    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:15:11 | 显示全部楼层
    本帖最后由 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 [x] ................        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)

    回复 支持 反对

    使用道具 举报

     楼主| zslzylzy 发表于 2017-7-22 11:20:47 | 显示全部楼层
    千万小心”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 !!!
    回复 支持 反对

    使用道具 举报

    154270463 发表于 2017-11-21 21:11:19 | 显示全部楼层
    虽然看不懂还是谢谢
    回复 支持 反对

    使用道具 举报

     楼主| zslzylzy 发表于 2018-1-15 12:42:48 | 显示全部楼层
    本帖最后由 zslzylzy 于 2018-1-15 12:46 编辑

    还没找到,软件到是有,你自己去下吧:http://bbs.intohard.com/thread-262347-1-2.html
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    关注0

    粉丝2

    帖子8

    发布主题
    阅读排行 更多
    广告位

    扫描微信二维码

    查看手机版网站

    随时了解更新最新资讯

    .

    在线客服(服务时间 9:00~18:00)

    在线QQ客服
    .
    Email:9443120@qq.com
    移动电话:13011628855

    Powered by Intohard X1.0© 2001-2013 Inhdd Inc.( 鲁ICP备09029790号 )