Is the high voltage programming adapter useful with the current Bus Pirate/AVRDude code? Or, is there any other way to currently use the Bus Pirate with the High Voltage adapter to do high voltage AVR programming?
There aren't really enough pins on the v3 Bus Pirate to do the AVR high voltage programming mode. The PIC modes work with some chips, but it is rough still.
BP v4 could do programming, but there is no production hardware (or software) to do that yet (nor is it planned, depends on the community doing it).
(crossposting from the other thread I wrote this on):
There aren't really enough pins on the v3 Bus Pirate to do the AVR high voltage programming mode.
This is true for AVR HVPP (High Voltage Parallel Programming) mode, but isn't really true of the much lower pin-count HVSP (Serial Programming) mode used by the 8- and 14-pin ATtiny devices. HVSP needs only 4 GPIO pins; 3 outputs from BP to chip (SDI, SII, SCI), 1 input from chip to BP (SDO). These map very closely to the 4 standard SPI pins. Additionally, another IO pin (likely AUX) could be used to control the +12V on to the ATtiny's RESET line.
I don't believe there exists current software to perform a burn in this manner, but building up a circuit to attach the BP and then running something custom over it in BBIO mode, perhaps using avrdude or similar, ought to be easily possible.
In fact given as I'm looking for a way to use all 12pins of a 14-pin ATtiny84, I may build myself up just such a device/program... I'll post a followup here if I do.
I am happy to report a full success using the Bus Pirate to program HVSP on the 8- and 14-pin ATtiny chips. This requires a small additional bit of hardware, to use the AUX pin to control a +12V supply to the 'tiny RESET line, and the 4 GPIO pins attached to the 4 HVSP control lines. It's not the fastest way to program the chip (given as HVSP is custom 11-bit serial, requires 22 bytes of Bus Pirate control per byte written to the chip), but it works well enough to reset fuses and the like.
More detail as well as code to implement it can be found at:
https://metacpan.org/pod/Device::BusPir ... ::AVR_HVSP (https://metacpan.org/pod/Device::BusPirate::Chip::AVR_HVSP)