This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Runtime changing of serial port baud rate


rob.wj.jansen@philips.com wrote:
> 
> Stanley,
> 
> > Does eCos support runtime changing of serial port baud rate?
> >
> > Thanks
> > Stanley
> 
> Yes, but only if you use the serial driver instead of the diagnostics I/O.
> Look at the chapters 11 and 12 in the eCos Reference Manual.

In a small number of cases it's also true for the diagnostic I/O. Gary
Thomas recently added this for sa11x0 diag. You would need to include
<cyg/hal/hal_if.h> and use CYGACC_COMM_IF_CONTROL(). You can see an example
in redboot/current/src/main.c:set_console_baud_rate().

Jesper, I'd be interested in what CYGACC_CALL_IF_SET_SERIAL_BAUD() is for
in the case. Just "legacy" CygMon stuff and should be ignored?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]