# Failure programming ATtiny85 using UNO R3

**URL:** <https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658>\
**Category:** 3rd Party Boards\
**Created:** [January 27, 2024, 5:02pm UTC](https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658 "2024-01-27T17:02:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert\_david](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/robert_david/32/1149379_2.png) [@robert\_david](https://forum.arduino.cc/u/robert_david)\
**Post date:** [January 27, 2024, 5:02pm UTC](https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658/1 "2024-01-27T17:02:02Z")

</div>

Having failed to programme an ATtiny85 using the Tiny AVR Programmer (see earlier post) I followed (exactly!) the instructions in  
[https://circuitdigest.com/microcontroller-projects/programming-attiny85-microcontroller-ic-using-arduino](https://circuitdigest.com/microcontroller-projects/programming-attiny85-microcontroller-ic-using-arduino)  
to try to programme the tiny85 using an UNO R3. Having first uploaded the ArduinoISP sketch (ensuring correct board selected) and then connected the tiny85 to the UNO the "Blink" sketch was opened - automatically in a NEW IDE window - the board selected as ATtiny25/45/85 and port set and Programmer as Arduino as ISP when uploaded the error message was "A programmer is required to upload", surely the UNO having had ArduinoISP downloaded should be the programmer.  
I'm using IDE version 2.2.1, however I have also tried it on an older version 1.8.19 and thank goodness it works on that (which is on my laptop, not the desktop pc)

So my question is why does it not work on the 2.2.1 IDE version? Is there anything else that I need to update?  
Can I get earlier IDE versions i.e. 1.8.19 to download to my desktop?

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [January 28, 2024, 3:28am UTC](https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658/2 "2024-01-28T03:28:40Z")

</div>

> [@robert\_david](#):
>
> when uploaded the error message was "A programmer is required to upload", surely the UNO having had ArduinoISP downloaded should be the programmer.

Hi @robert_david. Due to the configuration of the board you are using, uploading must be done using the " **Upload Using Programmer**" feature instead of the more common " **Upload**" feature.

Please select **Sketch \> Upload Using Programmer** from the Arduino IDE menus.

Hopefully this time the "`A programmer is required to upload`" error will not occur and the upload will be successful.

If the upload still fails, add a [reply](https://meta.discourse.org/t/discourse-new-user-guide/96331#replying-11) here on this forum thread to let us know.

> [@robert\_david](#):
>
> I have also tried it on an older version 1.8.19 and thank goodness it works on that (which is on my laptop, not the desktop pc)
> 
> So my question is why does it not work on the 2.2.1 IDE version?

Arduino IDE 1.x has a [feature](https://arduino.github.io/arduino-cli/latest/platform-specification/#upload-using-programmer-by-default) that allows boards platform developers to configure the board definition so that the Arduino IDE " **Upload**" button triggers an " **Upload Using Programmer**" operation instead of a " **Upload**" operation as usual. This is useful for boards that always require an " **Upload Using Programmer**" operation due to not having a serial bootloader.

Unfortunately that "Upload Using Programmer by default" feature hasn't been added to Arduino IDE 2.x yet. This deficiency is tracked by the Arduino IDE developers here:

> <https://github.com/arduino/arduino-ide/issues/103>
>
> \### Describe the problem
> 
> There are two Upload-related operations:
> 
> \- Upload…
> \- Upload Using Programmer
> 
> In addition to the menu items (\*\*Sketch \> Upload\*\* / \*\*Sketch \> Upload Using Programmer\*\*) and keyboard shortcuts (\<kbd\>\*\*Ctrl\*\*\</kbd\>+\<kbd\>\*\*U\*\*\</kbd\> / \<kbd\>\*\*Ctrl\*\*\</kbd\>+\<kbd\>\*\*Shift\*\*\</kbd\>+\<kbd\>\*\*U\*\*\</kbd\>), an upload operation can be triggered by clicking the button on the Arduino IDE toolbar.
> 
> Some Arduino boards do not support standard "Upload", so the platform author configured their board definition to do an "\*\*Upload Using Programmer\*\*" operation when the "Upload" button is clicked. This makes the frequent task of uploading to these boards more convenient for the user than having to use the less accessible menu item.
> 
> 🐛 Arduino IDE does an "\*\*Upload\*\*" operation when the button is clicked even when the board is configured for it to trigger an "\*\*Upload Using Programmer\*\*" operation.
> 
> \### Expected behavior
> 
> Arduino IDE does an "\*\*Upload Using Programmer\*\*" operation on "Upload" button click when the board is configured for that behavior.
> 
> \### Arduino IDE version
> 
> 7c86f1f
> 
> \### Operating system
> 
> All
> 
> \### Operating system version
> 
> Any
> 
> \### Additional context
> 
> Additional reports:
> 
> \- https://github.com/arduino/arduino-ide/issues/1640
> \- https://github.com/arduino/arduino-ide/issues/1323
> \- https://github.com/arduino/arduino-ide/issues/2276
> \- https://github.com/arduino/arduino-ide/issues/2460
> \- https://github.com/arduino/arduino-pro-ide/issues/306
> \- https://github.com/MCUdude/MiniCore/issues/233
> \- https://forum.arduino.cc/t/strange-issue-uploading-code-using-updi-megatinycore/945896
> \- https://forum.arduino.cc/t/attiny85-wont-program/1043246
> \- https://forum.arduino.cc/t/cant-program-attiny85-with-attinycore-v1-5-2/701346
> \- https://forum.arduino.cc/t/uploading-to-attiny85-gives-error-a-programmer-is-required-to-upload/1065582
> \- https://forum.arduino.cc/t/usbasp-works-well-on-ide-1-8-19-but-it-does-not-work-on-ide-2-0-3/1085285
> \- https://forum.arduino.cc/t/arduino-ide2-0-3-cant-find-programmer/1081331
> \- https://forum.arduino.cc/t/cannot-upload-to-arduino/1117541/10
> \- https://forum.arduino.cc/t/where-to-locate-h-files-in-ide-2/1138746/18
> \- https://forum.arduino.cc/t/a-programmer-is-required-to-upload-for-attiny402/1147172
> \- https://forum.arduino.cc/t/i-was-trying-to-code-on-a-vega-aries-v3-and-got-this-error-messa-a-programmer-is-required-to-upload/1195228
> \- https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658
> \- https://forum.arduino.cc/t/tiny-avr-programmer-not-found/1216550/16
> \- https://forum.arduino.cc/t/a-programmer-is-required-to-upload/1234159
> 
> \### Issue checklist
> 
> \- \[X\] I searched for previous reports in \[the issue tracker\](https://github.com/arduino/arduino-ide/issues?q=)
> \- \[X\] I verified the problem still occurs when using the latest \[nightly build\](https://www.arduino.cc/en/software#nightly-builds)
> \- \[X\] My report contains all necessary details

If you have a [**GitHub**](https://github.com/) account, you can subscribe to that thread to get [notifications](https://docs.github.com/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/about-notifications) of any new developments related to this subject:

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/9/c/5/9c5eac15a84288b3eb990b7234c9149fbeb5d142.png)

> [@robert\_david](#):
>
> Can I get earlier IDE versions i.e. 1.8.19 to download to my desktop?

Yes, the download links for Arduino IDE 1.8.19 are listed on the official "Software" page here:

[https://www.arduino.cc/en/software#legacy-ide-18x](https://www.arduino.cc/en/software#legacy-ide-18x)

If for some reason you want versions of the IDE older than 1.8.19, the download links are listed on this page:

[https://www.arduino.cc/en/software/OldSoftwareReleases](https://www.arduino.cc/en/software/OldSoftwareReleases)

---

<div class="post-metadata">

**Author:** ![robert\_david](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/robert_david/32/1149379_2.png) [@robert\_david](https://forum.arduino.cc/u/robert_david)\
**Post date:** [January 28, 2024, 3:09pm UTC](https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658/3 "2024-01-28T15:09:18Z")

</div>

ptillisch, Arduino Team,

Many thanks for an excellent explanation. Unfortunately a family problem means I do not have time today to follow your advice. I will asap and report back.

Again many thanks  
RD

---

<div class="post-metadata">

**Author:** ![robert\_david](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/robert_david/32/1149379_2.png) [@robert\_david](https://forum.arduino.cc/u/robert_david)\
**Post date:** [January 29, 2024, 7:55pm UTC](https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658/4 "2024-01-29T19:55:54Z")

</div>

ptillish, Arduino team,  
Having sorted family problem I have now had time to folow your advice - which works! So many thanks.

I have noted the other points (fault tracking by Arduino developers) and getting updates via GitHub  
Many thanks for a very well considered and constructive reply.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [January 29, 2024, 10:00pm UTC](https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658/5 "2024-01-29T22:00:39Z")

</div>

You are welcome. I'm glad it is working now.

Regards,  
Per

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 27, 2024, 10:01pm UTC](https://forum.arduino.cc/t/failure-programming-attiny85-using-uno-r3/1216658/6 "2024-07-27T22:01:28Z")

</div>

Closed on July 27, 2024, 10:01pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
