Categories

High voltage serial programming for AVR chips with the Bus Pirate

Posted on Monday, October 27th, 2014 in AVR, Bus Pirate by DP

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.

This entry was posted on Monday, October 27th, 2014 at 12:30 pm and is filed under AVR, Bus Pirate. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “High voltage serial programming for AVR chips with the Bus Pirate”

  1. Chace says:

    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 Reply

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

Recent Comments

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please