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.
Atmega high voltage serial programming.
Share improve this answer.
You won t regret it.
The code in this project uses arduino nano to re program attiny85 microcontroller fuses to default values using the hvsp method.
Once the rstdisbl fuse is set you need a high voltage programmer like the stk500 which is costly to bring alive the chip.
An 8 pin avr package does not leave many unique signal combinations to place the avr into.
While i was expecting this huge leap in schematics and what a hobbyist can do nowadays i stil.
Hi that happened to my nano with atmega 328p using a usbasp programmer just checking the fuse settings to make a backup.
Avr hv is high voltage parallel programmer for atmel avr series microcontrollers.
Atmel attiny datasheet chapter high voltage serial programming describes alternative way of programming attiny microcontroller.
Note that this is not to be confused w the high voltage parallel programming used for 20pin devices i e.
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.
I ve studied electronics in college but that happened during the middle age 20yrs ago.
If you don t have stk500 you can try to build your own avr high voltage programmer using arduino like jeff keyzer did.
This project is created so that if i could revert the reset fuse change and flash via spi again.
It employs the high voltage serial programming hvsp available for such devices.
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.
Current version of avr hv support atmega series avr microcontrollers but it can also be used with attiny microcontrollers which having high voltage parallel.
High voltage serial programming hvsp is mostly the backup mode on smaller avrs.
With this mechanism it is possible to bring the mcu back to life.
The recovery fuse programming process is easy.
Compare with other high voltage programming options like atmel stk500 this programmer is simple to build less expensive and also easy to use.
Half a year ago i restarted one of my old passions electronics.
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.