Download

Fully functional free Demo version of mikroBasic PRO for AVR 2009 is available for download.

Zip Icon Download mikroBasic PRO for AVR 2009 [12.7MB]
     (current build 2.10)
     Note: in Demo version, hex output is limited to 2k of program words.

Manual

Comprehensive manual for mikroBasic PRO for AVR 2009 in PDF format is available for download.

Documentation in English


Documentation in Spanish


Documentation in Swedish


Release Changes

See the complete version history of mikroBasic PRO for AVR 2009

Features

Project Manager, Code Explorer, Library Manager

Project Manager is IDE feature which allows users to manage multiple projects. Several projects which together make project group may be open at the same time. Only one of them may be active at the moment. Setting project in active mode is performed by double click on the desired project in the Project Manager.

Code Explorer allows you to easily monitor variables, functions, procedures and other program items. Clicking on the element positions the main window to its definition line - very useful for finding procedures and other elements in long units.

Library Manager enables simple handling libraries being used in a project. Library Manager window lists all libraries (extencion .mcl) which are instantly stored in the compiler Uses folder. The desirable library is added to the project by selecting check box next to the library name.

Project Manager

Project Manager is IDE
feature which allows users to manage multiple projects.

Code Explorer

Code Explorer lets you easily monitor all program items. Just double click an item and the cursor will position to it.

Library Manager

Library Manager enables simple handling libraries being used in a project.


Code Editor

mikroBasic PRO for AVR 2009 has highly adaptable Code Editor, fashioned to satisfy needs of both novice users and experienced programmers. With Editor's advanced features, developing your application becomes easy and comfortable.

Code Assistant

Code Assistant is a valuable tool, saving you time in code writing. If you type first few letters of a word and press CTRL+SPACE, all valid identifiers matching the letters you typed will be prompted in a floating panel (see the image). Now you can keep typing to narrow the choice, or you can select an item from the list.

Code Editor

Parameter Assistant

Parameter Assistant feature is invoked whenever you open a parenthesis "(" or press CTRL+SHIFT+SPACE. If you have typed a name of valid function or procedure, the expected parameters will be prompted in a floating panel. As you type the actual parameter, next expected parameter becomes highlighted.

Parameter Assistant

Auto Correct

Auto Correct feature automatically corrects your common typing mistakes. You can add your own preferences to the list of recognized typos.

Code Templates

You can insert code template by typing the name of the template (for instance, whileb), followed by CTRL+J; Code Editor automatically generates the desired code snippet. Or, you can click the button from Code Toolbar and select a template from the list. You can add your own templates to the list, with no limitations regarding the contents or size of the code.

Syntax Highlighting

You can configure Editor colors and syntax highlighting to best suit your needs - from background color to specific keywords.

Enhanced Undo/Redo Option

Code Editor lets you perform Undo/Redo option up to 1024 times, making debugging less tiresome task.

Print and Print Preview

Code Editor has an option of printing the active window in case you need your program code in paper. Print Preview feature lets you arrange layout of the page before printing.


Software Simulator

The Source-level Software Simulator is an integral component of the mikroBasic PRO for AVR 2009 environment. It is designed to simulate operations of the AVR MCUs and assist the users in debugging BASIC code written for these devices.

Breakpoints

You can manage breakpoints from the Breakpoints dialog. Double clicking an item jumps to the appropriate breakpoint line in the code.

Breakpoints

Watch Window

The Software Simulator Watch Window is the main Software Simulator window which allows you to monitor program items while simulating your program.

Watch Window

Statistics

After successful compiling, you can review detailed statistics on your code. Here are statistics tab windows:

RAM Memory Usage
RAM Memory Usage

Displays RAM memory usage in a pie-like form.

Used RAM Locations
Used RAM Locations

Displays used RAM memory locations and their names.

SFR Locations
SFR Locations

Displays list of used SFR locations.

ROM Memory Usage
ROM Memory Usage

Displays ROM memory space usage in a pie-like form.

