eXDI hardware debugging support in DeviceEmulator


Windows Embedded CE 6.0 Platform Builder 6.0 SP1 is now available at http://www.microsoft.com/downloads/details.aspx?FamilyId=BF0DC0E3-8575-4860-A8E3-290ADF242678&displaylang=en.


The service pack adds eXDI hardware-level debugging into the Platform Builder 6.0 debugger, which is great news!  Even better, is that the eXDI driver for the DeviceEmulator shipped as sample source code.  Check out %ProgramFiles%\Microsoft Platform Builder\6.00\cepb\EXDI2\SAMPLEDRIVER\KdStubDe.  This is an updated version of the eXDI driver I demoed at PDC last year using PB 5.0.


The DEComInterfaces.idl declares the COM interface to the DeviceEmulator, and lurking inside it is IDeviceEmulatorDebugger.  The KdStubDe translates eXDI method calls into IDeviceEmulatorDebugger calls, giving you the ability to debug OS images even if no KITL/KdStub is present, and to debug all of the code in the image, including interrupt handlers and boot code.


Please do take time to read the README.TXT to get familiar with the limitations of DeviceEmulatorEXDI... there are a few gotchas where the emulator's implementation makes hardware-level debugging a bit challenging.  😉


 


 


Comments (2)
  1. sky-gq.wu says:

    First, thanks for your new driver. In fact, I have struggled several days in the old one.

    I am studying your new one. it goes well before I added codes to print some logs into one file. only the print in DllMain did as expected. It seems the others weren’t run at all. Could you please help to give some advice for this?

    also, if you have more time, could you please give some tips on developing these drivers?

    thanks in advance.

  2. sky-gq.wu says:

    It has been fixed.

    Thanks all the same.

Comments are closed.

Skip to main content