wince500 cf card and sd card



I am running wince500 on a 255 processor and have a number of issues;

1) after a suspend resume if I try to copy or delete a file from the CF card
I get a dialog box asking me to confirm and when I do the box disappears as
expected but the file doesn't delete or copy and I get a partial lock up, I
can access the start button and control panel etc but when I try to resume
the explorer window the system then locks up and sometime I get the egg
timer. If I then remove the card I get a dialog box with a message like
cannot delete copy of xxx.lnk, error code 1609. The debug messages from
the build when I remove the card are shown below;

0x8fe106a0: ATADISK: DSK_Deinit
0x8ff88400: [NOTIFY] HandleSystemEvent 7 /REMOVE DSK1:
0x8fe106a0: ATADISK: DLL_PROCESS_DETACH
0x8fe106a0: <<< Unloading module atadisk.dll at address
0x03C00000-0x03C11000 (RW data at 0x01FCF000-0x01FCF67
0)
0x8fe6d6d0: Read/Write Sector failed (1609) on Sector 491
0x8fe6d6d0: Read/Write Sector failed (1609) on Sector 491
0x8fe6d6d0: FATFS!CommitStream returned 1609 for '<ROOT>'
0x8fe6d6d0: FATFS!FAT_SetFileAttributesW(0x20,\Copy of EMU.lnk) returned 0x0
(1609)
0x8fa99400: Read/Write Sector failed (1609) on Sector 491
0x8fa99400: Read/Write Sector failed (1609) on Sector 491
0x8fa99400: FATFS!CommitStream returned 1609 for '<ROOT>'
0x8ffd8640: Read/Write Sector failed (4319) on Sector 491
0x8ffd8640: FATFS!CommitStream returned 4319 for '<ROOT>'
0x8ffd8640: FSD_UnmountDisk(0xbfae0): unmounting...
0x8ffd8640: FATFS!UnmountDisk: unmounting all volumes on disk 000BFAE0
0x8ffd8640: Read/Write Sector failed (4319) on Sector 491
0x8ffd8640: FATFS!CommitStream returned 4319 for '<ROOT>'
0x8ffd8640: Read/Write Sector failed (4319) on Sector 491
0x8ffd8640: <<< Unloading module diskcache.dll at address
0x03E10000-0x03E19000 (RW data at 0x01FEE000-0x01FEE
4F4)
0x8ffd8640: FATFS!FATDetach complete (0 sectors written in 0 requests)
0x8ffd8640: <<< Unloading module fatfsd.dll at address 0x03E20000-0x03E4B000
(RW data at 0x01FF0000-0x01FF063C
)
0x8ffd8640: CStore Destructor(000BB000)
0x8ffd8640: <<< Unloading module mspart.dll at address 0x03BC0000-0x03BCE000
(RW data at 0x01FCB000-0x01FCB4AC
)
0x8fa99400: SWP:FrameChanged sent to window 0x7C015DD0 which is not visible
0x8fe6d6d0: DlgMgr: FindDlgItem id 1 returning NULL.




2) The other problem I have is that if I use an SD card, it is not
recognised it appears in the control panel storage panel applet but will not
allow a format etc and it doesn't appear as a folder in explorer, also if
both the CF card and sd card are inserted at the same time then neither is
visible in the explorer window (I don't see any of these problems on a
wince420 OS that I can install on the same hardware)



Regards



.