Debugging over Ethernet

  • How to debug your Windows CE 6.0 application over ethernet with Visual Studio 2005:


    1) Copy the CoreCon files to \windows folder on the device
    Path on the development machine: C:\Programme\Gemeinsame Dateien\Microsoft Shared\CoreCon\1.0\Target\wce400\armv4i


      clientshutdown.exe
      CMAccept.exe
      ConmanClient2.exe
      TcpConnectionA.dll
      eDbgTL.dll


    2) Determine the IP address of the device


    3) Prepare Visual Studio 2005
    From the Tools menu select 'Options' followed by 'Device Tools' and then 'Devices'. Select now the respective SDK (in case of PicoMOD3 select PicoMOD3 Core). Click then on 'Properties'. In the upcoming popup window select 'Configure' and then 'Use specific IP address'.
    You need to insert now the IP address of the platform. Confirm with 'ok' button.


    4) Prepare platform
    Start the processes ConmanClient2.exe and CMAccept.exe on the platform.


    5) Connect Visual Studio 2005 to the platform
    From the Tools menu select 'Connect to device'


    Note: If you get an connection error:
    Download and install the Visual Studio 2005 CoreCon component for CE 6.0 from http://www.embeddedpc.net/Down…ad/tabid/113/Default.aspx


    DKuhne.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • We had an customer who was not able to connect Visual Studio via Ethernet, he spend a lot of time for resolve the problem. Finally he found the following solution in the www:

    Quote

    Let me summarize your problem: You are able to connect to WinCE device using remote Tools but not able to connect to device using Tools->Connect To Device. I hope you are following steps mentioned in http://msdn2.microsoft.com/en-us/library/ms228708.aspx
    Solution: Close VS and delete your local datastore directory. The location of the datastore is %USERPROFILE%\Local Settings\Application Data\Microsoft\CoreCon. Then configure the TCP-IP Connection again (under Tools->Options->Device Tools->Devices) and copy the specific files from your PC to the machine C:\Program Files\Common Files\microsoft shared\CoreCon\1.0\Target\wce400\armv4i


    PS: Note Core Con Files which have to be used for debugging are depend on your Visual Studio Version!

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.