Hi,

I have K9f1208 NAND flash and J3F128 NOR flash in my platform, these two
driver had been successufully init and load when in debug build. Strange
things happen when I build as release, NAND flash partition dll never been
loaded. I found the DSK had been loaded, but mspart.dll never been load when
in release build when only load NAND. Any comment?

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NandDrv]
"Dll"="my_nand.dll"
"Order"=dword:3
"Prefix"="DSK"
"Index" =dword:2
"Ioctl"=dword:5
"Profile"="MSNAND"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"MemBase"=dword:b7600000
"MemLen"=dword:04000000

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSNAND]
"Name"="Nand FLASH"
"DefaultFileSystem"="FATFS"
"Folder"="NAND Flash"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"MountFlags"=dword:2

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


[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
"Dll"="my_nor.dll"
"Order"=dword:2
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"MemBase"=dword:b5100000
"MemLen"=dword:00400000

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for STRATAFLASH"
"DefaultFileSystem"="FATFS"
"Folder"="NOR Flash"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"MountFlags"=dword:2

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

Re: Block device registry issue? by Anthony

Anthony
Tue Feb 06 06:47:22 CST 2007

When you are in release build, do you have KITL? Are you sure your
my_nand.dll is included in the image (check ce.bib)?

HTH

--
--
--
----------------------------------------------------------------
Anthony Pellerin (eMVP)
ADENEO (ADESET)
Windows Embedded Consultant
<apellerin AT adeneo DOT adetelgroup DOT com>
http://www.adeneo.adetelgroup.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Esmond Chang" <EsmondChang@discussions.microsoft.com> a écrit dans le
message de news: 7D05746E-63C2-4E70-9579-8217BC2EB4F9@microsoft.com...
> Hi,
>
> I have K9f1208 NAND flash and J3F128 NOR flash in my platform, these two
> driver had been successufully init and load when in debug build. Strange
> things happen when I build as release, NAND flash partition dll never been
> loaded. I found the DSK had been loaded, but mspart.dll never been load
> when
> in release build when only load NAND. Any comment?
>
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NandDrv]
> "Dll"="my_nand.dll"
> "Order"=dword:3
> "Prefix"="DSK"
> "Index" =dword:2
> "Ioctl"=dword:5
> "Profile"="MSNAND"
> "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> "MemBase"=dword:b7600000
> "MemLen"=dword:04000000
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSNAND]
> "Name"="Nand FLASH"
> "DefaultFileSystem"="FATFS"
> "Folder"="NAND Flash"
> "PartitionDriver"="mspart.dll"
> "AutoMount"=dword:1
> "AutoPart"=dword:1
> "AutoFormat"=dword:1
> "MountFlags"=dword:2
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSNAND\FATFS]
> "Dll"="fatfsd.dll"
> "Flags"=dword:00100024
> "Util"="fatutil.dll"
> "Paging"=dword:1
> "EnableCache"=dword:1
> "CacheSize"=dword:0
> "CacheDll"="diskcache.dll"
> "FormatTfat"=dword:1
>
>
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
> "Dll"="my_nor.dll"
> "Order"=dword:2
> "Prefix"="DSK"
> "Ioctl"=dword:4
> "Profile"="MSFlash"
> "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> "MemBase"=dword:b5100000
> "MemLen"=dword:00400000
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
> "Name"="MSFLASH for STRATAFLASH"
> "DefaultFileSystem"="FATFS"
> "Folder"="NOR Flash"
> "PartitionDriver"="mspart.dll"
> "AutoMount"=dword:1
> "AutoPart"=dword:1
> "AutoFormat"=dword:1
> "MountFlags"=dword:2
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
> "Dll"="fatfsd.dll"
> "Flags"=dword:00100024
> "Util"="fatutil.dll"
> "Paging"=dword:1
> "EnableCache"=dword:1
> "CacheSize"=dword:0
> "CacheDll"="diskcache.dll"
> "FormatTfat"=dword:1
>



