两台机器调试机和被调试机用COM相连,物理连接测试是联通的,被调试机启动项改成:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Debug with Serial Port" /fastdetect /debug /debugport=COM1 /baudrate=115200,然后启动系统进入调试模式。
调试机打开windbg,com选项设置时:
Baud Rate:115200
Port:com1
Resets:0
Pipe和Reconnect没有选
确定进入后按Ctrl+Alt+D 输出如下:
Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Opened \\.\com1
Waiting to reconnect...
Throttle 0x10 write to 0x1
SYNCTARGET: Timeout.
Throttle 0x10 write to 0x1
SYNCTARGET: Timeout.
Throttle 0x10 write to 0x1
应该是没连接上。按Break按钮后windbg输出如下:
Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Opened \\.\com1
Waiting to reconnect...
SYNCTARGET: Timeout.
Throttle 0x10 write to 0x1
SYNCTARGET: Timeout.
Throttle 0x10 write to 0x1
Send sync break
Send Break in ...