andyhighnumber / Attiny-Arduino-Games

Various games for the #Attiny Arcade and similar platforms
166 stars 73 forks source link

Getting "Program file is X bytes too big for the bootloader!" on ATTiny85 #1

Open philippeowagner opened 6 years ago

philippeowagner commented 6 years ago

Arduino: 1.8.5 (Mac OS X), Board: "Digispark Pro (Default 16 Mhz)"

Error while burning bootloader: missing 'bootloader.tool' configuration parameter

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.


Running Digispark Uploader...
Plug in device now... (will timeout in 60 seconds)
> Please plug in the device ... 
> Press CTRL+C to terminate the program.
> Device is found!
connecting: 16% complete
connecting: 22% complete
connecting: 28% complete
connecting: 33% complete
> Device has firmware version 1.6
> Available space for user applications: 6012 bytes
> Suggested sleep time between sending pages: 8ms
> Whole page count: 94  page size: 64
> Erase function sleep duration: 752ms
parsing: 50% complete
> Program file is 3192 bytes too big for the bootloader!
sanbeg commented 3 years ago

I know this is an old issue, but having looked at a few of these games, they do tend to take up most of the attiny85 resources. So it's unlikely that many of them would fit on an 8k chip with a bootloader, which takes up about 25% of the flash. At least some of the Digispark pros use a 16k chip, so it's possible that could work with some porting effort.