CF Mass Production

D

David D

Note my reply to similar post in your previous message using an all Hardware
based solution for cloning (Echo).
 
K

KM

Stuart,

No doubt making your own app will do the trick. My guess that probably every one of us who's got a little bit of programming skills
did similar apps for XPe.
Using CreateFile under Windows with stream driver in place is easy enough for Win32 programming.

The only reason for me to send the WinHex link (btw, a great app and I've been using it for various binary explorations) was that he
tended to get a off-the-shelf 3rd party solution. :)
 
R

Richard

Thanks. Yes, I know how to program. Problem is, I'm a single man team and
I have about 5 or 6 other applications I'm in the middle of, all for XPe so
I simply got a little steam under the collar because my hit list keeps
getting longer instead of shorter. Plus, this entire Prototype to
Production process (Software, Hardware, Custom Circuit boards, and
Enclosures) has been a learning experience. Never had to design from ground
up and move to production.

Actually, DD for Windows works, but a tad slow. I will be writing something
late one night or over the weekend. Honestly, I'm a Delphi/Pascal guy some
I'm not real familiar with a lot of the Win32 API's, just the ones I've had
to have in the past!

Until I get time, I'll probably do it all on a dedicated DOS box with 3 IDE
to CF Adapters and a hard drive. Make it boot, copy all the flash files,
run bootprep on each drive then wait for the next round.

Thanks for all the tips.
Richard


every one of us who's got a little bit of programming
 
S

Slobodan Brcin \(eMVP\)

No doubt making your own app will do the trick. My guess that probably every one of us who's got a little bit of programming
skills
did similar apps for XPe.
Using CreateFile under Windows with stream driver in place is easy enough for Win32 programming.

And I was always wondering how come that I get along with XPe ;-)

Regards,
Slobodan
 
R

Richard

Slobodan,
Thanks for supplying the Parameters and switches for your Program
Yes, and I'm always interested in examples or ways to make things work -
Below.
I did search the newsgroup for IOCTL and came up with a small handfull of
articles, none will seemed to apply to what I'm doing.
If you need guide lines for using Win32 to make tool that will image one
or more CF at the same time without the need of Insert and
Reinsert, please let us know here I will give you some Win32 API functions
and IOCTL codes that you will need to use.
 
S

Slobodan Brcin \(eMVP\)

Hi Richard,

For your case this are most of functions that you will need:

CreateFile
ReadFile
WriteFile
CloseHandle
DeviceIoControl
FSCTL_LOCK_VOLUME
FSCTL_DISMOUNT_VOLUME
IOCTL_DISK_GET_LENGTH_INFO
CM_Request_Device_Eject
SetupDiEnumDeviceInfo
SetupDiGetClassDevs
SetupDiDestroyDeviceInfoList

Fairly simple to use and write. Expecialy this is true because you have medium that is marked as removable because of
hardware/sofware implementation (If I remember correctly)

Regarsd,
Slobodan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top