in AVR, code, open source by the machinegeek | 2 comments

SimulAVR is an open source simulator for AVR 8-bit Attiny and ATmega microcontrollers.

SimulAVR can be used either standalone or as a remote target for avr-gdb. When used in gdbserver mode, the simulator is used as a back-end so that avr-gdb can be used as a source level debugger for AVR programs.

The core of SimulAVR is functionally a library. This library is linked together with a command-line interface to create a command-line program. It is also linked together with interpreter interfaces to create libraries that can be used by a interpreter language (currently Python / TCL).

The latest version 1.2.7 can be downloaded in tar.gz from the site. For SimulAVR documentation and information on other downloads can be found on the project’s webpage.

This entry was posted in AVR, code, open source and tagged , , .


  1. Drone says:

    SimulAVR has been around for quite awhile, and is somewhat coupled with the now seemingly dead-end WinAVR suite. It is interesting in that there is seemingly an LCD device associated with it. I have little experience with SimulAVR since the toolchain thread and marriage with WinAVR seem to be coming to a dead end. Awhile back I looked at SimulAVR to see if it would work with USB enabled ATMEL uC’s, it seems this is still not possible. Also if memory serves, SimulAVR is limited to eight-bit I/O and all instructions with one clock cycle (a strong point for ATMEL, but not all instructions are one clock per instruction).

    SimulAVR seems to still be Windows averse (even under Cygwin). While AVR-Studio does seem to work only in Unix/Linux/BSD environs under Windows emulations or perhaps VM’s.

    In terms of bit-wise time-accurate simulation for a wide range of ATMEL devices, please do not discount ATMEL’s AVR-Studio native simulator!

    FWIW – I just post this info from memory; maybe this post will motivate others to reply with better and more up-to-date info on the AVR simulation scene.

    Best Regards, David

  2. WestfW says:

    I had also been under the impression that SimulAVR was essentially abandoned; it’s nice to see recent activity (and apparently, an updated list of supported processors! Perhaps Arduino simulation will get somewhere.)

    WinAVR is also apparently revived/continued. See

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.