Re: Device driver porting problem



Paolo Alberto Cremonese ha scritto:
Hi all,

I'm getting trouble porting a device driver from WinCE 5.0 to WinCe 6.0.
the problem is an access violation in a memcopy call, between a DMA buffer
and an USER buffer.

the DMA buffer is allocated using

HalAllocateCommonBuffer

the user buffer is allocated at application level using

LocalAlloc

passed to the driver and marshalled using

CeOpenCallerBuffer

Do you have any suggestion?

Thank You in advance


Paolo,
seems ok,
but it's quite hard to give an answer with so few evidences.
Please give more detils.
ciao
.



Relevant Pages

  • Device driver porting problem
    ... I'm getting trouble porting a device driver from WinCE 5.0 to WinCe 6.0. ... the problem is an access violation in a memcopy call, between a DMA buffer ... the user buffer is allocated at application level using ...
    (microsoft.public.windowsce.platbuilder)
  • Device driver porting problem
    ... I'm getting trouble porting a device driver from WinCE 5.0 to WinCe 6.0. ... the problem is an access violation in a memcopy call, between a DMA buffer ... the user buffer is allocated at application level using ...
    (microsoft.public.windowsce.embedded)
  • PocketPC Device Driver
    ... I am new to wince and device driver development. ... need to write a USB Flash Device Driver on Windows Mobile or Windows Pocket ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to install a interrupt into the Wince system
    ... Rather than patching the IDT directly, can you use the device driver APIs ... available in WinCE? ... > I have a question about how to install a new interrupt service into WinCE ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: anyone can help me
    ... What are you struggling with? ... i am the novice people for wince device driver development,i am ... wince.anyone can help me to start the stream interface driver ...
    (microsoft.public.windowsce.platbuilder)