Kernel Debugging USB to serial Adapter

Hi,

I know that it is not possible to debug a kernel system with a USB to Serial
Adapter, if no serial port is available on the machine. My “Host” machine
has a serial port, but not my development box on which WinDbg will run.
It should be no problem to connect the serial cable via a USB to serial
adapter on the machine from which I will debug, or am I wrong?

Just wanted to double check before I buy an adapter.

Thanks for any reply!

Kind Regards
Dennis

>My “Host” machine has a serial port, but not my development box on which

WinDbg will run.

Typically the machine where you run your driver code is called your “target”
machine (or “victim” machine, depending on how new the code is). The
“development” or “host” machine is where WinDBG runs.

Your target needs a real serial port, your host can use a USB to serial
adapter.

-scott


Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Dennis” wrote in message news:xxxxx@ntdev…
> Hi,
>
> I know that it is not possible to debug a kernel system with a USB to
> Serial
> Adapter, if no serial port is available on the machine. My “Host” machine
> has a serial port, but not my development box on which WinDbg will run.
> It should be no problem to connect the serial cable via a USB to serial
> adapter on the machine from which I will debug, or am I wrong?
>
> Just wanted to double check before I buy an adapter.
>
> Thanks for any reply!
>
> Kind Regards
> Dennis
>
>
>

The debugger-end can use a USB-to-serial adapter if you have working drivers for it.

The computer being debugged must have a real UART that it can talk to by banging on I/O ports for serial debugging.

  • S

-----Original Message-----
From: Dennis
Sent: Tuesday, October 20, 2009 7:26
To: Windows System Software Devs Interest List
Subject: [ntdev] Kernel Debugging USB to serial Adapter

Hi,

I know that it is not possible to debug a kernel system with a USB to Serial
Adapter, if no serial port is available on the machine. My “Host” machine
has a serial port, but not my development box on which WinDbg will run.
It should be no problem to connect the serial cable via a USB to serial
adapter on the machine from which I will debug, or am I wrong?

Just wanted to double check before I buy an adapter.

Thanks for any reply!

Kind Regards
Dennis


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

> has a serial port, but not my development box on which WinDbg will run.

It should be no problem to connect the serial cable via a USB to serial
adapter on the machine from which I will debug, or am I wrong?

Should be no problem.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

The only problem is that around 50% of the usb-serial devices out
there are crap and don’t work.

Mark Roddy

On Tue, Oct 20, 2009 at 10:20 AM, Dennis wrote:
> Hi,
>
> I know that it is not possible to debug a kernel system with a USB to Serial
> Adapter, if no serial port is available on the machine. My “Host” machine
> has a serial port, but not my development box on which WinDbg will run.
> It should be no problem to connect the serial cable via a USB to serial
> adapter on the machine from which I will debug, or am I wrong?
>
> Just wanted to double check before I buy an adapter.
>
> Thanks for any reply!
>
> Kind Regards
> Dennis
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

True enough.

In my experience, the one that use the FTDI chipset are among the best of the breed. “The breed” being pretty ugly, as Mr. Roddy mention.

Peter
OSR

Is it worth mentioning that many motherboards have a serial port somewhere
on them on a header? You could check the BIOS on your dev machine to see if
one is mentioned, and then inspect the motherboard. You only need 3 wires,
RXD, TXD and ground so it is easy to connect up. M

>>My “Host” machine has a serial port, but not my development box on which
>>WinDbg will run<<<<