MCUSim

Simulator for microcontrollers

Stable versionN/A
Current versionN/A
Download N/A

Supported MCUs

  • AVR
    • ATmega8A (mcusim/avr/sim/simm8a.h)
    • ATmega328P (mcusim/avr/sim/simm328p.h)
    • ATmega328 (mcusim/avr/sim/simm328.h)
    • ATmega2560 (mcusim/avr/sim/simm2560.h)

Mailing Lists

Build

  • Make sure you have installed CMake build system version 3.2 or above. It is used to prepare makefiles (or other build files) for many platforms and environments. Installed version can be checked by a command running in your terminal: $ cmake --version
  • ANSI C compiler
  • If you have all of these programs above installed: $ tar xvf mcusim-1.0.0.tar.gz
    $ cd mcusim-1.0.0
    $ mkdir out
    $ cd out
    $ cmake ..
    $ make

Roadmap

  • AVR
    • [ ? ]  CPU: AVR, AVRe, AVRxm (without DES), AVRxt, AVRrc
    • [ x ]  Register File, I/O Registers, Internal SRAM
    • [ ]  Interrupts, internal and external
    • [ ? ]  Boot Loader
    • [ ]  EEPROM
    • [ ]  MCUs with 22-bit PC
    • [ ]  8-bit Timers/Counters
    • [ ]  16-bit Timers/Counters
  • Ideas
    • [ ]  Simulation of the AVR-based schematic using SPICE, maybe
    • [ ]  Support other popular MCUs (PIC by Microchip, 16-bit and 32-bit MCUs by Texas Instruments)
Fork me on Github