I build a Win CE 5.0 image with .Net CF 2.0. Now, I would like to write
application in VS2005 and debug at the Win CE 5.0 system. But I couldn't
connect to the board through ethernet.
Using Win CE 5.0 remote tools, I can connect to the board using cemgrc.exe
/s /t ... Also, I generated an SDK from platform builder and build a C#
applicaiton to download to the board. Now, I follow the instructions on the
http://msdn2.microsoft.com/en-us/library/ms228708.aspx. The 5 files are
copied from the host PC \program files\...\Target\armv4i folder to device
\Windows\ folder through ftp server on board. But I just couldn't connect
to the board through VS2005 or VS2005 remote tools. In remote tools, it
will give me a message "The device is not ready". I verified the process
Conmanclient2.exe and cMaccept.exe running through Win CE 5.0 Remote Process
Viewer. So I don't know what else I can try. The debug serial port gave me
this message "Checking if extended
keep alive timeouts feature is set...No". I think it's the message when
cMaccept timeout.
I searched the newsgroup and found that people got problems as well. I
tried to remove the (user)\Local Settings\Application
Data\Microsoft\CoreCon\1.0. And it didn't help me. So any body has any
suggestion?
Thanks,
Derek
So it's important to run VS 2005 and connect to the device right after
removing the CoreCon\1.0folder. Then everything connects.
Derek
"Derek Ou" <derek at siconix @ com> wrote in message
news:OGrc98zt...@TK2MSFTNGP02.phx.gbl...
But the why do I need this cab file? Is it for installing the .NET CF 2.0?
I aleady have .NET CF 2.0 included in the Win CE 5.0 image. If I build the
VS2005 C# project and copy this tst.exe to the device, it will run fine. I
think this mean that the .NET CF 2.0 is running fine on the device. Am I
right? If so, why do I need to download the cab file? Is the cab file for
debugging at VS2005?
Many thanks,
Derek
"Derek Ou" <derek at siconix @ com> wrote in message
news:uHMpAM0t...@TK2MSFTNGP02.phx.gbl...
"Derek Ou" <derek at siconix @ com> wrote in message
news:u30vc89t...@TK2MSFTNGP03.phx.gbl...
I am having some problems in setting up the system to debug from VS2005
as well. I am using i.MX21 ADS. The following are the steps that I
followed, please let me know if I missed something that you did to make
your setup successful:
1. Loaded image to board.
2. Copied files (Clientshutdown.exe, commanclient2.exe, CMaccept.ese,
eDbgTL.dll, and TcpConnectionA.dll) to the Windows folder in the device
using remote file viewer.
3.Ran commanclient2.exe from device command prompt.
4.Ran cMaccpet.exe from device command prompt (IP address setup in VS
2005 was set already).
5. VS2005 Debug/Start Debugging
After a little while, I get a message saying that it had problems
connecting. Did you do anything different that what I did? Thanks.
Regards,
Mario
Do you have problem just connecting VS2005 to Win CE 5.0? Or you have
problem deploying your project after connection is set up? I assume that
you are using the Remote File Viewer from Platform Builder, right? Have you
been able to use the remote tools for VS2005?
Derek
"Mario" <alpha...@hotmail.com> wrote in message
news:1155256396.2...@74g2000cwt.googlegroups.com...
I am trying to deployed my application to the WinCE device. I tried to
connect the device by going to VS2005/Tools/Coonect to Device... I get
an error that ActiveSync is not installed. I guess the answer to your
last question is that I have not been able to talk to my device from
VS2005. I have not problems talking to the device from Platform
builder. Any pointers is appreciated it. Thanks.
Cheers,
mario
"Mario" <alpha...@hotmail.com> wrote in message
news:1155336366.6...@i42g2000cwa.googlegroups.com...
-Chris
"Mario" <alpha...@hotmail.com> wrote in message
news:1155336366.6...@i42g2000cwa.googlegroups.com...
I have it set up with the following Device Tools/Device:
Transport: TCP Connect Transport
Use Specific IP Address (provided the IP of the device)
Unse fixed port number (unchecked)
Bootstrapper: ActiveSync Startup Provider
Under Transport and Bootstrapper I only have one option.
I did follow the msdn doc titled "How to: Connect Windows CE Device
Without ActiveSync" All steps were executed correctly until
deployment. From PB I checked that CMAccpet.exe and ConmanClient2.exe
were still running before I tried to deploy/debug the application from
VS2005. After going to Debug/Start Debugging, I got an error saying
that "There were deployment errors. Continue?" On the Error List, it
had "Connection failed" under Description and "Device Connectivity
Component" under File. I also tried to just connect to the device
through Tools/Connect to Device in VS2005 to no avail. The message was
"Connection failed. The device is not ready". All this was done while
ConmanClient2.exe and CMAccept.exe were still running in the device.
Thanks.
mario
-Chris
"Mario" <alpha...@hotmail.com> wrote in message
news:1155592470.7...@m79g2000cwm.googlegroups.com...
Cheers,
Mario
SYSGEN_FIREWALL or
Core OS->Windows CE Devices->Communications Services and
Networking->Networking Features->Firewall
-Chris
"Mario" <alpha...@hotmail.com> wrote in message
news:1155599846....@b28g2000cwb.googlegroups.com...
I verified that firewall was not installed.
Cheers,
mario
Cheers,
mario
>> Does the image need to be in debug or can I usethe release version?
I think VS app level debugger will not run
together with PB kernel debugger, so Release
is the right choice.
I am also having the exact same issue,
Did u get VS2005 to connect/debug/deploy with win ce 5.0 (PB) ?
Any info is much appreciated.
Thanks.
Yes, I have it working. My fix was to change vmini.reg, under Hardware
Specific Files, to match the IP address and subnetmask that I had set.
Once you change that, you should be able to connect and debug from
VS2005. Hope this helps.
-- mario