This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Diag output problem
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Juergen Wischer <unclejay1 at gmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 21 Jan 2005 18:14:16 +0100
- Subject: Re: [ECOS] Diag output problem
- References: <5c8382305012105257a339e35@mail.gmail.com>
On Fri, Jan 21, 2005 at 02:25:39PM +0100, Juergen Wischer wrote:
> Hello,
>
> I hope there is somebody out here who can help me with my problem.
> At the moment I try with the "ping_test.c"
>
> My diag output (with "diag_printf") of this test program stops each
> time on a different place. Sometimes it never stops.
> One time after receiving rx data... another time after setting the
> alarm flag... and some more...
>
> I'm not really sure if this is an ethernet problem or another one. I
> checked my hal serial function especially "cyg_hal_plf_serial_putc"
> but I found no mistake.
>
> One example:
> In one configuration my diag output works fine and there was no stop.
> Then I erased one character in one "diag_printf" after this the
> program gets crazy another time.
>
> Another interesting thing is that supply current of my boards switches
> from 350mA to 330mA when it stops.
>
> Did anybody have had a similar problem?
Check if your stack is big enougth.
Andew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss