HOWTO: Debug Applications Using Visual C++ 6.0 for Embedded Devices Using TCP/IP as Transport Layer

ID: Q230759


SUMMARY

Visual C++ version 6.0 allows application developers to debug their applications using the platform manager for any custom embedded device that they are developing.


MORE INFORMATION

  • To debug applications with Visual C++ using TCP/IP as a transport layer, complete the following steps:

    1. Configure Platform Manager on host to use TCP/IP as the transport layer.


    2. Create a CESH connection between the host computer and target computer.


    3. Make sure that the product Ethernet is working on the target device.


    4. Connect to the device and start debugging using Visual C++.




  • To configure Platform Manager, complete the following steps:

    1. Select Configure Platform Manager under the Tools Menu.


    2. Choose TCP/IP Transport for Windows CE as your transport layer.


    3. Go to Advanced and choose CESH server for Windows CE as your server. Do not choose Windows CE Services because that is intended only for retail devices.


    4. For devices that are built using the ETK you can choose either CESH server for Windows CE or Manual Server. Currently, Manual Server is broken and does not work. Microsoft will fix Mansrv.dll and ship the updated version of Mansrv.dll in the next release of Platform Builder.


    5. Configure the CESH server to point to the \WINCE211\Release directory.




  • To create a CESH Connection, please follow the instructions in Platform Builder documentation. The information is available in the getting started section.


  • Make sure that product Ethernet is working by doing the following:

    You can make sure that product Ethernet is working by executing NET XXXX commands on the CMD window on the target device. If the net commands report that network is not present or network failed to start then product Ethernet is not configured correctly. If you are using static IP (as opposed to DHCP) you may need to obtain the static IP QFE.


  • Connect to the Target Device and Start Debugging by completing the following steps:

    1. Build your application for the target device using the exported SDK for the device.


    2. Choose Update Remote Output File to transfer the application to the target.


    3. Start using Visual C++ debugging commands.




Additional query words:

Keywords :
Version :
Platform :
Issue type : kbhowto


Last Reviewed: October 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.