Go Down

Topic: SD->Files example on Diecimila? (Read 1 time) previous topic - next topic


I'm trying to run the Arduino 22 example SD->Files (creates and deletes files on an SD card.

Right at the top of setup() it says:

   Serial.print("Initializing SD card...");

The sketch uploads without error but never gets as far as sending that message. :(

I'm running on a Diecimila with optiboot.  The compile output says:

Binary sketch size:  11996 (of a 15360 byte maximum)

Does the SD library need more than 3364 bytes of headroom?
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


The answer appears to be Yes, it's a memory size problem.  I commented out al but the first Serial.print() and the first message appears correctly.  Now I just need to reduce the memory impact of those strings...
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

Go Up