EmbeddedRelated.com
Forums

Reading data on Hyperterminal via serial connector P1

Started by Ashwin April 20, 2006
I want to be able to view some data on an output device. I saw an
example in the Metrowerks CodeWarrior and it outputs to the SCIO. I
tried doing that and I am able to see data on the transmit pin of the
Serial connector (P1). How do I get that to talk with my computer's
hyperterminal, so that I can see the data on the screen and not on the
scope? The hyperterminal keeps saying "Unable to open COM1"
> -----Original Message-----
> From: 6... [mailto:6...]
> On Behalf Of Ashwin
> Sent: Thursday, April 20, 2006 3:56 PM
> To: 6...
> Subject: [68HC12] Reading data on Hyperterminal via serial
> connector P1
>
> I want to be able to view some data on an output device. I saw an
> example in the Metrowerks CodeWarrior and it outputs to the SCIO. I
> tried doing that and I am able to see data on the transmit pin of the
> Serial connector (P1). How do I get that to talk with my computer's
> hyperterminal, so that I can see the data on the screen and
> not on the
> scope? The hyperterminal keeps saying "Unable to open COM1"
>

Can Hyperterminal open another device on COM1?

Emmett Redd Ph.D. mailto:E...@missouristate.edu
Associate Professor (417)836-5221
Department of Physics, Astronomy, and Materials Science
Missouri State University Fax (417)836-6226
901 SOUTH NATIONAL Dept (417)836-5131
SPRINGFIELD, MO 65897 USA

"When I was a child, I spake as a child, I understood as a child, I
thought as a child: but when I became a man, I put away childish
things," like being too embarrassed to ask questions which my peers
might think as stupid.
> Can Hyperterminal open another device on COM1?
>

I don't know. But placing a scope on the Transmit pin of the UART
showed data and I fabricated a null modem config between that and the
COM1. Since Hyperterminal gave me an option of reading data on COM1, I
assumed that this data should be captured by Hyperterminal and
displayed. But I all I get is "Unable to open COM1". I am now trying
to eliminiate a hardware/software problem on the computer by trying
this software:

http://www.sysinternals.com/Utilities/Portmon.html
In a message dated 4/21/2006 10:53:18 A.M. Eastern Standard Time,
m...@yahoo.com writes:

Since Hyperterminal gave me an option of reading data on COM1, I
assumed that this data should be captured by Hyperterminal and
displayed. But I all I get is "Unable to open COM1".
===============================================When you figure out which com port is working, use the 'short pins 2 to 3
with your car keys' trick to make sure the pc terminal hw and sw is working.
--- In 6..., "Ashwin" wrote:
>
The hyperterminal keeps saying "Unable to open COM1"
>

Seems to hint at some application is using COM 1. Might be a good
idea to do system check.
________________________________

From: 6... on behalf of Ashwin
Sent: Fri 4/21/2006 9:52 AM
To: 6...
Subject: [68HC12] Re: Reading data on Hyperterminal via serial connector P1

> Can Hyperterminal open another device on COM1?
>

I don't know. But placing a scope on the Transmit pin of the UART
showed data and I fabricated a null modem config between that and the
COM1. Since Hyperterminal gave me an option of reading data on COM1, I
assumed that this data should be captured by Hyperterminal and

^^^^^^^^ Here is your big trouble. Make sure (don't assume) that Hyperterminal (or other terminal emulation program) is working before you use it for testing the UART and concluding that the UART is faulty.

Emmett Redd

displayed. But I all I get is "Unable to open COM1". I am now trying
to eliminiate a hardware/software problem on the computer by trying
this software:

http://www.sysinternals.com/Utilities/Portmon.html
B...@aol.com> Since Hyperterminal gave me an option of reading data on COM1, I
B...@aol.com> assumed that this data should be captured by Hyperterminal and
B...@aol.com> displayed. But I all I get is "Unable to open COM1".
B...@aol.com> ===============================================B...@aol.com> When you figure out which com port is working, use the 'short pins 2 to 3
B...@aol.com> with your car keys' trick to make sure the pc terminal hw and sw is working.

But don't forget to set the PROTOCOL to none - otherwise it will wait
for CTS/RTS handshaking. In my version of Hypercom you will find it
under FILE - Properties - connect to - Configure
Werner Wittig
Werner Wittig HardSoftWare

mailto:w...@wittig-werner.de
It turns out that the Transmit and Receive pins coming out of the board
are not the same as it should be on an RS232 connector.I had to switch
the wires around in my null modem cable. Hyperterminal still didn't
work, but PortMon software was able to capture data. Also, if I created
a project using the board stationery, CodeWarrior itself opens a
Terminal and spits out the data!