Re: Is there anyone use Spansion Nor flash?



Hi,
Did you get an updated FMD from me?
I don't think the FASL FMD that ships with CE supports the CodeSizeAtEnd
registry key.
Is C9400000 the real starting address of the flash? The real starting
address should be used and the MemLen is ignored. The length of the flash
is detected from CFI.

Regards,
Gary

"buaadallas" <buaadallas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:051EC2F7-F737-4603-BC26-42169CD3146F@xxxxxxxxxxxxxxxx
Hi,

I use Spansion Nor flash in my board. According to the service support of
Spansion, I use the driver locate in
:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\BLOCK\MSFLASHFMD\FASL\FASLD, and set
the
register as below:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FASLD]
"Dll"="fasld.dll"
"Order"=dword:2
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
; "MemBase"=dword:C8000000
"MemBase"=dword:C9400000
"MemLen"=dword:200000
"CodeSizeAtStart"=dword:00000000
"CodeSizeAtEnd"=dword:1800000

; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for FASL FLASH"
"Folder"="NORFlash"

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



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

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
;"Flags"=dword:00000024
"Paging"=dword:1
"CacheSize"=dword:0
"EnableCacheWarm"=dword:0
"EnableCache"=dword:1
"MountFlags"=dword:2

It can works, but some time the executable files in the NORFlash folder
can
not be executed, and these folder also can not be formatted!
And I tried to use HIVE register, but failed.
Is anyone use these driver? Did you meet the same problem? Thanks a lot!


.



Relevant Pages

  • Re: *NEWSFLASH* DTV change Extended to June 12.
    ... old analog phones will power up but not make any call not even 911. ... but I think most of the web these days is garbage. ... and I am so sick of sites that want me to register. ... I'm on dialup and those sites are so bloated with flash videos they ...
    (alt.home.repair)
  • Re: c64 direct-to-tv - changes with version 2? (c64 dtv)
    ... as that would would require the core to access the ROM ... I believe it is a register. ... how can the flash be reprogrammed? ... reprogram the flash or must it be reprogrammed via some sort of ...
    (comp.sys.cbm)
  • OT: Remote On Chip Debugging
    ... Currently you have to use one of the programming suites for that. ... So you have customers that reject any flash based designs? ... programming an ARM Cortex M3 using remote gdb server on the targets. ... example, Flash Address Register, Flash Data Register, ...
    (sci.electronics.design)
  • Re: Run App only once
    ... to AfxMessageBox the user and make the original instance 'flash', ... this is the first instance and if it is, then register app, but it doesn't ... It will not only fail, but it is reasonably trivial to induce the failure. ... // Determine if another window with your class name exists (not this one ...
    (microsoft.public.vc.mfc)
  • Re: WindRiver SBC8548E problem
    ... I removed the 64MB Flash and plugged a peripheral IC (infineon ... Exception current instruction address: 0x06411c80 ... Data Exception Address Register: 0xfb800000 ...
    (comp.os.vxworks)

Loading