Last active
May 2, 2019 04:00
-
-
Save avilleret/2307a48927d2eab249d73cb16dc9eac6 to your computer and use it in GitHub Desktop.
How to burn caterina bootloader to Adafruit ItsyBitSy 32u4 5V 16M with Arduino as ISP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirement : | |
- Arduino UNO | |
- blocked Adafruit ItsyBitsy | |
- some wiring cable | |
- avrdude | |
Tested on Archlinux with avrdude 6.3 | |
1. upload Arduino as ISP sketch to an Arduino UNO | |
2. wire Arduino UNO to ItsyBitsy as follow : | |
Arduino | ItsyBitsy | |
5V | 5V | |
GND | GND | |
10 | RST (reset) | |
11 | MOSI | |
12 | MISO | |
13 | SCK | |
3. download Caterina bootloader (You can try to upload Arduino bootloader, but it won't work :-) ). | |
from here https://learn.adafruit.com/introducting-itsy-bitsy-32u4/downloads | |
4. Setup fuse for programming with : | |
avrdude -c avrisp -P /dev/ttyACM0 -b 19200 -p m32u4 -U lfuse:r:low_fuse_val.hex:h -U hfuse:r:high_fuse_val.hex:h | |
5. Upload bootloader with | |
avrdude -c avrisp -P /dev/ttyACM0 -b 19200 -p m32u4 -U flash:w:Caterina_itsybitsy5V.hex | |
NOTE : with Arduino as ISP programmer, you should use "avrisp" with avrdude AND baudrate of 19200 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also worked fine with Leonardo copied / Mac book pro.
You save me.
thx!