Open dmosberger opened 8 years ago
You're probably going to want to submit this to the mainline avrdude project here: http://savannah.nongnu.org/projects/avrdude/
This repository contains changes for the linuxspi driver that has not yet been accepted into the mainline.
I did submit patches at Savannah:
Is there anything else I should/could do?
Strange... some of these has already been fixed in svn, while others ignored... What is the real status here???
I don't really know. We have since switched to using FTDI cables for TPI programming. See:
[patch1-4]https://savannah.nongnu.org/patch/?9327
[patch5-7]https://savannah.nongnu.org/patch/?9328
Not that these have generated a lot of feedback... ;-/
@E3V3A & @dmosberger
Thought I'd follow up - as I've been on a quest to find more information about TPI support for the USBtiny. While David's patch (8924) adding support was added, there hasn't been a new release of AVRDUDE since 2016. So those hoping to use it will need to build from source.
As noted in usbtiny.c, using TPI requires connecting MOSI and MISO with a 1k Ohm resistor although others have had success with a 330 Ohm resistor.
These commits make it possible to program ATtiny4, ATtiny5, ATtiny9 or ATTtiny10 through TPI using the linuxgpio driver (e.g., on Raspberry PI) or the usbtiny driver (e.g., with the Sparkfun Pocket AVR Programmer).