ROM Memory Constants
ROM Memory Constants

Displays ROM memory constants and their addresses.

Functions Sorted By Name
Functions Sorted By Name

Sorts and displays functions by their addresses, symbolic names, and unique assembler names.

Functions Sorted By Size
Functions Sorted By Size

Sorts and displays functions by their size, in the ascending order.

Functions Sorted By Addresses
Functions Sorted By Addresses

Sorts and displays functions by their addresses, in the ascending order.

Functions Sorted By Name Chart
Functions Sorted By Name Chart

Sorts and displays functions by their names in a chart-like form.

Functions Sorted By Size Chart
Functions Sorted By Size Chart

Sorts and displays functions by their sizes in a chart-like form.

Functions Sorted By Addresses Chart
Functions Sorted By Addresses Chart

Sorts and displays functions by their addresses in a chart-like form.

Function Tree
Function Tree

Displays Function Tree with the relevant data for each function.

Memory Summary
Memory Summary

Displays summary of RAM and ROM memory in a pie-like form.


Implemented Tools

mikroBasic PRO for AVR 2009 includes a number of useful implemented tools to help you develop your application more quickly and comfortably.

ASCII Chart
Breakpoints

ASCII Chart is a handy tool, particularly useful when working with LCD display.

USART Terminal
USART Terminal

USART Terminal is tool for RS232 communication - baud rate control, RTS and DTR commands...

EEPROM Editor Tool
EEPROM Editor Tool

Built-in EEPROM Editor Tool allows you to easily manage EEPROM of microcontroller.

UDP Communication Terminal
UDP Communication Terminal

UDP Communication Terminal is tool for Ethernet UDP communication - Send UDP packets to specified IP address, specified port ...

Graphic LCD Bitmap Generator Tool
Graphic LCD Bitmap Generator Tool

Graphic LCD Bitmap Generator Tool is used for converting bitmap to mikroBasic compatible code.

7 Segment Display Decoder
7 Segment Display Decoder

The 7 Segment Display Decoder is a convenient visual panel which returns decimal/hex value for 7seg Display.

LCD Custom Character
LCD Custom Character

mikroBasic PRO for AVR 2009 includes the LCD Custom Character. Output is mikroBasic PRO for AVR 2009 compatible code.

Price: $149 USD  Buy Now

Buy mikroBasic PRO for AVR 2009 Buy it now and get free product lifetime support.

Buy mikroBasic with one of our AVR development boards at 30% discount on compiler price! All of our previous customers are entitled to the discount!
Discount
Cart   $99 USD   Buy Now 2Checkout

If you have any problems with CC processing or you want to pay directly to our bank account please contact us. 2Checkout.com is an authorized reseller of goods and services provided by mikroElektronika.

Screenshots


mikroBasic PRO for AVR 2009 IDE Zoom IconmikroBasic PRO for AVR 2009 IDE (click to see larger image)
  mikroBasic PRO for AVR 2009 IDE 02 Zoom IconmikroBasic PRO for AVR 2009 IDE (click to see larger image)
  Configuring IDE Zoom IconConfiguring IDE (click to see larger image)
  View Assembly Zoom IconView Assembly (click to see larger image)
  Preferences Zoom IconPreferences (click to see larger image)
 

Built-in and Library Routines with examples

mikroBasic PRO for AVR 2009 includes a set of libraries and examples intended to facilitate application development. Routines are documented in detail and allow quick start in programming microcontrollers; browse through the supplied examples and learn how to utilize AVR with minimum of code and effort.
Currently, mikroBasic PRO for AVR 2009 includes the following libraries and examples:

