Hi ,

I am implementing FMD layer for a NOR Flash , I am doing the following :

- I am using 2 MB of the flash only for the File System ( 0xBF500000-0xBF6FFFFF )
- Block size in this area of the flash is 64K , ( 32 Blocks in the 2 MB area )
-Every block contains 120 sectors ,
-Total number of sectors = 120*32= 3840 ,, and it is multiple of 256 ( 3840=256*15 ) .

I get the following message in the debug window after the driver loads :

//--------------------------------------------------------------------------------
FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for logical sector 0x00000000
--------------------------------------------------------------------------------//

What is the explination of this message ?

Full log is :

//--------------------------------------------------------------------------------
Loaded symbols for 'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\FLASHDRV.DLL'
4294767733 PID:41fe6372 TID:41feaf42 0x81fe6000: INFO: FMD_Init: Flash Address=0xbf500000 Length=0x200000.
Loaded symbols for 'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\MSPART.DLL'
Loaded symbols for 'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\RELFSD.DLL'
4294767742 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:BuildupMappingInfo() - Enter.
4294767803 PID:41fe6372 TID:41feaf42 0x81fe6000: >>> Loading module mspart.dll at address 0x03E70000-0x03E7B000 (RW data at
0x01FEF000-0x01FEF494)
4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000: Loading partition driver mspart.dll hModule=81FAB398
4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000: Driver mspart.dll loaded
4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
logical sector 0x0!!!
4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for
logical sector 0x00000000
4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000: Opened the store hStore=000B3F00
4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
logical sector 0x0!!!
4294767806 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for
logical sector 0x00000000
4294767806 PID:41fe6372 TID:41feaf42 0x81fe6000: NumSec=3600 BytesPerSec=512 FreeSec=0 BiggestCreatable=0
....
....
....
....
....
--------------------------------------------------------------------------------//


Thanks in advance


--
Maen

Re: FMD NOR Flash driver error message by Sachin

Sachin
Tue Sep 02 14:11:36 CDT 2003

It is a normal message (the message shouldn't be in ZONE_ERROR. I'll move
it out in the next release).

--
Sachin Patel
Software Design Engineer, Windows CE

To reply directly, remove "online" from my email address.
This posting is provided AS IS with no warranties, and confers no rights.

"Maen" <nospamm@hotmail.com> wrote in message
news:%23HLJXvIcDHA.2932@tk2msftngp13.phx.gbl...
> Hi ,
>
> I am implementing FMD layer for a NOR Flash , I am doing the following
:
>
> - I am using 2 MB of the flash only for the File System (
0xBF500000-0xBF6FFFFF )
> - Block size in this area of the flash is 64K , ( 32 Blocks in the 2 MB
area )
> -Every block contains 120 sectors ,
> -Total number of sectors = 120*32= 3840 ,, and it is multiple of 256 (
3840=256*15 ) .
>
> I get the following message in the debug window after the driver loads :
>
>
//--------------------------------------------------------------------------
------
> FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address
for logical sector 0x00000000
> --------------------------------------------------------------------------
------//
>
> What is the explination of this message ?
>
> Full log is :
>
>
//--------------------------------------------------------------------------
------
> Loaded symbols for
'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\FLASHDRV.DLL'
> 4294767733 PID:41fe6372 TID:41feaf42 0x81fe6000: INFO: FMD_Init: Flash
Address=0xbf500000 Length=0x200000.
> Loaded symbols for
'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\MSPART.DLL'
> Loaded symbols for
'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\RELFSD.DLL'
> 4294767742 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:BuildupMappingInfo() - Enter.
> 4294767803 PID:41fe6372 TID:41feaf42 0x81fe6000: >>> Loading module
mspart.dll at address 0x03E70000-0x03E7B000 (RW data at
> 0x01FEF000-0x01FEF494)
> 4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000: Loading partition driver
mspart.dll hModule=81FAB398
> 4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000: Driver mspart.dll loaded
> 4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
> logical sector 0x0!!!
> 4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address
for
> logical sector 0x00000000
> 4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000: Opened the store
hStore=000B3F00
> 4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
> logical sector 0x0!!!
> 4294767806 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address
for
> logical sector 0x00000000
> 4294767806 PID:41fe6372 TID:41feaf42 0x81fe6000: NumSec=3600
BytesPerSec=512 FreeSec=0 BiggestCreatable=0
> ....
> ....
> ....
> ....
> ....
> --------------------------------------------------------------------------
------//
>
>
> Thanks in advance
>
>
> --
> Maen
>
>



