Trying to use the Microsoft DeviceEmulator BSP to create a CE5 image
for use with VS2005 DeviceEmulator.
Basically its working but I'm having bother with the touchscreen
driver.
When I click in the emulator window I get the following Data Abort
exception.
Data Abort: Thread=9fd98514 Proc=8c226350 'gwes.exe'
AKY=00000009 PC=024b3cb0(touch.dll+0x00003cb0) RA=024b40a0(touch.dll
+0x000040a0)
BVA=08000000 FSR=00000407
This is captured on the serial debug output.
By use of RETAILMSGs I have tracked this down to the call
RETAILMSG(1, (_T("Calling pfnCallback %x, %x, %x, %x\r\n"),
pfnCallback, SampleFlags, CalX, CalY));
(pfnCallback)( SampleFlags, CalX, CalY);
RETAILMSG(1, (_T("Back from pfnCallback %x\r\n"), pfnCallback));
in TouchPanelpISR in touch\tchmain\tchmain.c in the public touch panel
driver code
It never returns from the (pfnCallBack) call.
I have checked that the address in pfnCallBack is the same here as it
was when it was passed to "TouchPanelEnable"
Any ideas how I can find out whats causing this and fix it?
Has anyone else successfully built a CE5 image using MS DeviceEmulator
BSP?
Thanks
Andrew