I have a project where an ATtiny2313V is controlling a 7x5 LED matrix to display scrolling text. To display the text, I built a font which is stored in the flash with the rest of the program.
The whole program, including the entire font, takes up 1106 bytes. But when I load it into the chip, it doesn't seem to run; instead it just lights up a couple of the LED and that's it.
However, when I remove most of the font, and compile with only the letters A to J, the program is 878 bytes in size, and runs just fine.
Is this because of some kind of overflow of the AVR flash memory?
The datasheet for the ATtiny2313V says it has 2KByte of flash! How can 1106 bytes be too much?
UPDATE: Just to be clear, the tool chain I'm using is AVR Studio (to compile the code) and then AVRDude to upload it to the micro-controller. As far as I know, AVR Studio uses a version of avr-gcc to compile the code.