delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | "kenny" <kennychen AT seed DOT net DOT tw> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: How to specify the COM port for GDB remote debug |
Date: | 25 May 2006 16:56:46 -0700 |
Organization: | http://groups.google.com |
Lines: | 54 |
Message-ID: | <1148601406.417055.253710@38g2000cwa.googlegroups.com> |
References: | <e4s931$rng$1 AT news DOT seed DOT net DOT tw> |
<1148447389 DOT 101059 DOT 36590 AT g10g2000cwb DOT googlegroups DOT com> | |
NNTP-Posting-Host: | 211.22.55.218 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1148601412 12939 127.0.0.1 (25 May 2006 23:56:52 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Thu, 25 May 2006 23:56:52 +0000 (UTC) |
In-Reply-To: | <1148447389.101059.36590@g10g2000cwb.googlegroups.com> |
User-Agent: | G2/0.2 |
X-HTTP-UserAgent: | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | 38g2000cwa.googlegroups.com; posting-host=211.22.55.218; |
posting-account=D9o2Hw0AAACAum5cSnEkO4ZYAmHEG_im | |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k4Q00BFU015536 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Thanks, Now it is work! decker 寫道: > kenny wrote: > > How do I specify the COM port under DOS box? > > You need to knnow for sure what COM port Windows put your Serail port > on. XP supports the 'mode' command, so you can list the actual > available DOS COMM ports. Those COM ports should be available to all > DJGPP programs as '/dev/com?' where ? is your COMM number. > > here is an example: > C:\>mode > > Status for device LPT1: > ----------------------- > Printer output is not being rerouted. > > > Status for device COM3: > ----------------------- > Baud: 9600 > Parity: Odd > Data Bits: 8 > Stop Bits: 1 > Timeout: OFF > XON/XOFF: OFF > CTS handshaking: OFF > DSR handshaking: OFF > DSR sensitivity: OFF > DTR circuit: ON > RTS circuit: ON > > > Status for device CON: > ---------------------- > Lines: 300 > Columns: 80 > Keyboard rate: 31 > Keyboard delay: 1 > Code page: 437 > > C:\> bash > ITHACA04:d:/:bend$ cat /dev/com3 > [...stuff from COM3 not very interesting here...] > > > HTH > Ben Decker > www.caddit.net
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |