Re: FlashROM as a disk in CE 5.0



What about size, did you change that?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"gouri" <gouri@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:33D85E34-9653-4766-8733-BC080ED7D8F8@xxxxxxxxxxxxxxxx
Hi bruce,

I tried this option but still there no nor flash folder.I have
one
doubt here actually we have to use Uncached vertually address only
right.Here
BE400000 is Uncached equivalent value of cached 9E400000.

Can anybody help me please.

Thanks,
Gouri.

"Bruce Eitman [eMVP]" wrote:

Change MemBase and MemLength to match what you put in OEMAddressTable?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"gouri" <gouri@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0ACA7842-3E06-4EE7-81A3-6F18C2EC1ACF@xxxxxxxxxxxxxxxx
Hi experts,

Currently workin on proving FMD support for Intel Strata NOR flash
(K3
family of 32 MB) on pxa27x
platform with WinCE 5.0 .I amfacing a strange problem , wherein i
not
able to mount the FAT
partition. The driver i am using is the sampe FMD code given by
Microsoft for
NOR flashes( strata folder in MSFLASHFMD).I am not able mount the
"NOR
folder" at boot time.

for this i have included the SYSGEN_MSFLASH_STRATAD=1 in the
environmental variables and
i included the stratad.dll in project.bib like

stratad.dll $(_FLATRELEASEDIR)\stratad.dll NK
SH.

I have added the Registry settings to Project.reg file like

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
"Dll"="stratad.dll"
"Order"=dword:2
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"MemBase"=dword:BE400000
"MemLen"=dword: 001E0000
"Index"=dword:1
"BlockSize"=dword:20000
"WriteBufferSize"=dword:20
"SectorSize"=dword:200
"IsPairedFlash"=dword:1


; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for STRATAFLASH"
"Folder"="NOR Flash"
"DefaultFileSystem"="FATFS"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"PartitionDriver"="mspart.dll"
"BootPhase"=dword:0
"MountFlags"=dword:2


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


[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="Documents and Settings\\system.hv"
"ProfileDir"="Documents and Settings"
"Flags"=dword:1


[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"Dll"="fatfsd.dll"
"Flags"=dword:00100024
"Util"="fatutil.dll"
"Paging"=dword:1
"CacheSize"=dword:0
"FormatTfat"=dword:1

I have updated the oemaddrtab_cfg.inc to

DCD 0x9CA00000, 0x00000000, 26 ; MAINSTONEII: nCS0: Boot Flash
(26MB).

DCD 0x9E400000, 0x01A00000, 6 ; MAINSTONEII: nCS0: Storage (
6MB).

Now i am downloading the Image to Flash.But i didn't find any Nor flash
folder and i didn't find the anything
in the Storage manager applet which is in Control panel.

And one more thing i have added Fat file system and Partition driver to
my
OS.If i add the Hive registry to os
Image is not Up thats why i have removed Hive registry i didn't find
any
Nor
flash folder and i didn't find the anything
in the Storage manager applet which is in Control panel.

Is there anything is missed.Please help me in this regard.

Thanks,

Gouri.





.



Relevant Pages

  • Re: eVC++ 4.0 Problem
    ... And if you fix the data type problem, you will still have the>> problem that dPath is not declared so that you can concatenate *anything*> on ... >> beitman AT applieddata DOT net ... >> Applied Data Systems ... >> Microsoft WEP Gold-level Member ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: eVC++ 4.0 Problem
    ... > extern int AFXAPI AfxWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, ... >> beitman AT applieddata DOT net ... >> Applied Data Systems ... >> Microsoft WEP Gold-level Member ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: FindFirstFile (to decrypt all files)
    ... > Have you used the debugger yet to step through the code? ... > beitman AT applieddata DOT net ... > Applied Data Systems ... > Microsoft WEP Gold-level Member ...
    (microsoft.public.pocketpc.developer)
  • Re: FindFirstFile (to decrypt all files)
    ... > Have you used the debugger yet to step through the code? ... > beitman AT applieddata DOT net ... > Applied Data Systems ... > Microsoft WEP Gold-level Member ...
    (microsoft.public.windowsce.app.development)
  • Re: oal development
    ... > containes startup code and which i've copied from arcomboard BSP. ... >> beitman AT applieddata DOT net ... >> Applied Data Systems ... >> Microsoft WEP Gold-level Member ...
    (microsoft.public.windowsce.app.development)