This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot serial speed
- To: Mathieu Routhier <mrouthier-list at softacoustik dot com>
- Subject: Re: [ECOS] RedBoot serial speed
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 25 Sep 2001 20:57:18 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <000001c145ca$ad9a85a0$390214c0@mrouthier>
Mathieu Routhier wrote:
>
> Hi,
>
> I use RedBoot for AT91-EB40 and I think it's great. But I would like to
> know how to increase the serial connection speed. Currently, the
> RedBoot docs say the default speed is 38400 but it doesn't say how to
> change that value. Is it possible to increase it? Is it limited by
> hardware? Do I need to recompile RedBoot?
For that platform yes (on some you can do it from the command line). There
should be a configuration option you can change in the AT91 HAL package
called CYGNUM_HAL_VIRTUAL_VECTOR_CHANNELS_DEFAULT_BAUD.
> Or is there a way I can reduce the amount of data uploaded? Srec is not
> very efficient compared to binary. But the output of the compiler gives
> something like 1Mb. A conversion to srec gives about 200k. How can I
> convert it to raw binary to give something around 50k? (because srec
> uses 4 times more data than necessary due to its ascii hex encoding).
You can investigate uploading compressed (using gzip) srecs instead, and
using load -d in redboot.
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