Dear Friends:

My WinCE BB has 2G nand flash, but the Code&Data is only 20M, so I
have confige the residual space as a storage disk.
How can I make this space as Usb Mass Storage disk, I analysis WinCE
Usb driver code, and now when device attached to the PC, Usb driver received
"Attach" message , for this message, Usb driver need initialize Store(Call
Store_Init), but it's fail.

Please help me, my good friend, and I believe following the increasing
of nand flash, this need will be more and more earnest.

Best Regards
Mike Han

Best Regards
Mike Han

Re: (Help)(How to identity WinCE Nand storage as Usb Disk) by Nicolas

Nicolas
Thu Aug 24 06:44:20 CDT 2006

Hi Mike,

I'm not sure to understand what you really want to do with this extra
nand flash area.
If you want to make it visible under Windows CE as a storage area, you
have to develop a block device driver. The first step for that kind of
driver is to implement an FMD to manage the access to the nand flash
ship. This FMD is used by the FAL to give access to the content of a
storage area.
Registry settings are need for your driver to be available by the
storage manager.

Take a look to that page for detailed steps :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxhowHowToDevelopFlashMediaDriverFMD.asp


BR

--
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).

Nicolas BESSON
ADENEO (ADESET)
Windows Embedded Consultant

MikeHan a écrit :
> Dear Friends:
>
> My WinCE BB has 2G nand flash, but the Code&Data is only 20M, so I
> have confige the residual space as a storage disk.
> How can I make this space as Usb Mass Storage disk, I analysis WinCE
> Usb driver code, and now when device attached to the PC, Usb driver received
> "Attach" message , for this message, Usb driver need initialize Store(Call
> Store_Init), but it's fail.
>
> Please help me, my good friend, and I believe following the increasing
> of nand flash, this need will be more and more earnest.
>
> Best Regards
> Mike Han
>
> Best Regards
> Mike Han
>
>

--
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).

Nicolas BESSON
ADENEO (ADESET)
Windows Embedded Consultant

Re: (Help)(How to identity WinCE Nand storage as Usb Disk) by MikeHan

MikeHan
Thu Aug 24 22:49:22 CDT 2006

Dear Nicolas & Friends:

Thank you very much for your reply. I'm very sorry I havn't descipe
this question clear, please see the following:

---------------------------
| |
| |
| |
| Resident Flash |
| |
| |
| |
| |
| =================|
| OS |
| |
| =================|
| Loader |
==================

Nand Flash

Now our wince BB board has a large nandflash(2G), but the OS is only
200M.

We have make the resident flash as a visiable storage, but I want to make
it as Usb Mass Storage disk when it connecting with PC.
According to the usb driver of Wince, I must operate the resident flash with
the following mode:

Store_init
Store_Close
DeviceIOControl( Read, write....).

I don't know how to operate this resident flash and make it as a usb
device on PC. I 'm familar with Usb driver, but I'm not familar with
storage device.

Please help me thank you very much.

Best Regards
Mike han



----- Original Message -----
From: "Jacky Ko" <JackyKo@discussions.microsoft.com>
Newsgroups: microsoft.public.tw.windowsce
Sent: Friday, August 25, 2006 12:43 AM
Subject: RE: (help)(???WinCE?Nand??????Usb?)


> ???????Nand flash???,??block driver????????
> ??USB???IO???NAND flash?????
> --
> Jacky Ko
> Microsoft MVP for Windows Embedded
> www.advantech.com
> Advantech Co., Ltd
>
>



Best Regards
Mike Han


"Nicolas BESSON" <n_besson@adeneo.adetel_group.com>
???????:u4smqJ3xGHA.356@TK2MSFTNGP02.phx.gbl...
> Hi Mike,
>
> I'm not sure to understand what you really want to do with this extra nand
> flash area.
> If you want to make it visible under Windows CE as a storage area, you
> have to develop a block device driver. The first step for that kind of
> driver is to implement an FMD to manage the access to the nand flash ship.
> This FMD is used by the FAL to give access to the content of a storage
> area.
> Registry settings are need for your driver to be available by the storage
> manager.
>
> Take a look to that page for detailed steps :
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxhowHowToDevelopFlashMediaDriverFMD.asp
>
>
> BR
>
> --
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
> please indicate which newsgroup and message).
>
> Nicolas BESSON
> ADENEO (ADESET)
> Windows Embedded Consultant
>
> MikeHan a écrit :
>> Dear Friends:
>>
>> My WinCE BB has 2G nand flash, but the Code&Data is only 20M, so
>> I have confige the residual space as a storage disk.
>> How can I make this space as Usb Mass Storage disk, I analysis
>> WinCE Usb driver code, and now when device attached to the PC, Usb driver
>> received "Attach" message , for this message, Usb driver need initialize
>> Store(Call Store_Init), but it's fail.
>>
>> Please help me, my good friend, and I believe following the
>> increasing of nand flash, this need will be more and more earnest.
>>
>> Best Regards
>> Mike Han
>>
>> Best Regards
>> Mike Han
>
> --
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
> please indicate which newsgroup and message).
>
> Nicolas BESSON
> ADENEO (ADESET)
> Windows Embedded Consultant



