Unable to debug a device driver

From: srinivas (jtsrao_at_yahoo.com)
Date: 06/30/04


Date: 30 Jun 2004 00:19:59 -0700

Hi,

I wrote a sample driver (myDriver) with the help of Windows CE
help(Title: How to create a device driver). I took the sample ie
PMDEVSAMPLE driver and renamed it as mydriver and built the
mydriver.dll from the command prompt. Then I have integrated the
driver with the catalog by first creating the .cec file and imported
into the catalog and added to the workspace.I Created a bootloader by
following the steps in the help and booted the target device. Then I
have downloaded the image and it ran successfully. I am able to debug
the builtin drivres but when I try to debug the driver I have written,
its not allowing me to that. I have put the break point at DLL
Main..Its blinking for a while at the break point and immediately
exiting after . Plz help me in debugging my driver.



Relevant Pages

  • Re: compiling device driver .....
    ... I would recommend you try following the "How To Create a Device Driver" ... documentation in the PB docs or online at ... It shows you how to copy the PM sample driver into your platform and build ...
    (microsoft.public.windowsce.embedded)
  • Re: i386: pata_cs5520 does not work
    ... Device driver platform lacks bus and class support for being resumed. ... Device driver pci0000:00 lacks bus and class support for being resumed. ...
    (Linux-Kernel)
  • Re: 1394 Virtual Device Driver
    ... Try two machines connected via 1394, one with a virtual device ... > enumerates the bus successfully including the virtual device driver. ...
    (microsoft.public.development.device.drivers)
  • Re: The Kernal Is A Huge Security Whole In Windows
    ... The easiest way to exploit the security hole I am discussing is obviously ... driver writer is ridiculous, I'm sorry. ... responsible for making his device driver secure? ... > Performance Tab> View> Show Kernel Times. ...
    (microsoft.public.win2000.security)
  • Re: hard drive scrubbing utility
    ... we only teach the basics relative to PCI-style bus devices. ... The type of device driver you are writing makes a lot of difference also. ... There are some new books coming out from Microsoft Press on the new Kernel Mode Driver ...
    (microsoft.public.vc.mfc)