Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 22 Jul 2004 02:30 PM by  Ian Armitage
Error copying files using beta flash file driver
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Ian Armitage
New Member
New Member
Posts:


--
16 Jul 2004 09:48 AM
    Hi,
    I have the lpd_MSFLASHMD flash driver working in that I can see it via Explorer. However if I try to copy then paste a file into it windows pops up with an error dialog saying "Cannot copy 'filename': Error code 27. I tried ftp'ing files but that failed as well.

    I currently have the image set for a RAM based registry and a RAM and ROM file system.

    Thanks
    Ian

    Here's my driver registry settings

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\lpd_MSFLASHFMD]
    "Prefix"="DSK"
    "Dll"="lpd_MSFLASHFMD_beta_001.dll"
    ; "Flags"=dword:1000
    "Order"=dword:2
    "Index"=dword:2
    "Ioctl"=dword:4
    "Profile"="lpd_MSFLASHFMD"
    "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
    "MemBase"=dword:B1B00000 ;A400 Base
    "MemLen"=dword:00300000
    "FSD"="FATFSD.DLL"
    ; "MemBase"=dword:a0800000 ;7727 Base
    ; "MemLen"=dword:00800000
    "ScratchReg"=dword:C0000000
    "FlashReg"=dword:71000000

    ; Override names in default profile
    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\lpd_MSFLASHFMD]
    "Name"="MSFLASH for STRATAFLASH"
    "Folder"="FlashDrive"
    "AutoPart"=dword:1
    "AutoFormat"=dword:1
    ; "MountFlags"= dword:2

    [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\lpd_MSFLASHFMD]
    "DriverPath"="Drivers\\BuiltIn\\StrataFMD"
    ; LoadFlags 0x01 == load synchronously
    "LoadFlags"=dword:1
    "Order"=dword:0

    [HKEY_LOCAL_MACHINE\Windows CE Tools]
    "Platform"="{23DD5F5A-E4FF-4348-A830-6AEDED32E830}"
    joseph.fitzgerald@aflglobal.com
    New Member
    New Member
    Posts:


    --
    20 Jul 2004 02:20 PM
    Ian,

    Are you getting any errors when CE starts up. I have the flash driver up and running here and I'm able to copy files to the flash as well as use the hive based registry.

    I'd suggest looking at the debug output when the driver is starting and make sure it is loading correctly.

    If you look at the topic "Problems with the Beta Flash Driver...." you'll see the tale of my dealings with the flash. I'll be glad to help in any way I can.

    Joe
    Anonymous
    Posts:


    --
    20 Jul 2004 03:03 PM
    We currently have one of our engineers looking into this....
    Ian Armitage
    New Member
    New Member
    Posts:


    --
    22 Jul 2004 02:30 PM
    Thanks Joe for the offer.

    I now have the flash file system working. I wish I could say what fixed it but I can't. I wasn't trying to get something else to work and rebuilding the image many times when I just tried it and it worked.

    I moved on to trying to use the flash file system for the hive based registry. It seemed to work initially but when I started using the OS it fell apart. Things slowed down when I was exploring the flash file system. When I tried to run an app from the file system the OS hung. It didn't boot at all on a power cycle.

    I had the compact flash file system included in the build and for some reason it appeared as two directories, one named CompactFlash and the other CompactFlash2. I took out the compact flash driver but there was no change in behaviour to the flash file system.

    Thanks
    Ian
    You are not authorized to post a reply.