This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Fast serial debugging
- To: 'Jesper Skov' <jskov at redhat dot com>
- Subject: RE: [ECOS] Fast serial debugging
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Wed, 26 Jul 2000 14:21:00 -0700
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
> -----Original Message-----
> From: Jesper Skov [mailto:jskov@redhat.com]
> Subject: Re: [ECOS] Fast serial debugging
>
> Have you tried connecting using a terminal emulator? It could just be
> that the board cannot keep up at 115200 - I don't think it's using the
> FIFO.
From the board manual, this is a ST16C552 UART with FIFO. And, according to
the manual the baud generator can be programmed to 56K or 115.2K as well as
38.4K.
And we are abble to connect to the Angel monitor on this board with the ARM
dev tools. But it was not very reliable. ( The board User Guide say % ERROR
=2.77 for 56K...)
> eCos should be able to handle 57600. It may be that it has failed to
> do so in tests - and so has been disabled in the config. That would be
> a mistake. Try adding it to the CDL and see if it behaves correctly.
I added to the config, plus I had to modify two files (plf_stub.c and
hal_diag.c) to add the correct programming for 56K. By the way this is the
same duplicated code that I had to modify in those two files.
Then I recompiled the whole at 57600, and it doesn't work at 56K. But it
does work at 38400.
So I guess the stub serial driver doesn't use the same code than the HAL
serial driver.
thanks
A+
--
Fabrice Gautier
fabrice_gautier@sdesigns.com