Posted on Wednesday, August 10th, 2011 in AVR, code, open source by the machinegeek

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 on Wednesday, August 10th, 2011 at 7:31 pm and is filed under AVR, code, open source. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “SimulAVR”

  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 Reply

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

Recent Comments