Current version: 0.1.77
Download: tar.gz, zip

Main purpose of MCUSim is to reproduce microcontroller unit (MCU) within electronic circuit. It is achieved by decoding opcodes and maintaining state of MCU within a program and substituting peripherals (sensors, external RAM, etc.) using external modules written in Lua.

Goal of the project is to simplify firmware debugging of a real hardware when not all of its components are available, affordable or easy to set up and run.

Starting Points for Users

Starting Points for Programmers

MCUSim Manual

  1. Preface
  2. Getting Started
    1. General Notes
    2. Install from sources
    3. Simulation example - ATmega8A and Fast PWM (Timer/Counter2)
    4. Simulation example - ATmega8A and Phase Correct PWM (Timer/Counter2)
  3. MCUSim Internals
    1. Main AVR simulation loop
    2. How to add a new AVR microcontroller
Last modified 3 weeks ago Last modified on Jun 25, 2018, 2:35:54 PM