SparkFun Pi AVR Programmer HAT
A shield for Raspberry Pi 2, used for programming AVR ICs. Includes capsense pad to engage, 2x3 ISP header for connectivity and status LEDs.
- Hookup Guide - Basic hookup guide for the Pi AVR Programmer Hat.
- Raspberry Pi Stand-Alone Programmer - more information about the prototype can be found in the article.
This project originated from Adafruits tutorial here:
This shield makes it a bit easier to program AVRs with a headless Raspberry Pi.
This repo also contains some other useful files:
RCLOCAL - calls /home/pi/test.py and ensure that this python module will run automatically at boot up (useful when running headless)
AVRDUDE config file - sets the GPIO used for programming (in avrdude) to work with the shield design. It's located at the very end of this file.
test.py - the python module that is auto called during bootup. This also listens to the capsense IC and engages programming when p ressed.
Note: test.py called pi_program.sh to actually begin programming.
Note: test.py also checks for MEDIA drives plugged into the USB ports of the Raspi. If there is a HEX file on the MEDIA drive (any name, it just has to have the ".hex" extension) it will copy it in and use that for programming.
KEYWORDS: RASPI PROGRAMMER
- USB port issues. If you are having trouble with com port enumeration. That is, you are plugging in something like an FTDI serial basic, and the Raspi will not recognize it. This may be fixed by using one of SparkFun Cerberus USB hub cables. We found that after plugging in 20+ FTDI basics into a pi, then it stops recognizing the devices. But if you use a hub (like the cerberus) inbetween the pi USB and the serial bridge IC, then it always pops up as "/dev/ttyUSB0" for 1000s of boards in a row. Wahoo!
This product is open source!
Please review the LICENSE.md file for license information.
If you have any questions or concerns on licensing, please contact email@example.com.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.