Hardware AVR-specific Libraries

  • ADC Library
  • CANSPI Library
  • Compact Flash Library
  • EEPROM Library
  • Flash Memory Library
  • Graphic Lcd Library
  • Keypad Library
  • Lcd Library
  • Manchester Code Library
  • Multi Media Card library
  • OneWire Library
  • Port Expander Library
  • PS/2 Library
  • PWM Library
  • PWM 16 bit Library
  • RS-485 Library
  • Software I²C Library
  • Software SPI Library
  • Software UART Library
  • Sound Library
  • SPI Library
  • SPI Ethernet Library
  • SPI Graphic Lcd Library
  • SPI Lcd Library
  • SPI Lcd8 Library
  • SPI T6963C Graphic Lcd Library
  • T6963C Graphic Lcd Library
  • TWI Library
  • UART Library

Miscellaneous Libraries

  • Button Library
  • C Type Library
  • Conversions Library
  • String Library
  • Time Library
  • Trigon Library
  • Trigonometry Library
  • Built-in Routines

My First Program in mikroBasic PRO for AVR 2009

A beginner? Worry not. Easy-to-learn BASIC syntax, advanced compiler features, built-in routines, and many practical examples we have provided allow a quick start in programming AVR. mikroBasic PRO for AVR 2009 adds even more power with an array of libraries, specialized for AVR HW modules and communications.

This is a simple 'Hello World' project. It turns on/off diodes connected to PORTA, PORTB, PORTC and PORTD. mikroBasic PRO for AVR 2009 spares you from consulting the manual for specific MCU, code adjustments for different AVR models, and address arithmetic...
Just let the compiler take care of it - simply and efficiently.

program LED_Blinking
main:
  DDRA = 0xFF         
  DDRB = 0xFF         
  DDRC = 0xFF         
  DDRD = 0xFF         

  while TRUE
    PORTA = 0x00      
    PORTB = 0xFF      
    PORTC = 0x00      
    PORTD = 0xFF      
    Delay_ms(1000)    

    PORTA = 0xFF      
    PORTB = 0x00      
    PORTC = 0xFF      
    PORTD = 0x00      
    Delay_ms(1000)     
  wend          
  
end.

Technical Details

  • Host Platforms:
    Windows® 98/2000/NT/XP/2003/Vista
  • Language Support:
    Assembly, BASIC (standard BASIC syntax; labels; procedures and functions; units; standard data types; global and local variables; procedure/function parameters)
  • Output Formats:
    Intel Hex, Assembly, Binary
  • Supported Microconrollers:
    The most of the Atmel AVR microcontrollers.
  • System Requirements:
    200 MHz Intel® Pentium® or AMD K-6® class processor or higher, Microsoft Windows® 98/2000/NT/XP/2003/Vista
    64 MB RAM
    CD-ROM drive for installation

See the complete list of supported microcontrollers

Featured AVR Development Tools


BIGAVR2

BIGAVR2 System supports 64-pin and 100-pin AVR microcontrollers (it is delivered with ATMEGA128 working at 10MHz). There is USB 2.0 on-board programmer and on-board TouchPanel controller.[more]


EasyAVR6

EasyAVR6 EasyAVR6 development system is a full-featured development board for the AVR microcontrollers. The system has fast USB 2.0 programmer and many peripherals such as: COG, Port Expander, Keypad etc. [more]

AVRprog2

AVRprog2 AVRprog2 is USB 2.0 IN-SYSTEM programmer for Atmel AVR microcontroller family. It can program all of AVR microcontrollers.[more]

UNI-DS 3 [AVR]

UNI-DS3 Universal Development system for PIC, dsPIC, PSOC, AVR, 8051 and ARM MCU. It is enough to switch the card and continue work in the same development surroundings, but with different microcontroller.[more]

Other AVR compilers


mikroPascal PRO for AVR 2009 Pascal compiler for AVR microcontrollers
Comprehensive, stand-alone Pascal compiler for AVR MCUs. Develop your applications in intuitive and friendly Pascal environment, using many advanced features and practical examples. [more]


mikroC PRO for AVR 2009 C compiler for AVR microcontrollers
All the power and flexibility provided by ANSI C, accompanied with the most advanced IDE on the market. Plenty of practical examples and a comprehensive documentation allow a quick start in programming AVR. [more]