It employs the high voltage serial programming hvsp available for such devices.
High voltage serial programming.
Atmel changed the debugging feature of avr dragon with the latest firmware of avr studio 4 avr studio 5 and now it supports devices over 32 kb of.
It should be noted that the current drawn from this signal is quite small.
We provide the high voltage which usually is 12vdc for the flash devices and have total control over the chip programming.
This project is created so that if i could revert the reset fuse change and flash via spi again.
Atmel uses hvsp high voltage serial programming for the tiny avr family and high voltage parallel programming for the mega avr family.
I ve studied electronics in college but that happened during the middle age 20yrs ago.
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.
Here are some ways to generate that 12v signal depending on what components you have at hand.
As their name implies the high voltage serial and high voltage parallel programming techniques require a 12v signal.
High voltage serial programming.
The high voltage serial programming method applies 12v to the reset pin and a different set of programming commands in order to access the chip no matter what the fuse settings are.
Connecting your standard arduino.
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.
Note that this is not to be confused w the high voltage parallel programming used for 20pin devices i e.
Hvsp requires 7 signals including power and ground as shown in this illustration.
To enter and control the avr high voltage serial programming the supply to the target and the 12v to reset must be controlled with fairly critical timing.
Avr high voltage programming fuses rescue.
Atmel attiny datasheet chapter high voltage serial programming describes alternative way of programming attiny microcontroller.
You can find the detailed programming algorithms in the all the avr data.
For high voltage programming the timing of the power pin matters so it is software controlled through the svcc pin rather than.
Hvsp is the high voltage protocol for 8 and 14 pin attiny mcus.
The arduino hv serial fuse programming sketch controls both the 12v to reset and the supply to the target to achieve this timing.
A high voltage serial programmer can be used to reprogram the fuses.
You could have unprogrammed the spien fuse programmed the rstdisbl fuse or whatever.
The avr dragon provides in system serial programming high voltage serial programming and parallel programming as well as jtag or debugwire emulation for parts with 32 kb of program memory or less.
With this mechanism it is possible to bring the mcu back to life.