All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 18 posts ] 
Author Message
 Post subject: Samsung HDD terminal commands
PostPosted: July 8th, 2013, 11:59 
Offline

Joined: June 19th, 2013, 8:28
Posts: 4
Location: Madrid
Hello there,
I'm playing around with some Samsung HDD's, and all of them answer via terminal to the command HE with a list of supported commands, including HE itself. I was just wondering if there's some reference about them or some way to guess out how to use those commands and what do they mean; maybe, at least, a little reference specifying the required params for each command. For what I've seen, I can tell just a few things, like for example command GO settles the drive in ENG> mode, ERROR:0004 might mean that the command is not supported in the current level (ENG>, DBG>, etc.) and ERROR:0003 may mean bad command's arguments. As a side comment, TX 1 did a funny :roll: thing with the drive.
Just for fun. No data recovery nor other purposes.

Cheers


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: July 8th, 2013, 19:14 
Offline

Joined: June 19th, 2013, 8:28
Posts: 4
Location: Madrid
Can't anybody shed some light to this question? Maybe describing some known commands, for example, LE for gaining access to SA or RT for sending a Software Reset signal, but these are argument-less commands... I'm more interested in commands requiring arguments. For instance, can I attempt a [user or service] sector read from terminal, getting the sector content back through the terminal again? Or, can I read ROM modules using terminal?

Cheers


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: July 8th, 2013, 21:19 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9875
Location: Portugal
1 - A list of the commands would be GREAT !!!! But i don't think that anyone will share it, if they have it to start with.

2 - It's possible to read ROM using the terminal, at least if you use tools like PC-3000 or SRT.

3 - Maybe you can test some more and start doing a list of the commands that you know about :)

Best regards.

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: July 9th, 2013, 2:48 
Offline

Joined: June 19th, 2013, 8:28
Posts: 4
Location: Madrid
Thanks for the reply. Yeah, we use PC3K and of course I know how to read and write ROM with it, but when doing so, the Terminal does not show up any commands, unlike other cases like the Seagate case when doing some operations like fixing the LED:0xCC error. So maybe those are ATA commands going through the SATA interface, rather than terminal commands... or they are just not showing up.
We all know what is all this about, and I know a command list might be too much for asking... so I'm just asking for a couple examples, or a place to start with.

Regards


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: July 9th, 2013, 14:41 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9875
Location: Portugal
hard2bit wrote:
Thanks for the reply. Yeah, we use PC3K and of course I know how to read and write ROM with it, but when doing so, the Terminal does not show up any commands, unlike other cases like the Seagate case when doing some operations like fixing the LED:0xCC error. So maybe those are ATA commands going through the SATA interface, rather than terminal commands... or they are just not showing up.
We all know what is all this about, and I know a command list might be too much for asking... so I'm just asking for a couple examples, or a place to start with.

Regards


Well, i guess the commands issued by terminal, including reading ROM, are indeed going through the TTL adaptor, and not the ATA interface. The commands might not be displayed, but i guess that if you use TERMINAL to read ROM or to send microcode to the drive, like BURN, you don't need to have the ATA interface connected at all.

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: July 11th, 2013, 0:40 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3169
Location: Adelaide, Australia
You might be able to reverse engineer a firmware in something like IDA Pro if you know some RCE, or look at firmware hacking forum/blogs.


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 16th, 2013, 17:45 
Offline

Joined: August 8th, 2013, 6:12
Posts: 21
Location: france
Hi,

I'm always trying to solve problem with my samsung hdd.
My only access is a terminal using putty.
So here is what i found on this forum, on the net, and on another tools.
My materiels for doing my "researches":
1 good samsung sata drive
1 corrupt samsung sata drive (same as above)
1 usb corrupt samsung drive (the important one)

Legend :
Black: Unknown command
Orange: Working command but needs explanation
Red: Error code on execution
Green: Working and known command and results

Samsung CMD List (ENG> Mode):

