mikroPascal PRO for AVR 2009 Main Banner

mikroPascal PRO for AVR

mikroPascal PRO for AVR is a full-featured PASCAL compiler for AVR microcontrollers from Atmel. It is designed for developing, building and debugging AVR-based embedded applications. This development environment has a wide range of features such as: easy-to-use IDE, very compact and efficient code, many hardware and software libraries, comprehensive documentation, software simulator, COFF file generation and many more. Numerous ready-to-use examples will give you a good start for your embedded projects.

  • Free updates of new compiler versions.
  • Free lifetime product technical support.
  • Over 110 AVR microcontrollers supported.
  • Wide range of hardware and software libraries.
  • Numerous ready-to-use practical examples.
  • User-friendly IDE with additional tools.
  • Easy-to-understand documentation.
  • Comprehensive, stand-alone Pascal compiler.

Download

Installation

Download Now Download mikroPascal PRO for AVR [12.74MB]
(current build v2.10)

Documentation

Release Changes Overview in v2.10

  • Additional chips supported
  • Coff file generation
  • Switch added -LHF (long hex format)
  • Switch added -PF (pass project file name to command line)
  • Switch added -CG Coff file generation
  • Message showing chip capacity when Build Project is executed
  • Option for COFF file generation
  • Sorting Procedure List by name and line number
  • Drag and drop files to Project Manager
  • Default symbol representation in Watch Window is taken from symbol definition
  • Option for choosing between short and long hex format
  • Option to always display Messages when building project
  • Legacy layout resembles the look of earlier mikroIDE versions
  • VDelay_Advanced_ms function helps to calculate delays when device clock changes at runtime

See the complete version history of mikroPascal PRO for AVR

Compiler Overview

mikroPascal PRO for AVR offers a user-friendly interface designed to get you going fast with your AVR microcontrollers. Modern and user-oriented compiler's IDE will show you that microcontroller projects can be developed in an easy and fast way. The compiler comes with numerous libraries that are completely documented and supplied with practical examples. There is also a set of tools used for collecting project information such as statistics as well as various tools for application testing.

Library Routines with Examples

mikroPascal PRO for AVR 2009 includes a set of libraries and examples intended to facilitate application development. All that allows a quick start in programming microcontrollers. Browse through the supplied examples and learn how to utilize AVR MCUs with minimum code and effort.

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
  • Conversions Library
  • C Type Library
  • String Library
  • Time Library
  • Trigon Library
  • Trigonometry Library
  • Built-in Routines

My First Program in mikroPascal PRO for AVR 2009

The following code sample includes a simple loop for performing A/D conversion on MCU PORTA and sending results to LEDs connected to PORTB and PORTC. Examine these code lines carefully in order to see how our humble example deals with A/D conversion. mikroPascal 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.

program ADC_on_LEDs;

var adc_rd : word;

begin

DDRB := 0xFF; // set PORTB as output
DDRC := 0xFF; // set PORTC as output

while (TRUE) do
begin
adc_rd := ADC_Read(2); // get ADC value from the 2nd channel
PORTB := adc_rd; // display adc_rd[7..0]
PORTC := Hi(adc_rd); // display adc_rd[9..8]
end;
end.

Technical Specification

Supported Microcontrollers

The compiler supports a wide range of microcontrollers including over 110 AVR microcontrollers. Newly released AVR microcontrollers will be supported by a new version of compiler software that is updated regularly. Here is a list of microcontrollers supported by the mikroPascal PRO for AVR compiler:

AVR Microcontroller Family
AT90CAN128 AT90CAN32 AT90CAN64 AT90PWM2 AT90PWM216 AT90PWM2B AT90PWM3 AT90PWM316
AT90PWM3B AT90S2313 AT90S2323 AT90S2343 AT90S4414 AT90S4433 AT90S4434 AT90S8515
AT90S8535 AT90USB1286 AT90USB1287 AT90USB162 AT90USB646 AT90USB647 AT90USB82 ATmega103
ATmega128 ATmega1280 ATmega1281 ATmega1284P ATmega128A ATmega16 ATmega161 ATmega162
ATmega163 ATmega164 ATmega164P ATmega164PA ATmega165 ATmega165P ATmega168 ATmega168P
ATmega169 ATmega169P ATmega16A ATmega16HVA ATmega16HVB ATmega16M1 ATmega16U4 ATmega2560
ATmega2561 ATmega32 ATmega323 ATmega324 ATmega324P ATmega324PA ATmega325 ATmega3250
ATmega3250P ATmega325P ATmega328P ATmega329 ATmega3290 ATmega3290P ATmega329P ATmega32A
ATmega32C1 ATmega32HVB ATmega32M1 ATmega32U4 ATmega32U6 ATmega406 ATmega48 ATmega48P
ATmega48PA ATmega64 ATmega640 ATmega644 ATmega644P ATmega644PA ATmega645 ATmega6450
ATmega649 ATmega6490 ATmega64A ATmega64C1 ATmega64M1 ATmega8 ATmega8515 ATmega8535
ATmega88 ATmega88P ATmega88PA ATmega8A ATmega8HVA ATtiny13 ATtiny13A ATtiny167
ATtiny22 ATtiny2313 ATtiny24 ATtiny24A ATtiny25 ATtiny26 ATtiny261 ATtiny43U
ATtiny44 ATtiny44A ATtiny45 ATtiny461 ATtiny48 ATtiny84 ATtiny85 ATtiny861
ATtiny87 ATtiny88





