kbr-net / sdrive-max

Arduino based Atari 8-bit Floppy Emulator with Touchscreen
http://www.kbrnet.de/projekte/sdrive-max/index.html
GNU General Public License v3.0
92 stars 23 forks source link

Are there build instructions around? #61

Open mattlacey opened 11 months ago

mattlacey commented 11 months ago

In installed the required tools, and running make appears to work generating new hex files for each display type, and I can flash eeprom_writer.hex fine, but when I try and write SDrive.hex to my Uno with avrdude, I get the following:

avrdude error: address 0x8002 out of range at line 2049 of ./atmega328-ili9341/SDrive.hex
avrdude error: read from file ./atmega328-ili9341/SDrive.hex failed

I assume there's some offset or similar I need to change somewhere? I thought at first it was becaused I'd made code changes to increase the file size, but I swithced back to the main branch and got the same result.

kbr-net commented 1 month ago

Looks like your compiler let grow the code too much, above the 32K flash memory. And don't forget the 512bytes arduino bootloader, so the code must be 32768 - 512 = 32256 max.!