How to debug by COM port

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi all,
I'd like to get embedded XP debug infomation of kernel boot procedure. I
have installed Windows Debugger Version 6.5.0003.7 in a host computer, and
I boot my system from a target computer.
The target computer's boot.ini is
[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Embedded" /debug
/debugport=com1 /baudrate=115200
..

I launched WinDbg on my host computer, and executed Kernel Debug, but I can
not make host connect with target.

Microsoft (R) Windows Debugger Version 6.5.0003.7
Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\COM1
Waiting to reconnect...


I have tested communcation between them. The host always sends 0x69 0x69
0x69 0x69 0x06 0x00 0x00 0x00...., so the COM port works normally.

Does anybody know what's going on with my embedded XP? Do I need some
components for kernel debug?

Thanks.
C.C. Wu







.



Relevant Pages

  • Re: PCI hardware problem/booting large compiled kernels from a CDROM
    ... Was able to use the CD ROM support by iso9660_stage1_5 and boot the ... The messages produced by the debug kernel helped to ... laptop - it hangs during PCI probing with messages about IRQ sharing. ...
    (alt.linux)
  • Re: How to debug by COM port
    ... Try reducing the baud rate to something like 57600 or 19200 in the boot.ini ... > I'd like to get embedded XP debug infomation of kernel boot procedure. ... > I boot my system from a target computer. ... > I launched WinDbg on my host computer, and executed Kernel Debug, but I ...
    (microsoft.public.windowsxp.embedded)
  • Re: ADT with Apple /// in Emulation Mode - Works in Slot 7
    ... Connect the /// to your host computer. ... Put the ADT disk in drive 1; hit enter to boot it. ... modem adapter. ...
    (comp.sys.apple2)
  • Re: Which part of the system is stopped during the kernell debugging?
    ... You can easly try kernel debugging by using the Virtual PC. ... [How to debug a virtual machine on a host computer that is running Virtual ...
    (microsoft.public.win32.programmer.kernel)
  • Maxtor OneTouch 1394 + 2.4.18 = Freeze
    ... wants to add it to his Red Hat 8 system (running kernel 2.4.18). ... the system freezes ... FWIW, the host computer is a Dell Precision 450, dual-processor, with a ...
    (comp.os.linux.hardware)