Quick tip: physdiskwrite.exe example in Windows 7

main

This is a quick example of how to use the physdiskwrite.exe application to write a raw image file to compact flash.

Start by launching the command as Administrator (right click on Command application, select "run as adminstrator).

Then, assuming your physdiskwrite.exe file is in the main C:\ location, along with your image file...

-

C:\>physdiskwrite.exe embedded-1.3.img

physdiskwrite v0.5.2 by Manuel Kasper <mk@neon1.net>

Searching for physical drives...

Information for \\.\PhysicalDrive0:

Windows:       cyl: 9729

tpc: 255

spt: 63

Information for \\.\PhysicalDrive1:

Windows:       cyl: 62

tpc: 255

spt: 63

Information for \\.\PhysicalDrive2:

DeviceIoControl() failed on \\.\PhysicalDrive2.

Information for \\.\PhysicalDrive3:

DeviceIoControl() failed on \\.\PhysicalDrive3.

Information for \\.\PhysicalDrive4:

DeviceIoControl() failed on \\.\PhysicalDrive4.

Which disk do you want to write? (0..1) 1

About to overwrite the contents of disk 1 with new data. Proceed? (y/n) y

Found signed compressed image file

10485760/10485760 bytes written in total

C:\>

--

Here we selected drive 1 after the application shows us drive options to choose from.   Drive 0 is the C:\, although this application is not very user friendly you can also try removing and reconnecting your flash card  to see what drive pops up at which number location when you run the command again.  It will not write over the flash until you type 'y' at the last question.