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 14:16:24 -0700
Then you want to look at Bruce's response...
You might also verify that you are not conflicting with some serial driver
that's trying to change your settings on the debug serial port.
Paul T.
"Joe Welfeld" <jwelfeldnospam@xxxxxxxxxxxxx> wrote in message
news:O38Yzk06HHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
Its just debugmsgs getting printed out so its really kernel I guess not
"application" I am just getting CE up and running on a new platform and
just trying to figure out where the serial device is getting setup so I
can make the default baud 115000 so I dont have to keep switching, later
when we have a serial port application we will set it correctly..
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:e3a%234P06HHA.2476@xxxxxxxxxxxxxxxxxxxxxxx
"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.
.
- References:
- setting baud rate
- From: Joe Welfeld
- Re: setting baud rate
- From: Paul G. Tobey [eMVP]
- Re: setting baud rate
- From: Joe Welfeld
- setting baud rate
- Prev by Date: Re: setting baud rate
- Next by Date: Re: windows CE 6.0 1024x768
- Previous by thread: Re: setting baud rate
- Next by thread: Re: setting baud rate
- Index(es):
Relevant Pages
|