Switch to full style
Data recovery and disk repair questions and discussions related to old-fashioned SATA, SAS, SCSI, IDE, MFM hard drives - any type of storage device that has moving parts
Post a reply

ST_MEM help

February 7th, 2014, 7:06

Hi,
I am trying to write overlay to disk using st_mem, it is Alpine 3.06.
Script is :
Code:
STR/sF6B8,0
S_BUF/210/ATAovl.bin/0/10/0
LEVEL/2
STR/w,0,10

The file I saved by st_mem is named OVL_0_0F6B8_0x70.trc it is 56kb.
Question is how many times do I have to repeat it by 10 sectors?
The command I edited finishes like this:
Code:
S_BUF/210/ovl.trc/110/10/1
LEVEL/2
STR/sF6B8,0
STR/w,110,10

Is that enough, or too long?
Of course file name was changed.
Thanks.

Re: ST_MEM help

February 7th, 2014, 8:29

Is it the last one?
Code:
S_BUF/210/ovl.trc/270/10/1
LEVEL/2
STR/sF6B8,0
STR/w,270,10

Re: ST_MEM help

February 7th, 2014, 9:03

You need full version of ST_MEM to write using SDLD
Command must be something like that:
    SPEED/57600
    STR/e0,1/0
    SLEEP/2000
    SEND_FILE/512/Ovly.bin/<0/<85/1
    STR/b,,22
    STR/c

Re: ST_MEM help

February 7th, 2014, 9:38

I use the free version and it is a working script (so I think). I ran it and st_mem started to do it, now I stopped it, hoping to get a confirmation.
It sends the file by 10 sectors(?) to the write buffer and then writes it to the disk. But I don't know how many sectors I need to send to complete. Somewhere I read that 270+10 (hex). I would like someone to confirm. Or will that be no problem if I try to send more than needed and try overwrite other system area? Or st_mem is clever enough to realize there is no more data in the file and will not send extra zeros to the drive?

Re: ST_MEM help

February 7th, 2014, 12:52

I am not sure how to use it. And the upload firmware window in my copy is not yet translated by me, it is full off "??????" :|
And it has no option to upload vendor, anyways I don't find it.
http://malthus.zapto.org/viewtopic.php?f=143&t=652#p2974

Re: ST_MEM help

February 7th, 2014, 17:11

The above sript - by unknown reason - didn't work well.
Used this one instead:
Code:
SPEED/115200
S_BUF/210/ovl.trc/0/10/1
LEVEL/2
STR/sF6B8,0,22
STR/w,0,10
SPEED/9600
SPEED/115200
S_BUF/210/ovl.trc/10/10/1
LEVEL/2
STR/sF6B8,0,22
STR/w,10,10
SPEED/9600
------------------------
SPEED/115200
S_BUF/210/ovl.trc/60/10/1
LEVEL/2
STR/sF6B8,0,22
STR/w,60,10
SPEED/9600
And this for vendor track:
Code:
SPEED/115200
S_BUF/210/vdr.trc/0/10/1
LEVEL/2
STR/sF6BA,0,22
STR/w,0,10
SPEED/9600
SPEED/115200
S_BUF/210/vdr.trc/10/5/1
LEVEL/2
STR/sF6BA,0,22
STR/w,10,5
SPEED/9600

Re-powered the drive and got this:
Code:
Interface task reset
1024k x 16 buffer detected
ALPINE - 1_Disk    S.15  01-16-03 11:51

Buzz  - Head Mask 0000 - Switch to full int.
              Spin Ready
3.06  03-20-03 12:42
(P)PATA Reset

Initializing SMART Sectors...................................
Slave
So far so good. Let's do a MHDD scan.

Re: ST_MEM help

February 7th, 2014, 17:49

For Vendor you do not need to write so much sectors. First 10 are enough even less ...
What about to remove
SPEED/9600
SPEED/115200
and LEVEL/2 in the middle of the script...

Re: ST_MEM help

February 7th, 2014, 18:00

Thanks for your comment. But there is something strange in BIOS:
I see this ST3120022A 3.06 Is it normal? Or have to check vendor?

Re: ST_MEM help

February 7th, 2014, 18:56

Whats wrong with drive ID?
Code:
Buzz  - Head Mask 0000 - Switch to full int.
              Spin Ready
[b]3.06[/b]  03-20-03 12:42
(P)PATA Reset

Re: ST_MEM help

February 8th, 2014, 4:00

Sorry, not in BIOS, but on the POST screen, I thought there should be model name only. But I just noticed the same thing with another Seagate drive, so I guess its ok.
Post a reply