HDD GURU FORUMS
http://forum.hddguru.com/

HRT DEMO only 512 bytes buffer
http://forum.hddguru.com/viewtopic.php?f=7&t=36835
Page 1 of 1

Author:  oldiesk [ May 17th, 2018, 15:27 ]
Post subject:  HRT DEMO only 512 bytes buffer

Hi, how can i make HRT DEMO to receive more than 512 bytes buffer when i click on get buffer button in ATA Terminal with more than 1 sector count register.

Besides when i run a script i only get the first 512 bytes per module.

Should i configure a .INI file for my HDD to recognize the buffer size? Which file?. It is for an OLD WDC WD400LB.

Thank u.

Author:  Spildit [ May 17th, 2018, 16:50 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Hi there !!!

You are doing something wrong.

First tell us what OS you are using and what version of HRT demo you do have. Are you using it with porttalk and allowio ?

http://www.hddoracle.com/viewtopic.php?f=30&t=2297

The what EXACTLY are you trying to do ?

I do have an HRT Tech Support section on my site as HRT is my main firmware tool and take priority in replying to any HRT/HDD(48).EXE QUESTION.

Please check here - http://www.hddoracle.com/viewforum.php?f=30

If the COMMAND that you issue using the HRT ATA terminal (OR EVEN ANY OTHER TOOL) places data in the buffer of the drive you should see a DRQ (Data Request) register (on HRT) and selecting/pressing the option to recieve the buffer should make you recieve the entire content of the buffer and not only one sector !!!

Are you using some sort of VSC (vendor specific command) with your WD400LB drive ? What ECATLY are you trying to do and what command are you using with the terminal ?

Author:  Spildit [ May 17th, 2018, 16:58 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Is your drive WDC MCU BASED or Marvell ?

If it's WDC MCU (check PCB) read here - http://www.hddoracle.com/viewtopic.php?f=59&t=1490

And - http://www.hddoracle.com/viewforum.php?f=167

Author:  oldiesk [ May 17th, 2018, 18:16 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Hey Spildit, i have learned a lot because ur posts in HDDOracle since weeks before posting something, but i can't register ur site because that question on bottom :(

About my HDD, it is a WDC Cyl 32 Xenon WD400LB 00DNA0 that i would like to "play" and learn with.

My HRT DEMO is version 2.10 (i downloaded it from hddoracle) and im using allowio portalk in windows xp sp3 (windows98 compatibility). The program runs good.

This is what i get when i want to retrieve any module bigger than 512b ( GO! then get buffer or GO -> Buff):
Attachment:
hrtbuffer.JPG
hrtbuffer.JPG [ 42.9 KiB | Viewed 1539 times ]


btw, i already retrieved all the modules and tracks with MHDD 4.5 and WDC Scripts Generation but i prefer HRT cause is more comfly i guess.

Can u tell me whats wrong and what should i edit in .INI file to change (INI Section: BAD) in the Universal window?

Later, i would like to post my "experiments" with this drive too.

Thank u.

Author:  Spildit [ May 17th, 2018, 19:02 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Ok, let's see :

- Check PM for HDD Oracle access.

- Are you sending the "Super ON" command first of all ?

- Can you post the "dump" of what you are getting for example with the command on the picture ?

- Did you try to retrieve the modules with HRT script ? - http://www.hddoracle.com/viewtopic.php?f=167&t=1717 - You can use the script generation tool - http://www.hddoracle.com/viewtopic.php?f=167&t=1719

- You do have the drive connected to sec. channel, correct ? - port 170 on your screen shot. I don't know if it will make any diference by try to remove the 0x0170 and place only 0x170 on the port selection.

- Can you see the drive properly detected on the "universal" window ?

- (INI Section: BAD) is NORMAL on the DEMO/UNIVERSAL tool. This "info" is used to "link" the drive to the specific commands/settings needed to HRT properly deal with the drive in Vendor Specific Mode and DOES NOT APPLY to ATA standard. Read here - http://www.hddoracle.com/viewtopic.php?f=192&t=2348 - It doesn't matter if you do place the model name of your drive on the INI. You can do so but it doesn't add any advantage as your DEMO doesn't have any vendor specific commads for your drive. INI SECTION BAD is explained here - http://www.hddoracle.com/viewtopic.php? ... 348#p15938

Author:  Spildit [ May 17th, 2018, 19:03 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Demo capabilities are explained here - http://www.hddoracle.com/viewtopic.php?f=30&t=39#p17428

Author:  Spildit [ May 17th, 2018, 19:06 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

If you want to "test" your settings of HRT DEMO try to read several sectors in PIO for example and see if you can do it without problem !

Don't use vendor specific commands, try with ATA universal read commands.

For example :

Try read without retry several sectors :

00
04
00
00
00
00
21

This will read 4 sectors starting at LBA 0

Can you see the first 4 sectors of your drive ?

Author:  Spildit [ May 17th, 2018, 19:34 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Here !!!

Attachment:
1.jpg
1.jpg [ 46.91 KiB | Viewed 1524 times ]


Try this.

I did just test with THE DEMO !!!

As you can see i can read way more than 1 sector ...

Try not to use SUPER ON / VENDOR SPECIFIC commands as well.

If you cam't read more than 1 sector with ATA standard commands then something is not configured correctly on your system ...

Author:  oldiesk [ May 17th, 2018, 21:48 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Hi, yea i used WDC super on before reading but still with Standard ATA Command read w/o retry is the same.

BTW i can retrieve the entire sector count buffer but 1 sector at time (512 bytes). In this example 8 clicks x get buffer button.

Now this happens if "Read Data Reg" box is unchecked:

Attachment:
File comment: FIRST CLICK ON GET BUFFER BUTTON
hrt1click.JPG
hrt1click.JPG [ 75.11 KiB | Viewed 1486 times ]


Attachment:
File comment: SECOND CLICK ON GET BUFFER BUTTON
hrt2click.JPG
hrt2click.JPG [ 74.72 KiB | Viewed 1486 times ]


With the second click i get the rest of the buffer. ?????

Author:  Spildit [ May 18th, 2018, 14:34 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

It looks to me that the problem is related to your system configuration !!!

Firt of all i did chek my forum and i can see that you did manage to register there so all looks ok.

As HRT is no longer maintained/supported by BVG i do try to provide the best advice that i can as i'm using it as my main tool for research so a lot of information regarding HRT can be found on my site.

For now can you please post a screen capture of the port selection window of your HRT DEMO ?

Attachment:
1.jpg
1.jpg [ 24.12 KiB | Viewed 1377 times ]


Try the following :

- On your OS go to device manager and DISABLE the channel where you have the drive connected. Check to see if HRT Demo works properly now.

- Try to disable the channel for your drive under test on BIOS as well, if you have an option to do so. In other words try at least not to detect the drive on BIOS.

- Try to run the system without any drive connected to that port and only connect the power to the drive under test when the OS is already running.

- You can try with an "older" DEMO of HDD.EXE (HRT Prototype) - http://www.hddoracle.com/viewtopic.php? ... 329#p15745

If you are still getting that same result try with another computer/motherboard as most likely this is caused by incompatibility with your system.

If you check the buffer what data are you getting when you dump/save to file ?

Are you at least getting valid data ?

I did check my copy of HRT_DEMO and it doesn't have your described problem on my system ...

Maybe your OS or even the system itself is sending data to the drive at the same time HRT_Demo is trying to do it's job causing that "strange" behaviour ?

Author:  Spildit [ May 18th, 2018, 14:36 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Try also 0x170 on port selection istead of 0x0170 ...

Author:  Spildit [ May 18th, 2018, 14:47 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Just tested and it's working as expected, not only the FULL version but i did also test with the DEMO, the HDD48.EXE, older versions of HDD.EXE and even the HDD.EXE DEMO all using the allowio and all are working on my system ...

Attachment:
2.jpg
2.jpg [ 91.26 KiB | Viewed 1375 times ]


Can you please tell us if you can see the "leds" or the "register status" window and if you do have a green light on DRQ when you press the Go! button ? If so then does the led lits off when you recieve the buffer ?

That option should retrieve the data from port 170 of your system (unlike the QUANTUM terminal that would grab data from the buffer on 171)...

Strange that you are getting that behaviour.... I would vote for motherboard / OS accessing the drive or incompatible with HRT_Demo ...

Author:  oldiesk [ May 18th, 2018, 16:33 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

Hi, is fixed. I just disabled "IDE Prefetch Mode" in BIOS and now HRT works good. Thank u very much Spildit for ur help. :)

Time to test and "play" with this drive.

Author:  Spildit [ May 18th, 2018, 16:50 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

COOOLLLL !

Glad it did work out for you ! Next time you do have some sort of HRT question please do post and i will try to help.

Also i'm leaving this here as reference only. It doesn't apply to your DEMO only to people with HRT CARDs (hardware) :

On PIO versions (prior to 5.0 UDMA) you will have a choice to use 32 Bit Transference on your HRT card (at least 3.0 PIO and *maybe* older versions).

Attachment:
1.jpg
1.jpg [ 67.17 KiB | Viewed 1353 times ]


You should NOT use this option unless you are 100% sure that your motherboard does work correctly with it enabled !!!

The same sort of problem that you described might happen if you do have a phisical HRT PCI card and you select that option on a motherboard/computer that doesn't work properly with it.

While you can gain the double of the speed if you select the 32 bit Transference mode if your motherboard is not compatible you will get invalid data / modules / sector data, etc ....

Same goes for the HRT-DRE "component" ...

Attachment:
2.jpg
2.jpg [ 55.44 KiB | Viewed 1353 times ]


I advice for people NOT TO USE that option at all !!! Better to play safe. You will not find many motherboards that will work correctly with that option enabled. If you are going to enable it at least check first that you are getting valid correct data !

:D :D :D

Just a warning.

Author:  Spildit [ May 18th, 2018, 18:18 ]
Post subject:  Re: HRT DEMO only 512 bytes buffer

I'm posting this here just for reference :

Attachment:
0.jpg
0.jpg [ 52.06 KiB | Viewed 1338 times ]

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/