Arduino Tester?

Hi, I'm suspecting my Arduino is faulty. I was getting weird string data corruptions when using a web server sketch, and now I'm getting similar corruptions when writing to an SD card and outputing to Serial. In both cases it's data that was in memory prior to the Arduino being reset replacing the data that should be in strings.

Is there a Arduino Test sketch out there that lets you test the memory of your Arduino for faults? Thanks,

David

I've tried the Arduino Test Suite programs, getting a lot of failures:

info.MANUFACTURER = Arduino

info.CPU-NAME = ATmega328P

info.GCC-Version = 4.3.5

info.AVR-LibC-Ver = 1.6.8

info.Compiled-date = Sep 18 2011

info.Test-Suite-Name = Test of String Library

info.Free-memory = 106 bytes

  1. Adding a constant integer to a string: ... ok

  2. Adding a constant long interger to a string ... FAIL

  3. Adding a constant character to a string ... FAIL

  4. Adding a constant string variable to a string ... FAIL

  5. Adding a constant long interger to a string ... FAIL

  6. Two strings equal ... ok

  7. Two strings not equal ... ok

  8. Two strings not equal [case sensitivity matters] ... ok

  9. Equals() method equals ... ok

  10. Not equals() method equals ... ok

  11. EqualsIgnoreCase() method equals ... ok

  12. A numeric string compared to the number it represents ... ok

  13. Two numeric strings compared ... ok

  14. The compareTo() operator also allows you to compare strings... ok

  15. The compareTo() String with integers ... FAIL

  16. The compareTo() compare strings with appended integers... FAIL

  17. Adding string to string += ... ok

  18. The compareTo() compare strings with appended integers... ok

It's actually a Freetronics Etherten though so I'm not sure if that changes things.

Hi

Hi.

I'm suspecting my Arduino is faulty.

I suspect your code has a buffer overrun bug or is exceeding the amount of available SRAM.

Thanks, I believe I'm not running out of memory after using the MemoryFree.h stuff. However I'm unsure as to what to look for to find buffer overruns. Could someone give me a link to docs or tutorials on what a buffer overrun looks like? Thanks,

David