Windows XP Community - XPHeads



USB flash memory write caching

microsoft.public.windowsxp.embedded


Reply
  #1 (permalink)  
Old 06-05-2008, 07:34 PM
DPM
 
Posts: n/a
USB flash memory write caching
I've built 2 images: one on SP2/FP2007 and the other on
SP2/FP2007/UpdateRollup1. First runs on a AMD MB, second on an Intel.

Now: my application writes a few files to a USB flash drive. On the first
image when the flash LED stops blinking I can remove it, plug it into a PC
and my files are there. On the second, after the initial flashing stops if
I pull it out - no files. If I leave it in, 20-30 seconds later there's
more LED activity, then if I pull it my files are there.

So: was write caching turned on in UR1, or is this a function of my
hardware? Are there registry entries that control this?

If someone has any insight I'd be grateful.

Thanks,
Dean


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-06-2008, 02:34 PM
crus
 
Posts: n/a
Re: USB flash memory write caching
Dean,
in device manager select your USB device, right click Properties, open tab
Policies and you see the
writing cache status. Default for removable device is OFF.
If your image is unable to open device manager search the key
"UserRemovalPolicy" for your device
using regedit.
Values I found are 3 No cache 2 cache on.
The full path should be:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\< XXX>\<YYY>\<ZZZ>\DeviceParameters\Classpnp
X Y and Z are ID for your device.
Regards
Raffaele


"DPM" <dm@junk.com> ha scritto nel messaggio
news:OMC5lO0xIHA.2340@TK2MSFTNGP04.phx.gbl...
> I've built 2 images: one on SP2/FP2007 and the other on
> SP2/FP2007/UpdateRollup1. First runs on a AMD MB, second on an Intel.
>
> Now: my application writes a few files to a USB flash drive. On the first
> image when the flash LED stops blinking I can remove it, plug it into a PC
> and my files are there. On the second, after the initial flashing stops
> if I pull it out - no files. If I leave it in, 20-30 seconds later
> there's more LED activity, then if I pull it my files are there.
>
> So: was write caching turned on in UR1, or is this a function of my
> hardware? Are there registry entries that control this?
>
> If someone has any insight I'd be grateful.
>
> Thanks,
> Dean
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-06-2008, 06:07 PM
DPM
 
Posts: n/a
Re: USB flash memory write caching
Problem solved: I inadvertently added a USB Boot component to my image, and
doing so apparently changed the way XP treated USB drives. Removing the
component solved my problem.

Thanks,
Dean

"crus" <crus@discussions.microsoft.com> wrote in message
news:%23dMzZO%23xIHA.4876@TK2MSFTNGP02.phx.gbl...
> Dean,
> in device manager select your USB device, right click Properties, open tab
> Policies and you see the
> writing cache status. Default for removable device is OFF.
> If your image is unable to open device manager search the key
> "UserRemovalPolicy" for your device
> using regedit.
> Values I found are 3 No cache 2 cache on.
> The full path should be:
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\< XXX>\<YYY>\<ZZZ>\DeviceParameters\Classpnp
> X Y and Z are ID for your device.
> Regards
> Raffaele
>
>
> "DPM" <dm@junk.com> ha scritto nel messaggio
> news:OMC5lO0xIHA.2340@TK2MSFTNGP04.phx.gbl...
>> I've built 2 images: one on SP2/FP2007 and the other on
>> SP2/FP2007/UpdateRollup1. First runs on a AMD MB, second on an Intel.
>>
>> Now: my application writes a few files to a USB flash drive. On the
>> first image when the flash LED stops blinking I can remove it, plug it
>> into a PC and my files are there. On the second, after the initial
>> flashing stops if I pull it out - no files. If I leave it in, 20-30
>> seconds later there's more LED activity, then if I pull it my files are
>> there.
>>
>> So: was write caching turned on in UR1, or is this a function of my
>> hardware? Are there registry entries that control this?
>>
>> If someone has any insight I'd be grateful.
>>
>> Thanks,
>> Dean
>>
>>

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:19 AM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74