Windows interface tool works, USBITCMD doesn't

USB Image Tool support forum
Post Reply
joncarlson
Posts: 4
Joined: Tue Jan 08, 2013 7:40 pm

Windows interface tool works, USBITCMD doesn't

Post by joncarlson »

I have a Dell workstation-class laptop running Windows 7 Ultimate 64bit. I am trying to make backup copies of an SD card using the built-in SD card device in the laptop. I have done this numerous times on other machines, this is the first time on this machine (it's new).

The USB Image Tool.exe will successfully make a copy to a .img file in device mode. The USBITCMD.EXE, run from the command line (cmd.exe) will not. Here is the error sequence:

Code: Select all

c:\whatever>usbitcmd l

USB Image Tool 1.59
COPYRIGHT 2006-2011 Alexander Beug
http://www.alexpage.de

  Device   | Friendly Name             | Volume Name | Volume Path | Size
 ------------------------------------------------------------------------------
      2360 | O2Micro SD SCSI Disk Devi | GARMIN      | J:\         |   3774 MB



c:\whatever>usbitcmd b 2360 G600-Supplemental.img /d

USB Image Tool 1.59
COPYRIGHT 2006-2011 Alexander Beug
http://www.alexpage.de

Creating backup for "O2Micro SD SCSI Disk Device" (J:\)...failed
Error: Could not read from the USB device!
Code : 87 - The parameter is incorrect.
The error code comes up very quickly, just after the 0% complete feedback appears (which the error message overwrites) but before anything else seems to happen.

As you can see I have the latest version of USB Image Tool. Any suggestions? Happy to experiment and answer more questions if I know what needs to be tried.

Thanks!

-Jon C.
Alex
Site Admin
Posts: 272
Joined: Fri Jul 29, 2011 11:59 pm

Re: Windows interface tool works, USBITCMD doesn't

Post by Alex »

The command line tool uses the same functions as the GUI interface, so it sould behave identically. Please answer some question to narrow down the problem.

Have you started the cmd.exe as administrator? (If not, it should normally result in an error with /d option, but I ask just in case.)

What happens, when you try it in volume mode?

Have you tested another SD card on the same computer?

Have you tested the same SD card on another computer/card reader.?
joncarlson
Posts: 4
Joined: Tue Jan 08, 2013 7:40 pm

Re: Windows interface tool works, USBITCMD doesn't

Post by joncarlson »

Thanks for the quick response!

1. Yes, I started cmd.exe as administrator. I do that as default, but I also did it explicitly just to make sure. I also rebooted my machine just for good measure.

2. In volume mode, I get the exact same error. Also doing a restore (from the cmd line) I get the same error.
2.a. In GUI interface, I get the same error when doing a restore, but not doing a backup. ("Could not write to the USB device (Code: 87)! The parameter is incorrect.")

3. Yes, another SD card (2GB, original is 4GB) has same error behavior.

4. Yes, same SD card on another machine works fine.
joncarlson
Posts: 4
Joined: Tue Jan 08, 2013 7:40 pm

Re: Windows interface tool works, USBITCMD doesn't

Post by joncarlson »

Update: I have an actual USB dongle into which a SD card plugs and when I use that on this machine, it all seems to work fine (with the same SD card). It seems to be some kind of problem specific to the SD drive built into the laptop.
Alex
Site Admin
Posts: 272
Joined: Fri Jul 29, 2011 11:59 pm

Re: Windows interface tool works, USBITCMD doesn't

Post by Alex »

I emailed you a test version of usbitcmd.exe and some more info.
Post Reply