Mind's Forge |
Notes »
Programming the ATtiny10Programming ATtiny10 with USBASP and avrdudeNotes on programming a small (SOT-23-6) and cheap (44-46 cents at qty 1) microcontroller, the Microchip ATtiny10 in a Linux environment using C and a USBASP programmer. The ATtiny series uses TPI (Tiny Programming Interface) instead of ISP (In System Programming) so I couldn't use my Adafruit ISP programmer. These videos helped a lot: Connecting to the USBASP and Compiling and uploading Compile with avr-gcc:
Upload with avrdude:
This code showed me how to enable the PWM. Reference LinksProgramming ATtiny10 with HVSP (High Voltage Serial Programming)I've been working on a project that expanded to use all four pins of the ATtiny10. One of the pins is the reset (RST) pin which can only be used as a (weak) GPIO if you program using 12vdc. Here are my notes trying to figure that out. Reference Links
|
Page last modified on September 16, 2023, at 08:09 pm |