配置WinDbg串口调试
发布时间
阅读量:
阅读量
采用Windbg对内核驱动进行测试运行过程中,可以选择不同的通信接口来进行数据传输,常见的接口有USB接口,网络适配器以及RS-232端子等多种类型。本节重点介绍RS-232通信的具体操作步骤及注意事项。
一、目标机的设置
a. 以下是Windbg的帮助文档中给出的设置方法:
On a target machine, you can open a Command Prompt window with Administrator privileges and input or type in these commands: n represents the number of COM ports assigned to debugging on this machine, while rate denotes the baud rate utilized for debugging.
**bcdedit /debug on** **bcdedit /dbgsettings serial debugport:** _n_ **baudrate:** _rate_
Note Must ensure that the baud rate is identical between the host machine and the targe
全部评论 (0)
还没有任何评论哟~
