KITL and boot WinCE7 from DOS RRS feed

  • Question

  • Hello Everyone,

    I have Build an OSDesign and bring it to a Target Device(PC). I have one problem.

    I can boot the image on the Target Device just when I change the Build Option KITL to NO.
    If I change it to yes, the PC will be reboot again and again.

    Cause this change I cannot connect to device and cannot start WinCE on the Target Device.
    I use DOS to boot WinCE and I work with VS2008 & Windows Embedded Compact7.

    What I should do to connect my Development Workstation to the Target Device so I debug an run application?.

    Thank you.

    Best regards.

    Hassan Elnassir
    Wednesday, May 25, 2011 2:08 PM

All replies

  • The following Whitepaper describes how to get started based on a virtual PC:

    The basic flow of operations is the same for a real x86 target.

    MVP Windows Embedded
    Thursday, May 26, 2011 8:51 PM
  • @hassancika

    Using the CEPC BSP, you can probably generate a Compact 7 OS run-time image (with KITL disabled) to launch on most PC.

    To enable KITL, you need a network card with KITL driver for Compact 7, such as Realtek-8139.  You can probably pick up a cheap Realtek-8139 network card for you PC to make this work.  Otherwise, you need tweak the KITL driver to support the network interface currently on your PC. 

    If you are new to this environment, it's not likely that you can tweak the driver code to support the PC hardware you have.

    Virtual PC is a good alternative to learn and engage in Windows Embedded Compact development.  For Compact 7, you can use the included "Virtual PC : x86" BSP to create OS design using Virtual PC as the target device.

    "Virtual PC" for Windows 7 and "Virtual PC 2007" are supported.

    Samuel Phung [eMVP] ICOP Technology Inc.
    Monday, May 30, 2011 6:15 PM
  • Dear Mr. Phung,

    thank you for your reply.

    Yes, I am new to this field, so I always have new problems.

    I have generated a compact 7 OS design with disabled KITL, which will start now, whether from my development workstation (VS2008) or from the drive on the target device*.

    I have installed the network card in the pc and when generating OS Design I have in VS 2008 selects Realtek RTL 8139 under Catalog View -> Core SO -> Windows Embedded Compact -> Device Dreiver -> LAN -> Networking.

    And then I had the problem that I can't connected to the target device, I mean if I want to start (deploy) applikation from VS 2008.

    For the solution I've following these steps like described here (v = VS.80). aspx

    And now I can start an application from the development workstation.

    I work now, how to get the IP-adress stablished. I lost this every time if I restart the PC, I get an IP-Adress from DHCP.

    * I modified the AUTOEXEC.bat and written this line
    loadcepc /L:1024x768x16 nk.bin,
    because if I write loadcepc /V nk.bin I become this error "Jumping to 0x000000"
    or I write this loadcepc nk.bin I become a black windows.

    Best Regards.


    Friday, June 3, 2011 4:34 PM
  • @hassancika

    First, you need to be certain the network driver is loaded and working.  You can test this by pinging another computer on the network or using the Web browser.

    You can include the following registry entries to the OS design, to configure the OS run-time image to launch with pre-configured static IP address:







    With regard to your question about connecting to the target device to deploy application, you can read through the getting started guide from the following link:

    The eBox-3310A is an x86 device.  The information in this getting started guide is applicable to all x86 devices.  You should find answer to your question in this guide.



    Samuel Phung [eMVP] ICOP Technology Inc.
    Friday, June 3, 2011 6:19 PM