I built a board with SMD version of ATmega1284p. Using USBTinyISP I can load sketches and change fuses but when I try to burn bootloader to it via Arduino IDE 1.6.5 I get error:
avrdude: verification error, first mismatch at byte 0x1fc00
0xff != 0x11
avrdude: verification error; content mismatch
I'm attaching complete output.
I'm using Arduino hardware core for Maniacbug Mighty 1284p modified by JChristensen to work under 1.6.x Arduino IDE
Tried all variants there, every one gives same error. It it possible that SMD version has different signature from DIP chip?
I also seen some warnings that USBTinyISP might not handle chips with over 64K memory, but some say it works...
And suggestions on what can be done?
USBtinyISP does not support chips with more than 64kbytes of flash: F.A.Q. | USBtinyISP | Adafruit Learning System
(interestingly, ArduinoISP supports up to 64k WORDS of flash, and WILL program a 1284p.)
Amazing, Arduino as ISP worked like a charm! In fact I'm shocked it took about a second to upload Bootloader! It used to take a good minute before, when I was using IDE 1.0.x...
Tested by uploading blink sketch via FTDI and everything is good!