AVR Resources

AVR uC related Posts on this BLOG: http://zaidpirwani.com/category/avr/

The text BELOW was written about a year ago a LONG TIME AGO (in a Galaxy far far away…) for a friend and some of the stuff will probably be is outdated, I have however copied it here as some of it is still useful. I will TRY to update this and add to it.

I have been working on AVRs for a while, specifically ATMega series. Please find below some of the links and stuff relevant to AVRs.

AVR Sites:

  • AVR Freaks: http://avrfreaks.net
    It is a great forum
  • ATMEL: http://atmel.com
    — Application Notes and Datasheets have been EXTREMELY useful, most APPLICATION NOTES have accompanying code, circuit diagrams and libraries etc.

AVR Software:

  • AVR Studio
    — FREE
    — V4.0 is OLD but is MUCH simpler and easy to use with NOT-so-many-features
    — V5.0 has recently been released as final version, setup is about 5 times bigger than the V4.0, has TOO-MANY-FEATURES… GUI is similar to Visual Studio, and with proper CODE-COLORING etc… I suggest you start work from this since you have not used either.
    — Both Assembly and C (Requires WinAVR)
    — This is Recommended.
    LINK: http://www.atmel.com/avrstudio
  • Bacom AVR
    — A BASIC language compilor for AVR, but code of this will NOT compile anywhere else, HAS LIBRARIES you can use.
    — I have NOT used this one.
    — PRODUCT LINK: http://www.mcselec.com/index.php?option=com_content&task=view&id=14&Itemid=41
  • CodeVisionAVR
    — A C compilor, but somewhat easier syntax for easy manipulation of SINGLE bits and other things….
    — COMMERCIAL, from HP, apparently….
    — This has a great Wizard which will help you in getting a START code automatically generated – USE THIS AUTO GENERATED CODE INITIALLY, if you are having trouble setting register values for timers, interrupts etc.
    — This also provides method for selecting individual pins like in Keil uVision (I have not used it, so please see the examples)
    — PRODUCT LINK: http://www.hpinfotech.ro/html/cvavr.htm
  • MikroC for AVR
    — C Language + Assembly….
    — This is a GREAT software, has similar packages for PIC, 8051, etc… HUGE selection of LIBRARIES and EXAMPLES
    — RECOMMENDED, I myself intend to use it…. it will be useful to transfer code from AVR to PIC to 8051 and back….
    — PRODUCT LINK: http://www.mikroe.com/eng/products/view/228/mikroc-pro-for-avr/
  • Proteus
    — Circuit Design Software, can simulate AVR, PIC, 8051 etc and other controllers and has many other features, code examples, etc… Can make virtual COM(USB/ETHERNET)-PORTS which can interface with PC Software and provide as real simulation as possible.
    — Has PCB Design etc tools too… good and professional grade.
    PRODUCT LINK: http://www.labcenter.com/products/vsm_overview.cfm

AVR Programmers

  • Parallel Port Programmer
    — Very Simple, requires the software ISPprog, a parallel port is needed (Win7 is a problem)
    — http://www.qsl.net/ba1fb/avrisp.gif
  • Serial Port Programmer
    — I have not used this
  • USB Programmer
    — USBASP is a GREAT USB AVR Programmer, can also provide power for the AVR Board in use and THIS GREATLY REDUCED THE TIME IT TOOK FOR ME TO GO FROM IDEA TO WORKING PROTOTYPE.
    — http://www.fischl.de/usbasp/
  • JTAG Programmer/DEBUGGER
    — JTAGICE clones are available, I have bought one (from ABDUL MALIK KHAN, a IIEE Graduate), it is GREAT in debugging programs.
    — I have however made copies of AQUATICUS JTAG CLONE TOO for a couple of friends.
    — Will allow you to directly burn, run and debug programs from within AVR STUDIO, and the AVR STUDIO will show the REGISTER DATA in real-time and you can TRACE through one command at a time..
    — Serial Port is required
    — USE  a USB-SERIAL Converter if you dont have serial port.
    PRODUCT LINK: www.atmel.com/atmel/acrobat/doc2475.pdf
    CLONE LINK: http://aquaticus.info/jtag


There are other programmers as well for AVR but I have not tried any other except the Parallel Port programmer and the JTAGICE which I had bought recently.

As for my preferences, I have been consulting the Datasheets, Application Notes and the AVR Freaks forum only.

I use AVR Studio with WinAVR and do all my programming in C, sometimes in Assembly as well.

As for the PORT and PIN control, I use C Bitvise Operators and Logical Operators, I am compiling some code to send to you.


comment bhi kar hi dain.. :P

This site uses Akismet to reduce spam. Learn how your comment data is processed.