A programmer is required to upload

Hello everyone, I hope you are well, I am having a problem with my attiny85, I have followed all the steps carefully in this video https://www.youtube.com/watch?v=dtPGMTBdDoA, but in the last step I get the next error, A programmer is required to upload., I really don't know what could be happening, thank you very much for receiving this message, if you need any more details about my configuration, stay tuned

I'm not watching a video, and anyway you would be better off finding a proper tutorial, but maybe this is where your problem is. What have you chosen here?:

Hi @m4r0labs. There is a special feature in Arduino IDE 1.x that allows the "attiny" platform to be configured so that the IDE's "Upload" button actually performs an "Upload Using Programmer" operation when the ATtiny85 board is selected in the IDE.

The video is using Arduino IDE 1.x so this is why they are able to upload to the ATtiny85 by clicking the "Upload" button.

Unfortunately that feature has not been implemented in Arduino IDE 2.x. So when uploading to the ATtiny85 using Arduino IDE 2.x, you must select Sketch > Upload Using Programmer from the Arduino IDE menus instead of clicking the "Upload" button. As mentioned already by @6v6gt, you should make sure you have selected Tools > Programmer > Arduino as ISP from the Arduino IDE menus before doing that.

Give that a try and then let us know if you still have any problems.

1 Like

@6v6gt @ptillisch Thanks so much! my program is work :slight_smile:

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

Regards,
Per

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