2. Now, with debug build, the PB debug window shows the following
message:
"Kernel debugger is waiting to connect with target"
and the screen goes blank. There are no debug messages on the screen!
But the target successfully boots up and the application also runs
fine.
Please let me know your views.
Thanks in advance,
Santhi Ramachandran
Hi Santhi,
have a look in you "Connectifty Options" I seems like that you have
changed some of your previous settings. To debug your kernel you need to
set "Download" and "Transport" to the interface that you are using on
your target (i.e. Ethernet). Also set "Debugger" to "KdStub" and you
should be able to connect to your target and debug. I guess that
"Transport" is set to "None" and then you kernel will be downloaded and
started directly without getting connected to Platform Builder.
Best regards,
Mike E.
--
Digi International Inc.
http://www.digi.com
Hi Mike,
Thanks for that quick response. Yes, the "Download" and "Transport"
are both set to the interface that we are using on
our target(i.e. Ethernet).
How do we set "Debugger" to "KdStub"?
Please let me know your views.
Thanks,
Santhi Ramachandran
1) if your running debug / retail image with KITL enabled ? By default
for all debug builds it should be enabled.
2) Also verify, if you have terminated any CE processes before .. you
might hang up. Close PB and Make sure, all CE processes are closed and
re-run the PB and the debug image.
3) Under your Target Device Connectivity Options : Service
Configuration : Kernel Service Map
Select your Target Device, Download to Emulator, Transport as
Emulator, Debugger as KDStub
Under Core Service Settings - Set Download Image as Always, KITL
Settings as enable all checkboxes
Apply and Close.
Reverify the settings by opening the dialog again - PB has some
issues. Now, you are confirmed that you saved.
Launch debug image again.
-Srini
Hi Santhi,
sorry I mixed Wince V4.20 and V5.0. To get the Platform builder
connected to your target go to the Settings tab of the "Configure Remote
Connection" and check that "Connect To Device" is enabled.