Hi again,
with the beta4 I can't program an ATtiny85 anymore, the selected programmer Arduino as ISP isn't accepted:
Upload error: Error: 2 UNKNOWN: a programmer is required to upload for this board
A Mega2560 works fine.
In Arduino 1.8.13 I have no problems programming the Tiny, so the ATtinyCore v1.5.2 seems to work properly.
Here is the list of my additional board managers:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://dl.espressif.com/dl/package_esp32_index.json
http://drazzy.com/package_drazzy.com_index.json
http://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
Regards,
Sven
2 Likes
pert
March 22, 2021, 12:00am
2
Hi @lorandil . The related bug report is here:
opened 02:04PM - 24 Aug 20 UTC
topic: code
type: imperfection
### 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
- arduino/arduino-pro-ide#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
### 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
The classic Arduino IDE has a feature where the boards platform author can configure the "Upload" button to work like Sketch > Upload Using Programmer . This is convenient for boards that don't have a bootloader, where you always want to do an "Upload Using Programmer". DrAzzy has configured the ATTinyCore boards that don't use a bootloader in this way.
Unfortunately, Arduino IDE 2.x doesn't currently support this feature. Fortunately, there is a very easy workaround: just use Sketch > Upload Using Programmer (Or Ctrl + Shift + u if you prefer) when uploading to your ATtiny85.
10 Likes
Ok, that works!
Thanks alot
2 Likes
pert
March 25, 2021, 12:19am
4
You're welcome. I'm glad to hear it's working now. Enjoy!
Per
1 Like
system
Closed
July 23, 2021, 12:19am
5
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.