08-11-2011 07:51 AM - edited 08-11-2011 09:01 AM
I'm using a PPC440 with a Virtex5.
In order to communicate over the LAN, i implemented the LWIP1.3.0 stack. It's working quite well but i still have some strange errors that i'm not able to handle.
My problem is when i'm sending small frame, for example 20bytes, i got an ERROR -4 from the function tcp_write().
This error does not happen each time i send a small frame but very often. Instead of that, if i send a big frame, let's say 1200bytes, i never have this error, everything goes well.
Can someone help me on this problem please. I'm really confused and i cannot continue my application cause of that.
Thank you so much for your futur advises.
08-11-2011 06:08 PM
08-25-2011 08:59 AM
I tryed to use the xapp1026 as you advised me. I was able to send small frame by the echo program.
Problem is the code that i'm trying to debug and the echo program are quite different, so it's difficult to compare.
Anyway, even if i try to reduce my custom code to the minimu just for one "send" ad we can see on the echo program it's still does not work.
Do you have so idea or track that i can follow ??