Welcome to MSDN Blogs Sign in | Join | Help

Visual Studio For Devices

A Team blog from the Visual Studio for Devices Team

Syndication

Debugging on CE5.0 device without Activesync

This information ONLY applies to the Visual Studio 2005 Beta 2

Without the help of ActiveSync, VS 2005 does not automatically copy the connectivity binaries down to the device and hence debugging becomes problematic.

In order to use debugger on Windows CE 5.0 devices without active sync, you need to:

Step 1. Manually copy the following files down to the device

Clientshutdown.exe
ConmanClient2.exe
CMaccept.exe
eDbgTL.dll
TcpConnectionA.dll

From the desktop folder:
 \Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\<CPU>, to \windows on device

Step 2. Manually launch the conmanclient2.exe

On the device side, open the command prompt and run "Conmanclient2.exe"

Step 3. Set the correct IP address

On the desktop side, open VS 2005
Tools
à options à device tools à devices
Choose Windows CE 5.0 device, click on “properties”.
On the “Windows CE 5.0 device properties” dialog, click on “configure”.
On the “Configure TCP/IP” Transport dialog, choose “use specific IP address” and type in the IP address of your windows CE 5.0 device.
Click OK.

Step 4. Enable the connection (You can skip this step if the security is already disabled on the CE device by setting "HLKM\System\CoreConOverrideSecurity = 1". But disabling security may expose your device to malicious attack)

Run cMaccept.exe

Connect to the device within 3 minutes after you run cMaccept.exe. (The 3 minutes window is for the first connection. As long as you establish the first connection within 3 minutes, the following deployment/debugging sessions using the same VS instance is not limited by this 3 minutes window)

You need to perform Step 4 again when you try to connect from another instance of VS.

Now debugger is ready to go, and you should be able to deploy and debug program(s) running on Windows CE 5.0 device now.

Published Thursday, April 28, 2005 9:09 PM by MobileDevGroup

Comments

# WiFi Debugging @ Sunday, May 22, 2005 5:20 PM

You've probably read that the&amp;nbsp;wifi/ethernet sync capabilities had to be removed in ActiveSync 4.0...

Windows Mobile Team Blog

# Developing applications using Windows CE SDK @ Friday, June 01, 2007 5:05 PM

Hello my Name is Nachiket Acharya and today I am going to talk about usefulness of an SDK and use it

Windows CE Base Team Blog

# MSDN Blog Postings &middot; Developing applications using Windows CE SDK @ Friday, June 01, 2007 9:12 PM

PingBack from http://msdnrss.thecoderblogs.com/2007/06/01/developing-applications-using-windows-ce-sdk/

MSDN Blog Postings · Developing applications using Windows CE SDK

# Troubleshooting Error Code 0x85010014 @ Tuesday, May 12, 2009 9:12 AM

PingBack from http://www.theemailadmin.com/2009/05/troubleshooting-error-code-0x85010014/

Troubleshooting Error Code 0x85010014

New Comments to this post are disabled
Page view tracker