The only way to re-enable Reset or SPIEN fuses on some older AVR chips like ATtiny13A, to allow them to be reprogrammed, is to use High Voltage programming (HVP) method. This was available on AVR Dragon, STK500 and STK600 but since these have been discontinued, there is a lack of suitable programmers.
So, what is now the best solution for AVR High Voltage Programming?
Microchip took over Atmel some years ago and are slowly eliminating the Atmel brand. One of the major legacies from Atmel is their Atmel Studio development environment but its days may be numbered.
Microchip took over Atmel (who made the AVR microcontroller) a few years ago and have been slowly erasing the Atmel brand. Their latest move is to rename Atmel Studio as Microchip Studio.
Atmel have stopped making AVRISP-MKII but Kanda sell a Waveshare version that is identical to the original. Atmel Studio fully supports AVRISP-MKII and it is simple to install and use with Studio but it can also be used with AVRDude and Great Cow Basic compiler.
When AVR microcontrollers were first introduced in 1995, In System Programming was simple, with one programming method (Serial Programming Interface or SPI) and a recommended 5 x 2 10-pin target interface. For 10-15 years, this stayed the same except for the addition of JTAG programming on some devices and a move towards a 3 x 2 6-pin target header. In the last few years, new interfaces have sprouted like weeds, including TPI, PDI and UPDI. What do this all mean and how does it affect you?
The latest versions of Atmel Studio 7 seem to omit External Tools… from the Tools menu. This command is necessary to add your own programmer so it can be launched from Studio. If it is missing, how is it added?
Atmel have added a new feature to Atmel Studio from 6.2 on-wards including 7. You can now create a single file that contains all the data needed to program an AVR or ATxmega microcontroller. This includes flash, EEPROM, fuses, lock bits and ATxmega User Row. This is called an ELF production file and Kanda AVR Handheld Programmers now support this format.
This is a question we are often asked. I want a genuine Atmel AVR ISP MKII (ATAVRISP2) not a Chinese clone, can you supply it? Unfortunately the answer is no as Atmel have stopped manufacturing their ATAVRISP2 programmer.
ISP or In System Programming is the best way to program AVR microcontrollers as it allows them to be programmed in circuit. This is easier for development, production and most importantly, for updating the firmware later in the field. The tool used for this is an AVR ISP.
Arduino is officially an open source electronic prototyping system, which is sold with the slogan “So easy, my granny can use it”. It is not quite as simple as that but it is pretty easy to buy a successful project and implement it quickly. So if your idea has already been done, Arduino makes it straightforward to carry it out.