[CMD LIST]
HE RT RC PD D DS DL DB DW DI DT M MD MS ML MB
MW FB FW DX SB CA DN DT DG DO BI SP RB KH ZM DZ
D1 LE PP RP FE FU EP EF RD WR SK QT QB QK QN QA
QL QS QG QW QR QD Q1 QC R0 R1 XT XL XN XA XC XE
XS XP XR SL AS AO AF OU ST SU SD PK UV SM SG EI
WI MI PR PW RU WU DU TI TU DV LI WS WO CB DC MC
DP MP CI AT MT BB DD DE FD MF EV HT CC RF XV S1
S2 EL BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT
LB LD L4 LC

CMD without params (which returns something usefull !?) :

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 :

Echap: Go in DBG Mode
GO: Return in ENG Mode

Here is my log from my good disk (my usb disk returns the same except firmware version !!!)
For now i don't know what can i do with that, if someone can help and explain the detail of this output.
Attachment:
cmd-full-output.txt [48.34 KiB]
Downloaded 2299 times


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 17th, 2013, 1:09 
Offline

Joined: August 8th, 2013, 6:12
Posts: 21
Location: france
DV: Display firmware information


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 28th, 2013, 5:12 
Offline

Joined: January 25th, 2008, 1:57
Posts: 48
HI Coptere

which cmd to clear G-list ? and S.A.M.R.T


it is useful really.


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 28th, 2013, 16:22 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9875
Location: Portugal
z007 wrote:
HI Coptere

which cmd to clear G-list ? and S.A.M.R.T


it is useful really.


Normally you would do that using the ATA interface VSC instead of using the terminal interface.

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 28th, 2013, 17:51 
Offline

Joined: August 8th, 2013, 6:12
Posts: 21
Location: france
Agree with Spildit (with my very little exprience) but i think it's possible without ATA connection, i'm rigth ?


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 28th, 2013, 18:54 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9875
Location: Portugal
thatdellguy wrote:
G-list :lol:


On Samsung drives G-List is called A-List. At any rate it's just a question of naming.

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: January 11th, 2014, 16:42 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 10958
Location: Australia
The output from L4 looks like Servo Table information.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 25th, 2014, 6:38 
Offline

Joined: October 25th, 2014, 6:17
Posts: 1
Location: Warszawa
Hi!
I was doing some tries, that kill my disk, and now it stop spinning and stop communicate via RS too. But before that I copy some of result of commands sending one by one from beginning of HElp. Maybe it would be helpful for someone.

Conclusion is don't send FE :wink:

Code:
SB SET BAUD RATE 0 -57600
CA !
DN 0 0 VEL PARKING !


ENG>DT 0



Download is Complete.
sdatamem.txt file written..

DG 0 !


|   52 | 3BFA7894 | 0000038D | 2 001 | 1140 -> FFFF | DEADBEEF | 0 000 | 0100 |
|   53 | 3BF8F72F | 00000364 | 2 258 | 0000 -> FFFF | DEADBEEF | 0 000 | 4000 |
|   54 | 3BF8F72F | 00000364 | 2 258 | 0000 -> FFFF | DEADBEEF | 0 000 | 0400 |
|   55 | 3BF8F72F | 00000364 | 2 258 | 0000 -> FFFF | DEADBEEF | 0 000 | 0200 |
|   56 | 3BF8CF04 | 00000000 | 0 000 | 0000 -> 064F | 0001F035 | 3 95B | 0018 |
|   57 | 3BF8CF04 | 00000360 | 2 001 | 1140 -> FFFF | DEADBEEF | 0 000 | 0100 |
|   58 | 3BF89FBA | 00000000 | 0 000 | 0000 -> 064E | 0001F035 | 3 95A | 4000 |
|   59 | 3BF89FBA | 00000000 | 0 000 | 0000 -> 064E | 0001F035 | 3 95A | 0018 |
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>RF

