[edk2] Problem Debugging with UDK/com0com

Subject: [edk2] Problem Debugging with UDK/com0com

From: Gurinder Singh <frederick.the.fool@gmail.com>

To: edk2-devel@lists.sourceforge.net

Date: 2014-07-25 23:40:38

Hi guys,

I'm trying to debug a UEFI application by running it under OVMF and
connecting to it over serial port with Intel UDK. I've created virtual
serial ports using com0com. OVMF is running in Qemu and connected to
one end of the port pair and WinDbg/UDK is connected to the other end.

My problem is that the serial port communication between debugger and
OVMF starts okay but then gets stucks at  "m_WaitingAckForReset is 0
when INIT_BREAK". I can't seem to get past this point.

My environment details are:

qemu is x64 version is 2.0.91
OS is Windows 8.1 x64
UDK version is 1.4
WinDbg is x86 debugger from Windows SDK 8.1 (UDK requires x86 WinDbg
even if you're on an x64 OS)

Details of my virtual port pair are:

BaudRate: 115200
Data bits: 8
Parity: none
Stop bits: 1
FlowControl: Xoff/Xon

If anyone can spot what I'm doing wrong please help me.

Thanks in advance.


Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
edk2-devel mailing list