High voltage serial programming for AVR chips with the Bus Pirate

2014-10-27_2012

Leonerd writes:

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 metacpan.org

Get your own handy Bus Pirate for $30, including world-wide shipping. Also available from our friendly distributors.

Join the Conversation

2 Comments

  1. I have bus pirate and I have made the circuit as described, but I’m still foggy on how to implement this module. Do I have to install something? Are the commands already on the bus pirate waiting to be used? I tried typing “$chip->start->get” into minicom and it goes to BOOTLOADER as it shows it ought to when I check “?”.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.