Author Topic: avr5hat - OSHW, Pi hat to program up to 5 AVR's at once  (Read 12393 times)

0 Members and 1 Guest are viewing this topic.

Offline joeyjoejoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: ca
avr5hat - OSHW, Pi hat to program up to 5 AVR's at once
« on: April 23, 2023, 10:23:45 pm »
https://github.com/gcormier/avr5hat

AVR1 is hardware SPI, the rest are bit-bang, but I have not seen any difference in performance to be honest.

I'm only programming low power boards, so sourcing from the Pi is not an issue. According to the Pi, the 5V is directly from the USB connector, so you can source up to the max your USB supply allows. Jumpers could be easily added.
 

Offline mjj

  • Contributor
  • Posts: 20
  • Country: gb
Re: avr5hat - OSHW, Pi hat to program up to 5 AVR's at once
« Reply #1 on: April 25, 2023, 07:00:23 pm »
This looks very handy. Do you know what happens if there is a problem programming one of the devices?
 

Offline joeyjoejoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: ca
Re: avr5hat - OSHW, Pi hat to program up to 5 AVR's at once
« Reply #2 on: April 25, 2023, 07:46:59 pm »
It would be the same as a regular AVRISP, so you could catch the errors if you wanted and act accordingly. The extra GPIO pins could also be used if needed.

I use them to determine when a board has been inserted to start the programming process. My target board has pads shorted together - when avr5hat sees a pull-up GPIO shorted to ground, it starts programming.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf