1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
|
.TH UCSIM 1
.SH NAME
uCsim \- Micro\-controller simulator
.SH SYNOPSIS
.B ucsim_i8051
.br
.B ucsim_51
.br
.B ucsim_xa
.br
.B ucsim_z80
.br
.B ucsim_tlcs
.br
.B ucsim_rxk
.br
.B ucsim_i8085
.br
.B ucsim_avr
.br
.B ucsim_pdk
.br
.B ucsim_st7
.br
.B ucsim_stm8
.br
.B ucsim_p1516
.br
.B ucsim_m6800
.br
.B ucsim_m6809
.br
.B ucsim_m68hc08
.br
.B ucsim_m68hc11
.br
.B ucsim_m68hc12
.br
.B ucsim_mos6502
.br
.B ucsim_plaze
.br
.B ucsim_f8
.br
.B ucsim_oisc
.br
.RS
.B \-a nr
.B \-b
.B \-B
.B \-c file
.B \-C cfg_file
.B \-e command
.B \-E
.B \-g
.B \-G
.B \-h
.B \-H
.B \-I options
.B \-k portnum
.B \-l
.B \-o colors
.B \-p prompt
.B \-P
.B \-R seed
.B \-s file
.B \-S options
.B \-t cpu_type
.B \-U uartnr
.B \-u hw
.B \-v
.B \-V
.B \-w
.B \-X freq[k|M]
.B \-z portnum
.B \-Z portnum
.RE
.SH DESCRIPTION
uCsim is a microcontroller, microprocessor simulator for several
processor families. It can be started as
.B ucsim_XXXX
command, where XXXX specifies the simulated processor type. Eg.
.I ucsim_51
starts Intel MCS51 microcontroller simulator,
.I ucsim_z80
starts Zilog Z80 microprocessor simulator, etc.
.SH OPTIONS
.B Options of the command
.TP
.B \-a nr
Specify size of variable space (default=256).
.TP
.B \-b
Black & white (non-color) theme.
.TP
.B \-B
Beep on breakpoints.
.TP
.B \-c file
Open command console on
.I file
(use \- for std in/out).
.TP
.B \-C file
Read initial commands from
.I file
and execute them.
.TP
.B \-e command
Execute
.I command
at program startup (before config file).
.TP
.B \-E
Go, start simulation in emulation mode.
.TP
.B \-g
Go, start simulation.
.TP
.B \-G
Go, start simulation, quit on stop.
.TP
.B \-h
Print out this help and quit.
.TP
.B \-H
Print out types of known CPUs and quit.
.TP
.B \-I options
.I options
is a comma separated list of options according to simulator
interface. Known options are:
.br
.I if=memory[address]
turn on interface on given memory location.
.br
.I in=file
specify input file for IO.
.br
.I out=file
specify output file for IO.
.PP
.TP
.B \-k portnum
Use
.I localhost:portnum
for serial I/O. This option is obsolete, use \-S instead.
.TP
.B \-l
Use colors of the light theme (default is dark).
.PP
.TP
.B \-o colors
List of color specification: what=colspec,... where colspec is :
separated list of color options e.g.: prompt=b:white:black (bold white
on black).
.TP
.B \-p prompt
Specify string for prompt.
.TP
.B \-P
Prompt is a null ('\\0') character.
.PP
.TP
.B \-q
Quiet mode (implies -b).
.TP
.B \-R seed
Set the random number generator seed.
.TP
.B \-s file
Connect serial interface uart0 to
.I file
This option is obsolete, use \-S instead.
.TP
.B \-S options
.I options
is a comma separated list of options according to serial interface. Know options are:
.br
.I uart=nr
number of uart (default=0)
.br
.I in=file
serial input will be read from file named `file'.
.br
.I out=file
serial output will be written to `file'.
.br
.I port=nr
use localhost:nr as server for serial line.
.br
.I iport=nr
use localhost:nr as server for serial input.
.br
.I oport=nr
use localhost:nr as server for serial onput.
.br
.I raw
perform non-interactive communication even on tty.
.TP
.B \-t cpu_type
Specifies type of the controller. Use \-H to list possible values.
.TP
.B \-U uartnr
Use std console as terminal for UART id=uartnr.
.TP
.B \-u hw
Use std console as display for specified hw.
.TP
.B \-v
Print out version number and quit.
.TP
.B \-V
Verbose mode.
.TP
.B \-w
Writable flash.
.TP
.B \-X freq[k|M]
XTAL frequency in Hz, Use
.I k
or
.I M
suffix to specify frequency in kHz or MHz.
.TP
.B \-z portnum
Listen
.I portnum
for command console.
.TP
.B \-Z portnum
Listen
.I portnum
for command console (no console on stdio).
.SH EXAMPLES
None yet.
.SH "SEE ALSO"
sdcc(1), sdcdb(1), serialview(1).
.SH BUGS
Probably many.
.SH AUTHORS, CONTRIBUTORS
Daniel Drotos,
Gunar Holm,
Sandeep Dutta,
Salvador Eduardo Tropea,
Josef Wolf,
Stephane Meyer,
Larry Doolittle,
Timothy Hurman,
Karl-Max Wagner,
Edmar Wienskoski Jr,
Alexandre Frey,
Kaido Karner,
Kalr Bongers,
Alexis Pavlov,
Davine Zanni,
Anton Persson,
Nicolas Lesser,
Mike Jagdis,
Jiri Simek,
Zbynek Krivka,
Vaclav Peroutka,
Valentin Dudouyt,
Erik Petrich,
Leland Morrison,
Johan Knol.
|