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