Version 48 (modified by 14 months ago) (diff) | ,
---|
Overview
MCUSim is a digital simulator of the 8-bit AVR microcontrollers. It is written from scratch to assist in circuit simulation, firmware debugging, testing, and signal tracing.
Simulator can be extended by creating models written in Lua. They may affect state of a simulated MCU in several ways, e.g. access internal registers, generate signals on its pins or terminate the whole simulation, and play roles of the significant parts of a circuit connected to the microcontroller (external EEPROM, humidity sensor, MOSFET switch).
There is an interactive script also to prepare a simulated MCU instance which is installed together with the simulator executable. It is particularly helpful to set up microcontroller for a firmware debugging (via remote GDB target at localhost:12750) or create a firmware test with Lua models to check conditions and parameters.
Registers of a simulated MCU can be saved into a VCD (value change dump) file and read using GTKWave viewer.
Release version
Tarball with sources: N/A
ZIP archive with sources: N/A
Current version
Tarball with sources: mcusim-0.1.92.tar.gz, mcusim-0.1.92.tar.gz.sha1
ZIP archive with sources: mcusim-0.1.92.zip, mcusim-0.1.92.zip.sha1
Useful links
MCUSim tips and guides
Attachments (2)
- ngspice-simulation.png (72.3 KB) - added by 8 months ago.
- ngspice-simulation_macos.png (50.9 KB) - added by 8 months ago.
Download all attachments as: .zip