Hi All,

I am migrating USB 2.0 host device driver from WinCE 5.0 to WinCE 6.0. Right
now, the USB keyboard and USB mouse work fine. However when I insert UBS
memory stick, I couldn't see "Hard Disk" icon in Windows Explorer. I checked
the Control Panel->Storage Manager and found DISK1. It seems that the DISK
is mounted, but why there is no icon in Windows Explorer? I also tested on
another brand USB memory stick, the same result.

I am using PXA320 with Windows CE 6.0.

Thanks,
James

RE: No "Hard Disk" in Windows Expolrer when USB device inserted by LucaCalligaris

LucaCalligaris
Wed Dec 19 01:03:00 PST 2007

can you format the disk?have you included the support for he FAT FS?

"James" wrote:

> Hi All,
>
> I am migrating USB 2.0 host device driver from WinCE 5.0 to WinCE 6.0. Right
> now, the USB keyboard and USB mouse work fine. However when I insert UBS
> memory stick, I couldn't see "Hard Disk" icon in Windows Explorer. I checked
> the Control Panel->Storage Manager and found DISK1. It seems that the DISK
> is mounted, but why there is no icon in Windows Explorer? I also tested on
> another brand USB memory stick, the same result.
>
> I am using PXA320 with Windows CE 6.0.
>
> Thanks,
> James
>
>
>

Re: No "Hard Disk" in Windows Expolrer when USB device inserted by James

James
Wed Dec 19 14:05:37 PST 2007

I tried to format the disk and after that even PC cannot find its partition
info.
Yes. I do include the supprot for the FAT FS.

I traced the code and it seems that the driver cannot get the correct data
of the first sector. I compared the data of the first sector from USB 1.1
port and USB 2.0 port, they are different even though I use the same USB
memory stick. The code failed at
if (*(WORD *)(pSector + BOOT_SIGNATURE) == BOOTSECTRAILSIGH) in
GetDOSPartitions function.

The data from USB1.1 port contains 0xaa55 which is BOOTSECTRAILSIGH whereas
the data from USB 2.0 driver doesn't.

I have to figure out why? It seems the driver causes the problem.

James


"Luca Calligaris" <LucaCalligaris@discussions.microsoft.com> wrote in
message news:4F65E4F5-E03D-4C22-B320-4C9E0AA40320@microsoft.com...
> can you format the disk?have you included the support for he FAT FS?
>
> "James" wrote:
>
>> Hi All,
>>
>> I am migrating USB 2.0 host device driver from WinCE 5.0 to WinCE 6.0.
>> Right
>> now, the USB keyboard and USB mouse work fine. However when I insert UBS
>> memory stick, I couldn't see "Hard Disk" icon in Windows Explorer. I
>> checked
>> the Control Panel->Storage Manager and found DISK1. It seems that the
>> DISK
>> is mounted, but why there is no icon in Windows Explorer? I also tested
>> on
>> another brand USB memory stick, the same result.
>>
>> I am using PXA320 with Windows CE 6.0.
>>
>> Thanks,
>> James
>>
>>
>>