Hi ,

I am using Strata NOR FMD driver included with Platform Builder as reference for our
Flash FMD driver , and using the same registry used for that driver ( I changed only MemBase and
MemLen ) .

According to the log in the debug window , my driver (FlashDrv.dll) is failing ,below is the log I get
in my debug window , and I don't understand the reason why I get this log ! I ran the driver in debug
mode and saw that the driver is passing correct information to the FAL library and saw also
that the FAL library calls FMD_ReadSector twice for every first sector in a block ,
and it passes only pointer for the meta data and the data returned is what is in the flash,
the flash still has 0xFF value in all of its bytes .

What could be the reason for my driver to fail ? and how should I format for the first time the resulted partition
if the driver succeed ?

Thanks in advance

//-------------------------------------------------------------------------------------------------------------------------

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'
4294768220 PID:41fe6372 TID:41feaf42 0x81fe6000: >>> Loading module mspart.dll at address 0x03E70000-0x03E7B000 (RW data at
0x01FEF000-0x01FEF494)
4294768222 PID:41fe6372 TID:41feaf42 0x81fe6000: Loading partition driver mspart.dll hModule=81FAB000
4294768222 PID:41fe6372 TID:41feaf42 0x81fe6000: Driver mspart.dll loaded
4294768222 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
logical sector 0x0!!!
4294768223 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for
logical sector 0x00000000
4294768223 PID:41fe6372 TID:41feaf42 0x81fe6000: Opened the store hStore=000B3F00
4294768223 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for
logical sector 0x0!!!
4294768224 PID:41fe6372 TID:41feaf42 0x81fe6000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for
logical sector 0x00000000
4294768224 PID:41fe6372 TID:41feaf42 0x81fe6000: NumSec=3780 BytesPerSec=512 FreeSec=0 BiggestCreatable=0

-------------------------------------------------------------------------------------------------------------------------//


--
Maen