SIMAVR(1) | User Commands | SIMAVR(1) |
simavr - lean and mean AVR simulator
simavr [OPTION]... [FILE]
Execute AVR firmware, produce VCD waveform files and/or run a debugging session. Specify simulation parameters directly in the emulated code using .elf section or by passing command line arguments.
For more complex virtual circuitry prototyping and simulation see AVR simulator development examples and documentation.
FILE is an elf or ihex formatted executable firmware, assuming filename extension .hex for ihex files.
AVR GDB DEBUGGING
Run the AVR firmware simulation:
start avr-gdb and optionally enable tui for better source code readability:
load the elf formatted firmware and connect to the running simulation:
set a break point and go ahead, debug:
This manual page was written by Milan Kupcevic <milan@debian.org> for the Debian project. Permission is granted to copy, redistribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
April 2018 | AVR simulator |