Sue
Tue Nov 28 15:04:04 CST 2006
I am guessing this is not really broken on all MIPSII_FP devices, but just
your setup. Our test team should be testing things like this on all CPUs.
I would like to get to the point where whenever someone hits problems like
this, they can easily a detailed doc about how to troubleshoot the problems.
I am doing my best to get us there, but I don't have the expertise yet to
contribute information on my own. I have no clue whatsoever about the
debugger functionality; I'll ask someone else to come comment on it. For
the remote tools, I'm just starting to learn my way around. Here is my
current "dumping ground" of information. I make no claims about how useful
or correct it is!! :-)
SYSGEN variables required by CoreCon:
SYSGEN_CORELOC=1
SYSGEN_CORESTRA=1
SYSGEN_STDIOA=1
SYSGEN_CPP_EH_AND_RTTI=1
a.. If you are having trouble with perf tools like Kernel Tracker or
CECAP, first double check that simpler tools like File Viewer or RegEdit
connect. To eliminate CeLog or other tool helpers as the problem.
b.. The Visual Studio corecon tools (Start -> Programs -> Microsoft Visual
Studio 2005 -> Visual Studio Remote Tools) are using a slightly different
version of CoreCon than Platform Builder (Target menu inside VS). Be clear
on which one you are using.
c.. Check the dates of VS corecon files, by looking at the timestamps
under c:\Program Files\CE Remote Tools\. 4/11/2005 is the date for VS2005
RTM files.
d.. Try deleting and recreating your device settings under Target ->
Connection Settings.
e.. Try deleting ALL device settings by deleting or renaming the
c:\Documents and Settings\(user)\Local Settings\Application
Data\Microsoft\CoreCon\1.0 directory. (Warning I believe that when I did
this, I caused myself to run into the problem in the next bullet point.)
f.. Some connection failures are caused by looking for files of the wrong
version or under the wrong path. Correlate your device settings against the
files that actually exist on your PC. Compare the paths inside c:\Documents
and Settings\(user)\Local Settings\Application
Data\Microsoft\CoreCon\1.0\conman_ds_package.xsl to those on your disk.
If you are trying to connect Visual Studio corecon to a device that's
connected to PB, this may work:
1.. Copy c:\Program Files\Common Files\Microsoft
Shared\corecon\1.0\Target\wce400\%_TGTCPU%\* to the release dir
2.. Copy c:\Program Files\Windows CE Platform
Builder\5.00\CORECON\TARGET\%_TGTCPU%\tlkitlc.dll to the release dir (Or, in
CE6, c:\Program Files\Microsoft Platform
Builder\6.00\CORECON\TARGET\%_TGTCPU%\tlkitlc.dll)
3.. Boot the CEPC image (or whatever your device is) inside PB
4.. Open a VS remote tool through Start Menu -> VS2005 -> Remote Tools and
connect.
I will blog (and document) this stuff when I feel it's complete enough to be
more useful. Right now I feel like I haven't hit enough scenarios, that
there must be more issues lurking. Plus I don't understand what's going on
behind the scenes yet. So it's still a dumping ground.
Sue
sloh@microsoft.com (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________