Estoy intentando grabar un gestor de arranque en un ATmega32U4 alias. Arduino Micro que no está teniendo éxito. Estoy usando un AVR Dragon con interfaz ISP.
avrdude -c dragon_isp -p m32u4 -P usb -U flash:w:Caterina-Micro.hex -U lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xcb:m -U lock:w:0x2f:m
Cuando este comando se ejecuta, obtengo un montón de errores siguientes:
savrdude: stk500v2_jtagmkII_recv(): failed
SO: OSX Mavericks
avrdude: v6.1
ACTUALIZAR
Cuando configuro el indicador -B
con 200
, claramente comienza a quemar el cargador de arranque, pero ¿esto se debe a una falla de hardware? Se tarda más de 3 minutos en quemarse.
avrdude -c dragon_isp -p m32u4 -P usb -U flash:w:Caterina-Micro.hex -U lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xcb:m -U lock:w:0x2f:m -v -B 1000
avrdude: Device signature = 0x000100
avrdude: Expected signature for ATmega32U4 is 1E 95 87
Double check chip, or use -F to override this check.
O:
avrdude -c dragon_isp -p m32u4 -B 1000
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.26s
avrdude: Device signature = 0x1e9587
avrdude: safemode: Verify error - unable to read efuse properly. Programmer may not be reliable.
avrdude: safemode: To protect your AVR the programming will be aborted
Y:
avrdude -c dragon_isp -p m32u4 -B 200000
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 2.46s
avrdude: Device signature = 0x1e9587
avrdude: safemode: Fuses OK (E:CB, H:D8, L:FF)
avrdude done. Thank you.