Atman AVR kick start
Atman AVR is integrated c/C++ compiler IDE for Atmel AVR microcontrollers. AtmanAvr C development environment includes ProjectWizard, CodeWizard, Workspace, Output, Text editor, Binary editor, Debugger. The compiler itself is GCC compiler for AVR. The only thing that makes it commercial is the integrated environment:
ProjectWizard - lets you customize project through series dialogs and then it generates initial code automatically;
CodeWizard – helps in programming routine tasks like creating new modules, adding functions navigating;
Advanced workspace where you can find File View, Class View and I/O View and many more.
If you would like to try this IDE you may download AtmanAvr C IDE from manufacturers site http://www.atmanecl.com.
Bellow is a Atman AVR kick start guide with some screenshots:

In the “Project Name” enter the name of your project. Also select where your project will be located. From tab “Projects” select one type of projects:
AVR C Wizard(boot) – Bootloader project using C;
AVR C Wizard(exe) – standard C program – usually this is the choice for your projects;
AVR C Wizard(lib) – wizard for library creation using C;
AVR C++ Wizard(boot) – Bootloader project using C++;
AVR C++ Wizard(exe) – standard C++ program;
Blank – Empty projects without wizard;
Select AVR C Wizard(exe) and press OK.

Let’s say we selected Atmega8 chip and press Next. Ports settings window opens. There you may set ports pins as inputs or outputs and initial values of port registers. There is also ability to select PullUp or leave High-Z for the pins:


Next setting is for external interrupts. There you can enable external interrupts and select the interrupt mode (falling edge, rising edge or high or low value):

5th step of wizard is ADC settings. There you can enable ADC on your AVR microcontroller, select features like Noise canceling interrupt or free running modes…set ADC clock and voltage reference:

Next goes analog comparator settings. You may enable analog comparator and interrupt on match and other features:

7th step of Atman AVR initial wizard is SPI settings. You may set interrupt, clock rate, working mode: slave or master, double speed, clock phase and data order: first LSB or MSB:

Next goes UART settings. There you may set settings for transmitter and receiver. You can select interrupt modes, synchronous or asynchronous operation, parity check, stops bits, Baud rate and character size:

Next setting is I2C or TWI interface settings. Enable it if you are going to use it. There is also interrupt mode select, ACK generation select, Bit rate prescaller, bit rate register value, SCL frequency select:

And the last step in wizard is LCD. If your project is going to use LCD, then you can choose connection settings for it. When you select LCD port, you can see how to connect LCD to AVR in order properly to use built in library.

You may come back to any step and correct any settings before you press Finish.
After you press Finish the initial code is generated and files needed are added to project:

Depending on settings in wizard there might be files included for ADC support, TWI, SPI, interrupt. In main file there is also included some initial code just insert your needed code and compile by pressing “Build->Build”. If compilation is successful then in project directory hex file will appear which is ready to burn into microcontroller.
Original article from: avr.h15.ru
Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post | TrackBack URI for this post
New on WinAVR Tutorial
Running TX433 and RX433 RF modules with AVR microcontrollers,Sometimes in embedded design you may want to go wireless. Might be you will want to log various readi …Programming AVR ADC module with WinAVR,Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solut … |
New on WinARM Tutorial
What are differences between WinARM and WinAVR,Everyone who is working with AVR microcontrollers knows this powerful tool – WinAVR (http://win …LPC2000 watchdog timer,As in all microcontrollers watchdog timers purpose isto reset microcontroller after reasonable amount … |
