I have the dip-based Uno-shaped bobuino board, and it works fine with version 2.2 ("burn Bootloader" followed by an upload), but not at all with version 3.x (same sequence; bootloader upload is successful...) (I can go back and forth between 2.2 and 3.x and have the same results.)
(I also have had no luck getting the 3.x (urboot) to upload to any chips that still contain Optiboot, even though I thought there were supposed to be some backward-compatibility hacks. Sigh.)
Maybe it's a MacOS thing.
(Burn Bootloader)
/Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/tools/avrdude/7.2-arduino.1/bin/avrdude -C/Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/avrdude.conf -v -patmega1284p -cstk500v1 -P/dev/cu.usbserial-FTD61T6Q -b19200 -e -Ulock:w:0xff:m -Uefuse:w:0xfd:m -Uhfuse:w:0xd7:m -Ulfuse:w:0xf7:m
avrdude: Version 7.2-arduino.1
Copyright the AVRDUDE authors;
see https://github.com/avrdudes/avrdude/blob/main/AUTHORS
System wide configuration file is /Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/avrdude.conf
User configuration file is /Volumes/MacOS/HD-Users/BillW/.avrduderc
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbserial-FTD61T6Q
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega1284P
Chip Erase delay : 55000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : possible i/o
RETRY pulse : SCK
Serial program mode : yes
Parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 128 0 yes 131072 256 512 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
signature 0 0 0 0 no 3 1 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 1 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e9705 (probably m1284p)
avrdude: erasing chip
avrdude: processing -U lock:w:0xff:m
avrdude: reading input file 0xff for lock
with 1 byte in 1 section within [0, 0]
avrdude: writing 1 byte lock ...
avrdude: 1 byte of lock written
avrdude: verifying lock memory against 0xff
avrdude: 1 byte of lock verified
avrdude: processing -U efuse:w:0xfd:m
avrdude: reading input file 0xfd for efuse
with 1 byte in 1 section within [0, 0]
avrdude: writing 1 byte efuse ...
avrdude: 1 byte of efuse written
avrdude: verifying efuse memory against 0xfd
avrdude: 1 byte of efuse verified
avrdude: processing -U hfuse:w:0xd7:m
avrdude: reading input file 0xd7 for hfuse
with 1 byte in 1 section within [0, 0]
avrdude: writing 1 byte hfuse ...
avrdude: 1 byte of hfuse written
avrdude: verifying hfuse memory against 0xd7
avrdude: 1 byte of hfuse verified
avrdude: processing -U lfuse:w:0xf7:m
avrdude: reading input file 0xf7 for lfuse
with 1 byte in 1 section within [0, 0]
avrdude: writing 1 byte lfuse ...
avrdude: 1 byte of lfuse written
avrdude: verifying lfuse memory against 0xf7
avrdude: 1 byte of lfuse verified
avrdude done. Thank you.
/Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/tools/avrdude/7.2-arduino.1/bin/avrdude -C/Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/avrdude.conf -v -patmega1284p -cstk500v1 -P/dev/cu.usbserial-FTD61T6Q -b19200 -Uflash:w:/Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/bootloaders/urboot/atmega1284p/watchdog_1_s/autobaud/uart0_rxd0_txd1/led+b7/urboot_atmega1284p_pr_ee_ce.hex:i -Ulock:w:0xff:m
avrdude: Version 7.2-arduino.1
Copyright the AVRDUDE authors;
see https://github.com/avrdudes/avrdude/blob/main/AUTHORS
System wide configuration file is /Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/avrdude.conf
User configuration file is /Volumes/MacOS/HD-Users/BillW/.avrduderc
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbserial-FTD61T6Q
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega1284P
Chip Erase delay : 55000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : possible i/o
RETRY pulse : SCK
Serial program mode : yes
Parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 128 0 yes 131072 256 512 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
signature 0 0 0 0 no 3 1 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 1 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e9705 (probably m1284p)
avrdude: Note: flash memory has been specified, an erase cycle will be performed.
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: processing -U flash:w:/Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/bootloaders/urboot/atmega1284p/watchdog_1_s/autobaud/uart0_rxd0_txd1/led+b7/urboot_atmega1284p_pr_ee_ce.hex:i
avrdude: reading input file /Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/bootloaders/urboot/atmega1284p/watchdog_1_s/autobaud/uart0_rxd0_txd1/led+b7/urboot_atmega1284p_pr_ee_ce.hex for flash
with 396 bytes in 2 sections within [0x1fe00, 0x1ffff]
using 2 pages and 116 pad bytes
avrdude: writing 396 bytes flash ...
Writing | ################################################## | 100% 0.16s
avrdude: 396 bytes of flash written
avrdude: verifying flash memory against /Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/bootloaders/urboot/atmega1284p/watchdog_1_s/autobaud/uart0_rxd0_txd1/led+b7/urboot_atmega1284p_pr_ee_ce.hex
Reading | ################################################## | 100% 0.00s
avrdude: 396 bytes of flash verified
avrdude: processing -U lock:w:0xff:m
avrdude: reading input file 0xff for lock
with 1 byte in 1 section within [0, 0]
avrdude: writing 1 byte lock ...
avrdude: 1 byte of lock written
avrdude: verifying lock memory against 0xff
avrdude: 1 byte of lock verified
avrdude done. Thank you.
Upload:
avrdude -vvvv -patmega1284p -curclock -P/dev/cu.usbserial-FTD61T6Q -b115200 -D -xnometadata -Ueeprom:w:/tmp/Arduino1.8.13Build/Blink.ino.eep:i -Uflash:w:/tmp/Arduino1.8.13Build/Blink.ino.hex:i
Avrdude version 8.0
Copyright see https://github.com/avrdudes/avrdude/blob/main/AUTHORS
System wide configuration file is /usr/local/etc/avrdude.conf
User configuration file /Volumes/MacOS/HD-Users/BillW/.avrduderc does not exist
Libreadline is used; avrdude -t -c urclock should work interactively
Nometadata set
Using port : /dev/cu.wchusbserial3120
Using programmer : urclock
Setting baud rate : 115200
205 ms: enter urclock_getsync()
Ser_send: 0 [30] [20]
Ser_recv(): programmer is not responding
232 ms: sleeping for 32 ms
Ser_send: [20] [20]
Ser_recv: . [14] . [10]
Ser_send: [20] [20]
Ser_recv: . [14] . [10]
Ser_send: [20]
Ser_recv(): programmer is not responding
Ser_send: [20]
390 ms: all good, ready to rock
AVR part : ATmega1284P
Programming modes : SPM, ISP, HVPP, JTAG
Memory Size Pg size
--------------------------
eeprom 4096 8
flash 131072 256
signature 3 1
Variants Package F max T range V range
---------------------------------------------------------------
ATmega1284P-AN TQFP44 20 MHz [-40 C, 85 C] [1.8 V, 5.5 V]
ATmega1284P-AU TQFP44 20 MHz [-40 C, 85 C] [1.8 V, 5.5 V]
ATmega1284P-AUR TQFP44 20 MHz [-40 C, 85 C] [1.8 V, 5.5 V]
ATmega1284P-MN QFN44 20 MHz [-40 C, 85 C] [1.8 V, 5.5 V]
ATmega1284P-MU VQFN44 20 MHz [-40 C, 85 C] [1.8 V, 5.5 V]
ATmega1284P-MUR VQFN44 20 MHz [-40 C, 85 C] [1.8 V, 5.5 V]
ATmega1284P-PN PDIP40 20 MHz [-40 C, 85 C] [1.8 V, 5.5 V]
ATmega1284P-PU PDIP40 20 MHz [-40 C, 85 C] [1.8 V, 5.5 V]
Programmer type : Urclock
Description : Urboot bootloaders using urprotocol
Protocol : STK500v1 skeleton
Ser_send: P [50] [20]
Ser_recv: . [14]
Ser_recv: . [10]
AVR device initialized and ready to accept instructions
Avr_signature(urclock, m1284p)
Reading | | 0% 0.00 s
Avr_read_mem(urclock, m1284p, signature, NULL)
Ser_send: u [75] [20]
Ser_recv: . [14]
Ser_recv: . [10] . [14] . [1e]
Ser_recv: . [97]
Reading | -------------------------------------------------- | 0% 0.02 s
Error urclock_res_check() urclock.c 985: protocol expects OK byte 0x10 but got 0x97 in urclock_read_sig_bytes()
Error avr_signature() avr.c 1220: unable to read signature data for part ATmega1284P (rc = -1)
Error main() main.c 1645: unable to read signature data (rc = -1)
use -F to override this check
Ser_send: Q [51] [20]
Ser_recv: . [05]
Error urclock_disable() urclock.c 2215: protocol expects sync byte 0x14 but got 0x05
Avrdude done. Thank you.
WWHackintosh<8780> /Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/tools/avrdude/7.2-arduino.1/bin/avrdude -C/Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/avrdude.conf -vvvv -patmega1284p -curclock -P/dev/cu.wchusbserial3120 -b9600 -D -xnometadata -Ueeprom:w:/tmp/Arduino1.8.19Build/Blink.ino.eep:i -Uflash:w:/tmp/Arduino1.8.19Build/Blink.ino.hex:i
avrdude: Version 7.2-arduino.1
Copyright the AVRDUDE authors;
see https://github.com/avrdudes/avrdude/blob/main/AUTHORS
System wide configuration file is /Applications/Arduino-1.8.19.app/Contents/Java/portable/packages/MightyCore/hardware/avr/3.0.1/avrdude.conf
User configuration file is /Volumes/MacOS/HD-Users/BillW/.avrduderc
User configuration file does not exist or is not a regular file, skipping
avrdude: libreadline is used; avrdude -t -c urclock should work interactively
avrdude: nometadata set
Using Port : /dev/cu.wchusbserial3120
Using Programmer : urclock
Overriding Baud Rate : 9600
avrdude: 215 ms: enter urclock_getsync()
avrdude: send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: 245 ms: sleeping for 32 ms
avrdude: send: [20] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: 304 ms: sleeping for 64 ms
avrdude: send: [20] [20]
avrdude: recv: . [a0] . [8d]
avrdude: send: [20] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: 418 ms: sleeping for 256 ms
avrdude: send: [20] [20]
avrdude: recv: . [a0] . [8d]
avrdude: send: [20]
avrdude: recv: . [a0]
avrdude: 698 ms: all good, ready to rock
AVR Part : ATmega1284P
Chip Erase delay : 55000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : possible i/o
RETRY pulse : SCK
Serial program mode : yes
Parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
flash 65 10 128 0 yes 131072 256 512 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
hfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
efuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lock 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 1 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
calibration 0 0 0 0 no 1 1 0 0 0 0x00 0x00
Programmer Type : Urclock
Description : Urclock programmer for urboot bootloaders using urprotocol
Urboot protocol for ATmega1284P
avrdude: send: P [50] [20]
avrdude: recv: . [a0]
avrdude: recv: . [8d]
avrdude: AVR device initialized and ready to accept instructions
Reading | | 0% 0.00 s
avrdude: ur_readEF(urclock, ATmega1284P, flash, 0x7ffee239fe40, 0x01fffa, 6, F)
avrdude: send: . [03] . [fa] . [ff] . [01] . [06] [20]
avrdude: ser_recv(): programmer is not responding
avrdude urclock_recv() [urclock.c:1899] warning: programmer is not responding
Reading | -------------------------------------------------- | 0% 0.51 s
avrdude avr_signature() [avr.c:1155] error: unable to read signature data for part ATmega1284P, rc=-1
avrdude main() [main.c:1368] error: unable to read signature data, rc=-1
avrdude: send: Q [51] [20]
avrdude: ser_recv(): programmer is not responding
avrdude urclock_recv() [urclock.c:1899] warning: programmer is not responding
avrdude done. Thank you.