This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
atmel [2007/01/02 22:29] – herman | atmel [2007/01/03 00:31] – herman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Handy annotated overview of AVR devices at [[http:// | ||
- | Local electronics store: [[http:// | ||
- | |||
- | Error and fix in AVR Studio [[http:// | ||
- | |||
- | Perhaps a little lame [[http:// | ||
- | |||
- | ====== Ports ====== | ||
- | Help on using ports on [[http:// | ||
- | |||
- | Other (more interesting? | ||
- | |||
- | Tree memory locations for each port: | ||
- | * PORTx Data register (input 1: pullup, input 0: no pullup-> | ||
- | * DDRx Data direction register (1: output, 0: input) | ||
- | * PINx Port input pins | ||
- | ===== BIT manipulation in C ===== | ||
- | * ~ means invert int -> ~_bv(5) means 11101111 not 00010000 | ||
- | * &= means bitwise AND | ||
- | * |= means bitwise OR | ||
- | * ^= means bitwise XOR | ||
- | |||
- | ====== Soft USB & Soft UART ====== | ||
- | * SPI as half-duplex uart is mentioned in application notes AVR304, AVR305, AVR307 | ||
- | * USB Without USB chip: [[http:// | ||
- | * Soft uart without rx interrupt: [[http:// | ||
- | |||
- | ====== UART ====== | ||
- | I currently use [[http:// | ||
- | |||
- | Helps: ASCII [[http:// | ||
- | |||
- | ====== Attiny13 specific ====== | ||
- | |||
- | * [[http:// | ||
- | * [[http:// | ||
- | |||
- | ====== Reference documentation ====== | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | |||
- | * [[http:// | ||
- | |||
- | ====== Interrupts ====== | ||
- | All soft uart implementations use interrupts in one way or the other (timer and/or external). To understand them I'd like to test some more. | ||
- | * [[http:// | ||
- | |||
- | ====== Programmer ====== | ||
- | |||
- | ===== Succes! ===== | ||
- | Next try, inspired by [[http:// | ||
- | |||
- | Programmer [[http:// | ||
- | |||
- | *SUCCES* :-) | ||
- | ===== Failure :( ===== | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | |||
- | I'm having problems with both of the above :( | ||
- | |||
- | ====== AVR development on Windows ====== | ||
- | Helpful guide to installing eclipse with AVR support. | ||
- | * http:// | ||
- | |||
- | ====== AVR development on Kubuntu: ====== | ||
- | yuy, Ubuntu has packages for all required parts :) | ||
- | |||
- | * avrdude | ||
- | * avrdude-doc | ||
- | * binutils-avr | ||
- | * uisp | ||
- | |||
- | * make | ||
- | * avr-libc | ||
- | * gcc-avr | ||
- | |||
- | ====== Pinout ====== | ||
- | For quick reference\\ | ||
- | Atmega8\\ | ||
- | {{: | ||
- | |||
- | Attiny13\\ | ||
- | {{: |