Skip to content

Instantly share code, notes, and snippets.

@avilleret
Last active May 2, 2019 04:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avilleret/2307a48927d2eab249d73cb16dc9eac6 to your computer and use it in GitHub Desktop.
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
# 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
@hidsh
Copy link

hidsh commented May 2, 2019

Also worked fine with Leonardo copied / Mac book pro.
You save me.
thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment