Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Test Tools / July 2008

Tip: Looking for answers? Try searching our database.

How to test MLC nand flash wirh WinCE r2 Cetk

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eva - 24 Apr 2008 07:35 GMT
Hi,all

  For the MLC Nand flash ,there are 2048 bytes in a sector.But I find the
CETK source code "#define DEF_SECTOR_SIZE  512 "for the test of nand .
So I always get the following output:

    FAILED: DeviceIoControl(0x00531503, DISK_IOCTL_WRITE) failed error 87
    FAILED: DeviceIoControl(0x00531503, IOCTL_DISK_WRITE) failed error 87
    FAIL in
C:\yzqasp1\private\test\BaseOS\Drivers\Storage\Function\flshwear\.\flshwear.cpp
at line 76: Dsk_WriteSectors(); error 87
    FAIL in
C:\yzqasp1\private\test\BaseOS\Drivers\Storage\Function\flshwear\.\flshwear.cpp
at line 291: ReadWritePerf()

How to test the MLC nand ?  Thanks
Daniel.ZhangXM@gmail.com - 19 May 2008 08:11 GMT
> Hi,all
>
[quoted text clipped - 12 lines]
>
> How to test the MLC nand ?  Thanks

hi,the problem I encounter is similar to yours...i want to access
nandflash from Mass storage driver. I use the handle returned by api
OpenStore() and send IOCTL_DISK_READ cmd to nand driver,but it always
complains invalid parameters..

can anyone show me some hints?
Vadim Yushprakh - 15 Jul 2008 20:12 GMT
This is a test issue that was fixed in a 6.0R2 CETK QFE. The handle returned
by OpenStore() is routed to the flash driver, which does not understand the
DISK_IOCTL_WRITE/IOCTIL_DISK_WRITE ioctls. Instead it requires
flash-specific IOCTLs, documented here:

http://msdn.microsoft.com/en-us/library/bb821589.aspx

The updated version of the flshwear test takes an optional "/flash" flag,
which forces the test to use the IOCTL_FLASH_* ioctls instead. An example
commandline would be:

tux -o -d \release\flshwear.dll -c"/disk DSK0: /store /flash"

In addition, the updated test will use the actual sector size of the flash
part, instead of a hardcoded value.

Thanks, and let me know if you have any questions!

--Vadim Yushprakh

On Apr 24, 2:35 pm, "Eva" <dhua...@hotmail.com> wrote:
> Hi,all
>
[quoted text clipped - 12 lines]
>
> How to test the MLC nand ? Thanks

hi,the problem I encounter is similar to yours...i want to access
nandflash from Mass storage driver. I use the handle returned by api
OpenStore() and send IOCTL_DISK_READ cmd to nand driver,but it always
complains invalid parameters..

can anyone show me some hints?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.