The second phase of the "embed in the sky" tutorial will explain how to use VS2008 to develop Windows C # for some embedded boards. This includes creating a new C # project, setting up a network synchronization method, and debugging a C # program. The entire tutorial will be conducted in a wince environment and developed using the VS2008 tool.
Tian Inlay technology in a responsible manner, teach you how to use tools and to complete their own development, rather than provide what has been done. "Day embedded use tutorial" will not regularly publish self-developed application source code, so that each customer can do their own development, and gradually become a master of technology.
Users who use the SDK by default in the document tq6410,2440 the platform to TQ2440.
1.1 Creating a new C # project
File _ "New _" project, the following interface appears
Select the target platform for Windows CE,. NET version is selected as 3.5, click OK to complete the project creation.
Select the device (i.e. the corresponding SDK) below:
1.2 Configuring Device Tools
Here to teach you a new way of debugging, in the past, we all use USB synchronization, this way debugging program speed up to slow error prone. Using network synchronization to debug the program, the effect is very good.
Tools _ "Options _" device tool, the following interface appears, click Properties
Select TCP connection transfer, click Configure, Output the IP of the board
After the VS2008 configuration is complete, copy the five files in the attachment to the Windows directory of the Board
Start Cmaccept and ConmanClinent2 These two programs, note that there is no interface pop-up, do not think that did not start, of course, you can start more than a few times, are no problem.
Click on the VS2008 tool to connect to the device and quickly eject the connection successfully.
1.3 Debugging a C # application
Where you want to debug the point of interruption, in the project name right-click, Debugging _ "new instance, your program has been in the Development Board run up, very convenient!"
Embedded PC VS2008 Development Windows C # Tutorial