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?