Technical Details

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

IDE - Integrated Development Environment

The compiler's IDE is designed to maximize programmers' productivity by providing a set of software components in the form of a single program in which all development can be done. These software components eliminate the need for installation of additional software.

IDE Features

Code Editor
Code Editor

Code Editor is a text editor used for editing source code. It features Code Assistant, Parameter Assistant, Auto Correct, Code Templates, Syntax Highlighting, etc. It is designed to satisfy the needs of both novices and experienced programmers. Due to this editor, you can easily develop your applications.

Project Manager
Project Manager

The compiler's IDE consists of an intuitive Project Manager which aims to provide a simple, but very usable development environment for all programmers' needs. The Project Manager enables you to manage multiple projects and organize your source codes easily.

Code Explorer
Code Explorer

Code Explorer enables you to list variables, functions and other program items for any file of your project. All you need to do is to click on an element and the main window will be positioned to its definition line. This feature is very useful for finding elements in long files as it lists project elements in one place.

Library Manager
Library Manager

Library Manager helps you manage different types of libraries being used in the project. You can add a desired library to the project by checking the box next to the library name.

Routine List
Routine List

Routine List displays a list of routines and enables them to be filtered by name. This feature allows programmers to search and find routines just by double clicking desired routine. This tool also saves your time by simplifying routine search especially in long source codes.

Project Settings
Project Settings

Project Settings allows you to set up your project quickly. You just have to enter data that is relevant to your project such as AVR microcontroller selection and MCU Clock frequency.

Bookmarks
Bookmarks

Bookmarks is a feature that allows you to add a bookmark to a code line in the project. Instead of navigating manually between files and through the code, you can use this feature to jump directly to the desired location. You can create many bookmarks as you want throughout your projects and quickly navigate between them.

Macros
Macros

Macros allow you to save your actions and reuse them later in your projects. This option enables you to create very complex macros which can save hours and hours of your work. Macros allow you to record the sequence of keystrokes and locators used to perform a task and reuse them later when and if required.

Messages
Messages

Messages window displays status messages for various features in the integrated development environment (IDE). It shows how the program compilation is performed as well as various responses to the project compilation and linking. It allows you to easily track down compilation errors in your project source code.

Software Simulator

The compiler includes an excellent source-level debugger that helps you troubleshoot and repair your application faster. You can debug your project with a software simulator that simulates microcontroller's operation in the compiler's IDE.

Watch Window
Watch Window

Watch Values window may be used to inspect and edit any expression, including global variables, static variables, local variables, function arguments and registers. It allows you to inspect the program and discover bugs immediately while the program is running, thus saving a lot of development time.

It is also possible to modify program items in order to test various Run-Time situations.

Breakpoints
Breakpoints

Breakpoints are temporary markers you can place in your program code to instruct the debugger where to stop the program. With breakpoints you can easily reach the part of code that is critical for debugging and testing. You just need to set a breakpoint and your project is ready for debugging.

Stopwatch
Stopwatch

Stopwatch is a debugger feature used to display a current count of cycles/time since the last debugger action occured. Stopwatch measures the execution time (number of cycles) from the moment the debugger has started and can be reset at any time.

This tool is ideal for calculating the time required for executing any part of the code. In other words, you can easily track how long it takes for each part of the code to be executed, which further helps you perform the rest of application efficiently.

Statistics

The compiler's IDE features Statistics window which shows a complete statistics for your project such as RAM Memory Usage, Used RAM Locations, SFR Locations, ROM Memory Usage, ROM Memory Constants, Functions Sorted By Name, Functions Sorted By Size, Functions Sorted By Addresses, Functions Sorted By Name Chart, Functions Sorted By Size Chart, Functions Sorted By Addresses Chart, Function Tree and Memory Summary.

Statistics Screenshots

Implemented Tools

mikroPascal for PRO for AVR includes many useful implemented tools that help you develop your applications more quickly and comfortably. These tools are designed on the basis of users' needs and practical experience in developing embedded applications.

ASCII Chart
ASCII Chart

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

EEPROM Editor Tool allows you to easily manage EEPROM of AVR microcontrollers.

UDP Communication Terminal
UDP Communication Terminal

UDP Communication Terminal is a tool for Ethernet UDP communication used to send UDP packets to a specified IP address, specified port, etc.

GLCD Bitmap Generator Tool
GLCD Bitmap Generator Tool

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

7 Segment Display Decoder
7 Segment Display Decoder

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

LCD Custom Character
LCD Custom Character

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

Screenshots

 

Ordering Information

Ordering of our products is done via 2Checkout payment gateway. If you have any problems with CC processing or you want to pay directly to our bank account please inform us:

2Checkout.com is an authorized reseller of goods and services provided by mikroElektronika

All credit card and personal details are kept secure, and our customer list is not disclosed to any third party, so you never have to worry about your credit card safety. Most shipments are sent within 48 hours of your order. Online purchasing experience of mikroElektronika products is fast, simple and secure. 2Checkout.com is an authorized reseller of goods and services provided by mikroElektronika.

  • Buy Now $199.00 USD mikroPascal PRO for AVR

Discount 20 %

Buy mikroPascal with one of our AVR development boards at 20% discount on compiler price! All of our previous customers are entitled to the discount!

  • Buy Now $149.00 USD mikroPASCAL PRO compiler for AVR with discount