Hi, I've been plagued with problems with running a HTTP server off a Freetronics Etherten which is an Arduino Uno with ethernet shield built in. I get corruptions in the data sent back from the HTTP server. I was previously using Arduino 22 but now have started using 1.0.
I've still got the same corruptions. It seems to happen after the program has ran for a little while. Suggestions were that it was caused by running out of memory, but FreeMemory.h's routine placed in all different locations in the program never showed any less than 1000 bytes free. I've tried other things with buffers as well.
Finally in frustration I loaded the example WebServer sketch that comes with the Arduino download, and set up a perl script to query the server once every second. After about 30 seconds I got the same corrupt reply.
The corrupt reply usually contains random binary data interspersed with old strings from the program, sometimes from previous versions of the sketch that had been replaced with newer versions, as if somewhere in memory strings were staying around.
Does anyone have any other tips or suggestions of where I could start to look? I'm beginning to think it's a waste of time to do use anything other than USB Serial with Arduinos. Thanks,