This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Ethernet Communication
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Alperen Coskun <a_a_coskunoc at hotmail dot com>
- Cc: ecos discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 12 Nov 2007 11:55:36 +0100
- Subject: Re: [ECOS] Ethernet Communication
- References: <BAY121-W233B3EAEC648C790DB76F0CC870@phx.gbl>
> BUT, when I put the client program to the other board, everything
> exploded. If the buffer is sent only one time, no errors occur. But,
> using it with a loop, client is sending the buffer and server is
> receiving it but only for 5 times. Then, a 'sendto error' occurs. I
> examined example programs such as 'udp_lo_test.c'. All the things
> are same but I didn't understand where the error is. (It gives
> different errors, ENAMETOOLONG, EHOSTDOWN, sometimes bind error
> etc.)
This sounds like stack overflow or some other form of data corruption.
Turn on CYG_INFRA_DEBUG and stack checking.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss