PrabuKumar’s Blog

October 25, 2008

Connecting to WinCE 6.0 ARM Emulator using Active Sync

 

If you are working on the WinCE 6.0 ARM Emulator then this post will be useful.Mostly Emulator will be used for testing some application.In order to transfer application to the Emulator you may need either KITL transport or Active Sync support.

If you want to work without KITL and but with Active sync support on Wince 6.0 ARM emulator,do the following things

1. Add the necessary SYSGEN(SYSGEN_AS_BASE,SYSGEN_AS_FILE) variables from the OS catalog items.

2. Add the following line in the WINCE600\PLATFORM\DEVICEEMULATOR\FILES\platform.dat file

Directory(LOC_DIRWINDOWSSTARTUP):-File(“DMAcnect.lnk”,”\Windows\DMAcnect.lnk”)

This line is already present in the platform.dat file but inside IMGTPC environment variable.You can remove this if condition also.

But defining this environment variable in the OSbinary will make your Wince GUI look some what different(Because IMGTPC is for Tablet PC).So better remove this IF IMGTPC condition.

3. After building,downloading and launching the Emulator,Configure your PC Active Sync application by selecting File–> Connection Settings–>Select “Allow Connections to one of the Following:” check box–>Select DMA From the Dropdown box.

ActiveSync

4. In VS2005 Select Tools–>Device Emulator Manager.In Device Emulator Manager dialog box it will list WinCE Emulator,if it is not displaying as below press on the refresh button.Right click on WinCE emulator will show the Popup menu as shown in the Picture.Clicking on the Cradle option will connect the PC to the Emulator via Active sync.

image

 

Now it is possible to transfer files,running remote tools and debugging application from VS2005 on your WinCE 6.0 Emulator using Active Sync transport.

1 Comment »

  1. The comment to patch up the platform.dat was the key thing that prevented my custom sdk to establish a partnership with emulator. Thanks so much !

    Comment by ronaldsloot — August 8, 2009 @ 8:11 pm


RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Blog at WordPress.com.