All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 2nd, 2018, 14:24 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
Hello :)

This HDD was extracted from Seagate Freeagent Goflex 500gb external enclosure bougth in 2010. Reason was, this case only supports USB 2.0. I wanted to put it in faster usb 3.0 box.
Then I run CrystalDiskInfo to check for badblocks etc. and everything seemed fine (attachment).
But one thing bothered me - Transfer mode SATA/150(attachment)
This drive should support 3.0Gbps speeds. I checked on other computer and the same thing (and on other usb3.0 enclosure - the same)
Then I remembered that old SATA Seagate drives could be jumper limited to 1.5Gbps. But there is no jumper on pins near sata connector. I tried putting jumper in all possible combinations (3) - no change.
So I connected this drive to UART adapter to work with putty terminal to get some info about it.

Here is Ctr+A log:
F3 T>
Package Version: WY05D7.BSM1.DA99L4.0002BSM1, Package P/N: ---------, Package Builder ID: 84,
Package Build Date: 07/29/2009, Package Build Time: 16:19:59, Package CFW Version: WY05.BSM1.00190457.8400,
Package SFW1 Version: 7DBC, Package SFW2 Version: ----, Package SFW3 Version: ----, Package SFW4 Version: ----
Controller FW Rev: 00990001, CustomerRel: 0002, Changelist: 00190457, ProdType:WY05.BSM1, Date: 07/29/2009, Time: 161959, UserId: 00080603
Servo FW Rev: 7DED
RAP FW Implementation Key: 0E, Format Rev: 3D03, Contents Rev: 26 1E 04 05

and Ctrl+I log:
F3 T>
TetonST Rev: 63A2; No Host; SpdLimit: 1.5Gb; SSC: No; LED: No; StagSpinByp: Yes ;

AT Registers
100A0000: 0001 0001 0000 0000 0000 C0FF 1080 0042
100A0010: 0000 0000 0000 1C00 0000 2B00 0000 0000
100A0020: 0100 0000 00EA 0410 0000 0001 0000 1B00
100A0030: 0000 0000 0004 0000 0000 0000 0000 0001
100A0040: 0000 00FB 0000 0000 0000 0400 0000 00FF
100A0050: 0000 0000 4795 57A5 CE2D 0000 0000 0000
100A0060: 0001 0000 0000 0000 0000 0000 0000 0000
100A0070: 0000 0000
CUT....then long text with other registers.

and I see this SpdLimit: 1.5Gb

I read F3 Seagate terminal commands documentation and could not find an option or command to change this setting.

Anybody knows if it is even possible or is it hardcoded in PCB or read only firmware?

Thanks for any information!

Regards,

yaccc


Attachments:
seagate.PNG
seagate.PNG [ 116.63 KiB | Viewed 12703 times ]
Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 2nd, 2018, 17:12 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
Can you see a relevant parameter in your own Mode Pages?

http://forum.hddguru.com/viewtopic.php?f=1&t=34131

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 3rd, 2018, 4:03 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
Could not find such option or I don't know which parameter can alter this setting.

F Parameters dump in attachment.



Kind regards,
yaccc


Attachments:
F.txt [49.01 KiB]
Downloaded 672 times
Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 3rd, 2018, 4:46 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
I couldn't find any likely candidate, either. :-(

In any case, I don't believe your drive's maximum sustained data rate will approach the SATA link rate of 150MB/s, which means that there will be no speed benefit at 3Gbps.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 3rd, 2018, 5:54 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
Yeah, I know this and I can live with this :) But interesting is if it is possible to change this parameter.

I could not find any documentation about SATA Registers displayed when Ctrl+i pressed.

Attached files show all the registers - affected (limited) drive (registers500gb5400.txt) and other seagate momentus without limitation (registers250gb7200.txt)
Maybe there is some switch that controls this setting. Are those registers editable? I compared that files and there are 7 differencies.

Thanks!


