Git Product home page Git Product logo

tiny0's Introduction

Version: 1.0 Release Build License: GPL v3

ATTiny 0/1/2 series peripheral libraries

This project includes some easy to use libraries. They can be found in the library directory. They are designed for the ATTiny 0/1/2 series for fast initializing system clock/twi/uart/spi/analog hardware parts of the ATTiny controllers. Every library has a main.c where a description how to use the library can be found.


UPDI Programming with avr-dude

Serial-UPDI Hardware

For Programming the device with serialupdi a USB/UART bridge is necessary and a simple adapter pcb.

USB/UART Bridge from RS-Components

UPDI Adapter bottom

Top Bottom
UPDI Adapter top UPDI Adapter bottom

UPDI programming (over USB/UART) with Microchip Studio

Download Avr Dude avrdude-v?.?-windows-x64.zip and Microchip Studio 7

Copy avr-dude to a preferred path (e.g. C:\Tools\avrdude) and setup external tools in Microchip Studio 7.

External Tools in Microchip Studio

Setup AVR Dude in Microchip Studio

# Title
AVR Dude t1606 FLASH
# Command
C:\Tools\avrdude\avrdude.exe
# Arguments                      !PORT!
-c serialupdi -p t1606 -b 57600 -P COM? -U flash:w:"$(TargetDir)$(TargetName).hex":a -v

# Arguments
# Title
AVR Dude t1606 FLASH + EEPROM
# Command
C:\Tools\avrdude\avrdude.exe
# Arguments                      !PORT!
-c serialupdi -p t1606 -b 57600 -P COM? -U flash:w:"$(TargetDir)$(TargetName).hex":a -U eeprom:w:"$(TargetDir)$(TargetName).eep":a -v

# Arguments

Important: It is necessary to setup the right COM-Port!

Windows Hardware Manager

Now projects can be programmed with avr-dude and serialupdi after the project was built.

Windows Hardware Manager


Software

Additional software that needs to be installed:


R. GAECHTER

tiny0's People

Contributors

0x007e avatar

Watchers

 avatar

Forkers

htl-rankweil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.