Windbg setup: Parallel to Serial Port Conversion

Hi everybody!

I want to use Windbg but I don’t have a serial port on my laptop (my host)
neither on my target computer as required. My laptop only has one DB25
parallel port (it’s a female port). My target has one DB25 female port and two
DB9 male ports.

My question is very simple:

Is it possible to convert a parallel port into a serial port ?
If yes, how to achieve that?

Thanks for considering my question =),

Chi-Truc

On the develppment system anything that presents a serial port software
interface (i.e. comX) will work. On the target of debugging you must have a
standard serial port, the debugger works directly to the hardware.

Are you sure your target doesn’t have serial ports on the DB9 connectors?


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Chi Truc Dinh” wrote in message
news:xxxxx@ntdev…
>
> Hi everybody!
>
> I want to use Windbg but I don’t have a serial port on my laptop (my host)
> neither on my target computer as required. My laptop only has one DB25
> parallel port (it’s a female port). My target has one DB25 female port
> and two
> DB9 male ports.
>
>
> My question is very simple:
>
> Is it possible to convert a parallel port into a serial port ?
> If yes, how to achieve that?
>
>
> Thanks for considering my question =),
>
>
> Chi-Truc
>

You have several options. Male DB9 connectors are probably serial ports,
so you may actually have them but they may be disabled. I would check
this first. On your host laptop the best recommendation would be to use
a PC-Card serial port.

If these two things are not possible you may then try using firewire, if
it is available. Many laptops have a firewire port, often in the mini
form factor. If the target machine doesn’t have firewire, there are a
lot of inexpensive firewire cards out there. There has been some
discussion of problems with some chipsets, so you should research this
in the list archives.

Finally, with the latest version of the windbg, you may be able to use
USB to connect. There are articles regarding the cable you will need, so
research this carefully on the Microsoft site.

My best results have been with serial, so I would recommend trying to
get that working if at all possible.

I hope this helps.

Sam Robinson
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Chi Truc Dinh
Sent: Tuesday, August 30, 2005 9:42 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Windbg setup: Parallel to Serial Port Conversion

Hi everybody!

I want to use Windbg but I don’t have a serial port on my laptop (my
host) neither on my target computer as required. My laptop only has one
DB25 parallel port (it’s a female port). My target has one DB25 female
port and two
DB9 male ports.

My question is very simple:

Is it possible to convert a parallel port into a serial port ?
If yes, how to achieve that?

Thanks for considering my question =),

Chi-Truc


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@panasonicatlanta.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

–Appended by Panasonic Mobile Communications
Development Corporation of U.S.A.-----This e-mail
and any attachments may contain information that is
confidential, proprietary, privileged or otherwise
protected by law. The information is solely intended
for the named addressee (or a person responsible for
delivering it to the addressee). If you are not the
intended recipient of this message, you are not
authorized to read, print, retain, copy or
disseminate this message or any part of it. If you
have received this e-mail in error, please notify
the sender immediately by return e-mail and delete
it from your computer.

A docking station or a USB-to-SERIAL convertor might help.

Chi Truc Dinh wrote:

Hi everybody!

I want to use Windbg but I don’t have a serial port on my laptop (my host)
neither on my target computer as required. My laptop only has one DB25
parallel port (it’s a female port). My target has one DB25 female port and two
DB9 male ports.

My question is very simple:

Is it possible to convert a parallel port into a serial port ?
If yes, how to achieve that?

Thanks for considering my question =),

Chi-Truc


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

A usb to serial converter will only help on the machine on which the
debugger is running. The machine being /debugged/ must have a physical
hardware serial port.

d


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Kiran Bacche
Sent: Tuesday, August 30, 2005 7:49 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Windbg setup: Parallel to Serial Port Conversion

A docking station or a USB-to-SERIAL convertor might help.

Chi Truc Dinh wrote:

Hi everybody!

I want to use Windbg but I don’t have a serial port on my laptop (my
host)
neither on my target computer as required. My laptop only has one DB25
parallel port (it’s a female port). My target has one DB25 female port
and two
DB9 male ports.

My question is very simple:

Is it possible to convert a parallel port into a serial port ?
If yes, how to achieve that?

Thanks for considering my question =),

Chi-Truc


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ
at http://www.osronline.com/article.cfm?id=256 You are currently
subscribed to ntdev as: xxxxx@windows.microsoft.com To unsubscribe send
a blank email to xxxxx@lists.osr.com

USB to serial is iffy at best at anything above 9600 bps. At least that has
been my experience the times I have tried it.

The DB9 ports, as stated, are most likely serial. Look in the BIOS and see
if they are enabled. If they are not there, and not simply disabled, my
suggestion would be to change mother boards to one with serial AND 1394. You
can get a serial PCI board for the target, and a Socket serial card will
work for the laptop. Most likely your laptop has 1394, so if that is your
desire, then a target mother board with 1394, or a PCI board using the TI
chipset for 1394 is the recommended way to do 1394.

Do NOT use or get the DLINK DFB-A5 USB/1394 card. DLink will not support the
1394 interface and it simply does not work.


The personal opinion of
Gary G. Little

