Re: setting baud rate
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Thu, 30 Aug 2007 13:27:43 -0700
"Application baud rate"? The serial driver may set the serial port hardware
registers to some baud configuration on init or on open, but your
application should *always* set the parameters for itself with
SetCommState(), never assuming that the port is 'right' on its own. If
there's a default setting, my guess would be that it's in
HKLM/Drivers/BuiltIn/<serial port> somewhere, but you'd have to read the
code for the serial port driver to know what it's looking for.
Paul T.
"Joe Welfeld" <jwelfeldnospam@xxxxxxxxxxxxx> wrote in message
news:eYGR$5z6HHA.3400@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have successfully gotten Ethernet debug up and running , but I have a
baud rate issue on my com1 port, When the bios boots my card it defaults
the com1 to 115000kb,
eboot then sets it to 38400 ( I have found where this is done and have
changed it to 115000) but once I load my application via eboot and run,
it sets the com1 rate back to 38400 and I cannot seem to find out where
this is done, is there a registry entry that I can set somewhere to set
the com1 application baud rate to also default to 115000 so I dont have
to keep changing baud rates on my terminal app? or does anyone know where
in the code it defaults it to 38400, this is CE5.0 on a CEPC device
Thanks,
Joe W.
.
- Follow-Ups:
- Re: setting baud rate
- From: Joe Welfeld
- Re: setting baud rate
- References:
- setting baud rate
- From: Joe Welfeld
- setting baud rate
- Prev by Date: Re: Platform build error
- Next by Date: Re: setting baud rate
- Previous by thread: setting baud rate
- Next by thread: Re: setting baud rate
- Index(es):
Relevant Pages
|