Home => Gerd's AVR simulator    (Diese Seite in Deutsch: Flag DE) Logo

Avr_Sim-Logo

Gerd's AVR simulator

AVR assembler simulator for the stepwise execution of assembler source code - with many extras. Click here if you hate simulators.

Description Download Statistics

1 Description

  1. Simple handling, no extended learning phase required,
  2. Works under Windows and Linux, 64-bit executables downloadable,
  3. Lazarus-Pascal source code available for free for own modifications,
  4. Fast and comfortable start of new assembler projects, fills in standard text frames for structured source code in a short or in a comprehensive format, for linear as well as for interrupt-oriented programs,

    New project

    Comprehensive source code Interrupt vectors source code Left the comprehensive version, rright with interrupt vectors.

    Short version source code A short version without any extras is also available.
  5. From Version 1.8 on a comfortable device selector is on board, that allows to select AVRs (types and packages) by selectable hardware requirements,

    AVR device selector

  6. Editor for modifying of the assembler source code with several helpful features,

    Editor help Editor

  7. The editor, from version 1.7 on, has a syntax highlighter which provides multiple opportunities for its configuration:

    Adjusting syntax highlighting Syntax highlighting

  8. Forgot the mnemonic of an instruction in AVR assembler, forgot how many clock cycles it needs or which flags are affected? No problem in avr_sim. From Version 2.1 on an instruction list comes up and you can search and find what you need,

    Instruction list

  9. Display of header symbols, ports and interrupts of the applied AVR type,

    Port view

  10. Display of the hardware configuration for PDIP-/SOIC- and QFN-packages,

    Device view

  11. Insert the hardware into the source code by simply typing F2:

    Hardware as ASCII, PDIP Hardware as ASCII, TQFN
  12. Internal assembler gavrasm for quick modification and assembling of code,

    gavrasm assembler

  13. Comfortable setting and clearing of breakpoints, storing and loading of breakpoints,

    Editor for breakpoint administration

  14. From version 2.3 on: Scan- and alarm function: counts, beeps and/or stops if a register or a register pair, a portregister or a portregister pair, a SRAM location or a SRAM pair is written, written with a preselected value or read,

    Scan- and alarm funktion

  15. Control of the simulation in a simulator window,

    Simulation

  16. Simple overview over I/O ports and timers,

    Port/Timer view

  17. Display of SRAM content,

    SRAM view

  18. Display of EEPROM content as well as correct Write and Read operations,

    EEPROM view

  19. Display and simulation of the watchdog timer,

    Watchdog timer

  20. Display, simulation and manipulation of AD conversion channels of the device including a comfortable tool to design a 12/16 key input field with a resistor matrix as voltage input to ADC channels,

    ADC and resistor matrix

  21. Configurable four-channel scope for displaying polarity changes on output compare pins or on any available I/O pin of the device,

    Scope Output Compare Scope I/O pin

  22. Scope display for R/2R analog values on ports with configurable resolution and in up to four different channels simultanously in selectable colors.

    Scope analog values Multiple channel scope
  23. Scope display of internal Digital-to-Analog converters for those AVR types that have these available.

    DAC values on the scope
  24. You need a short view some hundred lines above in your code? Just open a new codeview window, your editor is not affected by this.
  25. Simple and fast display of decimals in registers - place the mouse over the register and you'll get what you need!
Description Download Statistics


2 Download

2.1 The latest version

Version 2.4 of the software adds a codeview window, and fixes minor bugs in simulation (see the chapter "Changes" in the handbook).

2.2 Lazarus Pascal source code

The source code is written in Pascal and compiles with Lazarus. A Windows and Linux version of the source code are provided.

2.3 Executables

Executable 64-bit versions are available for Windows and for Linux. The Windows executable is available in a short version and in a debug version (with range checking features enabled). If you need executable versions for other operating systems, compile the source code with Lazarus. The handbook describes how to do that.

2.4 Handbook for use

The handbooks for the different versions are available in English and in German language. It holds relevant information for installing avr_sim, for compiling of the program with Lazarus and describes all features provided.

A brief description of the software internals of avr_sim has been added.

2.5 All available versions

Known errors in the current version are described here.

VersionPublication date Executables Source codeHandbooksDescription
Win64Win64-DebugLin64WindowsLinux ENDEEN only
2.426.07.2021 Link Link Link Link Link Link Link (See version 2.3)
2.305.01.2021 Link Link Link Link Link Link Link Link
2.205.07.2020 Link Link Link Link Link Link Link (see V2.1)

2.6 Older Versions not available any more

VersionDate
2.126.06.2020
2.002.04.2020
1.927.02.2020
1.820.11.2019
1.727.10.2019
1.618.07.2019
1.525.03.2019
1.428.12.2018
1.329.09.2018
1.204.07.2018
1.112.06.2018
1.026.03.2018
0.927.02.2018
0.814.02.2018
0.727.12.2017
0.605.12.2017
0.520.11.2017
0.410.11.2017
0.303.11.2017
0.2a27.10.2017
0.224.10.2017
0.114.10.2017


Description Download Statistics


3 Error reports

Due to the enormeous complexity of the task (the devellopment of the AVRs took two decades and the internals of an AT90S1200 differ widely from those of an ATtiny814 or an ATmega324) it cannot be avoided that there are still bugs and missing features in that software. It would overstrain me to test more than 100 AVR types and their more than a douzend hardware features. If you find errors or you miss features of a certain type, please send me a note (if possible including source code), my email address is on the title page of the handbooks. I'd like to repair those errors as I have enough time to do that (I am retired). In that way I can improve the software. Thanks for each hint ...

3.1 Known errors

None so far.

4 Statistics

4.1 Monthly accesses

This shows the monthly accesses to the avr_sim website and the downloads of Linux- and Windows-files. It seems that the handbooks are useful.

Monthly accesses

4.2 Accesses by versions

This shows the accesses to the different versions of avr_sim. New releases come every three to four monthes.

Accesses by versions

4.3 Accesses by executables vs. sources

The share of self-compilators among the total downloads is high.

Executables vs. source code


To the top of page Description Download Statistics


5 Links to uses and users of avr_sim

The following internal webpages use avr_sim: Anthony Peck has used avr_sim to follow his generation of random numbers with an ATtiny13 in his blog, associated with a video demonstrating the calculation process.

Please send more application reports on avr_sim to gavrasm (at) avr-asm-tutorial.net.

To the top of page Description Download Statistics


©2017 - 2021 by http://www.avr-asm-tutorial.net