AVR High Voltage Programmer

The only way to re-enable Reset or SPIEN fuses on some AVR chips like ATtiny13A, to allow them to be reprogrammed, is to use High Voltage programming (HVP) method. This was available on AVR Dragon but since this has been discontinued, there is a lack of suitable programmers.

So, what is now the best solution for AVR High Voltage Programming?

Microchip seem to have completely ignored this issue and AVR ICE and other current tools do not support HVP. Nor does AVRISP-MKII but we are still asked to recommend a solution.

The best we have found is an AVR High Voltage Programmer, available from multiple sellers on AliExpress (search for AVR High Voltage Programmer on www.aliexpress.com ). They vary in price from $20 to $30, with free shipping, with different colours but the latest version seems to be V6.4, which is green.

AVR High Voltage Programmer

We have tried it and it works very well as an STK500 in latest Microchip Studio but there are 2 issues that let it down. One is USB driver and second is lack of documentation.

1. Prolific USB Driver

Like many other low cost Chinese products this programmer uses knock off versions of Prolific USB chips. The latest drivers for these chips, especially in Windows 10, have caught up with these fake devices and driver will not install or will give Code 10 error.

The only solution is to roll back the driver to an older version. If you do not already have an older Prolific driver installed that you can roll back to, you will have to get an older driver. This process is described here.

https://www.totalcardiagnostics.com/support/Knowledgebase/Article/View/92/20/prolific-usb-to-serial-fix-official-solution-to-code-10-error

If you are not happy with a product that uses counterfeit chips, or can’t cope with USB driver changes, then do not buy it! We do not stock it for this reason but it is the only programmer we have found that will reliably do HVP for AVR microcontrollers.

2. Lack of Documentation

As a typical low cost Chinese product, it does not come with any documentation and we can’t find any online as we are not sure who actually makes it, rather than just reselling it.

The descriptions on AliExpress have all obviously been copied from a common source and are quite good at explaining how to use it in Studio as an STK500, for both HV Serial and HV Parallel programming. It will also do standard ISP.

STK500 HVSP in Atmel Studio 7

There are no schematics or other information for it but some pin-outs are shown on the back of the PCB. The 10-way ISP connector is standard Atmel pin-out.

If you have no experience of AVR programming, then this lack of a user guide means you should think twice before buying it.

Programmer description

The board has 2 ZIF sockets for parallel programming ATmega8 and ATmega16 chips. Here is the board, with Chinese captions but enough English to understand it.

AVR HVP Features

For other chips, a 20 pin unpopulated header pad layout is provided.  Luckily the pin designations are screen printed on the PCB underside, but the pin designations do not line up with those of the AVR Dragon, which meant that the connection diagrams printed in the Dragon user guide are not usable without pin number conversion.  (A very laborious task).

It also has a 7-way unpopulated header for HV serial programming, which has been added as a separate connection, although the same pins can be found on the 20 pin header.

It also has a 10-way ISP header that can be connected to any ISP target, like Arduino boards. You will need a 10 to 6-way adapter if your targets use 6-pin ISP header.

There is also a jumper link to supply Vcc from the USB port to the target chip, which can come in handy at times as long as the target does not require much current.  The supply from the USB port has a diode in series to prevent any voltage from the target being fed back to the PC but this reduces the voltage at the ISP to roughly 4.3 V, which usually will not be a problem. 

Conclusion

Despite its weakness, this programmer will do the job if you require High Voltage serial or parallel programming or need to reset fuses on ATtiny devices. It is not for the complete amateur as some experience is needed to use it effectively.

If you just need standard ISP programming, then other programmers are better

https://www.kanda.com/products/Kanda/AVRISP-U.html

https://www.kanda.com/products/Kanda/AVRISP-MKII.html

Thanks to Albert Hubbard of Hubbard Tech in Australia for reviewing this product for us.

Leave a Reply