Skip to content

kashimAstro/raspberry_attiny_programmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry_attiny_programmer

ISP programming Attiny with Raspberrypi and avrdude

alt tag

dependencies
sudo apt-get install avrdude


configure avrdude
sudo vim /etc/avrdude.conf

add programmer for attiny ISP with avrdude


programmer
  id    = "AttinyGPIO";
  desc  = "Attiny GPIO interface SPI programmer";
  type  = "linuxgpio";
  reset = 17;
  sck   = 11;
  mosi  = 10;
  miso  = 9;
;

spi terminal
./tools/terminal.sh 85 AttinyGPIO

flash hex
./tools/flash.sh 85 AttinyGPIO led-arduino-mk/bin/ledtest.hex

example code arduino: led-arduino-mk
example code avr toolchain: led-avr-mk

avrdude programmer definition
http://www.nongnu.org/avrdude/user-manual/avrdude_12.html