“Doron Holan” wrote in message
news:xxxxx@ntdev…
A usb to serial converter will only help on the machine on which the
debugger is running. The machine being /debugged/ must have a physical
hardware serial port.

d

________________________________________
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Kiran Bacche
Sent: Tuesday, August 30, 2005 7:49 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Windbg setup: Parallel to Serial Port Conversion

A docking station or a USB-to-SERIAL convertor might help.

Chi Truc Dinh wrote:

Hi everybody!

I want to use Windbg but I don’t have a serial port on my laptop (my
host)
neither on my target computer as required. My laptop only has one DB25
parallel port (it’s a female port). My target has one DB25 female port
and two
DB9 male ports.

My question is very simple:

Is it possible to convert a parallel port into a serial port ?
If yes, how to achieve that?

Thanks for considering my question =),

Chi-Truc


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com — Questions? First check the Kernel Driver FAQ
at http://www.osronline.com/article.cfm?id=256 You are currently
subscribed to ntdev as: xxxxx@windows.microsoft.com To unsubscribe send
a blank email to xxxxx@lists.osr.com

Gary G. Little wrote:

…Most likely your laptop has 1394, so if that is your
desire, then a target mother board with 1394, or a PCI board using the TI
chipset for 1394 is the recommended way to do 1394.

Do NOT use or get the DLINK DFB-A5 USB/1394 card. DLink will not support the
1394 interface and it simply does not work.

For whatever it’s worth, I use a cheap “Digitus” USB/1394 board with a
VIA chipset in my target, and it works flawlessly with Windbg. I’ve
heard the TI caution before, but there are other workable options available.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

The host can use USB-to-serial.

The target must have the UART hardware (or use 1394).

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Chi Truc Dinh”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, August 30, 2005 5:42 PM
Subject: [ntdev] Windbg setup: Parallel to Serial Port Conversion

>
> Hi everybody!
>
> I want to use Windbg but I don’t have a serial port on my laptop (my host)
> neither on my target computer as required. My laptop only has one DB25
> parallel port (it’s a female port). My target has one DB25 female port and
two
> DB9 male ports.
>
>
> My question is very simple:
>
> Is it possible to convert a parallel port into a serial port ?
> If yes, how to achieve that?
>
>
> Thanks for considering my question =),
>
>
> Chi-Truc
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi!

I finally could send messages between my two machines through Hyperterminal by
using an USB-to-serial converter on my laptop as suggested by many reviewers.
It wasn’t obvious to find the right COM ports configuration but I finally could
see the caracters I typed on both machines.

I’d like to thank all of you guys for your “more than expected” number of
replies. I really appreciate that. I hereby enclose the replies I got for
those who will face this problem.

Chi-Truc

Selon “Maxim S. Shatskih” :

> The host can use USB-to-serial.
>
> The target must have the UART hardware (or use 1394).
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>

Gary G. Little wrote:

>…Most likely your laptop has 1394, so if that is your
>desire, then a target mother board with 1394, or a PCI board using the TI
>chipset for 1394 is the recommended way to do 1394.
>
>Do NOT use or get the DLINK DFB-A5 USB/1394 card. DLink will not support the
>1394 interface and it simply does not work.
>
>

For whatever it’s worth, I use a cheap “Digitus” USB/1394 board with a
VIA chipset in my target, and it works flawlessly with Windbg. I’ve
heard the TI caution before, but there are other workable options available.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Gary G. Little wrote:

USB to serial is iffy at best at anything above 9600 bps. At least that has
been my experience the times I have tried it.

The DB9 ports, as stated, are most likely serial. Look in the BIOS and see
if they are enabled. If they are not there, and not simply disabled, my
suggestion would be to change mother boards to one with serial AND 1394. You
can get a serial PCI board for the target, and a Socket serial card will
work for the laptop. Most likely your laptop has 1394, so if that is your
desire, then a target mother board with 1394, or a PCI board using the TI
chipset for 1394 is the recommended way to do 1394.

Do NOT use or get the DLINK DFB-A5 USB/1394 card. DLink will not support the
1394 interface and it simply does not work.


The personal opinion of
Gary G. Little

Doron Holan wrote:

A usb to serial converter will only help on the machine on which the
debugger is running. The machine being /debugged/ must have a physical
hardware serial port.

d

Kiran Bacche wrote:
A docking station or a USB-to-SERIAL convertor might help.

Sam Robinson wrote:

You have several options. Male DB9 connectors are probably serial ports,
so you may actually have them but they may be disabled. I would check
this first. On your host laptop the best recommendation would be to use
a PC-Card serial port.

If these two things are not possible you may then try using firewire, if
it is available. Many laptops have a firewire port, often in the mini
form factor. If the target machine doesn’t have firewire, there are a
lot of inexpensive firewire cards out there. There has been some
discussion of problems with some chipsets, so you should research this
in the list archives.

Finally, with the latest version of the windbg, you may be able to use
USB to connect. There are articles regarding the cable you will need, so
research this carefully on the Microsoft site.

My best results have been with serial, so I would recommend trying to
get that working if at all possible.

