M16C-FLASH(1) General Commands Manual M16C-FLASH(1)NAME
m16c-flash - Flash programmer for Renesas M16C and R8C microcontrollers
m16c-flash [COM_DEV] [CPU_TYPE] [FILE] [ID1:...:ID7] [OPTIONS]
m16c-flash is a flash programmer for the Renesas M16C and R8C microcontrollers which operates in asynchronous mode.
COM_DEV The serial device to use for flashing, e.g. /dev/ttyS0 or /dev/ttyUSB0.
CPU_TYPE The CPU type you want to flash to (currently M16C or R8C).
FILE The filename of the binary you want to flash.
ID1:...:ID7 The device ID.
--help Show a help text and exit.
--version Show version information and exit.
Flash the simple.s file onto an M16C microcontroller via the first serial port (/dev/ttyS0) using 0:0:0:0:0:0:0 as the device ID:
m16c-flash /dev/ttyS0 M16C simple.s 0:0:0:0:0:0:0
Flash the test.mot file onto an R8C microcontroller via the USB serial device /dev/ttyUSB0, and using ff:ff:ff:ff:ff:ff:ff as device ID:
m16c-flash /dev/ttyUSB0 R8C test.mot ff:ff:ff:ff:ff:ff:ff
Please report any bugs to Thomas Fischl <firstname.lastname@example.org>.
m16c-flash is covered by the GNU General Public License (GPL).
Greg Reynolds <email@example.com>
Jim Hawkridge <firstname.lastname@example.org>
Thomas Fischl <email@example.com>
This manual page was written by Uwe Hermann <firstname.lastname@example.org>, for the Debian GNU/Linux system (but may be used by others).
August 20, 2006 M16C-FLASH(1)
Check Out this Related Man Page
SIMULAVR(1) User Commands SIMULAVR(1)NAME
simulavr - Atmel AVR simulator
simulavr [OPTIONS]... -d DEVICE [IMAGE]
Simulate an avr device. The optional IMAGE file is loaded into the flash program memory space of the device.
Show this message
Debug instruction output
Print out the version number and exit
Run as a gdbserver process
Print out debug messages for gdbserver
-p, --port <port>
Listen for gdb connection on TCP port
-d, --device <dev>
Specify device type
-e, --eeprom-image <img>
Specify an eeprom image file
-E, --eeprom-type <type>
Specify the type of the eeprom image file
-F, --flash-type <type>
Specify the type of the flash image file
Print supported devices to stdout and exit
-P, --disp-prog <prog>
Display register and memory info with prog
Don't start disp prog in an xterm
Dump a core memory image to file on exit
-c, --clock-freq <freq>
Set the simulated mcu clock freqency (in Hz)
-B, --breakpoint <addr>
Set a breakpoint (address is a byte address)
If the image file types for eeprom or flash images are not given, the default file type is binary.
If you wish to run the simulator in gdbserver mode, you do not have to specify a flash-image file since the program can be loaded from gdb
via the `load` command.
If '--port' option is given, and '--gdbserver' is not, port is ignored
If running in gdbserver mode and port is not specified, a default port of 1212 is used.
If using the '--breakpoint' option, note the simulator will terminate when the address is hit if you are not running in gdbserver mode.
This feature not intended for use in gdbserver mode. It is really intended for testing the simulator itself, but may be useful for testing
avr programs too.
Currently available device types:
Use the '--list-devices' option to obtain the list your version of simulavr supports.
Written by Theodore A. Roth.
Report bugs to <email@example.com>
Copyright 2001, 2002, 2003 Theodore A. Roth.
simulavr is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under
the conditions of the GNU General Public License.
simulavr 0.1.2.2 @DATE@ SIMULAVR(1)