F:0000 4946 5350 2020 2020 2E32 3030 2030 2020
F:0010 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0020 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0030 FFFF 3136 3338 4231 3637 4131 5450 4F49
F:0040 0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0050 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0060 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0070 4131 3848 7A32 7368 0000 0000 0B9A 0000
F:0080 4E57 4344 0000 0000 0000 0000 0000 0000
F:0090 FFFF FFFF FFFF FFFF 9F73 0000 FFFF FFFF
F:00A0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:00B0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:00C0 FFFF 0038 0000 FFFF FFFF FFFF FFFF 4942
F:00D0 525F 5345 544C 0009 0001 0000 0000 0000
F:00E0 00FE 00CE 0000 0000 0000 0000 0000 0000
F:00F0 4131 3247 7139 4275 312E 3432 0000 0000
F:0100 0000 0003 0000 003F 0000 0000 0002 00B9
F:0110 B98B 002E 0000 0002 0374 0000 0000 0000
F:0120 0000 FFFE 01FF FFFE 01FF FFFE 01FF FFFE
F:0130 01FF FFFC 01FF FFFE 01FF 0000 0000 0000
F:0140 0000 0000 0000 0000 0000 0000 0000 0000
F:0150 0000 0000 0000 0001 0000 0000 0000 0061
F:0160 0000 0000 0000 0000 0000 0000 0000 0000
F:0170 0000 0000 0000 1000 0000 0000 0000 0000
F:0180 0000 0000 0000 0001 0000 0000 0000 0000
F:0190 0000 0258 0000 0002 0000 0000 0000 0000
F:01A0 0000 0000 0000 0000 0000 0002 0000 0000
F:01B0 0000 0000 0000 0000 0000 0000 0000 0000
F:01C0 0000 0000 0000 0000 0000 0000 0000 FFFF
F:01D0 FFFF FFFE FFFF FFFF FFFF FFFF FFFF FFFF
F:01E0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:01F0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0200 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0210 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0220 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0230 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0240 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0250 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0260 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0270 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0280 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0290 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:02A0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:02B0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:02C0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:02D0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:02E0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:02F0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0300 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0310 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0320 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0330 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0340 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0350 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0360 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0370 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0380 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:0390 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:03A0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:03B0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:03C0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
F:03D0 FFFF FFFF FFFF 50AA 0000 0000 0000 0000
F:03E0 0000 0000 0000 FFFF FFFF FFFF FFFF FFFF
F:03F0 FFFF FFFF FFFF FFFF FFFF FFFF FFFF 212A
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>PD

