Skip to content

TinyMega/Starting-with-AtTiny3226

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt text

Getting started with AtTiny3226

This project will show you how to get started with a tinyAVR-2 processor, specifically an AtTiny3226. We will be using basic tools:

See full documentation

Project summary


Avrgcc compiler

  • Where to get the compiler
  • How to set it up

See details


Mounting a processor on a protoboard

  • Schematic diagram
  • Minimal Blink-led application
  • UPDI connector for programming
  • Example protoboard

See details


Sourcecode for Blink-led

  • Full sourcecode
  • Detailed explanation per section.

See details


Project Make file

Using an easy-to-use make script with step-by-step explanation of each section.

  • Setting macros
  • Setting compiler options
  • Compile sources to .elf
  • Extract .hex file from .elf
  • Extract assembly listing from .elf
  • Write firmware into target
  • Update fuses in target

See details


Downloading firmware into target

Using avrdude and an USB-serialport

  • Required hardware
  • How to connect
  • Using serialupdi protocol

See details


Explanation of processor fuses

  • What do they mean
  • How can you change them

See details


Who needs PROGMEM

  • PROGMEM is no longer required. No more literal strings in SRAM.
  • PROGMEM is supported and still works, but only needed for library functions that use pgm_read..() functions from <avr/pgmspace.h>

See details


About

Getting started with tinyAVR-2 AtTiny3226 using basic toolset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published