RE: Deployment fails in VS2k5 to Target Device
- From: George M. <GeorgeM@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 17 Dec 2008 13:29:02 -0800
Can anyone help please? Any ideas?
--
Thanks,
George
"George M." wrote:
Hi,.
I have seen a few posts related to this topic but none have really helped as
they are all for slightly different version of my problem.
I am having problems deploying (and thus debugging) an application to my
target device. I get the following error message when I attempt to Deploy
the project:
"Deployment and/or registration failed with error: 0x8973190e. Error writing
file '\SpiFlashTest\SpiFlashTest.exe'. Error 0x8007274c: A connection attempt
failed because the connected party did not properly respond after a period of
time, or established connection failed because connected host has failed to
respond."
My target device is a custom Freescale i.MX31 based platform which I have
successfully ported a CE 6.0 BSP to. The board works fine for all sense and
purposes.
Here are the steps I'm following to deploy/debug my C++ application:
1) I have one instance of VS2k5 for my OS design and deploy the OS image.
The board boots up and loads the kernel fine, displaying the CE desktop. I'm
using KITL over Ethernet for communication between PB and the target.
Everything appears to be fine here. Also, ActiveSync comes up fine and is
connected.
2) My image does include .NET CF (2.0) and also the CAB file installer (I
saw this on some other semi related post).
3) I run a second instance of VS2k5 for my C++ application I wrote to access
and test a driver I wrote. I decided to do it this way instead of CETK
and/or a subproject within my OS design solution because I want to make sure
that application developers are able to connect to the target device when
they are developing.
4) And of course I've generated a SDK for my OS design/target and installed
it. My application project builds fine against it.
5) When I click the "Connect To Device" button on the second VS2k5 (i.e. the
one with my application) it says "Connection succeeded." So far so good as
it appears to connect.
6) But when I click "Start Debugging" or "Deploy Solution" it fails to
deploy my application. It definitely tries as on my target it creates the
folders and the file but the application is a zero length file. And that's
as far as I get. The message displayed is what I pasted above.
So some kind of communication is failing but I cannot determine what is wrong.
By the way, using ActiveSync I can copy my application unto the target and
execute it. But I would obviously like the capability to application debug,
especially for the application developers when I hand over the device.
Can anyone help please in figuring out why this communication is failing and
I cannot deploy the application? Any ideas are greatly appreciated.
--
Thanks,
George
- References:
- Deployment fails in VS2k5 to Target Device
- From: George M.
- Deployment fails in VS2k5 to Target Device
- Prev by Date: Re: application error in wince5.0
- Next by Date: Re: application error in wince5.0
- Previous by thread: Deployment fails in VS2k5 to Target Device
- Index(es):
Loading