W:9E00 4942 525F 5345 544C 0009 0001 0000 0000
W:9E10 0000 0000 0000 0000 0000 0000 0000 0000
W:9E20 0000 0000 0000 0000 0000 0000 0000 0000
W:9E30 0000 0000 0000 0000 0000 0000 0000 0000
W:9E40 0000 0000 0000 0000 0000 0000 0000 0000
W:9E50 0000 0000 0000 0000 0000 0000 0000 0000
W:9E60 0000 0000 0000 0000 0000 0000 0000 0000
W:9E70 0000 0000 0000 0000 0000 0000 0000 0000
W:9E80 0000 0000 0000 0000 0000 0000 0000 0000
W:9E90 0000 0000 0000 0000 0000 0000 0000 0000
W:9EA0 0000 0000 0000 0000 0000 0000 0000 0000
W:9EB0 0000 0000 0000 0000 0000 0000 0000 0000
W:9EC0 0000 0000 0000 0000 0000 0000 0000 0000
W:9ED0 0000 0000 0000 0000 0000 0000 0000 0000
W:9EE0 0000 0000 0000 0000 0000 0000 0000 0000
W:9EF0 0000 0000 0000 0000 0000 0000 0000 0000
W:9F00 0000 0000 0000 0000 0000 0000 0000 0000
W:9F10 0000 0000 0000 0000 0000 0000 0000 0000
W:9F20 0000 0000 0000 0000 0000 0000 0000 0000
W:9F30 0000 0000 0000 0000 0000 0000 0000 0000
W:9F40 0000 0000 0000 0000 0000 0000 0000 0000
W:9F50 0000 0000 0000 0000 0000 0000 0000 0000
W:9F60 0000 0000 0000 0000 0000 0000 0000 0000
W:9F70 0000 0000 0000 0000 0000 0000 0000 0000
W:9F80 0000 0000 0000 0000 0000 0000 0000 0000
W:9F90 0000 0000 0000 0000 0000 0000 0000 0000
W:9FA0 0000 0000 0000 0000 0000 0000 0000 0000
W:9FB0 0000 0000 0000 0000 0000 0000 0000 0000
W:9FC0 0000 0000 0000 0000 0000 0000 0000 0000
W:9FD0 0000 0000 0000 0000 0000 0000 0000 0000
W:9FE0 0000 0000 0000 0000 0000 0000 0000 0000
W:9FF0 0000 0000 0000 0000 0000 0000 0000 0000
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>D
E:0003
ENG>D 0
D:00000000 58
ENG>[
*** Break at 0x1004510A [8000.5.00]
DBG>
E:0001
DBG>RC

W:209D20 0000 0000 0000 0000 0000 0000 0000 0000
W:209D28 0000 0000 5331 5857 4A44 575A 3230 3534
W:209D30 3136 2020 2020 2020 0000 0000 0000 3141
W:209D38 4730 3131 3138 5341 4D53 554E 4720 4844
W:209D40 3135 3455 4920 2020 2020 2020 2020 2020
W:209D48 2020 2020 2020 2020 2020 2020 2020 0000
W:209D50 0000 0000 0000 0000 0000 0000 0000 0000
W:209D58 0000 0000 0000 0000 0000 0000 0000 0000
W:209D60 0000 0000 0000 0000 0000 0000 0000 0000
W:209D68 0000 0000 0000 0000 0000 0000 0000 0000
W:209D70 0000 0000 0000 0000 0000 0000 0000 0000
W:209D78 0000 0000 0000 0000 0000 0000 0000 0000
W:209D80 454E 4420 0000 0000 0000 0000 0000 0000
W:209D88 3141 4731 3868 6A4D 2E31 3234 0000 0000
W:209D90 0000 0000 0000 0000 0000 0000 0000 0000
W:209D98 0000 0000 0000 0000 0000 0000 0000 0000
W:209DA0 0000 0000 0000 0000 0000 0000 0000 0000
W:209DA8 0000 0000 0000 0000 0000 0000 0000 0000
W:209DB0 0000 0000 0000 0000 0000 0000 0000 0000
W:209DB8 0000 0000 0000 0000 0000 0000 0000 0000
W:209DC0 0000 0000 0000 0000 0000 0000 0000 0000
W:209DC8 0000 0000 0000 0000 0000 0000 0000 0000
W:209DD0 0000 0000 0000 0000 0000 0000 0000 0000
W:209DD8 0000 0000 0000 0000 0000 0000 0000 0000
W:209DE0 0000 0000 0000 0000 0000 0000 0000 0000
W:209DE8 0000 0000 0000 0000 0000 0000 0000 0000
W:209DF0 0000 0000 0000 0000 0000 0000 0000 0000
W:209DF8 0000 0000 0000 0000 0000 0000 0000 0000
W:209E00 0000 0000 0000 0000 0000 0000 0000 0000
W:209E08 0000 0000 0000 0000 0000 0000 0000 0000
W:209E10 0000 0000 0000 0000 0000 0000 0000 0000
W:209E18 0000 0000 0000 0000 0000 0000 0000 C900
DBG>RT
   ID     EVENT_WAIT_FLAGS  ST PR CODEADDR STACKPTR RET_ADDR FREESTACK
Serial  : 00000140_00000001 01 00 0000472C 04006240 140601BB 00000038
HostXfr : 00000000_00010000 01 01 0000472C 040063D8 0000B629 00000020
CmdDisp : 00040000_00240014 01 01 0000472C 040067D0 00010B5D 00000028
RdWr    : 00080028_00800028 01 01 0000472C 04006FD0 0000DBD3 00000028
BkGrnd  : 00000000_10009800 01 01 0000472C 040073D0 1004C66B 00000028
Idle    : 00000000_20000000 01 01 000006FE 040074B0 00007959 000000C8<-
EV:00414000_30000000
Vel Parking!
PSL

   ++ SU
        MaxPhyHead = 0006
                         RPM at Handoff: 1317
                                             ŐtSHOS - Released on 2009/07/29 09:
23 by sangyun.jung
DRAM=32MB SoC=27A0
SHOS-(1AG18hjM.124)
<SpinOn_2>KeepSpinOn!
RV Enabled
Temp : 33 degC
SpinOk
SK C:136498 H:0
ServoTable Loaded
FdtTable Loaded
Hd:   0 Zn:   0 Avg.:-     86
Hd:   0 Zn:   1 Avg.:     118
PASS
|  22 | SECURITY |  3 | 0 |  143 | B98B |
|  22 | SECURITY |  3 | 1 |  143 | B98B |
|  22 | SECURITY |  3 | 2 |  143 | B98B |
RecordValid : 00A78021
PwrOn NoLink
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>D
E:0003
ENG>D 1\
D:00000001 F0
ENG>D 2
D:00000002 9F
ENG>D 3
D:00000003 E5
ENG>D 1000
D:00001000 5A
ENG>DS
E:0003
ENG>DS 0
S:00000000 F058
ENG>DS 1000
S:00001000 4F5A
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>DL
E:0003
ENG>D;
E:0001
ENG>DL 0
L:00000000 E59FF058
ENG>DB
E:0003
ENG>DB 0
B:00000000 58
ENG>C
E:0001
ENG>DB 1000
B:00001000 5A
ENG>DW
E:0003
ENG>DW 0
W:00000000 F058
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>DI 0
I:00000000 0000
ENG>M
E:0003
ENG>M 0
E:0003
ENG>M 0 0
ENG>MD
E:0003
ENG>MD 0
E:0003
ENG>D
E:0003
ENG>D 0
D:00000000 00
ENG>M 0 58
ENG>D
E:0003
ENG>D 0
D:00000000 58
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>FB
E:0003
ENG>BF 0
ENG>FB
E:0003
ENG>FB 0
E:0003
ENG>FB 0 0
E:0003
ENG>FB 0 0 0
ENG>FW
E:0003
ENG>FW 0
E:0003
ENG>FW 0 0
E:0003
ENG>FW 0 0 0
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>D
E:0003
ENG>D -
E:0002
ENG>D 0]
E:0002
ENG>D 0
D:00000000 58
ENG>DX
E:0003
ENG>DX 0
E:0003
ENG>DD
E:0001
PSL>DX 0 0

   ++ SU
        MaxPhyHead = 0006
                         RPM at Handoff: 0B07
                                             UŐtSHOS - Released on 2009/07/29 09