Re: Block device registry issue? by EsmondChang

EsmondChang
Tue Feb 06 20:26:00 CST 2007

Hi,

Thanks for reply.
Yes, KITL is included. and my_nand.dll is included in my image also. I can
find my_nand.dll had been loaded sucessfully by device manager. I can use
Remote System Information to see the DSK had been loaded succefully. Any
thought?



"Anthony Pellerin" wrote:

> When you are in release build, do you have KITL? Are you sure your
> my_nand.dll is included in the image (check ce.bib)?
>
> HTH
>
> --
> --
> --
> ----------------------------------------------------------------
> Anthony Pellerin (eMVP)
> ADENEO (ADESET)
> Windows Embedded Consultant
> <apellerin AT adeneo DOT adetelgroup DOT com>
> http://www.adeneo.adetelgroup.com
> Tél : +33 (0)4.72.18.57.77
> Fax : +33 (0)4.72.18.57.78
> ----------------------------------------------------------------
> "Esmond Chang" <EsmondChang@discussions.microsoft.com> a écrit dans le
> message de news: 7D05746E-63C2-4E70-9579-8217BC2EB4F9@microsoft.com...
> > Hi,
> >
> > I have K9f1208 NAND flash and J3F128 NOR flash in my platform, these two
> > driver had been successufully init and load when in debug build. Strange
> > things happen when I build as release, NAND flash partition dll never been
> > loaded. I found the DSK had been loaded, but mspart.dll never been load
> > when
> > in release build when only load NAND. Any comment?
> >
> > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NandDrv]
> > "Dll"="my_nand.dll"
> > "Order"=dword:3
> > "Prefix"="DSK"
> > "Index" =dword:2
> > "Ioctl"=dword:5
> > "Profile"="MSNAND"
> > "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> > "MemBase"=dword:b7600000
> > "MemLen"=dword:04000000
> >
> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSNAND]
> > "Name"="Nand FLASH"
> > "DefaultFileSystem"="FATFS"
> > "Folder"="NAND Flash"
> > "PartitionDriver"="mspart.dll"
> > "AutoMount"=dword:1
> > "AutoPart"=dword:1
> > "AutoFormat"=dword:1
> > "MountFlags"=dword:2
> >
> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSNAND\FATFS]
> > "Dll"="fatfsd.dll"
> > "Flags"=dword:00100024
> > "Util"="fatutil.dll"
> > "Paging"=dword:1
> > "EnableCache"=dword:1
> > "CacheSize"=dword:0
> > "CacheDll"="diskcache.dll"
> > "FormatTfat"=dword:1
> >
> >
> > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
> > "Dll"="my_nor.dll"
> > "Order"=dword:2
> > "Prefix"="DSK"
> > "Ioctl"=dword:4
> > "Profile"="MSFlash"
> > "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> > "MemBase"=dword:b5100000
> > "MemLen"=dword:00400000
> >
> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
> > "Name"="MSFLASH for STRATAFLASH"
> > "DefaultFileSystem"="FATFS"
> > "Folder"="NOR Flash"
> > "PartitionDriver"="mspart.dll"
> > "AutoMount"=dword:1
> > "AutoPart"=dword:1
> > "AutoFormat"=dword:1
> > "MountFlags"=dword:2
> >
> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
> > "Dll"="fatfsd.dll"
> > "Flags"=dword:00100024
> > "Util"="fatutil.dll"
> > "Paging"=dword:1
> > "EnableCache"=dword:1
> > "CacheSize"=dword:0
> > "CacheDll"="diskcache.dll"
> > "FormatTfat"=dword:1
> >
>
>
>

Re: Block device registry issue? by Gary

Gary
Thu Feb 08 14:42:32 CST 2007

Hi Esmond,
Does ce.bib include mspart.dll?
Debug builds can automatically load dll's for you from the FLATRELEASE
directory, but release builds can't do that.

Regards,
Gary

