Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 404787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:20:25+00:00 2026-05-12T17:20:25+00:00

I have a project where an ATtiny2313V is controlling a 7×5 LED matrix to

  • 0

I have a project where an ATtiny2313V is controlling a 7×5 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:20:25+00:00Added an answer on May 12, 2026 at 5:20 pm

    I swear there’s something magical about SO; I’ve been wracking my brains for weeks, trying to figure this out, and after asking the question here – I finally can see what’s been staring me in the face!

    Below is the memory usage for compiling with only the A-J letters in the font:

    AVR Memory Usage
    ----------------
    Device: attiny2313
    
    Program:     872 bytes (42.6% Full)
    (.text + .data + .bootloader)
    
    Data:         82 bytes (64.1% Full)
    (.data + .bss + .noinit)
    

    And here it is again, with the letters A-Z:

    AVR Memory Usage
    ----------------
    Device: attiny2313
    
    Program:     952 bytes (46.5% Full)
    (.text + .data + .bootloader)
    
    Data:        162 bytes (126.6% Full)
    (.data + .bss + .noinit)
    

    See the 126.6% in the Data? Oops! I really did overflow!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Have project in which a module needs to display the list of data
I have project which contain 4 tables among these shedule table Session column i
Suppose I have Project X under closed source. It references/links to component Y which
I have project A, a C# console application which I want to reference my
I have a project ProjA which wraps up references to several other projects and
I have project which is currently working and was developed long time back on
I have project which is committed in locally, now I want to see the
I have project A which a pom.xml dependency of: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-email</artifactId> <version>1.2</version> </dependency>
We have project which uses gcc and make files. Project also contains of one
I have project in which user gets specific number of hours for month respective

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.