Author |
Topic |
|
KnowledgeBase
296 Posts |
Posted - 25 Feb 2002 : 17:54:40
|
Q: What if I don't want to use ActiveSync. Is there any other way to do remote Ethernet debugging?
Yes. There is a TCP/IP method for remotely debugging applications in eMbedded Visual Studio. Ethernet is much faster than RS-232 for application debugging, and is recommended for most application development.
You can use ActiveSync Ethernet debugging, but that method requires that you first set up a serial ActiveSync connection. TCP/IP debugging is very useful if you have difficulty creating an ActiveSync connection, or want to go directly to Ethernet debugging.
To use TCP/IP debugging, do the following (see updated instructions for CE.NET, below):- In eMbedded Visual Tools, select Configure Platform Manager... from the Tools menu.
- Select a device that matches the SDK you're using and click the Properties... button.
- Click the Advanced button and select the Manual Server. Click Ok.
- Select TCP/IP Transport
- Click the Test button.
The PC will pop up a dialog box with instructions about what to run on your CE device.
- In the Start Menu->Run dialog of your CE device, run \Windows\CEMGRC.exe with the parameters listed in the eV Tools dialog (see tip below to simplify this step in the future).
- Click Ok on your PC. The devices should connect successfully.
- You can now run any of the CE remote tools from your PC or begin a remote debugging session.
Tips: Troubleshooting tips:- Make sure both your PC and your device can see each other on the TCP/IP network (use IPCONFIG on each device, then PING from one computer to the other ).
- Click the "Yes" button if you get the message, "The CPU does not support configuration ARM. Executable will not run on the Device. Continue? Y/N ?". This error message is based on a registry key that isn't yet included in many ADS CE images.
Here are some additional files and applications that can help if you want to use TCP/IP transport. These files are supplied "as is":- Client DLLs and applications (CE 3.0, CE.NET): Updated applications and libraries required for Ethernet debugging, if not included in your build of CE 3.0. Files included: repllog.exe, mansrv.dll, cemgrc.exe, cetlstub.dll, tcpipc.dll. ZIP 71kB
- RunCEMgr: Simple application that automatically copies files needed for Ethernet debugging and starts client debug application. ZIP 12kB
- ADS Go, v1.0: Similar in function to RunCEMgr, this application from Todd Earles at Icon Labs offers more sophisticated, dialog box control of CEMgr including the ability to restart if the connection is broken. ZIP 71kB
For information about using ActiveSync, see the ActiveSync topic index.
------------------ ADS Knowledge Base
Edited by akidder 25-oct-2002: Add instructions. Remove note that TCP/IP debug is not recommended. Edited by akidder 29-oct-2002: Add note about error message that CPU doesn't support configuration ARM Edited by akidder 29-may-2003: Clarify that the PC will give instructions about what to type on CE device Edited by akidder 14-Jan-2004: Add debug files for CE.NET (e.g. for Bitsy Plus and other, older CE.NET builds) |
|
akidder
1519 Posts |
Posted - 25 Oct 2002 : 17:01:17
|
This is a quick and convenient way to create an Ethernet debugging session. See the expanded instructions above for details. |
|
|
whuh
23 Posts |
Posted - 03 Oct 2003 : 14:09:25
|
#.NET
Update for CE.NET 4.1
To use TCP/IP debugging, do the following:
- In eMbedded Visual Tools, select Configure Platform Manager... from the Tools menu.
- Select the ADS device (e.g. IABitsyX for XScale, IAGM for CE.NET StrongARM or applicable SDK) and click the Properties... button.
- Select "TCP/IP Transport for Windows CE" for Tansport
Nothing needs to be changed under the "Configure..." button
- Select "Manual Server" for Startup Server
- Click the Test button.
The PC will pop up a dialog box with instructions about what to run on your CE device. E.g.
- In the Start Menu->Run dialog of your CE device, run CEMGRC with the parameters listed in the eV Tools dialog (see tip above to simplify this step in the future). For example,
CEMGRC.EXE /T:TCPIPC.DLL /Q /D:192.168.0.30:1322
- Click Ok on your PC. The devices should connect successfully.
- You can now run any of the CE remote tools from your PC or begin a remote debugging session.
NOTE:The PC will prompt you to run CEMGRC each time you run a different tool; only the last four digits of the parameters will change.
Edited by akidder 6-Nov-2003: Add example of comand line settings; clarify SDK selection.
|
|
|
jnosek
3 Posts |
|
|
Topic |
|
|
|