Programming ATTiny4313

Has anyone successfully programmed a ATTiny4313?
I am using ATTinyCore from SpenceKonde
I select:


When I Select; Sketch > Upload Using Programmer.
I receive the following error:

avrdude: Version 6.3-20201216
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\Robert\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino18/etc/avrdude.conf"
         Additional configuration file is "C:\Users\Robert\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/extra_avrdude.conf"
avrdude: can't open config file "C:\Users\Robert\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/extra_avrdude.conf": No such file or directory
An error occurred while uploading the sketch
avrdude: error reading additional configuration file "C:\Users\Robert\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/extra_avrdude.conf"

Yes I did that many times with USBASP or TinyISP programmer.

Your selected programmer "STK500....." is not present in my IDE, so that's a difference for sure.

I also see you are using a VERY old version of the IDE, so would suggest you download a portable installation of the latest version of the IDE and add the Attinycore to that and try again.

I have successfully programmed a 2313, quite recently actually, it is almost the same. Did have some issues with it the first time though (last year somewhere) which was related to the programmer selection in the IDE, but got help from the maintainer of the core @DrAzzy (he is not a frequent visitor of the forum atm so be patient)
btw make sure that you do have the external crystal connected properly once you upload, or you will not be able to upload again without it. (actually, try and upload with an internal clock first is safer)
I use 'Arduino as ISP' as a programmer and upload the ArduinoISP sketch to my UNO for uploading and that works like a charm.
I do remember actually modifying the 'boards.txt' because it had the board configuration between the 2313 and the 2313a not separated.

well very old it is not, but i am on 1.8.14 and there was something about that as well.

Actually from my topic look at reply #9 it will tell you what was wrong with the programmer (i was at 1.8.12 at the time and the fix is in the IDE v1.8.14 )

You're using a version of the IDE prior 1.8.13, which contains the fix for the bug that permitted selection of an option from the tools -> programmer menu supplied with another hardware package. In this case, it used a mashup of material from the two cores to define behavior of the programmer, with the result being programming not working with behavior depending on which packages were being mixed. That fix came out in june of 2020, and in september of that year, I decided it had been long enough, and removed the "(ATTinyCore) from the names of the entries I supplied in programmers.txt; previously every core had to supply their own copies of every programmer, so you wound up with a tools -> programmers menu list with a version of Arduino as ISP for every core you had installed....

But of course with the old version of the IDE, it is much harder to tell which programmer came with ATTinyCore. Only the programmer definitions that are defined by ATTinyCore are supported. That is most certainly not one of them. With such an inapprorpiate programmer selected, you can't upload to anything.

Many thanks to all - I have installed IDE 1.8.19.
Also found an Atmel ICE that was sent to me a couple of years ago.
All working GREAT