I have embedded system which is connected PC’s serialport. In the
embedded system I have compactflash card which is formatted FAT16 file
system. The purpose is to use this compactflash card in visual c++ or
visual basic, but I can’t use those windows file routines(CreateFile,
WriteFile etc…) because the device does not shown as diskdriver in
windows. So have you any idea how I get this device shown as diskdriver?
Perhaps I need some device driver? Where I can find good tutorial how to
write one, I hane microsoft DDK and there was some info, but it’s not
enough…
I forgot to mention that I can read and write sector via rs-232 from/to CF
card…
CF(FAT16) -> RS-232 -> (here I need something) -> windows file routines
You will need to represent your device as a disk device to the OS.
Writing a SCSI port with a single disk LUN is a good solution for
this.
Max
----- Original Message -----
From: “Tappi” To: “NT Developers Interest List” Sent: Thursday, February 27, 2003 12:02 AM Subject: [ntdev] Any idea to this problem?
> Hello everybody, > > I have embedded system which is connected PC’s serialport. In the > embedded system I have compactflash card which is formatted FAT16 file > system. The purpose is to use this compactflash card in visual c++ or > visual basic, but I can’t use those windows file routines(CreateFile, > WriteFile etc…) because the device does not shown as diskdriver in > windows. So have you any idea how I get this device shown as diskdriver? > Perhaps I need some device driver? Where I can find good tutorial how to > write one, I hane microsoft DDK and there was some info, but it’s not > enough… > > I forgot to mention that I can read and write sector via rs-232 from/to CF > card… > > CF(FAT16) -> RS-232 -> (here I need something) -> windows file routines > > — > You are currently subscribed to ntdev as: xxxxx@storagecraft.com > To unsubscribe send a blank email to xxxxx@lists.osr.com >
Take a look in to the NTDDK\src\storage. If they work for you if it doesn’t then you will have to design and Implement a different Device Driver as per your device Low level information.