DOS下如何測試COM Port是否正常

DOS 6.22 下如何測試COM Port是否正常.
是否有DOS Command下的工具可測?

總裁 iT邦好手 1 級 ‧ 2010-07-30 17:47:27 檢舉

Echo ata > com1

Depending if your modem was on com1, this would make the modem try responding and you should hear some squealing from the modem. To stop the squealing, just typ echo atz > com1.
iT邦好手 10 級 ‧ 2010-07-30 23:45:06

我在DOS的年代要測試RS-232 COM Port是否正常, 都是用mini tester(如圖):


'0' = +9 ~ +12V 亮綠色LED,
'1' = -9 ~ -12V 亮紅色LED;

若要在DOS下測試 COM Port,建議可以找 Telix 軟體;
甚至使用 Copy Text.txt COMx 的指令也可以..(當然還有其他的工具可供測試)

以上僅提供您參考, 希望有幫上您的忙.

iT邦研究生 1 級 ‧ 2010-07-30 15:56:39


There may be a diagnostic program that came with the MODEM, if that is what you are connecting to. You can pretty much tell whether the serial port and cable are working or not by typing something in the Windows HyperTerminal and looking at the LEDs on the MODEM. MS Diagnostics (MSD) that comes with Windows 95 and MS-DOS 6.X is useful for determining if a serial port is responding. A loopback test, which requires a loopback plug/adapter, is a very good test of a serial port. Several commercial diagnostics programs (e.g., AMIDiag: come with a loopback plug. When a loopback test is run data is sent out the serial port’s transmit pin to the loopback plug which sends the data back to the port’s receive pin. This test assures the 1488 and 1489 buffer chips or equivalent are working and they are the chips that are usually damaged by a close lightning strike, etc. Scott Mueller’s Upgrading and Repairing PCs has more info and instructions for making a loopback plug. Just search for the book. Every shop should have a copy. However, the best and easiest to read shop reference on serial ports and cables I know of is Data Communications for Microcomputers by Elizabeth A. Nichols, Joseph C. Nichols, and one of my business acquaintances from the old days, Keith R. Musson, McGraw-Hill 1982. I think it is out of print. An RS-232 breakout box (\_id=136) and a multimeter are useful tools for troubleshooting serial ports and cables. I test MODEMs by dialing a local Internet Service Provider with Windows Hyperterminal (I used to dial a local bulletin board). Larry

iT邦研究生 5 級 ‧ 2010-07-30 23:47:07


iT邦研究生 1 級 ‧ 2010-08-02 08:16:53

一般都是用loopback測試COM Port是否正常。