Attachments:
registers500gb5400.txt [3 KiB]
Downloaded 724 times
registers250gb7200.txt [3 KiB]
Downloaded 659 times
Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 3rd, 2018, 16:06 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
I would think that these registers would be volatile and would be configured at power on. They would be associated with the SATA controller device within the MCU.

Are you able to see the SpdLimit information when the PCB is detached from the drive? If so, then this would prove that the setting is in the ROM.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 3rd, 2018, 16:18 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
Your Mode Page dumps suggest that there are at least 4 configurable settings in ROM:

Code:
Byte:0570:       BootFlagsForROM = 02 00
Byte:0570:           Bit:0, BOOT_FLAG_POWER_ON_IN_STANDBY = 0
Byte:0570:           Bit:1, BOOT_FLAG_PARTIAL_OOB = 1
Byte:0570:           Bit:2, USE_SMALL_ID_FORMAT = 0
Byte:0570:           Bit:3, LOW_CURRENT_SPINUP = 0

If you are willing to experiment, you could read the ROM, change the LOW_CURRENT_SPINUP setting, and then dump the ROM again. By comparing the two dumps you could locate those bytes which store these settings.

    F"LOW_CURRENT_SPINUP",1,22

Read and Write F3 Arch Sys files with HyperTerminal :
http://www.hddoracle.com/viewtopic.php?f=83&t=145

You can read the ROM via terminal by reading sys file 32A.

    r32a,09,0

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 4th, 2018, 6:00 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
Yes, the SpdLimit parameter is still visble on detached PCB.

I tried to read ROM but unfortunately this HDD does not support r/w commands.

F3 T>r32a,09,0

Invalid Diag Cmd


I downloaded SeaChest tools and tried using SeaChest_Configure --phySpeed 2 or 0 setting but again - not supported by this hdd.

(--phySpeed [0 | 1 | 2 | 3] (SATA Only)
Use this option to change the SATA PHY speed to a new maximum
value. This change persists over power cycles and resets.
0 - allow full negotiation (default drive behavior)
1 - allow negotiation up to 1.5Gb/s
2 - allow negotiation up to 3.0Gb/s
3 - allow negotiation up to 6.0Gb/s)


Kind regards,
yaccc


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 4th, 2018, 15:53 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
Sorry, the correct URL should have been ...

Read and Write F3 Arch Sys files with HyperTerminal :
http://www.hddoracle.com/viewtopic.php?f=83&t=1455

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 4th, 2018, 20:25 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
What does the drive report in words 76 - 79 of the Identify Device data block? You could use CrystalDiskInfo to retrieve this information.

In particular, word #76 reports whether the drive supports SATA Gen2 Signaling Speed (3.0Gb/s) and SATA Gen1 Signaling Speed (1.5Gb/s).

The corresponding bytes of the Congen Mode Page appear to be ...

Quote:
Byte:0464: SATACapabilities = 0E 05
Byte:0465: Bit:0, SATA_NCQ_SUPPORTED = 1
Byte:0465: Bit:1, HOST_INITIATED_PHY_POWER_MANAGEMENT_SUPPORTED = 0
Byte:0465: Bit:2, SATA_PHY_EVENT_COUNTERS_SUPPORTED = 1
Byte:0465: Bit:3, UNLOAD_WHILE_NCQ_CMDS_OUTSTANDING_SUPPORTED = 0
Byte:0465: Bit:4, NCQ_PRIORITY_SUPPORTED = 0

Although the SATA speed settings are not explicitly listed, a value of 0Eh in byte 0464 corresponds to the settings for Gen1, Gen2 and Gen3. That is, all are enabled.


Attachments:
Identify_Device_SATA_settings.gif
Identify_Device_SATA_settings.gif [ 73.42 KiB | Viewed 12486 times ]

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 6th, 2018, 18:52 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
Identify Data for this HDD words 70-79

070: 0000 0000 0000 0000 0000 001F 0502 0000 0048 0040 .................H.@

076 is 0502, from my calculations for SATA 3.0Gbps should be 0504 - correct? Possible to change it?


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 6th, 2018, 20:23 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
I would enable both speeds, ie 0x0506.

