NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » Program too big for MCU?
September 18, 2012 by jlaskowski |
I had a problem where my program was too big for the MCU. I decreased its size, but it still won't load. The error is different than what I got for the reduced size. I generated a .ass file and its last line, indicating size is:
Hex 3c20 equals decimal 15392. Isn't that small enough to fit? Here's the error:
|
---|---|
September 18, 2012 by jlaskowski |
FYI, other apps, like led_blink still write to the flash with no problem. |
September 18, 2012 by jlaskowski |
I got it down to 14258 and it finally writes successfully. I read that 2K is for the bootloader, so I'm basically maxed out on this MCU. I ordered the ATMega328. |
Please log in to post a reply.
Did you know that you can read diagnostic data from some cars with a NerdKit? Learn more...
|