I have an arduino diecimila that has been acting really odd while working on a recent project. I suspect that the mcu is partly damaged. Is there a way to test it to see if the internal ram/rom/flash etc is working properly?
Honestly, the easiest way to check is probably by swapping the microcontroller (or board).
In what ways might you have damaged it. It might help to know how you were using it?
When finished it will be used to collect data from various car sensors, like temperature, tps, tach, etc. I’m thinking that I may have damaged it by providing dirty or unstable power. When I write very basic code for it, such as sampling one analog input and sending the value out via serial, it works fine. Once I start adding more code, using more variables, it starts to get buggy. The problems don’t stem from content of the code, but rather the quantity of it.
I’ll order some more mcu’s, I’m sure I’ll find a use for them.
The problems don't stem from content of the code, but rather the quantity of it.
Sounds like classic "out of RAM" symptoms.