:23 by sangyun.jung
DRAM=32MB SoC=27A0
SHOS-(1AG18hjM.124)
<SpinOn_2>KeepSpinOn!
RV Enabled
Temp : 33 degC
SpinOk
SK C:133139 H:0
ServoTable Loaded
FdtTable Loaded
Hd:   0 Zn:   0 Avg.:-     87
Hd:   0 Zn:   1 Avg.:     119
PASS
|  22 | SECURITY |  3 | 0 |  143 | B98B |
|  22 | SECURITY |  3 | 1 |  143 | B98B |
|  22 | SECURITY |  3 | 2 |  143 | B98B |
RecordValid : 00A78021
PwrOn NoLink
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>AH
ENG>DH
ENG>EH
ENG>M 0
E:0003
ENG>D 0
D:00000000 58
ENG>SB
E:0003
ENG>SB 0
Set Baud Rate: 57600
ENG>CA
E:0003
PSL>CA 0

   ++ SU
        MaxPhyHead = 0006
                         RPM at Handoff: 0A17
                                             ŐtSHOS - Released on 2009/07/29 09:
23 by sangyun.jung
DRAM=32MB SoC=27A0
SHOS-(1AG18hjM.124)
<SpinOn_2>KeepSpinOn!
RV Enabled
Temp : 33 degC
SpinOk
SK C:135011 H:0
ServoTable Loaded
FdtTable Loaded
Hd:   0 Zn:   0 Avg.:-     85
Hd:   0 Zn:   1 Avg.:     122
PASS
|  22 | SECURITY |  3 | 0 |  143 | B98B |
|  22 | SECURITY |  3 | 1 |  143 | B98B |
|  22 | SECURITY |  3 | 2 |  143 | B98B |
RecordValid : 00A78021
PwrOn NoLink
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>DN
E:0003
ENG>DN 0
E:0003
ENG>DN 0 0

Vel Parking!
PSL

   ++ SU
        MaxPhyHead = 0006
                         RPM at Handoff: 01C1
                                             UŐtSHOS - Released on 2009/07/29 09
