This is the command m16c-flash that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
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
Use m16c-flash online using onworks.net services