Re: ActiveSync/Ethernet/CE6



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.


.



Relevant Pages

  • Re: ActiveSync/Ethernet/CE6
    ... ActiveSync, or if the application development computer doesn't have ... then created a SDK and generated the MSI. ... ActiveSync should I be installing? ... My application has some registry ...
    (microsoft.public.windowsce.embedded)
  • Re: DrawIndexedPrimitiveVB and E_NOTIMPL
    ... The debug runtime isn't that much forgiving as the actual retail libraries. ... Older SDK installs can corrupt debug tools of newer debug SDKs (e.g. the ... DirectX control panel going away). ... >> When you install the SDK, you are not installing drivers. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: change d3dx9 dll version
    ... You'll get better tools to debug with, like PIX, ... Installing the SDK, as you ... Installing the latest SDK on both ... D3DX only became a DLL in early 2005 IIRC. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • shader/dx debugger not starting
    ... After installing the dx 2005 june sdk, I have the menu option "start with ... If i hit "start without debugging" and then attatch the debugger, ... conplains about the shader not having any debug info and again it doesnt let ... I have now been installing, removing, loaded clean system image, tried some ...
    (microsoft.public.win32.programmer.directx.managed)
  • ActiveSync/Ethernet/CE6
    ... I been trying to determine the proper way to use VS2005 deployment ... I installed the SDK created from 1st machine. ... ActiveSync should I be installing? ...
    (microsoft.public.windowsce.embedded)