Re: ActiveSync/Ethernet/CE6
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Tue, 3 Jun 2008 08:13:43 -0700
You can debug applications without redesigning the operating system. Plug
the board into the PC where you're going to develop applications with VS2005
and the SDK. Select Windows CE device as the target device and everything
should just work, if your device supports ActiveSync. If you don't support
ActiveSync, or if the application development computer doesn't have
ActiveSync, you'll need to copy some files to the device, run them in the
right way, and reconfigure the Device Options in VS2005 to point to the
device's IP address (and connect to it over Ethernet). ActiveSync does not
use Ethernet, so you either have to use ActiveSync over USB or serial or use
manual startup of the communication pieces and Ethernet.
The key word you're looking for is CoreCon. The files for my device are
found at:
\Program Files\Common Files\Microsoft
Shared\CoreCon\1.0\Target\wce400\armv4i
If you're running some other processor build, use the right one. On the
device, after copying everything from that folder, run conmanclient2.exe and
then cmaccept.exe. You then have a minute or two to make the connection to
the device from VS2005 before the connection is automatically shut down and
you have to start cmaccept again.
To connect, in VS2005, choose Tools | Options | Device Tools | Devices.
Choose Windows CE Device from the listbox and choose Properties... Set the
options for the TCP Connect Transport, which I think is the default. Select
Use specific IP address and enter the IP address of the Windows CE device.
Select OK over and over, then debug.
Paul T.
<embdev@xxxxxxxxxxx> wrote in message
news:e029b53d-0637-43b3-8d9a-311cafb13b63@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I been trying to determine the proper way to use VS2005 deployment
options. I have not been able to find anything, if anyone knows of
any documentation please point me to it.
So what I have so far, is 1 machine with VS2005 and WinCE 6.0
installed uptodate with service packs/qfes through March 2008. With
this machine I installed the boards BSP and built a valid NK.bin. I
then created a SDK and generated the MSI. I then booted the nk.bin
from the boards compact flash card and everything is working as it
should.
Next I have a 2nd computer with VS2005 installed with latest updates.
(no platform builder). I installed the SDK created from 1st machine.
I then built a sample application using the SDK. I can now copy this
application to my board (either through a network share or copying it
onto the compact flash card). The application works as in it executes
as it should.
Now what I want to do is debug this application on the device from my
2nd machine. (In past I have always included applications as sources/
pbxml projects in platform builder and included them in the image and
downloaded the image over eboot allowing me to debug them).
In order to do this I have tried to connect to the device from VS2005,
which responds that active sync is not installed. Which version of
ActiveSync should I be installing? (I downloaded ActiveSync 4.5 as
its seemed to be the latest available though I see no option for
connecting through ethernet). Ethernet would be my preferred method
to do this but can not seem to find out how to connect properly.
Would another type of connection be preferred?
Thanks for any help you can provide.
.
- Follow-Ups:
- Re: ActiveSync/Ethernet/CE6
- From: embdev
- Re: ActiveSync/Ethernet/CE6
- References:
- ActiveSync/Ethernet/CE6
- From: embdev
- ActiveSync/Ethernet/CE6
- Prev by Date: Query memory state of the current process
- Next by Date: Re: Remote Access.
- Previous by thread: ActiveSync/Ethernet/CE6
- Next by thread: Re: ActiveSync/Ethernet/CE6
- Index(es):
Relevant Pages
|
|