I want to burn a bootloader in a 32U4 mcu.
Have the Arduino IDE 1.8.7 on a WIN10 machine.
Converted a Nano into a AVR ISP module.
I want to burn the bootloader for the 32U4.
BUT, the default selection leads to a Leonardo suitable hex file. I dont want that .
Instead I want to use the Caterina-Feather32u4.hex file as the module i have is a Feathre 32u4.
Can i do that ?
pert
2
Then you just need to select Tools > Board > Adafruit Feather 32u4 before you do Tools > Burn Bootloader.
pert:
Then you just need to select Tools > Board > Adafruit Feather 32u4 before you do Tools > Burn Bootloader.
Thanks.
What I did :
Burn the ArduinoISP sketch into a Nano. OK !
Wire up the 32U4 Feather to the Nano SPI interface carefully. Power is also 3.3V . OK !
Croos check buad rate ... 19200. OK !
Choose "Arduino as ISP" as the programmer
Tools > Boards > Adafruit 32U4 > Burn Bootloader
Error message I got :
Arduino: 1.8.7 (Windows 10), TD: 1.44, Board: "Adafruit Feather 32u4"
C: \Users\ragun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0 - arduino12 / bin / avrdude - CC: \Users\ragun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0 - arduino12 / etc / avrdude.conf - v - patmega32u4 - carduino - PCOM12 - b19200 - e - Ulock: w: 0x3F: m - Uefuse: w: 0xcb: m - Uhfuse: w: 0xd8: m - Ulfuse: w: 0xff: m
avrdude: Version 6.3 - 20171130
Copyright (c) 2000 - 2005 Brian Dean, http: //www.bdmicro.com/
Copyright (c) 2007 - 2014 Joerg Wunsch
System wide configuration file is "C:\Users\ragun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino12/etc/avrdude.conf"
Using Port : COM12
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp = 0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp = 0x15
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
---------- - ---- ---- - ---- - ---- ------ ------ ---- ------ ---- - ---- - -------- -
eeprom 65 20 4 0 no 1024 4 0 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
avrdude: stk500_getparm(): (a) protocol error, expect = 0x14, resp = 0x14
avrdude: stk500_getparm(): (a) protocol error, expect = 0x14, resp = 0x02
avrdude: stk500_getparm(): (a) protocol error, expect = 0x14, resp = 0x10
Hardware Version: 4744608
Firmware Version: 0.4611299
Topcard : STK502
Vtarget : 1.8 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: stk500_initialize(): n_extparms 3 mayor 0 minor 0
avrdude: stk500_initialize(): n_extparms = 3
avrdude: stk500_initialize(): (b) protocol error, expect = 0x10, resp = 0x01
avrdude: initialization failed, rc = -1
Double check connections and try again, or use - F to override
this check.
avrdude: stk500_disable(): protocol error, expect = 0x14, resp = 0x10
avrdude done. Thank you.
Error while burning bootloader.
kprims
4
Try putting a 10uF capacitor between Rst and Gnd on the Arduino used as a programmer, stripe toward the Gnd.
oled
5
I am dealing with the exact same issue - did you ever figure it out?