That said, I would have expected Identify Device word 76 to reflect the content of bytes 0x0464 and 0x0465 of the Congen Mode Page, ie 0x050E. I confess I don't understand this apparent anomaly, or how to proceed. :?

You might try changing the "SATACapabilities" word, but that's your choice. You might also like to examine the DCO (Drive Configuration Overlay). HDAT2 should be able to do this, if the drive supports it.

BTW, were you able to read the ROM? If yes, then try reading sys file 93. That's where the Congen parameters would be stored.

Edit: I missed this:

yaccc wrote:
Yes, the SpdLimit parameter is still visble on detached PCB.

This means that the speed limit setting is in the ROM, and that the ROM is overriding sys file 93.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 6th, 2018, 20:46 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
I suspect that the IAP ROM module may be the location for the SpdLimit setting:

http://www.hddoracle.com/viewtopic.php?f=59&t=2173&p=14702#p14687

The IAP/CAP/SAP/RAP ROM parameters can be displayed and modified using the "I" command at level 2 or 7.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 7th, 2018, 3:42 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
I tried to read ROM but unfortunately this HDD does not support r/w commands.

F3 T>r32a,09,0

Invalid Diag Cmd

I tried 'I' command on levels 2 and 7:

F3 T>/2

F3 2>I

(P1=00) Invalid:
F3 2>/7

F3 7>I

(P1=00) Invalid:
F3 7>/


I will check HDAT2.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 7th, 2018, 4:44 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
yaccc wrote:
I tried to read ROM but unfortunately this HDD does not support r/w commands.

F3 T>r32a,09,0

Invalid Diag Cmd

Did you follow Spildit's HDD Oracle tutorial?

yaccc wrote:
I tried 'I' command on levels 2 and 7:

F3 T>/2

F3 2>I

(P1=00) Invalid:
F3 2>/7

F3 7>I

(P1=00) Invalid:
F3 7>/

The "I" command requires parameters, eg ...

    I,0
    I,1
    I,2
    I,3
    I,4
    I,FF

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 7th, 2018, 9:52 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
Yes, I did. He notes there, that r/w commands do not work on every drive.

ASCII Diag mode

F3 T>
e c r = 0 0 1
e c r = 0 1 0
e c r = 0 1 1
e c r = 1 0 0
e c r = 1 0 1
e c r = 1 1 0

F3 T>r133

RW cmd 0002 req = 5D 7E 00 00 80 01 00 00 00 00 00 00 00 C0 03 00 FF 7F 04 00 00 C0 03 00
opts = 00001121

Invalid Diag Cmd

F3 T>


I tried I,0 ..... I,5 and none of them lists IAP Parameters.

F3 2>I,FF

Adaptive Parameter Groups Table of Contents:

(P1=01) RAP (Read/Write):
(P1=02) SAP (Servo):
(P1=03) RW Working Parms:
(P1=FF) Table of Contents:
F3 2>


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 7th, 2018, 15:49 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
Here is the header from an ST9500325AS ROM:

Code:
Offset(h) 00       04       08       0C

00000000  771F0000 38000000 40980000 A2690400
00000010  02300000 0430F805 0640FA05 0360A406
00000020  0B60C407 0560D507 0078F507 00000000

There is no IAP module (ID = 0Eh), only CAP, RAP and SAP.

You could see a complete list of supported commands by typing Q at Level C.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 9th, 2018, 12:33 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
So... no chance to change this?

All supported commands in attachment q.txt


Attachments:
q.txt [20.84 KiB]
Downloaded 690 times
Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 9th, 2018, 16:19 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15529
Location: Australia
yaccc wrote:
So... no chance to change this?

I'm sure there is a way, but I don't have the answer.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: st9500325as SATA interface limited to 1.5Gbps?
PostPosted: September 10th, 2018, 1:21 
Offline

Joined: September 2nd, 2018, 13:23
Posts: 9
Location: Poland
OK! Thanks for your efforts.

Kind regards,

yaccc


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: C0GuM3I0, Google [Bot] and 154 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