Garbage Data in Arduino Ethernet Board

Hello!

Recently, I've bought a Arduino Ethernet Board. The problem is that always the board add garbage in the read() and write() methods of Ethernet lib.

I am using the example of the WebServer in the SDK. All works fine, ping ok, but the data always has garbage

Is it possible a software error or hardware error?
I use arduino 0022 under Debian (Linux)

Regards!

  • An example of the garbage:
[Ôò¡^B^@^D^@^@^@^@^@^@^@^@^@ÿÿ^@^@^A^@^@^@^W<QN^[B^E^@B^@^@^@B^@^@^@^@!]À^K^X^@°À^A^Tõ^H^@E^@^@4Þ<8c>@^@.^FQ=Ç;<94>^TÀ¨^A^B^A»<9a>9hS,ãIF<8c>È<80>^P^@^W^A2^@^@^A^A^H
zìô^]^AlàÉ^W<QNÖ<90>^E^@B^@^@^@B^@^@^@^@!]À^K^X^@°À^A^Tõ^H^@E^@^@4Þ<8d>@^@.^FQ<Ç;<94>^TÀ¨^A^B^A»<9a>9hS,ãIF<92>4<80>^P^@"û¥^@^@^A^A^H
zìô2^AlàÉ^W<QNÃÝ^E^@B^@^@^@B^@^@^@^@!]À^K^X^@°À^A^Tõ^H^@E^@^@4Þ<8e>@^@.^FQ;Ç;<94>^TÀ¨^A^B^A»<9a>9hS,ãIF<93><9d><80>^P^@-ú^_^@^@^A^A^H
zìôD^AlàÉ^W<QNÒ,^F^@J^@^@^@J^@^@^@^@!]À^K^X^@°À^A^Tõ^H^@E^@^@<^@^@@^@/^F.ÂÇ;<94>^TÀ¨^A^B^A»<9a>@hÞÂ7L<97>åI ^R^V Éþ^@^@^B^D^Ex^D^B^H
zìôb^Alàã^A^C^C^H^W<QNæ,^F^@B^@^@^@B^@^@^@^@°À^A^Tõ^@!]À^K^X^H^@E^@^@4^E¬@^@@^F^X^^À¨^A^BÇ;<94>^T<9a>@^A»L<97>åIhÞÂ8<80>^P^C<91>^]!^@^@^A^A^H
/code]

Hello again guys!

I changed the board by other new and I'm keep getting the same results. I think it's not problem about hardware, it's rare that two boards are faulty.

So ... What's going on? I compile with Arduino 0022 in Linux.
Perhaps there are new boards that are not compatible with the currently Ethernet Library??

Regards!

Finally, I found the solution!

It's necessary use "Ethernet2.h" Library. You can obtain it in [1] and more information about this in [2]

See the first comment of [2] that explain a little change to works fine in arduino 0022.

Regards!

[1] Google Code Archive - Long-term storage for Google Code Project Hosting.
[2] Jan-Piet Mens :: Arduino Ethernet and Ethernet2 libraries