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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 | |
|
|