From b5fdef082766e5ac26659567008162e6b53ba104 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 24 Feb 2024 15:59:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=BE=D0=B3=D1=80=D0=B0=D0=BC?= =?UTF-8?q?=D0=BC=D0=B0=D1=82=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../arduino/programming-attiny85-with-avrdude.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/content/posts/2023/arduino/programming-attiny85-with-avrdude.md b/content/posts/2023/arduino/programming-attiny85-with-avrdude.md index 12e28f0..eef5bc5 100644 --- a/content/posts/2023/arduino/programming-attiny85-with-avrdude.md +++ b/content/posts/2023/arduino/programming-attiny85-with-avrdude.md @@ -1,6 +1,7 @@ --- title: "📟 Программирование Attiny85 с помощью avrdude" date: 2023-11-09T23:58:07+03:00 +lastmod: 2024-02-24T15:59:00+03:00 draft: false tags: [arduino, tutorial, development] --- @@ -80,6 +81,21 @@ avrdude -c USBasp -p attiny85 -U lfuse:w:0xe1:m -U hfuse:w:0xdd:m -U efuse:w:0xf avrdude -c USBasp -p attiny85 -U flash:w:t85_default.hex:i -B 20 ``` +**Обновление от 24.02.2024:** У меня в ArchLinux начала пявляться следующая ошибка (версиия `avrdude` 7.3): + +```text +USBasp is not a unique start of a programmer name; consider: + usbasp = USBasp ISP and TPI programmer + usbasp-clone = Any usbasp clone with correct VID/PID +``` + +Решается установкой имени программатора (_параметр `-c`_) `usbasp`: + +```sh +avrdude -c usbasp -p attiny85 -U lfuse:w:0xe1:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m -B 20 +avrdude -c usbasp -p attiny85 -U flash:w:t85_default.hex:i -B 20 +``` + Готово! 🍌 ## Пример