You won t regret it.
Atmega high voltage serial programming.
The unified program and debug interface updi is a one wire interface for external programming and on chip debugging of newer attiny and atmega devices.
Once the rstdisbl fuse is set you need a high voltage programmer like the stk500 which is costly to bring alive the chip.
Atmel attiny datasheet chapter high voltage serial programming describes alternative way of programming attiny microcontroller.
But save yourself some time and invest in a programmer debugger that has hvpp high voltage parallel programming and hvsp high voltage serial programming.
I ve studied electronics in college but that happened during the middle age 20yrs ago.
Compare with other high voltage programming options like atmel stk500 this programmer is simple to build less expensive and also easy to use with gui application over usb interface.
The recovery fuse programming process is easy.
If you don t have stk500 you can try to build your own avr high voltage programmer using arduino like jeff keyzer did.
If you need to make changes later on then high voltage programming is used to reset the fuses so the regular programmer can download the sketch again.
While i was expecting this huge leap in schematics and what a hobbyist can do nowadays i stil.
Note that this is not to be confused w the high voltage parallel programming used for 20pin devices i e.
With this mechanism it is possible to bring the mcu back to life.
An 8 pin avr package does not leave many unique signal combinations to place the avr into.
High voltage serial programming hvsp is mostly the backup mode on smaller avrs.
It employs the high voltage serial programming hvsp available for such devices.
The code in this project uses arduino nano to re program attiny85 microcontroller fuses to default values using the hvsp method.
If you really want to use high voltage serial programming to download a sketch then the instructions to implement a full blown programmer are documented in section 20 6 in the attiny85 datasheet.
Compare with other high voltage programming options like atmel stk500 this programmer is simple to build less expensive and also easy to use.
This project is created so that if i could revert the reset fuse change and flash via spi again.
Avr hv is high voltage parallel programmer for atmel avr series microcontrollers.
Half a year ago i restarted one of my old passions electronics.
Share improve this answer.
Hi that happened to my nano with atmega 328p using a usbasp programmer just checking the fuse settings to make a backup.