A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » General
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

closing out 16550 UART



 
 
Thread Tools Display Modes
  #1  
Old January 11th 04, 01:26 PM
bruce varley
external usenet poster
 
Posts: n/a
Default closing out 16550 UART

Hello,

When Windows programs close out a COM port, they leave the registers (for
COM1 in the following state:

3FAH 1
3F8, 9, B, C, D, E 0FFH

Can anyone tell me how to set the UART to this condition. No, it's not just
a matter of writing to the registers. Just one of the obscurities here is
that for 3FCH the hardware specs state that bits 7, 6, 5 are internally set
to 0.

Reason for the question is that I'm trying to clean up a suite of DOS-based
comms software programs for analysing industrial protocols. At the moment,
after the programs close out W32 programs won't pick up the COM port. I've
done enough investigation to be sure that setting the UART regs as above
will solve the problem. It can obviously be done, because it happens somehow
when aa DOS window is closed. TIA


remove ecks and kyoo to email.





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.