Re: USB MSC, SD/ATA/NAND/RAM Disk



1. Yes
2. Are you talking about the internal RAM file system (object store fs)?

If so, as far as I know you can't set the internal RAM fs as store for MSC. You can reserve another block of RAM creating a disk using the RAM disk driver (see \WINCEX00\PUBLIC\COMMON\OAK\DRIVERS\BLOCK\RAMDISK).


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

GSR wrote:
Hi,

From MS Help I observed that following registry need to be set for USB Mass Storage Class Driver to be loaded, in addition to USB Function Controller Registry Settings.

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Mass_Storage_Class"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
"Dll"="usbmsfn.dll"
"InterfaceSubClass"=dword:06 "InterfaceProtocol"=dword:50 "DeviceName"="DSK1:" "FriendlyName"="Mass Storage"
"idVendor"=dword:045E
"Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change idVendor)"
"idProduct"=dword:FFFF
"Product"="Generic Mass Storage (PROTOTYPE--Remember to change idVendor)"
"bcdDevice"=dword:0

Consider a case for example My System is having SD Card, Harddisk on ATA, NAND Device and also RAM.

In registry the disks names are DSK1,DSK2,DSK3, for SD,HDD and NAND respectively.

I have two questions here:

1) Is SD Card will be shown as MSC when USB Device is connected to Host in the above case ? If not please correct me.

2) What are the settings that I have to do for having RAM Device as MSC instead of a Flash Device ?

Thank You & Regards,
Sudheer


.



Relevant Pages

  • Re: 8051 BIT
    ... Are you talking about internal or external RAM? ... just such a way that some of the internal RAM is damaged but the core ... Disable all interrupts, so the rest of the POST runs continuously. ... is some boot down loader and application, ...
    (comp.arch.embedded)
  • Re: 68HC11F1 and external RAM performance
    ... > I am currently working on a 68H11F1 only using the 1kB internal RAM. ... > so small amount of RAM doesn't allow many evolutions of the software. ... > between internal and external RAM access time on a 68HC11F1? ...
    (sci.electronics.design)
  • Re: 8051 architecture question
    ... 3-Internal RAM 256 Bytes Max ... The internal RAM overlays the 128 bytes of Register Space. ...
    (comp.arch.embedded)
  • 68HC11F1 and external RAM performance
    ... I am currently working on a 68H11F1 only using the 1kB internal RAM. ... so small amount of RAM doesn't allow many evolutions of the software. ... between internal and external RAM access time on a 68HC11F1? ...
    (sci.electronics.design)
  • Re: ROM-only file system
    ... Be aware of that even you are using the ROM-only file system, FILESYS.EXE will still need an amount of Object Store space for general operation. ... Since you want to preserve more RAM for program rather than object store, you may want to have the following statement in your config.bib for minimize your object store ... Note that RAM-based registry will require Object Store for operating, ...
    (microsoft.public.windowsce.platbuilder)