CoreCon is used to establish connectivity between Visual Studio 2005/2008 IDE and CE 6.0 target dev...
As part of the process in developing application for a Windows Embedded CE 6.0 (CE 6.0) device using Visual Studio 2005 or 2008, we need to establish connectivity between the Visual Studio IDE and the CE 6.0 device in order to deploy the application for testing and debug.
CoreCon connectivity is one of the available options to establish connectivity between the Visual Studio 2005 (VS2005) and Visual Studio 2008 (VS2008) IDE to a CE 6.0 device.
For the remainder of this article, Visual Studio is referring to both the Visual Studio 2005 and Visual Studio 2008.
CoreCon files needed to establish connectivity between the Visual Studio IDE and CE 6.0 target device are installed to the development workstation as part of the Visual Studio software installation.
CoreCon files supporting multiple processor architectures are installed to the following directory:
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\
Under the above directory, there are multiple sub-folders. Each sub-folder contains the CoreCon files to support designated processor architecture, with corresponding folder name, as follow:
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\Armv4
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\Armv4i
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\Mipsii
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\Mipsii_fp
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\Mipsiv
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\Mipsiv_fp
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\Sh4
\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\x86
To establish connectivity between the Visual Studio IDE and a CE 6.0 target device using CoreCon, the appropriate CoreCon files must be accessible within the device’s file system.
There are two methods to place the CoreCon files to the device’s file system:
· The CoreCon files are copied to the device’s file system after CE 6.0 OS runtime image is launched on the device.
· The CoreCon files are included to the OSDesign project and compiled as part of the CE 6.0 OS runtime image.
To establish connectivity, we need to configure device connectivity settings from the Visual Studio IDE with an application project open.
A properly configured CE 6.0 OS runtime image is launched on the target device, with CoreCon files placed to the target device’s file system. Both the development workstation and CE 6.0 target device are attached to the same Network.
· With a Visual Studio application project open, select Tools|Options from the Visual Studio IDE to bring up the Options screen.
· From the Options screen’s left pane, expand the Device Tools node and select the Devices node.
· On the right pane, select the targeted CE 6.0 device and click on the Properties button to bring up the device properties configuration screen.
· From the device properties configuration screen, click on the Configure button to bring up the Configure TCP/IP Transport screen.
· From the Configure TCP/IP Transport screen, select the Use specific IP address option and enter the CE 6.0 target device’s IP address.
Prior to initiating the connection from the Visual Studio IDE, launch the following CoreCon files from the CE 6.0 target device:
CMaccept.exe disable the CE 6.0 target device’s security temporary (for about 2~3 minutes) to allow CoreCon connection to take place. If connection fails to establish within this time frame, you need to launch CMaccept.exe again to make another connection attempt.
From the Visual Studio IDE, select Tools|Connect to Device to establish CoreCon connection to the CE 6.0 target device.
Depending whether you are using Visual Studio 2005 or Visual Studio 2008, the above steps may vary slightly.