This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Hello world on AEB rev.C
Jonathan Larmour wrote:
> Andrea Acquaviva wrote:
> >
> > Hi Andreas,
> >
> > Thanks a lot for your reply.
> >
> > I fixed the problem.
> > It was in the serial port configuration in the AEB board.
>
> Is your fix something particular to your configuration, or something that
> we need to fix here (if so what?).
>
> Thanks,
>
> Jifl
> --
> Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
> "Plan to be spontaneous tomorrow." || These opinions are all my own fault
Hi Jonathan,
I found that the gdb-stub module for the AEB rev.C, provided with eCos,
doesn't work at 9600 baud.
In addition, when I tryed at 38400 baud, the connection failed because the
serial port configuration that I made on the
AEB board was not correct. In effect, two environnement variables must be set
to change the baud rate properly,
that is, you have to give the following commands at the prompt of the
bootstrap loader:
boot: setenv baud 38400
boot: setenv noautobaud
With this settings, everything seems to work correctly. (Also if I don't see
the output string ++$T01... that you
mentioned, when connecting the board directly to minicom, or other terminal).
Andrea.
--
Ing. Andrea Acquaviva
D.E.I.S. - Universita' di Bologna
V.le Risorgimento, 2 40136 BOLOGNA (ITALY)
Tel: (+39) 051 20 93787 Fax: (+39) 051 2093786