I may have an UNO board with a bad chip.
I can upload sketch with a compiled size up to 28k just fine (28672 bytes). Anything above that the upload fails.
Binary sketch size: 30092 bytes (of a 32256 byte maximum)
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync
I know it is likely my ATmega328 chip is bad, but I am just curious as to where sketch is loaded in the address space of the cpu. Or to phrase the question another way, what address is the bootloader loaded.
does the R2 bootloader take 512bytes or 1024 bytes? either way, it should leave 31744 bytes for sketch space right?