Use the CTK on a Device Without KITL (Compact 2013)
3/26/2014
In some instances, you may want to connect to a device without Kernel Independent Transport Layer (KITL). The following procedure provides instructions for doing so.
To use the CTK on a Device Without KITL
Copy the device-side CoreCon binary files from the Application Builder installation folder, for example C:\Program Files (x86)\Common Files\Microsoft Shared\Embedded Tools\CoreCon\11.0\Target\wce800. If you are targeting ARM, copy the entire contents of the armv7 folder. If you are targeting x86, copy the entire contents of the x86 folder. You will see the following device side binary list:
- clientshutdown3.exe
- CMAccept3.exe
- ConmanClient3.exe
- DeviceAgentTransport3.dll
- eDbgTL3.dll
- TcpConnectionA3.dll
Set the SYSGEN_NETUTILS variable in your OS design to include ipconfig.exe. This setting will allow you to provide the IP address to the CTK on the desktop.
Establish the TCP connection by launching ConmanClient3.exe and CMAccept3.exe on the device.
Note
CMAccept3.exe will time out after three minutes if the desktop does not accept the connection, and you will need to re-launch CMAccept3.exe.
Build and deploy your image.
Get the IP address of the device.
Launch the CTK by doing the following:
- On the Start menu, type WindowsEmbeddedCompact2013TestKit and then press Enter.
The Windows Embedded Compact Test Kit displays. - Point to Connection, and then click Connect To Device.
- In the Select a Device window, click Windows Embedded Compact Debugger.
- Enter the IP address on the device to connect it to the CTK server.
- Double-click any test case to start testing.
Note
You can use the CTK instance to run multiple tests as long as you don’t close the window or remove the connection in between the tests. If the connection is removed, you will need to re-launch CommanClient3.exe and CMAccept3.exe to establish the TCP connection for the next run of the CTK.
- On the Start menu, type WindowsEmbeddedCompact2013TestKit and then press Enter.