Re: FMD NOR Flash driver error message by Maen

Maen
Wed Sep 03 03:16:35 CDT 2003

Thanks ,

So my driver is loading correctlly , but i dont see the new partition\driver of the flash ,
I am using a non-dosplay device and from the telnet session or the remove file veiwer i
don't see the flash file system , how can i format the new flash file system for the first time ?

Thanks in advance

--
Maen
"Sachin Patel [MS]" <sapatel@online.microsoft.com> wrote in message news:OKDsIYYcDHA.456@TK2MSFTNGP10.phx.gbl...
It is a normal message (the message shouldn't be in ZONE_ERROR. I'll move
it out in the next release).

--
Sachin Patel
Software Design Engineer, Windows CE

To reply directly, remove "online" from my email address.
This posting is provided AS IS with no warranties, and confers no rights.

"Maen" <nospamm@hotmail.com> wrote in message
news:%23HLJXvIcDHA.2932@tk2msftngp13.phx.gbl...
> Hi ,
>
> I am implementing FMD layer for a NOR Flash , I am doing the following
:
>
> - I am using 2 MB of the flash only for the File System (
0xBF500000-0xBF6FFFFF )
> - Block size in this area of the flash is 64K , ( 32 Blocks in the 2 MB
area )
> -Every block contains 120 sectors ,
> -Total number of sectors = 120*32= 3840 ,, and it is multiple of 256 (
3840=256*15 ) .
>
> I get the following message in the debug window after the driver loads :
>
>
//--------------------------------------------------------------------------
------
> FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address
for logical sector 0x00000000
> --------------------------------------------------------------------------
------//
>
> What is the explination of this message ?
>
> Full log is :
>
>
//--------------------------------------------------------------------------
------
> Loaded symbols for
'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\FLASHDRV.DLL'
> 4294767733 PID:41fe6372 TID:41feaf42 0x81fe6000: INFO: FMD_Init: Flash
Address=0xbf500000 Length=0x200000.
> Loaded symbols for
'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\MSPART.DLL'
> Loaded symbols for
'D:\WINCE420\PUBLIC\RG\RELDIR\88E6318_MIPSIV_FPDEBUG\RELFSD.DLL'
> 4294767742 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:BuildupMappingInfo() - Enter.
> 4294767803 PID:41fe6372 TID:41feaf42 0x81fe6000: >>> Loading module
mspart.dll at address 0x03E70000-0x03E7B000 (RW data at
> 0x01FEF000-0x01FEF494)
> 4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000: Loading partition driver
mspart.dll hModule=81FAB398
> 4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000: Driver mspart.dll loaded
> 4294767804 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
> logical sector 0x0!!!
> 4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address
for
> logical sector 0x00000000
> 4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000: Opened the store
hStore=000B3F00
> 4294767805 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
> logical sector 0x0!!!
> 4294767806 PID:41fe6372 TID:41feaf42 0x81fe6000:
FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address
for
> logical sector 0x00000000
> 4294767806 PID:41fe6372 TID:41feaf42 0x81fe6000: NumSec=3600
BytesPerSec=512 FreeSec=0 BiggestCreatable=0
> ....
> ....
> ....
> ....
> ....
> --------------------------------------------------------------------------
------//
>
>
> Thanks in advance
>
>
> --
> Maen
>
>