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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131