Go Down

Topic: Sketch erroneously(?) rejected as 'too big' (Read 71 times) previous topic - next topic

Wade_Hassler

I am working on a sketch that has hovered around 10K in size for several weeks.
(CPU is ATMEGA328, programmer is AVR Pocket Programmer.)
 The most recent iteration was flagged as too big by the compiler. It has somehow decided that the CPU has only 4K of flash.
The attachment shows the setup and rsults

Repeated cycles of close program/re-open and change CPU/change it back avail nothing.
I can reinstall Arduino, but can anyone suggest another reason this may have happened?

Wade Hassler

CrossRoads

That is odd!
Check the boards.txt entry for the board type, maybe something happened to it that changed the memory size.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Wade_Hassler

Thanks for your reply.
I wish I had more useful information on this, but...
 
Since the last thing I had done (out of idle curiosity, too) was to add some new boards via the Board manager, I went back and updated the definitions for my board.
After that, compilation went as before and I could program the board.

Only remaining problem is (off-topic alert) that the 30 or so ATMEGA328's that I have ordered from Digikey  over the last year (using the same order-code each time) have chip-ID's ending in both 0x14 and 0x09

Thanks again

CrossRoads

0x14 and 0x09 are likely the week of chip manufacture. Should say in the datasheet, but I am not finding it.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

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!

Arduino
via Egeo 16
Torino, 10131
Italy