"Esmond Chang" <EsmondChang@discussions.microsoft.com> wrote in message
news:5AB4DBB1-C593-4AE5-A9E4-F16218D4CC85@microsoft.com...
> Hi,
>
> Thanks for reply.
> Yes, KITL is included. and my_nand.dll is included in my image also. I can
> find my_nand.dll had been loaded sucessfully by device manager. I can use
> Remote System Information to see the DSK had been loaded succefully. Any
> thought?
>
>
>
> "Anthony Pellerin" wrote:
>
>> When you are in release build, do you have KITL? Are you sure your
>> my_nand.dll is included in the image (check ce.bib)?
>>
>> HTH
>>
>> --
>> --
>> --
>> ----------------------------------------------------------------
>> Anthony Pellerin (eMVP)
>> ADENEO (ADESET)
>> Windows Embedded Consultant
>> <apellerin AT adeneo DOT adetelgroup DOT com>
>> http://www.adeneo.adetelgroup.com
>> Tél : +33 (0)4.72.18.57.77
>> Fax : +33 (0)4.72.18.57.78
>> ----------------------------------------------------------------
>> "Esmond Chang" <EsmondChang@discussions.microsoft.com> a écrit dans le
>> message de news: 7D05746E-63C2-4E70-9579-8217BC2EB4F9@microsoft.com...
>> > Hi,
>> >
>> > I have K9f1208 NAND flash and J3F128 NOR flash in my platform, these
>> > two
>> > driver had been successufully init and load when in debug build.
>> > Strange
>> > things happen when I build as release, NAND flash partition dll never
>> > been
>> > loaded. I found the DSK had been loaded, but mspart.dll never been load
>> > when
>> > in release build when only load NAND. Any comment?
>> >
>> > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NandDrv]
>> > "Dll"="my_nand.dll"
>> > "Order"=dword:3
>> > "Prefix"="DSK"
>> > "Index" =dword:2
>> > "Ioctl"=dword:5
>> > "Profile"="MSNAND"
>> > "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>> > "MemBase"=dword:b7600000
>> > "MemLen"=dword:04000000
>> >
>> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSNAND]
>> > "Name"="Nand FLASH"
>> > "DefaultFileSystem"="FATFS"
>> > "Folder"="NAND Flash"
>> > "PartitionDriver"="mspart.dll"
>> > "AutoMount"=dword:1
>> > "AutoPart"=dword:1
>> > "AutoFormat"=dword:1
>> > "MountFlags"=dword:2
>> >
>> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSNAND\FATFS]
>> > "Dll"="fatfsd.dll"
>> > "Flags"=dword:00100024
>> > "Util"="fatutil.dll"
>> > "Paging"=dword:1
>> > "EnableCache"=dword:1
>> > "CacheSize"=dword:0
>> > "CacheDll"="diskcache.dll"
>> > "FormatTfat"=dword:1
>> >
>> >
>> > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
>> > "Dll"="my_nor.dll"
>> > "Order"=dword:2
>> > "Prefix"="DSK"
>> > "Ioctl"=dword:4
>> > "Profile"="MSFlash"
>> > "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>> > "MemBase"=dword:b5100000
>> > "MemLen"=dword:00400000
>> >
>> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
>> > "Name"="MSFLASH for STRATAFLASH"
>> > "DefaultFileSystem"="FATFS"
>> > "Folder"="NOR Flash"
>> > "PartitionDriver"="mspart.dll"
>> > "AutoMount"=dword:1
>> > "AutoPart"=dword:1
>> > "AutoFormat"=dword:1
>> > "MountFlags"=dword:2
>> >
>> > [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
>> > "Dll"="fatfsd.dll"
>> > "Flags"=dword:00100024
>> > "Util"="fatutil.dll"
>> > "Paging"=dword:1
>> > "EnableCache"=dword:1
>> > "CacheSize"=dword:0
>> > "CacheDll"="diskcache.dll"
>> > "FormatTfat"=dword:1
>> >
>>
>>
>>