m16c-flash - Flash programmer for Renesas M16C and R8C microcontrollers
Contents
Bugs
Please report any bugs to Thomas Fischl <tfischl@gmx.de>.
Description
m16c-flash is a flash programmer for the Renesas M16C and R8C microcontrollers which operates in
asynchronous mode.
Examples
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/ttyS0M16Csimple.s0: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/ttyUSB0R8Ctest.motff:ff:ff:ff:ff:ff:ffLicence
m16c-flash is covered by the GNU General Public License (GPL).
Name
m16c-flash - Flash programmer for Renesas M16C and R8C microcontrollers
Options
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.
Synopsis
m16c-flash [COM_DEV] [CPU_TYPE] [FILE] [ID1:...:ID7] [OPTIONS]
