|
|
|
|
![]()
|
|
|
Apr 4 2008, 04:25 AM
Post #1
|
|
Forum News ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 5,793 Joined: 21-June 04 From: Yorkshire, UK, Earth, Milky Way, the known Universe and probably the unknown too.... Member No.: 63 |
Download
QUOTE
Flash card/drive tester allows testing of any removable media including SD, MMC, CF, USB flash pen drives for bad or unstable sectors. Especially useful for testing for fake sizes often seen on low quality USB pen drives. This version is the first release on CNET Download.com.
|
|
|
|
Apr 4 2008, 04:28 AM
Post #2
|
|
Forum News ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 5,793 Joined: 21-June 04 From: Yorkshire, UK, Earth, Milky Way, the known Universe and probably the unknown too.... Member No.: 63 |
Alternative Flash drive checker
|
|
|
|
Apr 4 2008, 09:15 AM
Post #3
|
|
Development Team ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator & Development Posts: 1,546 Joined: 20-September 04 From: Germany, 32839 Steinheim Member No.: 269 |
Ubcd4win V3.12 already included a Flash Drive Tester !!! H2testw.exe (IMG:http://www.ubcd4win.com/forum/style_emoticons/default/secret.gif)
QUOTE
H2testw -- by Harald Bögeholz / c't Magazin für Computertechnik Data integrity test for USB sticks and other media Version 1.3, Copyright © 2008 Heise Zeitschriften Verlag GmbH & Co. KG ======================================================================== H2testw was developed to test USB sticks for various kinds of errors. It can also be used for any other storage media like memory cards, internal and external hard drives and even network volumes. The executable file H2testw.exe needs no installation and can be directly run. It was developed for Windows XP and Vista. It might work under other versions of Windows but was only tested on XP and Vista. The function of H2testw is quite simple: It fills the chosen target directory with test data and then reads it back and verifies it. H2testw does not overwrite or erase any existing data. It doesn't do any low-level tricks so administrator privileges are not required. If your hardware is working properly H2testw will not harm any existing data. BUT: _If_ the hardware is defective then H2testw is designed to find that defect and might as a side effect damage existing files. Therefore: IF YOU SUSPECT A USB STICK OR OTHER STORAGE MEDIA TO BE DEFECTIVE, EMPTY IT AND TEST IT COMPLETELY WITH H2TESTW. Only empty media can be fully tested with H2testw. In order to be able to reproduce the results we recommend to format the media (quick format will do) and then test it. H2testw writes files of up to 1 GByte to the chosen destination and names them 1.h2w, 2.h2w, 3.h2w and so on. If the target directory alread contains such a set of files H2testw will offer to verify them. If there are any other files named *.h2w it will refuse to work. In that case please erase all files *.h2w and hit the Refresh button. After it is done the software leaves its test files on the medium. You can erase them if you like or verify them again -- if it's a USB stick for instance with another PC. The check box "endless verify" does just that: It puts the verify routine in an endless loop that stops only if an error is found. This is meant to be used as a long-time test to find sporadic data transfer errors. A remark on the estimated time remaining: For intact flash memory the estimate should be pretty exact since it has a constant data rate. With defective media we have seen massive drops in the transfer rate resulting in the estimate increasing instead of decreasing. Hard drives are slower on the inner tracks than on the outer tracks so when testing a hard drive the estimate is never precise. If you have any questions or suggestions for H2testw please send an email to Harald Bögeholz <[email protected]> (in German or English). What to do in case of errors ---------------------------- If H2benchw finds errors while verifying the data it means that the media has not returned all data exactly as it was written. It is likely that the media is defective, but there are other possible causes for data corruption. In case of error you should therefore repeat the test and * Format the media immediately before testing * Don't use USB extension cords * If testing USB or FireWire devices, try a different port (sometimes USB ports at the back of the PC are better than those at the front) * For exteral drives try another cable if possible Error messages -------------- When the verifying process detects any errors it outputs some statistics differentiating the various error types: * sectors that have been overwritten by others due to addressing errors (see above) * sectors that have been altered only slightly (less than 8 differing bits per sector) * completely corrupted sectors. In the case of overwritten sectors H2testw tries to find out how much real memory exists in the overwritten area and outputs that amount as "aliased memory" (no guarantee here). Finally it outputs the offset of the first error with regard to the total amount of test data along with the expected and found value at that offset. Hint: You can copy&paste the error message, for instance to send it in an email. Typical errors -------------- The test data of H2testw is made up so as to be able to discern certain typical errors. There are three types: * Addressing errors: When writing a sector its contents are not written to the correct address but overwrite another sector. We have seen this error on certain manipulated USB sticks. It also happens if you use a hard drive larger than 128 GByte on a machine whose BIOS or OS doesn't know about 48-bit addressing. In this case all addresses are taken modulo 128 GByte. When crossing the 128 GByte boundary you overwrite data at the beginning of the drive. * Data is not saved at all. We have encountered this with defective USB sticks. Instead of the data written to it a sector returns only ones or zeroes when reading it. This is typical when accessing nonexisting memory. * Only few bits of data are changed. That might happen if the connection between the PC and the storage media is faulty. Technical details about the test data ------------------------------------- H2testw writes data in chunks of 1 megabyte. So even if you choose to completely fill the media you will end up with up to 1 megabyte of free space. Although technically not correct H2testw uses the Windows convention that 1 MByte equals 1024 KByte or 1,048,576 Byte. In order to avoid problems with the 4 GByte limitation of the FAT file system, H2testw begins a new data file after each gigabyte (1024 MByte). Inside a data file each 512-byte sector begins with a 64-bit word (8 byte) containing the offset with regard to the whole data set. It is stored in little-endian format, least significant byte first. So the file 1.h2w begins with 00 00 00 00 00 00 00 00, the next sector with 00 02 00 00 00 00 00 00, the next with 00 04 00 00 00 00 00 00 and so on. The file 2.h2w begins with 00 00 00 40 00 00 00 00 (offset 1 GByte = 0x40000000). The rest of each sector is filled with a pseudo random number sequence using the offset word as a seed. Joshua |
|
|
|
Apr 4 2008, 10:00 AM
Post #4
|
|
Forum News ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 5,793 Joined: 21-June 04 From: Yorkshire, UK, Earth, Milky Way, the known Universe and probably the unknown too.... Member No.: 63 |
I've just found it.
That was quick to add........ (IMG:http://www.ubcd4win.com/forum/style_emoticons/default/hide.gif) (IMG:http://www.ubcd4win.com/forum/style_emoticons/default/hide.gif) Good job I'm paying attention!!!!! |
|
|
|
Apr 7 2008, 01:49 PM
Post #5
|
|
Member ![]() ![]() Group: Members Posts: 68 Joined: 7-December 07 From: Minnesota, USA Member No.: 8,124 |
Here's a working plugin for FlashTester
Just put FlashTester.exe and the following files in a directory in the plugin's folder FlashTester.inf
CODE
; FlashTester.inf ; Created by homes32 [Version] Signature= "$Windows NT$" [PEBuilder] Name="Disk -Diagnostic: FlashTester" Enable=1 [WinntDirectories] a=Programs\FlashTester,2 [SourceDisksFiles] *.exe=a,,1 *.cmd=a,,1 [Append] nu2menu.xml, FlashTester_nu2menu.xml FlashTester_nu2menu.xml
CODE
<!-- Nu2Menu entry for FlashTester --> <NU2MENU> <MENU ID="Programs"> <MITEM TYPE="POPUP" MENUID="Disk Tools">Disk Tools</MITEM> </MENU> <MENU ID="Disk Tools"> <MITEM TYPE="POPUP" MENUID="Diagnostic">Diagnostic</MITEM> </MENU> <MENU ID="Diagnostic"> <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\FlashTester\FlashTester.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\FlashTester\FlashTester.cmd">FlashTester</MITEM> </MENU> </NU2MENU> FlashTester.cmd
CODE
@echo off rem ------------------------------------------------------------------------- rem FlashTester.cmd - Script to start FlashTester from BartPE rem Created by homes32 rem ------------------------------------------------------------------------- echo FlashTester.CMD: Starting... setlocal if "%temp%" == "" goto _err if exist "%temp%\FlashTester\FlashTester.exe" goto _run mkdir "%temp%\FlashTester" xcopy /s "%~dp0*.exe" "%temp%\FlashTester\" xcopy /s "%~dp0*.cmd" "%temp%\FlashTester\" :_run start %temp%\FlashTester\FlashTester.exe goto _end :_err echo. echo FlashTester.CMD: No temp variable set... echo FlashTester.CMD: Try adding a ramdrive... echo. pause. :_end endlocal This post has been edited by homes32: Apr 7 2008, 01:50 PM |
|
|
|
![]()
|
| Lo-Fi Version | Time is now: 9th February 2009 - 02:54 AM |