:23 by sangyun.jung
DRAM=32MB SoC=27A0
SHOS-(1AG18hjM.124)
<SpinOn_2>KeepSpinOn!
RV Enabled
Temp : 33 degC
SpinOk
SK C:132053 H:0
ServoTable Loaded
FdtTable Loaded
Hd:   0 Zn:   0 Avg.:-     89
Hd:   0 Zn:   1 Avg.:     116
PASS
|  22 | SECURITY |  3 | 0 |  143 | B98B |
|  22 | SECURITY |  3 | 1 |  143 | B98B |
|  22 | SECURITY |  3 | 2 |  143 | B98B |
RecordValid : 00A78021
PwrOn NoLink
ENG>HE
[CMD LIST]
HE RT RC RF PD D DS DL DB DW DI M MD MS ML MB
MW FB FW DX AH DH EH SB CA DN DT DG BI SP TP RB
ZM DZ SI SE SD UL LE PP RP FE FU CR CF EP EF RD
WR SK QT QB QK QN QA QL QS QG QW QR QD R0 R1 XT
XL XN XA XC XE XS SL OU ST SU SD PK UV SM SG EI
WI MI PR PW IF TF RU WU TI TU AS IC TC WV DV LI
WS CB BD BS BC GO SS NS DA DR MR LL LM LR LS LV
LT LB LD LC L4
ENG>DT
E:0003
ENG>DT 0



Download is Complete.
sdatamem.txt file written...
ENG>DT 0 1



Download is Complete.
sdatamem.txt file written...
ENG>DG
E:0003
ENG>DG 0

PSL

   ++ SU
        MaxPhyHead = 0006
                         RPM at Handoff: 099B
                                             ŐtSHOS - Released on 2009/07/29 09:
23 by sangyun.jung
DRAM=32MB SoC=27A0
SHOS-(1AG18hjM.124)
<SpinOn_2>KeepSpinOn!
RV Enabled
Temp : 33 degC
SpinOk
SK C:132961 H:0
ServoTable Loaded
FdtTable Loaded
Hd:   0 Zn:   0 Avg.:-     83
Hd:   0 Zn:   1 Avg.:     124
PASS
|  22 | SECURITY |  3 | 0 |  143 | B98B |
|  22 | SECURITY |  3 | 1 |  143 | B98B |
|  22 | SECURITY |  3 | 2 |  143 | B98B |
RecordValid : 00A78021
PwrOn NoLink
ENG>InitSATA
[SER_RESET:01]
[SER_RESET:01]
CmRst
ENG>InitSATA
[SER_RESET:01]
CmRst1.5G
ENG>InitSATA
[SER_RESET:01]
CmRst1.5G
ENG>


a little comment:
It's HD154UI , Samsung on Marvell. There was problem with contacts on PCB between motor and heads and PCB, I clean it up and want to force disk to check all surface and forget SMART reallocations (I don't know if it was good idea, but I want try)
About commands:
I think that D DS DL DB DW DI are for read some kind of registers, like
DS - short
DL - long
DB - byte ?
DW - word

and
M MD MS ML MB MW for writing.
You can see above that when you write something with M you can read it with D of course I don't know what this register are doing :)

So I send all of the commands till FE. Sometimes drive hangs but after power cycle it talk to me again, after FE it's dead.
So maybe someone want to make another tries, have fun!


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: March 2nd, 2016, 3:55 
Offline

Joined: February 26th, 2013, 6:58
Posts: 215
Location: Hungary
Quote:
Conclusion is don't send FE

FE = Erase Flash
+1
DON'T SEND FE! :lol:


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 22nd, 2018, 15:50 
Offline

Joined: September 14th, 2018, 13:41
Posts: 53
Location: italy
Hi guys i need to see in Samsung hdd the preamp + microjugs is there a command to view it from the terminal?
Thanks


Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 22nd, 2018, 16:34 
Offline
User avatar

Joined: June 17th, 2018, 11:43
Posts: 257
Location: spain
I pass what I have filed on my computer.
You may have been purged by one of you.

Now I am studying the Burn IN with MRTLAB, to have access to the HDDs that remain in busy. I have to say that the MRTLAB service has helped me a lot.


Attachments:
TERMINAL SAMSUNG.zip [12.46 KiB]
Downloaded 100 times

_________________
Is Earth an intelligent being?
Top
 Profile  
 
 Post subject: Re: Samsung HDD terminal commands
PostPosted: October 22nd, 2018, 16:45 
Offline

Joined: September 14th, 2018, 13:41
Posts: 53
Location: italy
thanks friend


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group