Skip to content

ATTiny85 Debugging Record


P:\Arduino\hardware\tools\avr/bin/avrdude -C "P:\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -pattiny85 -carduino -PCOM4 -b119200 -Uflash:w:D:\t85_default.hex:i -U lfuse:w:0xE1:m -U hfuse:w:0xDD:m -U efuse:w:0xFE:m

Using Arduino as ISP Programmer

Attiny Arduino
Pin 1 (PB5) D10
Pin 4 (GND) GND
Pin 5 (PB0) D11
Pin 6 (PB1) D12
Pin 7 (PB2) D13
Pin 8 (VCC) 5V

First, burn the ISP program to the Arduino:

ISP Program Burning

Open the IDE's preferences and add the following URL to the Additional Boards Manager URLs:

Open the Boards Manager:

Boards Manager

Search for and install the package (you might need a proxy):

Installing Package

When burning the bootloader, make sure to select the correct chip model, clock speed (Internal 16 MHz), the port where Arduino is connected, and choose "Arduino as ISP" as the programmer:

Burning Configuration


References and Acknowledgments

Original: This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.

This post is translated using ChatGPT, please feedback if any omissions.