Hi!
I have a problem with my Arduino Leonardo. If i want to upload a sketch
which is bigger than 12kBytes the RX led is always on and Windows says
"USB device isn't recognized". When the sketch size is under 12kBytes, e.g. 11,5 kBytes
the Arduino works very well without problems. The special Reset function (" hold the reset button while uploading ")
doesn't work and the Arduino Software doesn't report any errors or warnings!
Is there anyone who has the same problem or can help me to deal with it?
I'm using Windows 7 64bit and the Arduino Software Version 1.0.3 The Maximum sketch size of the Leonardo is 28672 Bytes
I minimized my program code to a program size where my arduino works without problems and included the MemoryFree.h from your first Link.
On the Serial Monitor was written " freeMemory = 182". So i think that my RAM of the Arduino only had 182 Bytes free.
Is that enough RAM or can this small amount of free RAM leads to problems like i have mentioned in my first post ?