Is there a serial utility I can use to send some bytes over RS232 COM1 from my PC?

I need to send about 90 bytes to my Embedded target board from PC serial COM1 Port.
I just need some PC based serial utility that will send exactly bytes I specify.  It needs to send data exactly as I specify.

I am running Wndows XP on my PC.  
LVL 1
naseeamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jkrCommented:
What about 'HyperTerminal' which ships with XP? Apart from that one, you could also use the 'MTTTY' executable  from http://msdn.microsoft.com/en-us/library/ms810467.aspx ("Serial Communications in Win32"). Direct link: http://download.microsoft.com/download/4/7/2/47291d3a-b5b5-4447-8182-4b72b505a603/4918.exe
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
acl-puzzCommented:
if you ONLY need to send 90 bytes i guess there is no poossble utility but if you want to send data what you can do this install an modem from windows itself and simply test/query this modem it will send data to COM1 automatically
0
naseeamAuthor Commented:
>>   What about 'HyperTerminal' which ships with XP?
Do I get to hyperterminal from command prompt?  Exactly how to invoke hyperterminal.  Can I set hex data with hyperterminal or am I restricted to ASCII?
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

jkrCommented:
You might have to add it to your XP installation from the setup CD, I am not sure if it is installed by default. And, strictly speaking, there's ne difference between ASCII and hexadecimal. BTW, if you have trouble finding or installing HyperTerminal, there are (apart from the free one in the article I linked above) server free others out there, too, e.g.

http://www.compuphase.com/software_termite.htm
http://www.sharewareconnection.com/accessport.htm
0
phoffricCommented:
I've used hyperterminal over COM1 by typing in ASCII commands to another computer and receiving ASCII data back. I haven't used it programmatically. Is this what you wish to do - to be able to have a program send/receive binary data to an external device, rather than typing in data from the keyboard?
0
phoffricCommented:
I didn't realize that hyperterminal had a programmatic interface - good to know.
0
JIEXACommented:
Did you try addressing "COM1:" file like:
echo my-special-bytes > COM1:

or even:
copy my-file-with-bytes COM1:

I'd start from that.
0
naseeamAuthor Commented:
Thanks for so many great responses.  Following is non ASCII data that I need to send from my PC to my target emebedded board.  Data need to be sent from COM1 seriial port.

C3000005060708090A0B0C0D0E0F101112131415161718191A1B1B1C1D1E1F20

My target embedded board must receive the exact data above.

Please walk me through one of programs above to transmit above data.

Thank you!

0
phoffricCommented:
Just some more references to have in your toolbox..

"SerialPort Class"
    http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx

And, on the slight chance that you get a bug:
           http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/Q_24052830.html?sfQueryTermInfo=1+port+serial+window
    "Top 5 SerialPort Tips"
           http://blogs.msdn.com/bclteam/archive/2006/10/10/Top-5-SerialPort-Tips-_5B00_Kim-Hamilton_5D00_.aspx

"Windows Serial Port Programming" article:
   http://www.robbayer.com/files/serial-win.pdf

If you do not get a response to your request to "walk me through one of programs above to transmit above data", then hit the "Request Attention" link and ask for assistance from an Expert who works with COM1 ports.
0
phoffricCommented:
The "Windows Serial Port Programming" article has a step by step of the sample code. Hopefully, this will provide you with enough to get started. Although I haven't done RS232 on Windows, the code in this article looks like it may provide you with what you need.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.