- Raspberry Pi3b+ (any pi with the new header layout and SPI will do)
- this case
- Sparkfun Raspberry Pi Shield: DEV-14747
- ISP adapters in this repo
- install OS to SD or USB: I used DietPI but you can use anything you like.
- Enable SPI:
nano /boot/config.txt
add / editdtparam=spi=on
andreboot
- install avrdude with SPI enabled following this guide
- install pigs
apt update && apt-get install pigpio
enablesudo systemctl enable --now pigpiod
- install git for git grep
apt install git
- place flash.sh in /root/ and
chmod +x /root/flash.sh
- add service
nano /etc/systemd/system/flasherdasher.service
and paste in the content of flasherdasher.service in this repo.systemctl enable --now flasherdasher
- format a USB stick in FAT32 and get the UUID with
blkid
- place the config on the USB stick and edit the UUID
- add your hex to the USB and edit the fuse bits, firmware name, lock bit and flashing speeds to your liking