This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Serial Speed with i386 PC target
- To: 'Jonathan Larmour' <jlarmour at redhat dot co dot uk>
- Subject: RE: [ECOS] Serial Speed with i386 PC target
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Mon, 31 Jul 2000 12:52:32 -0700
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
> -----Original Message-----
> From: Jonathan Larmour [mailto:jlarmour@redhat.co.uk]
> Subject: Re: [ECOS] Serial Speed with i386 PC target
>
> Not for the PC target. Instead you need to edit
> hal/i386/pc/VERSION/src/hal_diag.c. Look for BAUD_LOW.
I edited this file, i even verified in the debugger that the compiled stub
passed the correct BAUD_LOW in hal_diag_init
But still when booting off this stub I can't connect to 115200 but I can to
38400
It's weird...
Does the stub use this function ??
...
[A check later]
Well in fact i just found code in plf_stub.c that says:
// 38400, COM1
#define CYG_DEVICE_SERIAL_RS232_BAUD_MSB 0
#define CYG_DEVICE_SERIAL_RS232_BAUD_LSB 3
And there is a function:
void hal_pc_init_serial(void)
I don't understand well what are the purpose of this function when there is
already hal_diag_init() ..??
Thanks
A+
--
Fabrice Gautier
fabrice_gautier@sdesigns.com