This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problem using SMC1 serial port of A&M Rattler as console
- From: Gary Thomas <gary at mlbassoc dot com>
- To: agyhoo <agyhoo at yahoo dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 20 Jan 2004 12:45:13 -0700
- Subject: Re: [ECOS] problem using SMC1 serial port of A&M Rattler as console
- Organization: MLB Associates
- References: <20040120193054.38680.qmail@web41314.mail.yahoo.com>
On Tue, 2004-01-20 at 12:30, agyhoo wrote:
> I tried the exact command sequence you list below and
> imported the .ecm file you sent. The Hello World works
> in this case.
>
> However, when I change the cmd sequence below to use the
> net template (ie. ecosconfig new rattler net), the results
> are mixed. For the hello world program, I get garbled
> output
> as follows:
>
> ld!Hello Wor
>
> If I try another example program like "twothreads" which
> involves continuous printing to the console, the letters
> "ne" appear and then the code seems to hang.
>
> I am starting the code as follows. After linking the ecos
> image with the example app I download it to the Rattler
> using TFTP (via the Redboot load cmd). Once loaded, I
> execute the application by typing "go".
How new is your RedBoot? I fixed this problem on Dec 16 - it
has to do with how serial I/O works and interactions with caches.
I'd suggest that you get the latest sources and rebuild and
reinstall RedBoot and see if it helps.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss