Changes between Version 55 and Version 56 of WikiStart


Ignore:
Timestamp:
Jan 31, 2019, 3:30:24 PM (6 months ago)
Author:
dsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v55 v56  
    11=== Overview ===
    22
    3 MCUSim is a digital simulator of the 8-bit AVR microcontrollers. It is
    4 written from scratch to assist in circuit simulation, firmware debugging,
    5 testing, and signal tracing.
     3 MCUSim is a digital simulator of the 8-bit AVR microcontrollers. It is
     4 written from scratch to assist in circuit simulation, firmware debugging,
     5 testing, and signal tracing.
    66
    7 Simulator can be extended by creating models written in Lua. They may affect
    8 state of a simulated MCU in several ways, e.g. access internal registers,
    9 generate signals on its pins or terminate the whole simulation, and play
    10 roles of the significant parts of a circuit connected to the microcontroller
    11 (external EEPROM, humidity sensor, MOSFET switch).
     7 There is a configuration file "mcusim.conf" which is installed together with
     8 the "mcusim" binary and "libmsim.a" library and can be used to tweak
     9 a behavior of the simulator. It is carefully documented and the best way to
     10 prepare your own simulation is to copy mcusim.conf to a new directory, adjust
     11 the options and run mcusim. Firmware and Lua files can be placed in the same
     12 working directory to be referenced by the relative paths, for instance.
    1213
    13 There is an interactive script also to prepare a simulated MCU instance
    14 which is installed together with the simulator executable. It is particularly
    15 helpful to set up microcontroller for a firmware debugging (via remote GDB
    16 target at localhost:12750) or create a firmware test with Lua models to check
    17 conditions and parameters.
     14 Script files written in Lua can be used to represent models of the real
     15 devices during a simulation process. They may affect state of an MCU in
     16 several ways, e.g. access internal registers, generate signals on its pins or
     17 terminate the whole simulation, and play roles of the significant parts of a
     18 circuit connected to the microcontroller (external EEPROM, humidity sensor,
     19 MOSFET switch, etc).
    1820
    19 Registers of a simulated MCU can be saved into a VCD (value change dump)
    20 file and read using [http://gtkwave.sourceforge.net GTKWave] viewer.
     21 Registers of a simulated MCU can be saved into a VCD (value change dump)
     22 file and read using GTKWave viewer.
    2123
    2224=== Release version ===