Re: (Help)(How to identity WinCE Nand storage as Usb Disk) by Nicolas

Nicolas
Fri Aug 25 01:22:02 CDT 2006

Hi Mike,

To make you device visible has an USB key, you have to use the 'USB
Function Clients\Mass Storage' component of the platform builder catalog.
This component use the USB Function driver of your BSP :
See 'USB Function Mass Storage Client Driver' in the Windows CE help

BR

Nicolas

MikeHan a écrit :
> Dear Nicolas & Friends:
>
> Thank you very much for your reply. I'm very sorry I havn't descipe
> this question clear, please see the following:
>
> ---------------------------
> | |
> | |
> | |
> | Resident Flash |
> | |
> | |
> | |
> | |
> | =================|
> | OS |
> | |
> | =================|
> | Loader |
> ==================
>
> Nand Flash
>
> Now our wince BB board has a large nandflash(2G), but the OS is only
> 200M.
>
> We have make the resident flash as a visiable storage, but I want to make
> it as Usb Mass Storage disk when it connecting with PC.
> According to the usb driver of Wince, I must operate the resident flash with
> the following mode:
>
> Store_init
> Store_Close
> DeviceIOControl( Read, write....).
>
> I don't know how to operate this resident flash and make it as a usb
> device on PC. I 'm familar with Usb driver, but I'm not familar with
> storage device.
>
> Please help me thank you very much.
>
> Best Regards
> Mike han
>
>
>
> ----- Original Message -----
> From: "Jacky Ko" <JackyKo@discussions.microsoft.com>
> Newsgroups: microsoft.public.tw.windowsce
> Sent: Friday, August 25, 2006 12:43 AM
> Subject: RE: (help)(???WinCE?Nand??????Usb?)
>
>
>> ???????Nand flash???,??block driver????????
>> ??USB???IO???NAND flash?????
>> --
>> Jacky Ko
>> Microsoft MVP for Windows Embedded
>> www.advantech.com
>> Advantech Co., Ltd
>>
>>
>
>
>
> Best Regards
> Mike Han
>
>
> "Nicolas BESSON" <n_besson@adeneo.adetel_group.com>
> ???????:u4smqJ3xGHA.356@TK2MSFTNGP02.phx.gbl...
>> Hi Mike,
>>
>> I'm not sure to understand what you really want to do with this extra nand
>> flash area.
>> If you want to make it visible under Windows CE as a storage area, you
>> have to develop a block device driver. The first step for that kind of
>> driver is to implement an FMD to manage the access to the nand flash ship.
>> This FMD is used by the FAL to give access to the content of a storage
>> area.
>> Registry settings are need for your driver to be available by the storage
>> manager.
>>
>> Take a look to that page for detailed steps :
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxhowHowToDevelopFlashMediaDriverFMD.asp
>>
>>
>> BR
>>
>> --
>> -----------------------------------------
>> To reply to me, remove the underscores (_) from my email address (and
>> please indicate which newsgroup and message).
>>
>> Nicolas BESSON
>> ADENEO (ADESET)
>> Windows Embedded Consultant
>>
>> MikeHan a écrit :
>>> Dear Friends:
>>>
>>> My WinCE BB has 2G nand flash, but the Code&Data is only 20M, so
>>> I have confige the residual space as a storage disk.
>>> How can I make this space as Usb Mass Storage disk, I analysis
>>> WinCE Usb driver code, and now when device attached to the PC, Usb driver
>>> received "Attach" message , for this message, Usb driver need initialize
>>> Store(Call Store_Init), but it's fail.
>>>
>>> Please help me, my good friend, and I believe following the
>>> increasing of nand flash, this need will be more and more earnest.
>>>
>>> Best Regards
>>> Mike Han
>>>
>>> Best Regards
>>> Mike Han
>> --
>> -----------------------------------------
>> To reply to me, remove the underscores (_) from my email address (and
>> please indicate which newsgroup and message).
>>
>> Nicolas BESSON
>> ADENEO (ADESET)
>> Windows Embedded Consultant
>
>

--
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).

Nicolas BESSON
ADENEO (ADESET)
Windows Embedded Consultant

Re: (Help)(How to identity WinCE Nand storage as Usb Disk) by MikeHan

MikeHan
Sun Aug 27 19:49:36 CDT 2006

Dear Sir:

I have add 'USB Function Clients\Mass Storage'component of the
platform builder catalog. and I have make SD card visiable as a Usb device,
and I have analysis usb massStorage drivers, the Usb massstorage drivers
need the following operate for a storage:

