Hello everyone,
I'm using VS2005 and windows CE 6.0 R2, in trying to mount a CF drive via an
IDE interface on a CEPC system. I've included both the ATAPI, ATADISK, and
storage manager control panel plug-in components from platform builder into
the OS.
The resulting operating system does appear to load the ATAPI drivers just
fine as I can see the drive on the left hand side of the Storage Manager. The
right hand side where the partition information is generally listed is blank
however, so it appears I am having a problem with the partition driver or
it's settings.
I've built this CF card using the setup disk image and I am now able to boot
from that directly. I've tried two configurations for the partitions on this
device:
- A single 256 MB FAT16 partition (prefered configuration)
- One 32Mb FAT16 patition and a second 196Mb extended FAT 16 partition /
logical drive
Both configuration give the same results as mentionned above.
I am thinking that the ATAPI drivers are not properly linked to the
StorageManager profiles in my registry or my partition driver is not
propoerly called out, but I am unsure how to go about correcting this... Do I
need to add a "profile" entry in the somewhere in the drivers registry
entries to properly link the two?
Any input on what exactly needs to be adjusted to get this working properly
would be greatly appreciated...
Here are the pertinent registry details as I have them currently configured:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Instance\ALI14531]
"IoLen"=hex(7):\
38,00,34,00,38,00,34,00,31,30,00,00,00,00,00,00,00,00,00,00,00,00
"IoBase"=hex(7):\
31,66,30,00,33,66,34,00,31,37,30,00,33,37,34,00,61,30,30,30,00,00,00,00,00,\
00,00,00,00,00,00,00
"FunctionNumber"=dword:00000000
"DeviceNumber"=dword:0000000f
"BusNumber"=dword:00000000
"InterfaceType"=dword:00000005
"SubSystemID"=dword:0000aa2d
"SubVendorID"=dword:00001019
"RevisionID"=dword:00000006
"DeviceID"=dword:00000571
"VendorID"=dword:00001106
"ProgIF"=dword:0000008a
"Disable48BitLBA"=dword:00000000
"RegisterStride"=dword:00000001
"StatusPollCyclePause"=dword:00000050
"StatusPollsPerCycle"=dword:00000020
"StatusPollCycles"=dword:00000500
"SoftResetTimeout"=dword:00000003
"DMAAlignment"=dword:00000004
"SysIntr"=dword:00000000
"Irq"=dword:0000000e
"Legacy"=dword:00000001
"ConfigEntry"="GenericConfig"
"SubClass"=dword:00000001
"Class"=dword:00000001
"Order"=dword:00000002
"Dll"="atapi.dll"
"Prefix"="IDE"
"IClass"=hex(7):\
7b,43,44,44,43,33,36,32,31,2d,33,35,31,32,2d,34,62,33,66,2d,42,42,36,46,2d,\
42,34,44,44,35,45,30,36,31,37,39,35,7d,00,00,00,00
"SpawnFunction"="CreatePCIHD"
"InstanceIndex"=dword:00000001
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Instance\ALI14531\Device0]
"Port"=dword:d0489f20
"TransferMode"=dword:000000ff
"DeviceId"=dword:00000000
"LookAhead"=dword:00000001
"WriteCache"=dword:00000001
"DrqDataBlockSize"=dword:00000000
"DoubleBufferSize"=dword:00010000
"DMA"=dword:00000002
"InterruptDriven"=dword:00000001
"Dll"="atapi.dll"
"Prefix"="DSK"
"IClass"=hex(7):\
7b,41,34,45,37,45,44,44,41,2d,45,35,37,35,2d,34,32,35,32,2d,39,44,36,42,2d,\
34,31,39,35,44,34,38,42,42,38,36,35,7d,00,00,00,00
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="exfat.dll"
"DisableAutoFormat"=dword:00000001
"DisableAutoScan"=dword:00000001
"Paging"=dword:00000001
"EnableCache"=dword:00000001
"CacheSize"=dword:00000000
"Util"="fatutil.dll"
"CacheDll"="diskcache.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\MSPART]
"Dll"="mspart.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
"AutoMount"=dword:00000001
"AutoPart"=dword:00000000
"AutoFormat"=dword:00000000
"MountFlags"=dword:00000000
"DefaultFileSystem"="FATFS"
"PartitionDriverName"="MSPART"
"Folder"="Mounted Volume"
"ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="IDE Hard Disk Drive"
"Folder"="Hard Disk"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"EnableCacheWarm"=dword:00000000