I hope this helps.

Sam Robinson

Don Burn wrote:

On the develppment system anything that presents a serial port software
interface (i.e. comX) will work. On the target of debugging you must have a
standard serial port, the debugger works directly to the hardware.

Are you sure your target doesn’t have serial ports on the DB9 connectors?

The DLink I have is 3 years old and has the VIA 1394 chipset Tim. I have
never been able to get it to work with the debugger, and for the past week
with a brand spanking new install of XP/SP2 on the target, the 1394
controller has been yellow banged out. DLink does not provide the drivers
for the 1394 side of the board, expecitng that support from the OS, and the
OS drivers don’t drive. Oh well, hopefully my new target will be in this
week and 1394 will finally work.


Gary G. Little

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> Gary G. Little wrote:
>
>>…Most likely your laptop has 1394, so if that is your desire, then a
>>target mother board with 1394, or a PCI board using the TI chipset for
>>1394 is the recommended way to do 1394.
>>
>>Do NOT use or get the DLINK DFB-A5 USB/1394 card. DLink will not support
>>the 1394 interface and it simply does not work.
>>
>
> For whatever it’s worth, I use a cheap “Digitus” USB/1394 board with a VIA
> chipset in my target, and it works flawlessly with Windbg. I’ve heard the
> TI caution before, but there are other workable options available.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>

The device driver on the target should be disabled. The “normal” drivers
need to be disabled – the kernel debugging support built into the NT kernel
has its own, specialized drivers for communicating with the debugger.

Yellow bang is actually GOOD. It means the driver could not start –
presumably because the debugger support already owns the hardware.

– arlie

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Tuesday, August 30, 2005 10:00 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Windbg setup: Parallel to Serial Port Conversion

The DLink I have is 3 years old and has the VIA 1394 chipset Tim. I have
never been able to get it to work with the debugger, and for the past week
with a brand spanking new install of XP/SP2 on the target, the 1394
controller has been yellow banged out. DLink does not provide the drivers
for the 1394 side of the board, expecitng that support from the OS, and the
OS drivers don’t drive. Oh well, hopefully my new target will be in this
week and 1394 will finally work.


Gary G. Little

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> Gary G. Little wrote:
>
>>…Most likely your laptop has 1394, so if that is your desire, then a
>>target mother board with 1394, or a PCI board using the TI chipset for
>>1394 is the recommended way to do 1394.
>>
>>Do NOT use or get the DLINK DFB-A5 USB/1394 card. DLink will not
>>support the 1394 interface and it simply does not work.
>>
>
> For whatever it’s worth, I use a cheap “Digitus” USB/1394 board with a
> VIA chipset in my target, and it works flawlessly with Windbg. I’ve
> heard the TI caution before, but there are other workable options
available.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stonestreetone.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Arlie,

It’s been yellow banged since the XP/SP2 install, essentially 1394 in this
system has never worked. Thinking the same thing as you did though, I tried
to connect to the host using the debugger by setting the 1394 information in
the boot.ini files, but no joy. 1394 in this system is jinxed. I think when
I get the new system I may introduce the DLink card to a 16 pound sledge
hammer. At least I can get SOME satisfaction. But, the card belongs to
Seagate and I shan’t do that.


The personal opinion of
Gary G. Little

“Arlie Davis” wrote in message
news:xxxxx@ntdev…
> The device driver on the target should be disabled. The “normal” drivers
> need to be disabled – the kernel debugging support built into the NT
> kernel
> has its own, specialized drivers for communicating with the debugger.
>
> Yellow bang is actually GOOD. It means the driver could not start –
> presumably because the debugger support already owns the hardware.
>
> – arlie
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
> Sent: Tuesday, August 30, 2005 10:00 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] Windbg setup: Parallel to Serial Port Conversion
>
> The DLink I have is 3 years old and has the VIA 1394 chipset Tim. I have
> never been able to get it to work with the debugger, and for the past week
> with a brand spanking new install of XP/SP2 on the target, the 1394
> controller has been yellow banged out. DLink does not provide the drivers
> for the 1394 side of the board, expecitng that support from the OS, and
> the
> OS drivers don’t drive. Oh well, hopefully my new target will be in this
> week and 1394 will finally work.
>
> –
> Gary G. Little
>
> “Tim Roberts” wrote in message news:xxxxx@ntdev…
>> Gary G. Little wrote:
>>
>>>…Most likely your laptop has 1394, so if that is your desire, then a
>>>target mother board with 1394, or a PCI board using the TI chipset for
>>>1394 is the recommended way to do 1394.
>>>
>>>Do NOT use or get the DLINK DFB-A5 USB/1394 card. DLink will not
>>>support the 1394 interface and it simply does not work.
>>>
>>
>> For whatever it’s worth, I use a cheap “Digitus” USB/1394 board with a
>> VIA chipset in my target, and it works flawlessly with Windbg. I’ve
>> heard the TI caution before, but there are other workable options
> available.
>>
>> –
>> Tim Roberts, xxxxx@probo.com
>> Providenza & Boekelheide, Inc.
>>
>>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@stonestreetone.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>