Hi,
I am trying to get peripheral mass storage working on my Windows CE
5.0 device .I have 3 partition in my NAND flash with Bootpart library.
(1st BINFS for Nk,bin , 2nd FAT for Hive Registry, 3rd again FAT rest
of the space ).I am able to get the 2nd and 3rd partition as separate
drive in Host PC.One of the problem i am facing is if i plug the USB
initially and try to boot the device it will hang . This i feel is
because when it tries to enumerate as mass storage it will unload the
filesystem dll from the device( both partition is having the same
filesystem) . Since hive is on one drive it is causing the problem .I
tried without hive and it works fine .Could anyone suggest a way of
getting hive and mass storage working together.

Regards
Wins

Re: Mass storage issue on Windows CE 5.0 by Valter

Valter
Tue Jun 03 02:49:17 PDT 2008

rtosinfo <rtosinfo@gmail.com> wrote in
news:c1dde573-b994-4a0e-a500-6b2721808834
@s21g2000prm.googlegroups.co
m:

> Hi,
> I am trying to get peripheral mass storage working on my
> Windows CE
> 5.0 device .I have 3 partition in my NAND flash with Bootpart
> library. (1st BINFS for Nk,bin , 2nd FAT for Hive Registry, 3rd
> again FAT rest of the space ).I am able to get the 2nd and 3rd
> partition as separate drive in Host PC.One of the problem i am
> facing is if i plug the USB initially and try to boot the device
> it will hang . This i feel is because when it tries to enumerate
> as mass storage it will unload the filesystem dll from the device(
> both partition is having the same filesystem) . Since hive is on
> one drive it is causing the problem .I tried without hive and it
> works fine .Could anyone suggest a way of getting hive and mass
> storage working together.

Dismounting the partition where the HIVE file is stored may lead to
problems. If you made a different partition for the HIVE what's the
point of making it visible through mass-storage?
You hypotesis about the boot failure is right but not because the
filesystem DLL is unloaded but because the HIVE partition is not
accessible or dismounted when the system tries to access the HIVE
file, I think.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

Re: Mass storage issue on Windows CE 5.0 by rtosinfo

rtosinfo
Thu Jun 05 21:18:17 PDT 2008

On Jun 3, 2:49=A0pm, Valter Minute
<v_a_l_t_e_r.m_i_n_u_t_e@g_m_a_i_l.com> wrote:
> rtosinfo <rtosi...@gmail.com> wrote in
> news:c1dde573-b994-4a0e-a500-6b2721808834
> @s21g2000prm.googlegroups.co
> m:
>
> > Hi,
> > =A0 I am trying to get peripheral mass storage working on my
> > =A0 Windows CE
> > 5.0 device .I have 3 partition in my NAND flash with Bootpart
> > library. (1st BINFS for Nk,bin , 2nd FAT for Hive Registry, 3rd
> > again FAT rest of the space ).I am able to get the 2nd and 3rd
> > partition as separate drive in Host PC.One of the problem i am
> > facing is if i plug the USB initially and try to boot the device
> > it will hang . This i feel is because when it tries to enumerate
> > as mass storage it will unload the filesystem dll from the device(
> > both partition is having the same filesystem) . Since hive is on
> > one drive it is causing the problem .I tried without hive and it
> > works fine .Could anyone suggest a way of getting hive and mass
> > storage working together.
>
> Dismounting the partition where the HIVE file is stored may lead to
> problems. If you made a different partition for the HIVE what's the
> point of making it visible through mass-storage?
> You hypotesis about the boot failure is right but not because the
> filesystem DLL is unloaded but because the HIVE partition is not
> accessible or dismounted when the system tries to access the HIVE
> file, I think.
>
> --
> Valter Minutewww.fortechembeddedlabs.it
> Training, support and development for Windows CE
> (the reply address of this message is invalid)

Hi Valter,
Thanks for the reply . Yesterday i tried to reply but i am not sure my
post is successfully done or not so resending again.

As you mentioned there is no point in exposing HIVE partition as mass
storage . But i am not able to see an option to selectively expose the
last partition only for mass storage . The only thing i can find is a
registry entry "Removable"=3Ddword:1 which says it will expose the first
partition and it is not working in our case .Is there any way of
exposing the 2nd partition only.

Regards
Wins