Store_Init(deviceName)
DeviceIOControl(......

My question is how can I opearte the resident nand flash. for SDCard, I
use the following code:

bot.cpp Store_Init(_T("Dsk1:").......
then user deviceIOControl to operate the storeage for Usb MassStorage
driver.

Thank you very much,sir.

Best Regards
Mike Han

"Nicolas BESSON" <n_besson@adeneo.adetel_group.com>
???????:e7HlM6AyGHA.3492@TK2MSFTNGP02.phx.gbl...
> Hi Mike,
>
> To make you device visible has an USB key, you have to use the 'USB
> Function Clients\Mass Storage' component of the platform builder catalog.
> This component use the USB Function driver of your BSP :
> See 'USB Function Mass Storage Client Driver' in the Windows CE help
>
> BR
>
> Nicolas
>
> MikeHan a écrit :
>> Dear Nicolas & Friends:
>>
>> Thank you very much for your reply. I'm very sorry I havn't
>> descipe this question clear, please see the following:
>>
>> ---------------------------
>> | |
>> | |
>> | |
>> | Resident Flash |
>> | |
>> | |
>> | |
>> | |
>> | =================|
>> | OS |
>> | |
>> | =================|
>> | Loader |
>> ==================
>>
>> Nand Flash
>>
>> Now our wince BB board has a large nandflash(2G), but the OS is only
>> 200M.
>>
>> We have make the resident flash as a visiable storage, but I want to
>> make it as Usb Mass Storage disk when it connecting with PC.
>> According to the usb driver of Wince, I must operate the resident flash
>> with the following mode:
>>
>> Store_init
>> Store_Close
>> DeviceIOControl( Read, write....).
>>
>> I don't know how to operate this resident flash and make it as a usb
>> device on PC. I 'm familar with Usb driver, but I'm not familar with
>> storage device.
>>
>> Please help me thank you very much.
>>
>> Best Regards
>> Mike han
>>
>>
>>
>> ----- Original Message -----
>> From: "Jacky Ko" <JackyKo@discussions.microsoft.com>
>> Newsgroups: microsoft.public.tw.windowsce
>> Sent: Friday, August 25, 2006 12:43 AM
>> Subject: RE: (help)(???WinCE?Nand??????Usb?)
>>
>>
>>> ???????Nand flash???,??block driver????????
>>> ??USB???IO???NAND flash?????
>>> --
>>> Jacky Ko
>>> Microsoft MVP for Windows Embedded
>>> www.advantech.com
>>> Advantech Co., Ltd
>>>
>>>
>>
>>
>>
>> Best Regards
>> Mike Han
>>
>>
>> "Nicolas BESSON" <n_besson@adeneo.adetel_group.com>
>> ???????:u4smqJ3xGHA.356@TK2MSFTNGP02.phx.gbl...
>>> Hi Mike,
>>>
>>> I'm not sure to understand what you really want to do with this extra
>>> nand flash area.
>>> If you want to make it visible under Windows CE as a storage area, you
>>> have to develop a block device driver. The first step for that kind of
>>> driver is to implement an FMD to manage the access to the nand flash
>>> ship. This FMD is used by the FAL to give access to the content of a
>>> storage area.
>>> Registry settings are need for your driver to be available by the
>>> storage manager.
>>>
>>> Take a look to that page for detailed steps :
>>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxhowHowToDevelopFlashMediaDriverFMD.asp
>>>
>>>
>>> BR
>>>
>>> --
>>> -----------------------------------------
>>> To reply to me, remove the underscores (_) from my email address (and
>>> please indicate which newsgroup and message).
>>>
>>> Nicolas BESSON
>>> ADENEO (ADESET)
>>> Windows Embedded Consultant
>>>
>>> MikeHan a écrit :
>>>> Dear Friends:
>>>>
>>>> My WinCE BB has 2G nand flash, but the Code&Data is only 20M,
>>>> so I have confige the residual space as a storage disk.
>>>> How can I make this space as Usb Mass Storage disk, I analysis
>>>> WinCE Usb driver code, and now when device attached to the PC, Usb
>>>> driver received "Attach" message , for this message, Usb driver need
>>>> initialize Store(Call Store_Init), but it's fail.
>>>>
>>>> Please help me, my good friend, and I believe following the
>>>> increasing of nand flash, this need will be more and more earnest.
>>>>
>>>> Best Regards
>>>> Mike Han
>>>>
>>>> Best Regards
>>>> Mike Han
>>> --
>>> -----------------------------------------
>>> To reply to me, remove the underscores (_) from my email address (and
>>> please indicate which newsgroup and message).
>>>
>>> Nicolas BESSON
>>> ADENEO (ADESET)
>>> Windows Embedded Consultant
>>
>>
>
> --
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
> please indicate which newsgroup and message).
>
> Nicolas BESSON
> ADENEO (ADESET)
> Windows Embedded Consultant