Re: Device emulator debugging using VS2005 with PB for CE 6.0
- From: Srinimg@xxxxxxxxx <Srinimgyahoocom@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Dec 2006 17:27:00 -0800
Thanks Barry bond for your reply. Even after making sure the settings Build
optins & in connectivity Options, i am not able to debug.
Could you please tell me what i should do to debug in the emulator?
Thanks in advance
-Srini
"Barry Bond [MSFT]" wrote:
Sorry - I misread your mail, and thought you wanted to do usermode app.
debugging using VS 2005. For kernel debugger in PB, you definitely wand
"Enable KITL on device boot" checked.
The "Tools->Connectivity Options" dialog configures the PB side of
debugging. You'll also need to make sure that the device side of debugging
is enabled: in the Project->Properties dialog, make sure that "Enable KITL"
is checked (and rebuild your emulator image if it is not).
You can also get a better idea of what is going on by changing the
emulator's configuration a bit. In Target->Connectivity Options, there is a
spot where you can change the settings that PB uses to launch the emulator
(unfortunately, my PB is unhappy today and the dialog won't draw, so I can't
give you the exact commands). But you'll get an "Emulator Properties"
dialog with a "Peripherals" tab - check the "Create text console for serial
port 1" option. That tells the emulator to direct debug output from the CE
kernel to a Windows console window instead of to a virtual serial port.
Hopefully that console window will have some useful messages for you.
Barry
"Srinimg@xxxxxxxxx" <Srinimgyahoocom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:3F3F3DC3-8013-43E6-AB0D-1C4A2B4EEEB3@xxxxxxxxxxxxxxxx
Thanks Barry Bond for your Timely reply.
I am using Windows Embedded CE 6.0 Evaluation version with VS2005 IDE.
I used Tools->Connectivity Options-> (In Target Device Connectivity
Options)
then Selected "Kernal Service Map"
Target Device : CE Device
Download : Device Emulator(DMA)
Transport : Device Emulator(DMA)
Debugger : KdStub
then selected "Core Service Settings"
Target Device : CE Device
Associated ren-time image: (specified nk.bin)
Download Image : Always is checked
KITL Settings : UNCHECKED "Enable KITL on device boot"
Remaining Items are CHECKED
My understanding is that you pointed out the above "KITL Settings".
After i build the Built the image, I made sure that the above settings are
in place.
Then hit F5 to debug, but it is showing "PB Debugger The Kernel Debugger
is
waiting to connect with target." for long time, does not seem to be
connecting...
So please let me know what i am doing wrong.
Your timely help is very well appreciated.
NOTE:
1. Target->Attach Device launches the Emulator.
2. Also I see only emulators under Pocket PC 2003, Smartphone 2003, but
not
under windows 5.0 & Platform Builder-Specific
Builder-Specific in the "Device Emulator Manager"
Thanks in advance
-Srini
"Barry Bond [MSFT]" wrote:
When you install the SDK you created with the emulator image, it should
create a new entry in VS2005 for the emulator image automatically. It
will
have both bootstrap and transport set to DMA.
If you are using CE 6.0, then please be sure to disable KITL in your
image... KITL-over-DMA interferes with the VS2005 DMA bootstrap and
transport and will block VS from connecting.
Barry
"Srinimg@xxxxxxxxx" <Srinimgyahoocom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:F129527F-A2CA-480B-B8BF-21A40CCA9AB6@xxxxxxxxxxxxxxxx
Hello All,
I created a OS Design with "Device Emulator: ARMV4I". Could anyone
please tell me Settings/Configurations to be done in VS2005
(Target->Connectivity Options... OR using Device Emulator Manager)to
debug
using the emulator?
Thanks in advance
-Srini
- References:
- Re: Device emulator debugging using VS2005 with PB for CE 6.0
- From: Barry Bond [MSFT]
- Re: Device emulator debugging using VS2005 with PB for CE 6.0
- From: Srinimg@yahoo.com
- Re: Device emulator debugging using VS2005 with PB for CE 6.0
- From: Barry Bond [MSFT]
- Re: Device emulator debugging using VS2005 with PB for CE 6.0
- Prev by Date: Re: Another problem with USB 2.0 storage devices
- Next by Date: Re: How to implement an warm boot?
- Previous by thread: Re: Device emulator debugging using VS2005 with PB for CE 6.0
- Next by thread: How to use fstream library in driver
- Index(es):
Relevant Pages
|