| Author |
Message |
C.C. Wu
Guest
|
Posted:
Wed Oct 26, 2005 1:42 am Post subject:
How to debug by COM port |
|
|
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 |
|
| Back to top |
|
 |
Andy Allred [MS]
Guest
|
Posted:
Wed Oct 26, 2005 9:59 pm Post subject:
Re: How to debug by COM port |
|
|
Try reducing the baud rate to something like 57600 or 19200 in the boot.ini
and ensure the machine with winddbg is capable of the same rate.
-andy
--
Embedded team blog: http://blogs.msdn.com/embedded/
This posting is provided "AS IS" with no warranties, and confers no rights.
"C.C. Wu" <cc_wu@innodisk.com> wrote in message
news:uIGjBlg2FHA.3912@TK2MSFTNGP15.phx.gbl...
| Quote: | 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
|
|
|
| Back to top |
|
 |
C.C. Wu
Guest
|
Posted:
Fri Oct 28, 2005 6:37 am Post subject:
Re: How to debug by COM port |
|
|
Hi Andy,
I still can not connect with Target even if I have set the baud rate down to
19200.
I made a UART cross line because two computers' UART cannot connect
directly.
The normal UART cross line is 9 Pins, but I only used 3 lines, Tx, RX and
Ground. Do you think this is a problem?
TX <------> RX
RX<-------> TX
Ground<-------------> Ground
Thanks.
C.C. Wu
"Andy Allred [MS]" <andyall@online.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:eaZ6f6k2FHA.1148@tk2msftngp13.phx.gbl...
| Quote: | Try reducing the baud rate to something like 57600 or 19200 in the
boot.ini
and ensure the machine with winddbg is capable of the same rate.
-andy
--
Embedded team blog: http://blogs.msdn.com/embedded/
This posting is provided "AS IS" with no warranties, and confers no
rights.
"C.C. Wu" <cc_wu@innodisk.com> wrote in message
news:uIGjBlg2FHA.3912@TK2MSFTNGP15.phx.gbl...
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
|
|
|
| Back to top |
|
 |
|
|
|
|