1SIMULAVR(1) User Commands SIMULAVR(1)
2
3
4
6 simulavr - Atmel AVR simulator
7
9 simulavr [OPTIONS]... -d DEVICE [IMAGE]
10
12 Simulate an avr device. The optional IMAGE file is loaded into the
13 flash program memory space of the device.
14
15 Options
16 -h, --help
17 Show this message
18
19 -D, --debug
20 Debug instruction output
21
22 -v, --version
23 Print out the version number and exit
24
25 -g, --gdbserver
26 Run as a gdbserver process
27
28 -G, --gdb-debug
29 Print out debug messages for gdbserver
30
31 -p, --port <port>
32 Listen for gdb connection on TCP port
33
34 -d, --device <dev>
35 Specify device type
36
37 -e, --eeprom-image <img>
38 Specify an eeprom image file
39
40 -E, --eeprom-type <type>
41 Specify the type of the eeprom image file
42
43 -F, --flash-type <type>
44 Specify the type of the flash image file
45
46 -L, --list-devices
47 Print supported devices to stdout and exit
48
49 -P, --disp-prog <prog>
50 Display register and memory info with prog
51
52 -X, --without-xterm
53 Don't start disp prog in an xterm
54
55 -C, --core-dump
56 Dump a core memory image to file on exit
57
58 -c, --clock-freq <freq>
59 Set the simulated mcu clock freqency (in Hz)
60
61 -B, --breakpoint <addr>
62 Set a breakpoint (address is a byte address)
63
64 If the image file types for eeprom or flash images are not given, the
65 default file type is binary.
66
67 If you wish to run the simulator in gdbserver mode, you do not have to
68 specify a flash-image file since the program can be loaded from gdb via
69 the `load` command.
70
71 If '--port' option is given, and '--gdbserver' is not, port is ignored
72
73 If running in gdbserver mode and port is not specified, a default port
74 of 1212 is used.
75
76 If using the '--breakpoint' option, note the simulator will terminate
77 when the address is hit if you are not running in gdbserver mode. This
78 feature not intended for use in gdbserver mode. It is really intended
79 for testing the simulator itself, but may be useful for testing avr
80 programs too.
81
82 Currently available device types:
83 Use the '--list-devices' option to obtain the list your version of sim‐
84 ulavr supports.
85
86 at90s1200
87 at90s2313
88 at90s4414
89 at90s8515
90 atmega8
91 atmega16
92 atmega32
93 atmega103
94 atmega128
95 at43usb351
96 at43usb353
97 at43usb355
98 at43usb320
99 at43usb324
100 at43usb325
101 at43usb326
102
104 Written by Theodore A. Roth.
105
107 Report bugs to <simulavr-devel@nongnu.org>
108
110 Copyright 2001, 2002, 2003 Theodore A. Roth.
111
112 simulavr is free software, covered by the GNU General Public License,
113 and you are welcome to change it and/or distribute copies of it under
114 the conditions of the GNU General Public License.
115
117 http://savannah.nongnu.org/projects/simulavr/
118
119
120
121simulavr 0.1.2.6 @DATE@ SIMULAVR(1)